# R script
github_deps <- c(
"iNZightVIT/iNZightTools@1.9",
"iNZightVIT/iNZightPlots@2.13",
"iNZightVIT/iNZightMR@2.2.7" # dependency of iNZightPlots
)
OS <- Sys.getenv("OS_TYPE")
if (OS == "Windows" && !requireNamespace("utf8", quietly = TRUE)) {
install.packages("utf8", repos = "https://cran.r-project.org")
}
options(
repos = c(
RSPM = Sys.getenv("RSPM"),
CRAN = "https://cloud.r-project.org"
),
install.packages.compile.from.source = "never"
)
remotes::install_github(github_deps,
INSTALL_opts = c("--no-multiarch")
)
remotes::install_deps(
dependencies = TRUE,
INSTALL_opts = c("--no-multiarch")
)
remotes::install_cran("rcmdcheck",
INSTALL_opts = c("--no-multiarch")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.