Skip to content

Commit d5fb0d9

Browse files
committed
not so many check_dots_emptys
1 parent 65d10e8 commit d5fb0d9

File tree

5 files changed

+0
-7
lines changed

5 files changed

+0
-7
lines changed

R/epi_recipe.R

-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ epi_recipe.default <- function(x, ...) {
5757
#' r
5858
epi_recipe.epi_df <-
5959
function(x, formula = NULL, ..., vars = NULL, roles = NULL) {
60-
rlang::check_dots_empty()
6160
if (!is.null(formula)) {
6261
if (!is.null(vars)) {
6362
rlang::abort(
@@ -289,7 +288,6 @@ is_epi_recipe <- function(x) {
289288
#'
290289
add_epi_recipe <- function(
291290
x, recipe, ..., blueprint = default_epi_recipe_blueprint()) {
292-
rlang::check_dots_empty()
293291
workflows::add_recipe(x, recipe, ..., blueprint = blueprint)
294292
}
295293

R/epi_workflow.R

-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ is_epi_workflow <- function(x) {
113113
#' wf
114114
#' @export
115115
add_model <- function(x, spec, ..., formula = NULL) {
116-
rlang::check_dots_empty()
117116
UseMethod("add_model")
118117
}
119118

@@ -126,7 +125,6 @@ remove_model <- function(x) {
126125
#' @rdname add_model
127126
#' @export
128127
update_model <- function(x, spec, ..., formula = NULL) {
129-
rlang::check_dots_empty()
130128
UseMethod("update_model")
131129
}
132130

R/frosting.R

-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ frosting <- function(layers = NULL, requirements = NULL) {
303303
#' @return a `frosting` object
304304
#' @export
305305
extract_frosting <- function(x, ...) {
306-
rlang::check_dots_empty()
307306
UseMethod("extract_frosting")
308307
}
309308

R/layer_predict.R

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
layer_predict <-
4444
function(frosting, type = NULL, opts = list(), ...,
4545
id = rand_id("predict_default")) {
46-
rlang::check_dots_empty()
4746
arg_is_chr_scalar(id)
4847
arg_is_chr_scalar(type, allow_null = TRUE)
4948
add_layer(

R/tidy.R

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ tidy.frosting <- function(x, number = NA, id = NA, ...) {
4949
# add id = NA as default. If both ID & number are non-NA, error.
5050
# If number is NA and ID is not, select the layer with the corresponding
5151
# ID. Only a single ID is allowed, as this follows the convention for number
52-
rlang::check_dots_empty()
5352
num_oper <- length(x$layers)
5453
pattern <- "^layer_"
5554

0 commit comments

Comments
 (0)