this.path: Get Executing Script's Path

Determine the path of the executing script. Compatible with a few popular GUIs: 'Rgui', 'RStudio', 'VSCode', 'Jupyter', 'Emacs', and 'Rscript' (shell). Compatible with several functions and packages: 'source()', 'sys.source()', 'debugSource()' in 'RStudio', 'compiler::loadcmp()', 'utils::Sweave()', 'box::use()', 'knitr::knit()', 'plumber::plumb()', 'shiny::runApp()', 'package:targets', and 'testthat::source_file()'.

Version: 2.4.0
Depends: R (≥ 2.15)
Suggests: utils, jsonlite, microbenchmark, rprojroot
Enhances: compiler, box, knitr, plumber, shiny, targets, testthat
Published: 2024-02-16
Author: Iris Simmons
Maintainer: Iris Simmons <ikwsimmo at gmail.com>
BugReports: https://github.com/ArcadeAntics/this.path/issues
License: MIT + file LICENSE
URL: https://github.com/ArcadeAntics/this.path
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: this.path results

Documentation:

Reference manual: this.path.pdf

Downloads:

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

Reverse dependencies:

Reverse depends: ptspotter
Reverse imports: apmx, neptune

Linking:

Please use the canonical form https://CRAN.R-project.org/package=this.path to link to this page.