Nothing
#' @noRd
imports_field <- function() {
config::get
desc::desc
dplyr::filter
fs::path
glue::glue
purrr::walk
withr::with_options
}
# Negates -----------------------------------------------------------------
file.does.not.exist <- Negate(base::file.exists)
is.not.null <- Negate(base::is.null)
# Helpers -----------------------------------------------------------------
.utils <- new.env()
.utils$get_description_obj <- function(path){
desc_file <- file.path(path, "DESCRIPTION")
dir.create(path, showWarnings = FALSE, recursive = TRUE)
if(file.does.not.exist(desc_file)) withr::with_dir(path, desc::description$new("!new")$write(file = "DESCRIPTION"))
return(desc::description$new(desc_file))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.