#' Get OS
#'
#' Infer the Operating System (OS) of the current machine being used.
#'
#' @keywords internal
get_os <- function() {
OS <- ""
switch(Sys.info()[["sysname"]],
Windows = {
OS <- "Windows"
},
Linux = {
OS <- "Linux"
},
Darwin = {
OS <- "Mac"
}
)
return(OS)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.