diff --git a/NEWS.md b/NEWS.md index ab78c184..d2cf2da9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -20,6 +20,8 @@ + recommended tests now use `expect_type()` instead of `expect_is`, which was deprecated from `{testthat}` (#671) ++ Fixed check warning when using `golem::use_utils_server()` (#678) + ## Internal changes # golem 0.3.1 (CRAN Version) diff --git a/inst/utils/golem_utils_server.R b/inst/utils/golem_utils_server.R index 97bc2d1d..fdaa7fd7 100644 --- a/inst/utils/golem_utils_server.R +++ b/inst/utils/golem_utils_server.R @@ -59,6 +59,6 @@ drop_nulls <- function(x){ #' @inheritParams reactiveValuesToList #' #' @noRd -rv <- shiny::reactiveValues -rvtl <- shiny::reactiveValuesToList +rv <- function(...) shiny::reactiveValues(...) +rvtl <- function(...) shiny::reactiveValuesToList(...)