Version Management Tools on the File System


[Up] [Top]

Documentation for package ‘vmTools’ version 1.0.1

Help Pages

assert_dir_exists Assert a directory exists on disk
assert_named_list Assert an object is a list with named elements
assert_scalar Assert an element is atomic and length 1
assert_scalar_not_empty Assert x is a scalar, and not empty in some way
assert_type Assert an object is a scalar of a certain type
clean_path Wrapper utility for sanitizing file.path(...) output
dir_tree Print a directory tree to stdout
find_latest_output_dir Find the latest output directory with format YYYY_MM_DD.VV
find_n_cores Cross platform helper to find number of cores
get_latest_output_date_index get the latest index for given an output dir and a date
get_new_version_name Increment a new output folder version as "YYYY_MM_DD.VV"
is_an_error Determine if an object is an error
is_windows Is the current OS windows
is_windows_admin If running on windows, check if the user has admin privileges
lapply_depth lapply at some list dept
print.Symlink_Tool Symlink Tool custom print method
SLT SymlinkTool R6 class
split_line_breaks Split a character vector by line breaks
validate_dir_exists Validate whether a directory exists
validate_not_empty Validate an object is not length 0, empty, blank etc.