path_script: Determine file path of executing script

path_scriptR Documentation

Determine file path of executing script

Description

Tries to determine the path to the R/Rmd script that this function is called from.

Usage

path_script()

Value

The file path to the executing script.

See Also

Other system interaction functions: assert_cli(), test_cli()


salim-b/pal documentation built on Feb. 28, 2025, 6:51 p.m.