rotate(), backup() and co. no longer fail
on filenames that contain special regex characters (such as
* or +)rotate(), backup() and co. now work with
hidden filesrotate_rds: the on_change_only argument
now also accepts a list() of paramters to be passed on to
all.equal.data.table when comparing
data.tablesparse_size() now accepts (and rounds down) decimal file
sizes, but throws a warningCache R6 class
that fail on systems with low-precision file system timestamps (such as
ext3 and old Windows file systems)Cache$prune().rotate_rds(on_change_only = TRUE) that
occurs if a version of data.table < 1.3.0 is installed and either the
source or target object are a data.table (but not
both)rotate_rds(), rotate_rds_time(), and
rotate_rds_date() as a replacement for
base::saveRDS() that supports creating backups instead of
just overwriting the destination file.Cache, an R6 class for managing cache
directories. The Cache API is still experimental and might
change.$push_backup() -> $push()$backup_dir -> dir()$backups -> $files$file -> $originBackupQueue$prune_identical() removes identical backups
for a BackupQueuerotate_date(),
rotate_time(), etc…: If no backups exist of target file,
use the “created” timestamp to determine whether rotation should take
place or not.verbose == TRUE now also displays information on why
rotation was NOT triggered.backup_info() which is similar to
file.info() but with additional backup related infos."dir" column from
$backups/backup_info()rotate_*() and
backup_*() for more consistencysize for all all rotate_*() and
backup_*() functions is now 1 (Byte). This
means empty files are never rotated by default.Inf size and
age (= never rotate)should_rotate(...) method that determines whether
rotation/backup should take place.FALSE).rotate() documentationdry_run status is now tracked internally instead of a
potentially user modifiable option() (it was never designed
to be user modifiable anyways).NEWS.md file to track changes to the
package.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.