Package: this.path 2.5.0.34
Iris Simmons
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()'.
Authors:
this.path_2.5.0.34.tar.gz
this.path_2.5.0.34.zip(r-4.5)this.path_2.5.0.34.zip(r-4.4)this.path_2.5.0.34.zip(r-4.3)
this.path_2.5.0.34.tgz(r-4.4-x86_64)this.path_2.5.0.34.tgz(r-4.4-arm64)this.path_2.5.0.34.tgz(r-4.3-x86_64)this.path_2.5.0.34.tgz(r-4.3-arm64)
this.path_2.5.0.34.tar.gz(r-4.5-noble)this.path_2.5.0.34.tar.gz(r-4.4-noble)
this.path_2.5.0.34.tgz(r-4.4-emscripten)this.path_2.5.0.34.tgz(r-4.3-emscripten)
this.path.pdf |this.path.html✨
this.path/json (API)
NEWS
# Install 'this.path' in R: |
install.packages('this.path', repos = c('https://arcadeantics.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/arcadeantics/this.path/issues
Last updated 15 hours agofrom:3536d56d26. Checks:OK: 2 NOTE: 6 WARNING: 1. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 17 2024 |
R-4.5-win-x86_64 | WARNING | Sep 17 2024 |
R-4.5-linux-x86_64 | OK | Sep 17 2024 |
R-4.4-win-x86_64 | NOTE | Sep 17 2024 |
R-4.4-mac-x86_64 | NOTE | Sep 17 2024 |
R-4.4-mac-aarch64 | NOTE | Sep 17 2024 |
R-4.3-win-x86_64 | NOTE | Sep 17 2024 |
R-4.3-mac-x86_64 | NOTE | Sep 17 2024 |
R-4.3-mac-aarch64 | NOTE | Sep 17 2024 |
Exports:asArgsbasename2check.dircheck.pathcheck.projdirname2env.direnv.hereenv.LINENOenv.pathenv.projextext<-FILEfileArgsfrom.shellgetinitwdhereiciinit.fileinitwdis.mainlast.conditionLINELINENOmake_fix_fileOS.typepath.functionspath.joinpath.splitpath.split.1path.unsplitprogArgsrel2env.dirrel2env.projrel2hererel2projrel2src.dirrel2src.projrel2sys.dirrel2sys.projrelpathremoveextreset.projset.env.pathset.gui.pathset.jupyter.pathset.src.pathset.sys.pathset.sys.path.functionset.sys.path.jupytershFILEsite.filesource.exprssplitextsrc.dirsrc.heresrc.LINENOsrc.pathsrc.projsys.dirsys.heresys.LINENOsys.pathsys.projSys.putenvsys.srcrefsys.whichesthis.dirthis.paththis.projthisPathNotExistsErrorthisPathNotFoundErrortry.env.pathtry.shFILEtry.src.pathtry.sys.pathtry.this.pathtryCatch2tryCatch3unset.sys.pathwith_init.filewith_script_pathwith_site.filewith_sys.pathwithArgswrap.source
Dependencies: