I have noticed an issue when running R CMD Check with empty/non-existing inst/app/www path (R CMD Check removes empty directories).
The function golem::add_resources_path() does not handle such a case and shiny::addResourcePath fails while normalizing the path which is an empty string.
To reproduce the issue:
- create a new progect with
golem from template
- run
golem::remove_favicon()
- run
devtools::check(document = FALSE)
I have noticed an issue when running R CMD Check with empty/non-existing
inst/app/wwwpath (R CMD Check removes empty directories).The function
golem::add_resources_path()does not handle such a case andshiny::addResourcePathfails while normalizing the path which is an empty string.To reproduce the issue:
golemfrom templategolem::remove_favicon()devtools::check(document = FALSE)