change_extension: Change file extension, or add if it is missing

View source: R/paths.R

change_extensionR Documentation

Change file extension, or add if it is missing

Description

Change file extension, or add if it is missing

Usage

change_extension(path, ext)

Arguments

path

string or vector of strings of file names

ext

string new extension, with or without the dot

Value

string or vector of strings of modified file names


fcocquemas/hfty.helpers documentation built on Feb. 13, 2023, 7:25 a.m.