commit | 24418a840c0cc5624fb129111eec7786274bd8d7 | [log] [tgz] |
---|---|---|
author | christophe dervieux <christophe.dervieux@gmail.com> | Tue Sep 21 16:17:18 2021 +0200 |
committer | christophe dervieux <christophe.dervieux@gmail.com> | Tue Sep 21 16:17:18 2021 +0200 |
tree | 8353e805878d266b6b31e608468f812750d0a882 | |
parent | 92fa469ca1eed0732558d2c15d0f3fb177f4b8b7 [diff] [blame] |
Move utils functions outside of main format
diff --git a/R/utils.R b/R/utils.R index 2d7de47..f681e24 100644 --- a/R/utils.R +++ b/R/utils.R
@@ -3,4 +3,7 @@ system.file("rmarkdown/templates/revealjs_presentation/resources", ..., package = "revealjs") -} \ No newline at end of file +} + +# Convert boolean from R to JS boolean +jsbool <- function(value) ifelse(value, "true", "false") \ No newline at end of file