extract_script_path: Extract the path to the current script

View source: R/build_metadata_shell.R

extract_script_pathR Documentation

Extract the path to the current script

Description

Extract the path to the current script

Usage

extract_script_path(code_root)

Arguments

code_root

[chr] Path to top-level code repo folder, require: path

Value

[chr] Path to the current script, relative to the code_root, NA if unable to find

Examples

extract_script_path(code_root = getwd())

epi-sam/SamsElves documentation built on June 12, 2025, 7 a.m.