rotor 0.3.7
- Some internal changes to date formatting for compatibility with
R-devel revision >= r82904 (2022-09-24 19:32:52).
rotor 0.3.6
- 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 files
- rotate_rds: the- on_change_onlyargument
now also accepts a- list()of paramters to be passed on to- all.equal.data.tablewhen comparing- data.tables
- rebuild docs for R 4.2.0
rotor 0.3.5
- Backups now retain their original timestamp (created, last modified)
where possible (even when zipped)
- fixed broken behaviour when pruning with max_backups where
max_backups is the maximum number of files
- parse_size()now accepts (and rounds down) decimal file
sizes, but throws a warning
rotor 0.3.4
- Hotfix for some tests related to the CacheR6 class
that fail on systems with low-precision file system timestamps (such as
ext3 and old Windows file systems)
rotor 0.3.2
- fixes time zone related issue in Cache$prune().
- fixes bug in 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 adata.table(but not
both)
- more robust clean up of temporary files in most unit tests
rotor 0.3.0
- Improved some error messages
- Added rotate_rds(),rotate_rds_time(), androtate_rds_date()as a replacement forbase::saveRDS()that supports creating backups instead of
just overwriting the destination file.
- added Cache, an R6 class for managing cache
directories. TheCacheAPI is still experimental and might
change.
- breaking R6 API: renamed some methods and active
fields of BackupQueue to more universal names:
- $push_backup()->- $push()
- $backup_dir->- dir()
- $backups->- $files
- $file->- $origin
 
- BackupQueue$prune_identical()removes identical backups
for a BackupQueue
rotor 0.2.4
- Fixes unit tests sensitive to year change.
rotor 0.2.3
- Changed default behavior of rotate_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 == TRUEnow also displays information on why
rotation was NOT triggered.
- added backup_info()which is similar tofile.info()but with additional backup related infos.
- removed "dir"column from$backups/backup_info()
rotor 0.2.2
- Reordered the arguments of rotate_*()andbackup_*()for more consistency
- default sizefor all allrotate_*()andbackup_*()functions is now1(Byte). This
means empty files are never rotated by default.
- added support for Infsizeandage(= never rotate)
- More robust regex for discovering backups of files
- R6 API: BackupQueue subclasses gain a
should_rotate(...)method that determines whether
rotation/backup should take place.
- R6 API: BackupQueueDate and BackupQueueDateTime now have a caching
mechanism for backups (defaults to FALSE).
- R6 API: BackupQueue* now use setters/getters for all fields.
rotor 0.2.1
- added examples to rotate()documentation
- dry_runstatus is now tracked internally instead of a
potentially user modifiable- option()(it was never designed
to be user modifiable anyways).
- Track test coverage with covr
- Added a NEWS.mdfile to track changes to the
package.