Last updated on 2025-12-04 09:50:17 CET.
| Package | ERROR | OK |
|---|---|---|
| automatedRecLin | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘automatedRecLin-Ex.R’ failed
The error most likely occurred in:
> ### 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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘tinytest.R’ [1s/26s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("automatedRecLin", ncpu = 1)
+ }
starting worker pid=2934496 on localhost:11531 at 11:07:19.697
test_comparators.R............ 2 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m
test_comparison_vectors.R..... 2 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.8s<1b>[0m
kliep function error: missing value where TRUE/FALSE needed
========================================================
kliep function error: missing value where TRUE/FALSE needed
========================================================
test_mec.R.................... 11 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m4.3s<1b>[0m
OMP: Warning #96: Cannot form a team with 8 threads, using 2 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
Error in checkForRemoteErrors(val) :
one node produced an error: argument "y" is missing, with no default
Calls: <Anonymous> ... clusterApply -> staticClusterApply -> checkForRemoteErrors
Warning messages:
1: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
2: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
3: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
4: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
5: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
6: 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.
7: 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.
8: 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.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘tinytest.R’ [1s/41s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("automatedRecLin", ncpu = 1)
+ }
starting worker pid=3286618 on localhost:11463 at 12:02:26.657
test_comparators.R............ 2 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.6s<1b>[0m
test_comparison_vectors.R..... 2 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m0.3s<1b>[0m
kliep function error: missing value where TRUE/FALSE needed
========================================================
kliep function error: missing value where TRUE/FALSE needed
========================================================
test_mec.R.................... 11 tests <1b>[0;32mOK<1b>[0m <1b>[0;34m8.8s<1b>[0m
Error in checkForRemoteErrors(val) :
one node produced an error: argument "y" is missing, with no default
Calls: <Anonymous> ... clusterApply -> staticClusterApply -> checkForRemoteErrors
Warning messages:
1: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
2: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
3: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
4: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
5: In check.sigma(nsigma, sigma_quantile, sigma, dist_nu) :
There are duplicate values in 'sigma', only the unique values are used.
6: 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.
7: 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.
8: 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.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.