Nothing
path_default <- function() {
file.path(tempdir(), utils::packageName())
}
path_libs <- function(path) {
dir_create(p <- file.path(path, "libs"))
normalizePath(p)
}
path_lib <- function(path) {
dir_create(p <- file.path(path_libs(path), "lib"))
normalizePath(p)
}
path_custom_lib <- function(path, custom) {
valid_name <- hash_alias(custom)
dir_create(p <- file.path(path_libs(path), valid_name))
normalizePath(p)
}
path_package_install_log <- function(path, package, name = "lib") {
dir_create(p <- file.path(path_logs(path), name))
normalizePath(file.path(p, sprintf("%s.log", package)), mustWork = FALSE)
}
path_logs <- function(path) {
dir_create(p <- file.path(path, "logs"))
normalizePath(p)
}
path_sources <- function() {
dir_create(p <- file.path(tempdir(), "checked_tmp"))
normalizePath(p)
}
path_check_output <- function(path, check) {
dir_create(p <- file.path(path, "checks"))
normalizePath(file.path(p, check), mustWork = FALSE)
}
check_path_is_pkg_source <- function(pkg) {
stopifnot(
is.character(pkg),
length(pkg) == 1,
dir.exists(pkg),
path_is_pkg(pkg)
)
normalizePath(pkg, mustWork = TRUE)
}
path_is_pkg <- function(path) {
file.exists(file.path(path, "DESCRIPTION"))
}
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.