getPath: Utility function that returns a file path relative to...

View source: R/NCIEA_Report_utils.R

getPathR Documentation

Utility function that returns a file path relative to another.

Description

Helper function to find one path relative to another. Returns the current working dierectory by default.

Usage

getPath(path=".", relation=".")

Arguments

path

Character. File path from which to find relative path. Defaults to the current (working) directory

relation

Character. Relationship from path to return. Defaults to the path provided.

Value

File path relative to path provided.


CenterForAssessment/Literasee documentation built on July 2, 2023, 6:21 p.m.