ArcadeAntics/this.path: Get Executing Script's Path

Determine the path of the executing script. Compatible with several popular GUIs: 'Rgui', 'RStudio', 'Positron', '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()'.

Getting started

Package details

AuthorIris Simmons
MaintainerIris Simmons <ikwsimmo@gmail.com>
LicenseMIT + file LICENSE
Version2.5.0.15
URL https://github.com/ArcadeAntics/this.path
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("ArcadeAntics/this.path")
ArcadeAntics/this.path documentation built on July 27, 2024, 12:05 a.m.