Description Usage Arguments Value See Also Examples
This is a helper function for use in new_project(), setup_project() and update_project(). It gets the full library path and stops function execution if the project_library exists (unless 'inherit_library = TRUE'). This is intended to avoid a situation where the user accidently inherits an existing library.
1 | get_library_path(project_library, inherit_library = FALSE)
|
project_library |
character: Name of project library to use for project packages. This is required in order to encourage reproducibility and portability. |
inherit_library |
logical: If TRUE, will use an existing project library. The default is set to FALSE to avoid accidentally using an existing library. |
Returns the full path to project_library
Other internal helper functions:
allow_outcome()
1 | # get_library_path("example-existing-project")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.