create_golem | R Documentation |
{golem}
Create a package for a Shiny App using {golem}
create_golem(
path,
check_name = TRUE,
open = TRUE,
overwrite = FALSE,
package_name = basename(normalizePath(path, mustWork = FALSE)),
without_comments = FALSE,
project_hook = golem::project_hook,
with_git = FALSE,
...
)
path |
Name of the folder to create the package in. This will also be used as the package name. |
check_name |
Should we check that the package name is correct according to CRAN requirements. |
open |
Boolean. Open the created project? |
overwrite |
Boolean. Should the already existing project be overwritten ? |
package_name |
Package name to use. By default, |
without_comments |
Boolean. Start project without |
project_hook |
A function executed as a hook after project
creation. Can be used to change the default |
with_git |
Boolean. Initialize git repository |
... |
Arguments passed to the |
The path, invisibly.
For compatibility issue, this function turns options(shiny.autoload.r)
to FALSE
. See https://github.com/ThinkR-open/golem/issues/468 for more background.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.