Following the Readme:
golem::create_golem("testbrochure", project_hook = brochure::golem_hook)
Creates a blank brochure app. But,
> devtools::load_all(".")
ℹ Loading testbrochure
> run_app()
Error in brochureApp(golem_add_external_resources(), home(), onStart = onStart, :
could not find function "brochureApp"
And the DESCRIPTION does not import {brochure}:
Package: testbrochure
Title: An Amazing Shiny App
Version: 0.0.0.9000
Authors@R:
person(given = "firstname",
family = "lastname",
role = c("aut", "cre"),
email = "your@email.com")
Description: What the package does (one paragraph).
License: What license is it under?
Imports:
config (>= 0.3.1),
golem (>= 0.3.1),
shiny (>= 1.7.1)
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.1
The workaround is of course trivial,
usethis::use_package("brochure", min_version = TRUE)
but ideally this import would be declared by the function (like {golem} and {shiny})
@ColinFay Not sure if this is best filed under a {brochure} or {golem}?
Following the Readme:
Creates a blank brochure app. But,
And the
DESCRIPTIONdoes not import{brochure}:The workaround is of course trivial,
but ideally this import would be declared by the function (like
{golem}and{shiny})@ColinFay Not sure if this is best filed under a
{brochure}or{golem}?