newest_vfile: Newest (versioned) file

View source: R/functions.R

newest_vfileR Documentation

Newest (versioned) file

Description

Searches a directory for versioned files with the given base name and returns its newest filename.

Usage

newest_vfile(base, path = getwd(), ending = "Rd", format = "%y%m%d",
  ostime = FALSE)

Arguments

base

character giving the main part of the filename

path

path to directory to search in

ending

file ending

format

format for date time version

ostime

(defunct) should the time of file generation return by the OS be used (useful for hashed files)?


floatofmath/bt88.03.704 documentation built on March 25, 2022, 12:28 p.m.