[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-packages
Subject:    [R-pkgs] this.path-package: get executing script's path
From:       Andrew Simmons <akwsimmo () gmail ! com>
Date:       2022-01-25 20:02:05
Message-ID: CAPcHnpR7sUAxvQ6D-K4vmdkay8gC91Z4EcAhU3Efbz3isyP7pA () mail ! gmail ! com
[Download RAW message or body]

Hello everyone,


R package 'this.path' has received an update, the current version
number is 0.5.0
You can find this package at:

https://CRAN.R-project.org/package=this.path

Updates include:

(1) added this.path::here (similar to here::here), for constructing
the path to a file, starting with the executing script's directory

(2) this.path::this.path is compatible with URLs in base::source, for
example source("https://raw.githubusercontent.com/ArcadeAntics/this.path/main/tests/this.path_w_URLs.R")

(3) added separate methods for extracting the shell argument 'FILE'
for Windows and Unix-alikes (shell arguments are handled slightly
differently between the two)

(4) on Windows, in Rgui, added support for all languages listed by
list.dirs(system.file(package = "translations"), full.names = FALSE,
recursive = FALSE)

If you're using version 0.4.4 or less, it is well worth upgrading.


Regards,
    Andrew Simmons

_______________________________________________
R-packages mailing list
R-packages@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic