Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions R/available-module-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ print.bayesplot_function_list <- function(x, ...) {
)
}

# remove deprecated functions
return_funs <- setdiff(return_funs, "ppc_loo_pit")

structure(
return_funs,
class = c("bayesplot_function_list", "character"),
Expand Down
1 change: 1 addition & 0 deletions bayesplot.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: 29d8864e-c5c0-432d-b2d6-5838fba2f8d2

RestoreWorkspace: Default
SaveWorkspace: Default
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-available_ppc.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ test_that("available_ppc works", {

all_ppc_plots <- sort(grep("^ppc_", getNamespaceExports("bayesplot"), value = TRUE))
all_ppc_plots <- grep("_data", all_ppc_plots, invert = TRUE, value = TRUE)
all_ppc_plots <- setdiff(all_ppc_plots, "ppc_loo_pit") # remove deprecated
expect_identical(as.character(a), all_ppc_plots)

b <- available_ppc("grouped")
Expand Down
Loading