Running examples in ‘automatedRecLin-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: custom_rec_lin_model
> ### Title: Create a Custom Record Linkage Model
> ### Aliases: custom_rec_lin_model
> 
> ### ** Examples
> 
> if (requireNamespace("xgboost", quietly = TRUE)) {
+   df_1 <- data.frame(
+     "name" = c("James", "Emma", "William", "Olivia", "Thomas",
+     "Sophie", "Harry", "Amelia", "George", "Isabella"),
+     "surname" = c("Smith", "Johnson", "Brown", "Taylor", "Wilson",
+     "Davis", "Clark", "Harris", "Lewis", "Walker")
+   )
+   df_2 <- data.frame(
+     "name" = c("James", "Ema", "Wimliam", "Olivia", "Charlotte",
+     "Henry", "Lucy", "Edward", "Alice", "Jack"),
+     "surname" = c("Smith", "Johnson", "Bron", "Tailor", "Moore",
+     "Evans", "Hall", "Wright", "Green", "King")
+   )
+   comparators <- list("name" = jarowinkler_complement(),
+                       "surname" = jarowinkler_complement())
+   matches <- data.frame("a" = 1:4, "b" = 1:4)
+   vectors <- comparison_vectors(A = df_1, B = df_2, variables = c("name", "surname"),
+                                comparators = comparators, matches = matches)
+   train_data <- xgboost::xgb.DMatrix(
+     data = as.matrix(vectors$Omega[, c("gamma_name", "gamma_surname")]),
+     label = vectors$Omega$match
+   )
+   params <- list(objective = "binary:logistic",
+                  eval_metric = "logloss")
+   model_xgb <- xgboost::xgboost(data = train_data, params = params,
+                                 nrounds = 100, verbose = 0)
+   custom_xgb_model <- custom_rec_lin_model(model_xgb, vectors)
+   custom_xgb_model
+ }
Warning in throw_err_or_depr_msg("Parameter(s) have been removed from this function: ",  :
  Parameter(s) have been removed from this function: params. This warning will become an error in a future version.
Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized),  :
  Passed unrecognized parameters: verbose. This warning will become an error in a future version.
Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '",  :
  Parameter 'data' has been renamed to 'x'. This warning will become an error in a future version.
Error in xgboost::xgboost(data = train_data, params = params, nrounds = 100,  : 
  argument "y" is missing, with no default
Calls: <Anonymous> -> process.y.margin.and.objective -> NROW
Execution halted