Create Rhino applicationSource:
Generates the file structure of a Rhino application. Can be used to start a fresh project or to migrate an existing Shiny application created without Rhino.
Name of the directory to create application in.
Should the GitHub Actions CI be added?
When using an existing
renv.lockfile, Rhino will install itself using
renv::install(rhino_version). You can provide this argument to use a specific version / source, e.g.
Boolean; force initialization? By default, Rhino will refuse to initialize a project in the home directory.
The recommended steps for migrating an existing Shiny application to Rhino:
Put all app files in the
appdirectory, so that it can be run with
shiny::shinyAppDir("app")(assuming all dependencies are installed).
If you have a list of dependencies in form of
library()calls, put them in the
dependencies.Rfile. If this file does not exist, Rhino will generate it based on
If your project uses
renvdirectory in the project root. Rhino will try to only add the necessary dependencies to your lockfile.
rhino::init()in the project root.