prepare_path: Directory creation and file path concatenation

Description Usage Arguments Value

View source: R/plotting.R

Description

Given a folder, file base name and suffix, ensures the directory exists, and returns the ready file path.

Usage

1
prepare_path(folder, fileBaseName, fileSuffix)

Arguments

folder

Folder path, without trailing slash

fileBaseName

File base name, excluding trailing dot

fileSuffix

File suffix without leading dot (e.g., "png", "pdf")

Value

Complete file path


tidytidbits documentation built on March 8, 2021, 5:07 p.m.