add_positconnect_file | R Documentation |
app.R
at the root of your package to deploy on RStudio ConnectAdditionally, adds a .rscignore
at the root of the {golem}
project if the
rsconnect
package version is >= 0.8.25
.
add_positconnect_file(pkg = get_golem_wd(), open = TRUE)
add_rstudioconnect_file(pkg = get_golem_wd(), open = TRUE)
add_shinyappsio_file(pkg = get_golem_wd(), open = TRUE)
add_shinyserver_file(pkg = get_golem_wd(), open = TRUE)
add_rscignore_file(pkg = get_golem_wd(), open = TRUE)
pkg |
Path to the root of the package. Default is |
open |
Should the created file be opened? |
Side-effect functions for file creation returning the path to the file, invisibly.
.rscignore
.here
CODE_OF_CONDUCT.md
LICENSE{.md}
LICENCE{.md}
NEWS{.md}
README{.md,.Rmd,.HTML}
dev
man
tests
vignettes
In previous versions, this function was called add_rconnect_file.
add_rstudioconnect_file
is now deprecated; replace by add_positconnect_file()
.
# Add a file for Connect
if (interactive()) {
add_positconnect_file()
}
# Add a file for Shiny Server
if (interactive()) {
add_shinyserver_file()
}
# Add a file for Shinyapps.io
if (interactive()) {
add_shinyappsio_file()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.