dir_without_. | R Documentation |
dir()
, but without dot-prefix and different defaultsWhen using dir()
, you can set full.names = FALSE
, but then you can only
pass a character vector of length one as path
to not loose the information
about where the files are. This function solves that case. It's needed when
one wants to standardize paths to use set operations on them, i.e. when the
user supplied input does not have a dot prefix. See 'Examples'.
dir_without_.(path, recursive = TRUE, ...)
path |
A path. |
... |
Passed to |
For different defaults, see dir_without_._one
.
set_and_assert_arg_paths
setdiff("./file.R", "file.R") # you want to standardize first.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.