check_for_file_extension: check_for_file_extension: a function to make our package...

View source: R/check_for_file_extension.R

check_for_file_extensionR Documentation

check_for_file_extension: a function to make our package 'smart' enough to handle .rds file extensions

Description

check_for_file_extension: a function to make our package 'smart' enough to handle .rds file extensions

Usage

check_for_file_extension(path)

Arguments

path

A string specifying a file path that ends in a file name, e.g. "~/dir/my_file.rds"

Value

a string with a filepath without an extension, e.g. "~/dir/my_file"


plmmr documentation built on April 4, 2025, 12:19 a.m.