Skip to content

add_resource_path not handling non-existing inst/app/www path #395

@fvitalini

Description

@fvitalini

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:

  1. create a new progect with golem from template
  2. run golem::remove_favicon()
  3. run devtools::check(document = FALSE)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions