-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is_golem #836
Labels
timed-1h
Worktime 1h
Milestone
Comments
is_golem <- function(path = ".") {
all(
c(
"DESCRIPTION",
"dev/01_start.R",
"dev/02_dev.R",
"dev/03_deploy.R",
"dev/run_dev.R",
"inst/golem-config.yml",
"NAMESPACE",
"R/app_config.R",
"R/app_server.R",
"R/app_ui.R",
"R/run_app.R"
) %in% list.files(path, recursive = TRUE)
)
} |
ColinFay
added a commit
that referenced
this issue
Mar 14, 2023
This can be used to check before running a module/project template close issue #836
ColinFay
added a commit
that referenced
this issue
Mar 15, 2023
This can be used to check before running a module/project template close issue #836
merged in #1003 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When extending golem, it might be worth having something that can do
golem::is_golem()
so that we are sure the functions are used in a golem-based project.The text was updated successfully, but these errors were encountered: