styler dep

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-01-05 14:46:44 +01:00
1 parent a0ee86536a
commit a98d0d75ea
8 files changed
+37 -25

No files matched your search

+10 -8
View File
@@ -486,14 +486,16 @@ suppressMessages(devtools::document(quiet = TRUE))
# Style pkg ---------------------------------------------------------------
# if (interactive()) {
# # only when sourcing this file ourselves
# usethis::ui_info("Styling package")
# styler::style_pkg(
# style = styler::tidyverse_style,
# filetype = c("R", "Rmd")
# )
# }
if (!"styler" %in% rownames(utils::installed.packages())) {
message("Package 'styler' not installed!")
} else if (interactive()) {
# # only when sourcing this file ourselves
# usethis::ui_info("Styling package")
# styler::style_pkg(
# style = styler::tidyverse_style,
# filetype = c("R", "Rmd")
# )
}
# Finished ----------------------------------------------------------------