CRAN Package Check Results for Maintainer ‘Naeem Khoshnevis <nkhoshnevis at g.harvard.edu>’

Last updated on 2025-12-04 07:51:53 CET.

Package ERROR NOTE OK
CausalGPS 2 2 9

Package CausalGPS

Current CRAN status: ERROR: 2, NOTE: 2, OK: 9

Additional issues

donttest

Version: 0.5.0
Check: DESCRIPTION meta-information
Result: NOTE Author field differs from that derived from Authors@R Author: ‘Naeem Khoshnevis [aut, cre] (<https://orcid.org/0000-0003-4315-1426>, Kempner), Xiao Wu [aut] (<https://orcid.org/0000-0002-4884-657X>, CUMC), Danielle Braun [aut] (<https://orcid.org/0000-0002-5177-8598>, HSPH)’ Authors@R: ‘Naeem Khoshnevis [aut, cre] (ORCID: <https://orcid.org/0000-0003-4315-1426>, AFFILIATION: Kempner), Xiao Wu [aut] (ORCID: <https://orcid.org/0000-0002-4884-657X>, AFFILIATION: CUMC), Danielle Braun [aut] (ORCID: <https://orcid.org/0000-0002-5177-8598>, AFFILIATION: HSPH)’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [20s/62s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(CausalGPS) > > Sys.setenv("R_TESTS" = "") > library(testthat) > test_check("CausalGPS") Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-estimate_erf-22.R Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-estimate_gps-29.R Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-generate_pseudo_pop-35.R Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-trim_it-34.R [ FAIL 4 | WARN 200 | SKIP 19 | PASS 68 ] ══ Skipped tests (19) ══════════════════════════════════════════════════════════ • On CRAN (17): 'test-CausalGPS_smooth.R:3:4', 'test-absolute_corr_fun.R:4:3', 'test-absolute_weighted_corr_fun.R:4:3', 'test-check_covar_balance.R:2:1', 'test-check_kolmogorov_smirnov.R:2:3', 'test-compile_pseudo_pop.R:3:3', 'test-compute_density.R:3:3', 'test-compute_minmax.R:3:3', 'test-compute_resid.R:3:3', 'test-create_weighting.R:3:3', 'test-estimate_gps.R:63:3', 'test-estimate_gps.R:92:3', 'test-estimate_hat_vals.R:3:3', 'test-matching_fn.R:3:3', 'test-set_logger.R:3:5', 'test-train_it.R:3:3', 'test-train_it.R:18:3' • empty test (2): 'test-estimate_npmetric_erf.R:1:1', 'test-estimate_npmetric_erf.R:89:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-estimate_erf.R:19:3'): estimate erf works as expected ────────── Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library Backtrace: ▆ 1. └─CausalGPS::estimate_gps(...) at test-estimate_erf.R:19:3 2. └─CausalGPS:::train_it(...) 3. └─SuperLearner::SuperLearner(...) ── Error ('test-estimate_gps.R:26:3'): estimate_gps works as expected. ───────── Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library Backtrace: ▆ 1. └─CausalGPS::estimate_gps(...) at test-estimate_gps.R:26:3 2. └─CausalGPS:::train_it(...) 3. └─SuperLearner::SuperLearner(...) ── Error ('test-generate_pseudo_pop.R:31:3'): generate_pseudo_pop works as expected. ── Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library Backtrace: ▆ 1. └─CausalGPS::estimate_gps(...) at test-generate_pseudo_pop.R:31:3 2. └─CausalGPS:::train_it(...) 3. └─SuperLearner::SuperLearner(...) ── Error ('test-trim_it.R:31:3'): trim_it works as expected ──────────────────── Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library Backtrace: ▆ 1. └─CausalGPS::estimate_gps(...) at test-trim_it.R:31:3 2. └─CausalGPS:::train_it(...) 3. └─SuperLearner::SuperLearner(...) [ FAIL 4 | WARN 200 | SKIP 19 | PASS 68 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.5.0
Check: tests
Result: ERROR Running ‘testthat.R’ [19s/75s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(CausalGPS) > > Sys.setenv("R_TESTS" = "") > library(testthat) > test_check("CausalGPS") Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-estimate_erf-22.R Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-estimate_gps-29.R Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-generate_pseudo_pop-35.R Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-trim_it-34.R [ FAIL 4 | WARN 200 | SKIP 19 | PASS 68 ] ══ Skipped tests (19) ══════════════════════════════════════════════════════════ • On CRAN (17): 'test-CausalGPS_smooth.R:3:4', 'test-absolute_corr_fun.R:4:3', 'test-absolute_weighted_corr_fun.R:4:3', 'test-check_covar_balance.R:2:1', 'test-check_kolmogorov_smirnov.R:2:3', 'test-compile_pseudo_pop.R:3:3', 'test-compute_density.R:3:3', 'test-compute_minmax.R:3:3', 'test-compute_resid.R:3:3', 'test-create_weighting.R:3:3', 'test-estimate_gps.R:63:3', 'test-estimate_gps.R:92:3', 'test-estimate_hat_vals.R:3:3', 'test-matching_fn.R:3:3', 'test-set_logger.R:3:5', 'test-train_it.R:3:3', 'test-train_it.R:18:3' • empty test (2): 'test-estimate_npmetric_erf.R:1:1', 'test-estimate_npmetric_erf.R:89:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-estimate_erf.R:19:3'): estimate erf works as expected ────────── Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library Backtrace: ▆ 1. └─CausalGPS::estimate_gps(...) at test-estimate_erf.R:19:3 2. └─CausalGPS:::train_it(...) 3. └─SuperLearner::SuperLearner(...) ── Error ('test-estimate_gps.R:26:3'): estimate_gps works as expected. ───────── Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library Backtrace: ▆ 1. └─CausalGPS::estimate_gps(...) at test-estimate_gps.R:26:3 2. └─CausalGPS:::train_it(...) 3. └─SuperLearner::SuperLearner(...) ── Error ('test-generate_pseudo_pop.R:31:3'): generate_pseudo_pop works as expected. ── Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library Backtrace: ▆ 1. └─CausalGPS::estimate_gps(...) at test-generate_pseudo_pop.R:31:3 2. └─CausalGPS:::train_it(...) 3. └─SuperLearner::SuperLearner(...) ── Error ('test-trim_it.R:31:3'): trim_it works as expected ──────────────────── Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library Backtrace: ▆ 1. └─CausalGPS::estimate_gps(...) at test-trim_it.R:31:3 2. └─CausalGPS:::train_it(...) 3. └─SuperLearner::SuperLearner(...) [ FAIL 4 | WARN 200 | SKIP 19 | PASS 68 ] Error: ! Test failures. 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.