Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #845
Maybe
path
is a bit more general because it can be used for files and package-dirs, but the issue suggestspkg
.I have made a commit per file to identify the instances so if required one can quickly change from
pkg
back topath
.DONE: path - > pkg changes
R/golem-yaml-get.R
R/config.R
R/golem-yaml-set.R
R/is_golem.R
R/pkg_tools.R
TO-DO: decide here I do not think
pkg
makes sense because:sometimes
path
is a path to a file sopkg
is just weird:-
utils.R
- >create_if_needed()
-dance for files-
use_file.R
- > template files-
use_favicon.R
- > path to favicon files-
templates.R
- > all functions refer to template files I think-
modules_fn.R
- >module_template()
it does use a path to a file-
add_r_files.R
- >append_roxygen_comment()
path to the R script where the module will be-
bundle_resources.R
- >bundle_resources()
needs a path to a subdir, not the package-
config.R
- > everything but the last function attempts to find a config-file trying different paths-
create_golem.R
- > creates a golem in the specifiedpath
and thepackage_name
can be seperately-
enable_roxygenize
-> path to .Rproj filefor bootstrapped functions, same as above, plus their args are already named path, I wouldn’t want to change that:
bootstrap_fs.R
bootstrap_attachment.R
bootstrap_dockerfiler.R
bootstrap_pkgload.R
bootstrap_usethis.R