diff --git a/NEWS.md b/NEWS.md index 1591b41..8427748 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # probably (development version) +* Fixed `int_conformal_quantile()` so that it works when dplyr is not attached. An internal call to `select()` was not namespaced (#198). + * Fixed `cal_plot_breaks()`, `cal_plot_logistic()`, and `cal_plot_windowed()` so that plots of tuning results with more than one model configuration can be rendered. The grouping column was dropped before the plot was faceted (#202). # probably 1.2.0 diff --git a/R/conformal_infer_quantile.R b/R/conformal_infer_quantile.R index c3a033f..f0e215e 100644 --- a/R/conformal_infer_quantile.R +++ b/R/conformal_infer_quantile.R @@ -152,7 +152,7 @@ quant_train <- function(train_data, y_name, ...) { cl <- rlang::call2( "quantregForest", .ns = "quantregForest", - x = quote(train_data |> select(-dplyr::all_of(y_name))), + x = quote(dplyr::select(train_data, -dplyr::all_of(y_name))), y = quote(train_data[[y_name]]), ... )