newest_file: Find The Newest File.

Description Usage Arguments

View source: R/newest_file.R

Description

Look for a file in the working directory or a subfolder and return a character string with the newest version of the file matching the queried character string.

Usage

1
2
newest_file(look_for = NA, subfolder = NA, directory = NA,
  print_full = F)

Arguments

look_for

Character string with the name, or part of the name, of the file to look for

subfolder

Specify the subfolder to look for the file for when location is the working directory

directory

when Files are not in the working directory put the full path to the directory to search through here. Does not work with parameter subfolder

print_full

If TRUE will print complete path to the file


cfbeuchel/CarlHelpR documentation built on Dec. 24, 2019, 8:08 p.m.