Skip to content

Commit

Permalink
namespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelloharawild committed Sep 16, 2024
1 parent 6288bca commit a3b2d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ build_fbl_layer <- function(object, data = NULL, level = c(80, 95),
return(matrix(c(NA_real_, NA_real_), ncol = 2))
}

if (packageVersion("distributional") > "0.4.0") {
if (utils::packageVersion("distributional") > "0.4.0") {
do.call(rbind, lapply(quantile(x, (1 + c(-1, 1) * .width)/2, type = "marginal", na.rm = na.rm), t))
} else {
do.call(rbind, lapply(quantile(x, (1 + c(-1, 1) * .width)/2, na.rm = na.rm), t))
Expand Down

0 comments on commit a3b2d09

Please sign in to comment.