We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e802fb4 commit 6116d1aCopy full SHA for 6116d1a
1 file changed
R/rotate.R
@@ -1,9 +1,15 @@
1
#' Rotate or backup files
2
#'
3
+#' @description
4
#' Functions starting with `backup` create backups of a `file`, while functions
5
#' starting with `rotate` do the same but also replace the original `file`
6
#' with an empty one (this is useful for log rotation)
7
8
+#' **Note:**: `rotate()` and co will not work reliable on filenames that contain
9
+#' dots but have no file extension (e.g. `my.holiday.picture.jpg` is OK but
10
+#' `my.holiday.picture` is not)
11
+#'
12
13
#' @param file `character` scalar: file to backup/rotate
14
15
#' @param age minimum age after which to backup/rotate a file; can be
0 commit comments