Skip to content

Commit b16435f

Browse files
committed
remove old code in vignettes
1 parent 26bdbad commit b16435f

File tree

2 files changed

+0
-43
lines changed

2 files changed

+0
-43
lines changed

vignettes/BasicREDCapROperations.Rmd

-24
Original file line numberDiff line numberDiff line change
@@ -30,30 +30,6 @@ opts_chunk$set(
3030
comment = "#>",
3131
tidy = FALSE
3232
)
33-
34-
# knit_print.data.frame <- function(x, ...) {
35-
# # See https://cran.r-project.org/package=knitr/vignettes/knit_print.html
36-
# # res = paste(c("", "", kable(x)), collapse = "\n")
37-
# # asis_output(res)
38-
# x %>%
39-
# # dplyr::mutate_if(
40-
# # is.character,
41-
# # function( s ) gsub("\\n", "<br/>", s)
42-
# # ) %>%
43-
# kable(
44-
# col.names = gsub("_", " ", colnames(.)),
45-
# format = "html"
46-
# ) %>%
47-
# kableExtra::kable_styling(
48-
# bootstrap_options = c("striped", "hover", "condensed", "responsive"),
49-
# full_width = FALSE
50-
# ) %>%
51-
# c("", "", .) %>%
52-
# paste(collapse = "\n") %>%
53-
# asis_output()
54-
# }
55-
# options(markdown.HTML.header = system.file("misc/vignette.css", package = "REDCapR"))
56-
# options(width=120) #So the output is 50% wider than the default.
5733
```
5834

5935
Set project-wide values

vignettes/advanced-redcapr-operations.Rmd

-19
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,6 @@ opts_chunk$set(
2727
comment = "#>",
2828
tidy = FALSE
2929
)
30-
31-
# knitr::opts_chunk$set(comment = "#>", collapse = TRUE)
32-
# knit_print.data.frame <- function(x, ...) {
33-
# # See https://cran.r-project.org/package=knitr/vignettes/knit_print.html
34-
#
35-
# x %>%
36-
# # rmarkdown::print.paged_df() %>%
37-
# kable(
38-
# col.names = gsub("_", " ", colnames(.)),
39-
# format = "html"
40-
# ) %>%
41-
# kableExtra::kable_styling(
42-
# bootstrap_options = c("striped", "hover", "condensed", "responsive"),
43-
# full_width = FALSE
44-
# ) %>%
45-
# c("", "", .) %>%
46-
# paste(collapse = "\n") %>%
47-
# asis_output()
48-
# }
4930
```
5031

5132
Next Steps {#nextsteps .emphasized}

0 commit comments

Comments
 (0)