here.Rdhere() constructs file paths starting with this.dir().
this.proj() constructs file paths starting with the project root of
this.dir().
reset.proj() resets the path cache of this.proj(). This can be
useful if you create a new project that you would like to be detected without
restarting your R session.
here(..., local = FALSE, n = 0,
envir = parent.frame(n + 1),
matchThisEnv = getOption("topLevelEnvironment"),
srcfile = if (n) sys.parent(n) else 0, .. = 0)
this.proj(..., local = FALSE, n = 0,
envir = parent.frame(n + 1),
matchThisEnv = getOption("topLevelEnvironment"),
srcfile = if (n) sys.parent(n) else 0)
reset.proj()
## alias for 'here'
ici(..., local = FALSE, n = 0,
envir = parent.frame(n + 1),
matchThisEnv = getOption("topLevelEnvironment"),
srcfile = if (n) sys.parent(n) else 0, .. = 0)further arguments passed to path.join().
See
?this.path().
the number of directories to go back.
For this.proj(), the project root has the same criterion as
here::here(), but unlike here::here(), this.proj()
supports sub-projects and multiple projects in use at once. Additionally,
this.proj() is independent of working directory, whereas
here::here() relies on the working directory being set somewhere
within the project when package:here is loaded. Arguably, this makes it
better than here::here().
A character vector of the arguments concatenated term-by-term.