this.proj()
behaves very similarly to here::here()
,
constructing a path to a file starting with your project's directory.
this.proj()
supports sub-projects and multiple projects in use at
once, and will choose which project directory is appropriate based on
this.dir()
. Additionally, it is independent of working
directory, whereas here::here()
relies on the working directory being
set within the project's directory when the package is loaded. Arguably, this
makes it better than here::here()
.
reset.this.proj()
will reset the paths saved by this.proj()
.
This can be useful if you created a new project in your R session that you
would like to be detected by this.proj()
without the need to restart
the R session.
this.proj(...)reset.this.proj()
A character vector of the arguments concatenated term-by-term, starting with the project directory.
further arguments passed to path.join()
.
this.path::here()