mod_search_path
returns the character vector of paths where module
code can be located and will be found by box.
mod_search_path(caller)calling_mod_path(caller)
split_path(path)
merge_path(components)
sanitize_path_fragment(path)
calling_mod_path
the path of the source module that is calling
box::use
, or the script’s path if the calling code is not a module.
split_path
returns a character vector of path components that
logically represent path
.
merge_path
returns a single character string that is
logically equivalent to the path
passed to split_path
.
logically represent path
.
the environment from which box::use
was invoked.
the path
character string vector of path components to merge