renv_platform_windows <- function() {
renv_global("platform", Sys.info()[["sysname"]]) == "Windows"
}
renv_platform_macos <- function() {
renv_global("platform", Sys.info()[["sysname"]]) == "Darwin"
}
renv_platform_linux <- function() {
renv_global("platform", Sys.info()[["sysname"]]) == "Linux"
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.