We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42bda42 commit 093fac0Copy full SHA for 093fac0
R/model.R
@@ -66,11 +66,11 @@ print.EpiRange <- function(x, ...) {
66
stopifnot(inherits(x, "EpiRange"))
67
68
if (nchar(x$from) == 8) {
69
- date_type <- "Days"
+ date_type <- "Days" # nolint: object_usage_linter
70
x$from <- as.Date(as.character(x$from), "%Y%m%d")
71
x$to <- as.Date(as.character(x$to), "%Y%m%d")
72
} else if (nchar(x$from) == 6) {
73
- date_type <- "Epiweeks"
+ date_type <- "Epiweeks" # nolint: object_usage_linter
74
x$from <- format(
75
as.Date(as.character(x$from), "%Y%U"),
76
"%Yw%U"
0 commit comments