Skip to content

Commit 5fb62f3

Browse files
authored
Merge pull request #470 from cmu-delphi/ndefries/warning-suppression
Suppression noisy test warnings
2 parents e7b04fc + ebfba0d commit 5fb62f3

File tree

6 files changed

+12
-3
lines changed

6 files changed

+12
-3
lines changed

.Rbuildignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
^Meta$
1515
^.git-blame-ignore-revs$
1616
^.lintr$
17-
^DEVELOPMENT.md$
17+
^DEVELOPMENT.md$
18+
man-roxygen

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Config/testthat/edition: 3
6666
Encoding: UTF-8
6767
LazyData: true
6868
Roxygen: list(markdown = TRUE)
69-
RoxygenNote: 7.3.1
69+
RoxygenNote: 7.3.2
7070
Depends:
7171
R (>= 2.10)
7272
URL: https://cmu-delphi.github.io/epiprocess/

NAMESPACE

+2
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ importFrom(dplyr,slice)
139139
importFrom(dplyr,tibble)
140140
importFrom(dplyr,ungroup)
141141
importFrom(ggplot2,autoplot)
142+
importFrom(lifecycle,deprecated)
142143
importFrom(lubridate,as.period)
143144
importFrom(lubridate,days)
144145
importFrom(lubridate,weeks)
@@ -188,4 +189,5 @@ importFrom(tidyr,unnest)
188189
importFrom(tidyselect,eval_select)
189190
importFrom(tidyselect,starts_with)
190191
importFrom(tsibble,as_tsibble)
192+
importFrom(utils,capture.output)
191193
importFrom(utils,tail)

R/archive.R

+1
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ NULL
251251
#'
252252
#' @importFrom data.table as.data.table key setkeyv
253253
#' @importFrom dplyr if_any if_all everything
254+
#' @importFrom utils capture.output
254255
#'
255256
#' @name epi_archive
256257
#' @export

R/epiprocess.R

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@
1212
#' @importFrom rlang %||%
1313
#' @name epiprocess
1414
"_PACKAGE"
15-
utils::globalVariables(c(".x", ".group_key", ".ref_time_value"))
15+
utils::globalVariables(c(
16+
".x", ".group_key", ".ref_time_value", "resid",
17+
"fitted", ".response", "geo_value", "time_value"
18+
))

R/utils.R

+2
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,8 @@ list2var <- function(x) {
526526
#' bad_wrapper1 <- function(x) fn(x)
527527
#' bad_wrapper1() # TRUE, bad
528528
#'
529+
#' @importFrom lifecycle deprecated
530+
#'
529531
#' @noRd
530532
deprecated_quo_is_present <- function(quo) {
531533
if (!rlang::is_quosure(quo)) {

0 commit comments

Comments
 (0)