clean_path_name: clean_path_name helper function

Description Usage Arguments Value Examples

View source: R/clean_path_name.R

Description

Function to clean paths to have a tailing slash

Usage

1
clean_path_name(pathname)

Arguments

pathname

A character string. A path name to be cleaned (to have a tailing slash).

Value

The result is the input but with an tailing slash.

Examples

1
2
3
# Both function calls will return "home/test/"
clean_path_name("home/test")
clean_path_name("home/test/")

miracum/misc-dizutils documentation built on Nov. 21, 2020, 7:41 p.m.