file_age: File modification date age

View source: R/file-age.R

file_ageR Documentation

File modification date age

Description

The period of time since a system file was modified.

Usage

file_age(...)

Arguments

...

Arguments passed to file.info(), namely character vectors containing file paths. Tilde-expansion is done: see path.expand().

Value

A Period class object.

Examples

file_age(system.file("README.md", package = "campfin"))

campfin documentation built on Oct. 20, 2023, 5:06 p.m.