stow_info {dpkg} | R Documentation |
get info about stowed files
Description
get info about stowed files
get the path to a stowed file (or the stow directory)
test if a stowed file (or the stow directory) exists
get the size of a stowed file
remove a stowed file (or the stow entire directory)
Usage
stow_info(filename = NULL)
stow_path(filename = NULL)
stow_exists(filename = NULL)
stow_size(filename = NULL)
stow_remove(filename = NULL, .delete_stow_dir_confirm = FALSE)
Arguments
filename |
character filename of stowed file; if NULL, then information about all stowed files or the directory where files are stowed is returned |
.delete_stow_dir_confirm |
set to TRUE in order to delete the entire stow directory without interactive user confirmation |
Value
for stow_info()
, a tibble of file or folder information;
for stow_path()
, a character path to the stowed file or stow directory;
for stow_exists()
, a logical;
for stow_size()
, a fs::
Examples
Sys.setenv(R_USER_DATA_DIR = tempfile("stow"))
stow_path()
stow("https://github.com/geomarker-io/appc/releases/download/v0.1.0/nei_2020.rds")
stow_path("nei_2020.rds")
stow_exists("nei_2020.rds")
stow_size("nei_2020.rds")
stow("https://github.com/geomarker-io/appc/releases/download/v0.1.0/nei_2017.rds")
stow_info("nei_2017.rds")
stow_info()
stow_size()
stow_remove(.delete_stow_dir_confirm = TRUE)
[Package dpkg version 0.6.1 Index]