Skip to content

Commit 7c67a30

Browse files
committed
fix
1 parent b59ed63 commit 7c67a30

File tree

6 files changed

+14
-6
lines changed

6 files changed

+14
-6
lines changed

.Rbuildignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@
1717
^DEVELOPMENT.md$
1818
man-roxygen
1919
^.venv$
20-
^sandbox.R$
20+
^sandbox.R$
21+
^README.Rmd$
22+
^README_cache$
23+
^pkgdown-watch.R$
24+
^scrap.Rmd$

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ Imports:
3939
genlasso,
4040
ggplot2,
4141
glue,
42-
here,
4342
lifecycle (>= 1.0.1),
4443
lubridate,
4544
magrittr,
@@ -56,6 +55,7 @@ Imports:
5655
Suggests:
5756
devtools,
5857
epidatr,
58+
here,
5959
knitr,
6060
outbreaks,
6161
readr,

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export(as_tsibble)
5959
export(autoplot)
6060
export(clone)
6161
export(complete)
62+
export(deprecated_quo_is_present)
6263
export(detect_outlr)
6364
export(detect_outlr_rm)
6465
export(detect_outlr_stl)

R/slide.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,16 @@
7979
#' # The same as above, but unpacking using an unnamed data.frame with a formula
8080
#' jhu_csse_daily_subset %>%
8181
#' epi_slide(
82-
#' data.frame(
82+
#' ~ data.frame(
8383
#' cases_7sd = sd(.x$cases, na.rm = TRUE),
8484
#' cases_7dav = mean(.x$cases, na.rm = TRUE)
8585
#' ),
8686
#' .window_size = 7
8787
#' ) %>%
8888
#' dplyr::select(geo_value, time_value, cases, cases_7sd, cases_7dav)
8989
#'
90-
#' # The same as above, but packing using a named data.frame with a formula
90+
#' # The same as above, but packing using a named data.frame with a tidy evaluation
91+
#' # expression
9192
#' jhu_csse_daily_subset %>%
9293
#' epi_slide(
9394
#' slide_packed = data.frame(

R/utils.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,7 @@ list2var <- function(x) {
836836
#'
837837
#' @importFrom lifecycle deprecated
838838
#'
839+
#' @export
839840
#' @keywords internal
840841
deprecated_quo_is_present <- function(quo) {
841842
if (!rlang::is_quosure(quo)) {

man/epi_slide.Rd

Lines changed: 3 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)