adj_path: adj_path

View source: R/adj_path.R

adj_pathR Documentation

adj_path

Description

Adjusts a path by removing, if present, an ending forward slash.

Usage

adj_path(path)

Arguments

path

character, the path to be adjusted

Value

The path without the ending forward slash.

Examples

## Not run: 
if(interactive()){
 adj_path('~/git/some_model/')
 }

## End(Not run)

causality-loop/clhelpers documentation built on Aug. 31, 2022, 3:39 a.m.