Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Add anapp.R at the root of your package to deploy on RStudio Connect

Source:R/add_rstudio_files.R
rstudio_deploy.Rd

Additionally, adds a.rscignore at the root of the{golem} project if thersconnect package version is>= 0.8.25.

Usage

add_positconnect_file(golem_wd=get_golem_wd(), open=TRUE,pkg)add_rstudioconnect_file(golem_wd=get_golem_wd(), open=TRUE,pkg)add_shinyappsio_file(golem_wd=get_golem_wd(), open=TRUE,pkg)add_shinyserver_file(golem_wd=get_golem_wd(), open=TRUE,pkg)add_rscignore_file(golem_wd=get_golem_wd(), open=TRUE,pkg)

Arguments

golem_wd

Path to the root of the package. Default isget_golem_wd().

open

Should the created file be opened?

pkg

Deprecated, please use golem_wd instead

Value

Side-effect functions for file creation returning the path to thefile, invisibly.

Note

In previous versions, this function was called add_rconnect_file.

add_rstudioconnect_file is now deprecated; replace byadd_positconnect_file().

List of excluded files in.rscignore

  • .here

  • CODE_OF_CONDUCT.md

  • LICENSE{.md}

  • LICENCE{.md}

  • NEWS{.md}

  • README{.md,.Rmd,.HTML}

  • dev

  • man

  • tests

  • vignettes

Examples

# Add a file for Connectif(interactive()){add_positconnect_file()}# Add a file for Shiny Serverif(interactive()){add_shinyserver_file()}# Add a file for Shinyapps.ioif(interactive()){add_shinyappsio_file()}

[8]ページ先頭

©2009-2025 Movatter.jp