Skip to content

Commit 848cafd

Browse files
committed
changes to fix deprecation warnings
1 parent 8d3e57f commit 848cafd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ SystemRequirements: pandoc (>= 1.12.3), pandoc-citeproc
2222
Depends:
2323
R (>= 3.1.0)
2424
Imports:
25-
dplyr (>= 0.7.1),
25+
dplyr (>= 0.8.0),
2626
ggplot2 (>= 2.2.1),
2727
reshape2,
2828
stats,
2929
utils,
30-
rlang,
30+
rlang (>= 0.3.0),
3131
ggridges
3232
Suggests:
3333
arm,

R/mcmc-intervals.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ mcmc_areas_ridges_data <- function(x,
714714
#' @noRd
715715
compute_column_density <- function(df, group_vars, value_var, ...) {
716716
value_var <- enquo(value_var)
717-
group_vars <- enquo(group_vars)
717+
group_vars <- enquos(group_vars)
718718

719719
# Convert the vector of bare column names to a list of symbols
720720
group_cols <- df %>%

R/ppc-discrete.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ ppc_bars_yrep_data <- function(y, yrep, probs, freq = TRUE, group = NULL) {
303303
lo <- function(x) quantile(x, probs[1])
304304
mid <- function(x) quantile(x, probs[2])
305305
hi <- function(x) quantile(x, probs[3])
306-
fs <- dplyr::funs(lo, mid, hi)
306+
fs <- list(lo = lo, mid = mid, hi = hi)
307307

308308
# Set a dummy group for ungrouped data
309309
if (is.null(group)) {

0 commit comments

Comments
 (0)