ploc(base, dir = getOption("dir"))
base
. This can be
set in the user's options
in the .Rprofile; for example:
options(dir = file.path(Sys.getenv("USERPROFILE"), "GitHub"))
.Returns a concatenated file path using dir
and base
.
A wrapper for file.path
that allows the user to (1) set a
package directory location and (2) supply a package name and a file
path is constructed. This is the inverse of basename
+
dirname
.
## <strong>Not run</strong>: # options(dir = file.path(Sys.getenv("USERPROFILE"), "Desktop")) # pax(ploc("DELETE_ME")) # ## <strong>End(Not run)</strong>