Skip to content

Commit 6b0727b

Browse files
author
Stefan Fleck
committed
prep for release
Merge branch 'master' of https://github.com/s-fleck/rotor # Conflicts: # DESCRIPTION
2 parents 863c9df + d3ede29 commit 6b0727b

File tree

8 files changed

+21
-14
lines changed

8 files changed

+21
-14
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: rotor
33
Title: Log Rotation and Conditional Backups
4-
Version: 0.2.5
4+
Version: 0.3.0
55
Authors@R:
66
person(given = "Stefan",
77
family = "Fleck",

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# rotor 0.2.5
1+
# rotor 0.3.0
22

33
* Improved some error messages
44
* Added `rotate_rds()`, `rotate_rds_time()`, and `rotate_rds_date()` as a

R/BackupQueue.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ BackupQueueDateTime <- R6::R6Class(
501501

502502
#' @description Create a new time-stamped backup (e.g. \file{logfile.2020-07-22_12-26-29.log})
503503
#' @param overwrite `logical` scalar. Overwrite backups with the same
504-
#' fielename (i.e timestamp)?
505-
#' @param now `POSIXct` scalar. Can be used as an override meachanism for
504+
#' filename (i.e timestamp)?
505+
#' @param now `POSIXct` scalar. Can be used as an override mechanism for
506506
#' the current system time if necessary.
507507
push = function(
508508
overwrite = FALSE,
@@ -701,7 +701,7 @@ BackupQueueDateTime <- R6::R6Class(
701701
#' Caching brings a significant speedup for checking whether to rotate or
702702
#' not based on the `age` of the last backup, but is only safe if there are
703703
#' no other programs/functions interacting with the backups. This is only
704-
#' advantagous for high frequency file rotation (i.e. several times per
704+
#' advantageous for high frequency file rotation (i.e. several times per
705705
#' second)
706706
cache_backups = function(){
707707
get(".cache_backups", envir = private, mode = "logical")

R/Cache.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#'
55
#' @description
66
#' `Cache` provides an [R6][R6::R6Class] API for managing an on-disk key-value
7-
#' store for \R objects. The objects are serialzed to a single folder as
7+
#' store for \R objects. The objects are serialized to a single folder as
88
#' [.rds][readRDS()] files and the key of the object equals the name of the file.
99
#' `Cache` supports automatic removal of old files if the cache folder exceeds a
1010
#' predetermined number of files, total size, or if the individual files exceed
@@ -68,7 +68,7 @@ Cache <- R6::R6Class(
6868
#'
6969
#' @param x any \R object
7070
#' @param key a `character` scalar. Key under which to store the cached
71-
#' object. Must be a valid filename. Defaults to beeing generated by
71+
#' object. Must be a valid filename. Defaults to being generated by
7272
#' `$hashfun()` but may also be supplied manually.
7373
#'
7474
#' @return a `character` scalar: the key of the newly added object

cran-comments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Test environments
2-
* ubuntu 14.04 (via RStudio Server), R 3.6.1
2+
* ubuntu 18.04 (via RStudio Server), R 4.0.2
33
* ubuntu 16.04 (via travis), R 3.6.1
44
* win-builder (devel)
55
* rhub::check_for_cran()
@@ -8,4 +8,4 @@
88

99
0 errors | 0 warnings | 0 notes
1010

11-
fixes system-time dependent unit tests that broke due to year change
11+
added new functionality (see NEWS.md)

inst/WORDLIST

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,16 @@ TiB
1818
Codecov
1919
covr
2020
BackupQueue
21+
BackupQueueIndex
2122
BackupQueueDate
2223
BackupQueueDateTime
2324
DateTime
2425
appender
2526
IEC
2627
getters
28+
datestamped
29+
uuid
30+
UID
31+
's
32+
ORCID
33+
infos

man/BackupQueueDateTime.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/Cache.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)