this.path: Get Executing Script's Path, from 'RStudio', 'Rgui', 'Rscript' (Shells Including Windows Command-Line / / Unix Terminal), and 'source'

Determine the full path of the executing script. Works when running a line or selection from a script in 'RStudio' and 'Rgui', when using 'source', 'sys.source', 'debugSource' in 'RStudio', and 'testthat::source_file', and when running R from a shell.

Version: 0.7.0
Suggests: utils, essentials, microbenchmark
Enhances: testthat
Published: 2022-04-24
Author: Andrew Simmons
Maintainer: Andrew Simmons <akwsimmo at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README
CRAN checks: this.path results


Reference manual: this.path.pdf


Package source: this.path_0.7.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): this.path_0.7.0.tgz, r-oldrel (arm64): this.path_0.7.0.tgz, r-release (x86_64): this.path_0.7.0.tgz, r-oldrel (x86_64): this.path_0.7.0.tgz
Old sources: this.path archive

Reverse dependencies:

Reverse depends: ptspotter
Reverse imports: logr, neptune


Please use the canonical form to link to this page.