absolute_path: Convert relative paths to absolute paths

View source: R/filepath_utils.R

absolute_pathR Documentation

Convert relative paths to absolute paths

Description

First checks if path is relative or absolute, and if relative prepends wd (or other given absolute path)

Usage

absolute_path(path, wd = getwd())

Arguments

path

the path to check and convert to absolute

wd

path to prepend to a relative path. Current working directory by default.

Value

absolute path


ahcombs/bayesactR documentation built on Jan. 15, 2025, 6:49 p.m.