disable execution of examples for notes on cran
diff --git a/man/add_footnote.Rd b/man/add_footnote.Rd
index 525ce26..8716557 100644
--- a/man/add_footnote.Rd
+++ b/man/add_footnote.Rd
@@ -33,7 +33,9 @@
 Add footnote to your favorite kable output.
 }
 \examples{
+\dontrun{
 x <- knitr::kable(head(mtcars), "html")
 add_footnote(x, c("footnote 1", "footnote 2"), notation = "symbol")
+}
 
 }
diff --git a/man/add_header_above.Rd b/man/add_header_above.Rd
index 99e6931..5041ba9 100644
--- a/man/add_header_above.Rd
+++ b/man/add_header_above.Rd
@@ -95,9 +95,11 @@
 function and adds an header row on top of it.
 }
 \examples{
+\dontrun{
 x <- knitr::kable(head(mtcars), "html")
 # Add a row of header with 3 columns on the top of the table. The column
 # span for the 2nd and 3rd one are 5 & 6.
 add_header_above(x, c(" ", "Group 1" = 5, "Group 2" = 6))
+}
 
 }
diff --git a/man/add_indent.Rd b/man/add_indent.Rd
index 633de8e..ea61e4a 100644
--- a/man/add_indent.Rd
+++ b/man/add_indent.Rd
@@ -20,8 +20,10 @@
 Add indentations to row headers
 }
 \examples{
+\dontrun{
 x <- knitr::kable(head(mtcars), "html")
 # Add indentations to the 2nd & 4th row
 add_indent(x, c(2, 4), level_of_indent = 1)
+}
 
 }
diff --git a/man/collapse_rows.Rd b/man/collapse_rows.Rd
index 9bc2d9e..8efcb55 100644
--- a/man/collapse_rows.Rd
+++ b/man/collapse_rows.Rd
@@ -65,8 +65,10 @@
 specify column styles, you should use \code{column_spec} before \code{collapse_rows}.
 }
 \examples{
+\dontrun{
 dt <- data.frame(a = c(1, 1, 2, 2), b = c("a", "a", "a", "b"))
 x <- knitr::kable(dt, "html")
 collapse_rows(x)
+}
 
 }
diff --git a/man/column_spec.Rd b/man/column_spec.Rd
index 8d19fc7..1f8a2d0 100644
--- a/man/column_spec.Rd
+++ b/man/column_spec.Rd
@@ -113,8 +113,10 @@
 internally, any backslashes must be escaped.
 }
 \examples{
+\dontrun{
 x <- knitr::kable(head(mtcars), "html")
 column_spec(x, 1:2, width = "20em", bold = TRUE, italic = TRUE)
 x <- knitr::kable(head(mtcars), "latex", booktabs = TRUE)
 column_spec(x, 1, latex_column_spec = ">{\\\\\\\\color{red}}c")
 }
+}
diff --git a/man/footnote.Rd b/man/footnote.Rd
index 90a5b80..d869e6d 100644
--- a/man/footnote.Rd
+++ b/man/footnote.Rd
@@ -78,7 +78,9 @@
 footnotes as a chunk of texts.
 }
 \examples{
+\dontrun{
 dt <- mtcars[1:5, 1:5]
 footnote(knitr::kable(dt, "html"), alphabet = c("Note a", "Note b"))
+}
 
 }
diff --git a/man/footnote_marker_number.Rd b/man/footnote_marker_number.Rd
index 94b2e4d..b83a3fb 100644
--- a/man/footnote_marker_number.Rd
+++ b/man/footnote_marker_number.Rd
@@ -30,9 +30,11 @@
 \code{knitr.table.format}.
 }
 \examples{
+\dontrun{
 dt <- mtcars[1:5, 1:5]
 colnames(dt)[1] <- paste0("mpg", footnote_marker_alphabet(2, "html"))
 rownames(dt)[2] <- paste0(rownames(dt)[2], footnote_marker_alphabet(1, "html"))
 footnote(knitr::kable(dt, "html"), alphabet = c("Note a", "Note b"))
+}
 
 }
diff --git a/man/group_rows.Rd b/man/group_rows.Rd
index 30c5a4b..5dd2b7c 100644
--- a/man/group_rows.Rd
+++ b/man/group_rows.Rd
@@ -126,8 +126,10 @@
 Group a few rows in a table together under a label.
 }
 \examples{
+\dontrun{
 x <- knitr::kable(head(mtcars), "html")
 # Put Row 2 to Row 5 into a Group and label it as "Group A"
 pack_rows(x, "Group A", 2, 5)
+}
 
 }
diff --git a/man/kable_styling.Rd b/man/kable_styling.Rd
index 9cc993d..a7bc566 100644
--- a/man/kable_styling.Rd
+++ b/man/kable_styling.Rd
@@ -134,10 +134,12 @@
 }
 }
 \examples{
+\dontrun{
 x_html <- knitr::kable(head(mtcars), "html")
 kable_styling(x_html, "striped", position = "left", font_size = 7)
 
 x_latex <- knitr::kable(head(mtcars), "latex")
 kable_styling(x_latex, latex_options = "striped", position = "float_left")
+}
 
 }
diff --git a/man/landscape.Rd b/man/landscape.Rd
index 3b99bf1..3d2f075 100644
--- a/man/landscape.Rd
+++ b/man/landscape.Rd
@@ -17,6 +17,8 @@
 It's useful for wide tables that cann't be printed on a portrait page.
 }
 \examples{
+\dontrun{
 landscape(knitr::kable(head(mtcars), "latex"))
+}
 
 }
diff --git a/man/remove_column.Rd b/man/remove_column.Rd
index ead768f..1cef024 100644
--- a/man/remove_column.Rd
+++ b/man/remove_column.Rd
@@ -16,5 +16,7 @@
 Remove columns
 }
 \examples{
+\dontrun{
 remove_column(kable(mtcars), 1)
 }
+}
diff --git a/man/row_spec.Rd b/man/row_spec.Rd
index 09f61a2..70d070b 100644
--- a/man/row_spec.Rd
+++ b/man/row_spec.Rd
@@ -73,7 +73,9 @@
 its look. It can also specify the format of the header row when \code{row} = 0.
 }
 \examples{
+\dontrun{
 x <- knitr::kable(head(mtcars), "html")
 row_spec(x, 1:2, bold = TRUE, italic = TRUE)
+}
 
 }