View source: R/make_deploy_project.R
make_deploy_project | R Documentation |
Opens a copy of this project including only relevant files, from which you can deploy the application to Shinto Labs' Rstudio Connect server.
make_deploy_project(
name,
path = "c:/repos_deploy",
ignore_dirs = c("scripts", "stubs", "test", "tests", "backup", "docs", "rsconnect",
".git", ".Rproj.user"),
ignore_files = c(".gitignore", ".Rhistory", "[.]Rproj$"),
extra_files = NULL,
directories = NULL
)
name |
Name of the project, normally: client_appname ("eindhoven_kamerverhuur", "riec_rro"). |
path |
Where to make the new project, the project will be created in a subdirectory,
given by its |
ignore_dirs |
Directories to ignore, these contain content that should not be uploaded to Rstudio Connect. |
ignore_files |
Files to ignore (usually these are files in the root, otherwise use
|
extra_files |
List of files to include (for example if they were removed in ignore_dirs) |
## Not run:
# Opens a new project "nederweert_buitengebied", a copy of the current repository
# from which you can deploy to rsconnect (via the deploy button), after removing
# unwanted files (data for other clients, etc.), and setting client-specific
# parameters (for example, in "this_version.yml")
shintoconnect::deploy("nederweert_buitengebied")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.