powered by
This is a developer tool intended to help making sure all methods for each step have been created.
recipes_extension_check( pkg, exclude_steps = character(), exclude_methods = character() )
cli output
Character, name of package containing steps to check
Character, name of steps to exclude. This is mostly used to remove false positives.
Character, which methods to exclude testing for. Can take the values "prep", "bake", "print", "tidy", and "required_pkgs".
It is recommended that the following test in placed in packages that add recipes steps to help keep everything up to date.
test_that("recipes_extension_check", { expect_snapshot( recipes::recipes_extension_check( pkg = "pkgname" ) ) })
developer_functions
recipes_extension_check( pkg = "recipes" ) recipes_extension_check( pkg = "recipes", exclude_steps = "step_testthat_helper", exclude_methods = c("required_pkgs") )
Run the code above in your browser using DataLab