knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
caladaptr.apps
provides an easy way to run Shiny apps that use the caladaptr package.
caladaptr.apps
is on r-universe and can be installed as follows:
options(repos = c(ajlyons = 'https://ajlyons.r-universe.dev', CRAN = 'https://cloud.r-project.org')) install.packages('caladaptr.apps')
Alternately you can install it directly from Github:
remotes::install_github("ucanr-igis/caladaptr") ## install first remotes::install_github("ucanr-igis/caladaptr.apps")
There is only one function, ca_launch
. Use this function to launch Shiny apps saved in the package.
library(caladaptr.apps) ## Launch the time series app ca_launch("timeseries") ## Launch the projected chill portions app ca_launch("chill") ## Version 2 of the chill app supports multiple locations ca_launch("chill2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.