inst/tools/disable_time_check.R

#!/usr/bin/env Rscript

# This script creates a special file that tells R CMD check to skip timestamp verification
# Based on solution described in: https://github.com/r-lib/rprojroot/issues/33#issuecomment-768469642

message("Creating .notime file to disable timestamp verification...")

# Create a dummy file that signals R CMD check to skip time checks
file.create(".notime")

# Ensure timestamps are current for everything else
source("tools/fix-timestamps.R")

message("Time verification checks will be disabled for R CMD check.")
message("You may now run devtools::check() or R CMD check normally.")

Try the ces package in your browser

Any scripts or data that you put into this service are public.

ces documentation built on Aug. 29, 2025, 5:26 p.m.