Package check result: OK Changes to worse in reverse depends: Package: pointblank Check: tests New result: ERROR Running ‘testthat.R’ [37s/37s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(pointblank) > library(dittodb) Loading required package: DBI > test_check("pointblank") Saving _problems/test-tidyselect_integration-76.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1824 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-tidyselect_integration.R:73:3'): Full range of tidyselect features available in column selection ── Expected exactly one success and no failures. Actually succeeded 2 times [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1824 ] Error: ! Test failures. Execution halted Package: rcdf Check: examples New result: ERROR Running examples in ‘rcdf-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: write_parquet > ### Title: Write Parquet file with optional encryption > ### Aliases: write_parquet > > ### ** Examples > > > data <- mtcars > key <- "5bddd0ea4ab48ed5e33b1406180d68158aa255cf3f368bdd4744abc1a7909ead" > iv <- "7D3EF463F4CCD81B11B6EC3230327B2D" > > temp_dir <- tempdir() > > rcdf::write_parquet( + data = data, + path = file.path(temp_dir, "mtcars.parquet"), + encryption_key = list(aes_key = key, aes_iv = iv) + ) Error in `duckdb_result()`: ! Invalid Error: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. ℹ Context: rapi_execute ℹ Error type: INVALID ℹ Raw message: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. Backtrace: ▆ 1. ├─rcdf::write_parquet(...) 2. │ ├─DBI::dbExecute(conn = pq_conn, statement = pq_query) 3. │ └─DBI::dbExecute(conn = pq_conn, statement = pq_query) 4. │ ├─DBI::dbSendStatement(conn, statement, ...) 5. │ └─DBI::dbSendStatement(conn, statement, ...) 6. │ ├─DBI::dbSendQuery(conn, statement, ...) 7. │ └─duckdb::dbSendQuery(conn, statement, ...) 8. │ └─duckdb (local) .local(conn, statement, ...) 9. │ └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 10. │ └─duckdb:::duckdb_execute(res) 11. │ └─duckdb:::rethrow_rapi_execute(...) 12. │ ├─rlang::try_fetch(...) 13. │ │ ├─base::tryCatch(...) 14. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 17. │ │ └─base::withCallingHandlers(...) 18. │ └─duckdb:::rapi_execute(stmt, convert_opts) 19. ├─duckdb (local) ``(...) 20. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 21. │ └─rlang:::signal_abort(cnd, .file) 22. │ └─base::signalCondition(cnd) 23. └─rlang (local) ``(``) 24. └─handlers[[1L]](cnd) 25. └─duckdb:::rethrow_error_from_rapi(e, call) 26. └─rlang::abort(msg, call = call) Execution halted Package: rcdf Check: tests New result: ERROR Running ‘testthat.R’ [5s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(rcdf) > > test_check("rcdf") Saving _problems/test-read_parquet-35.R Saving _problems/test-read_parquet-59.R Saving _problems/test-read_rcdf-29.R Saving _problems/test-read_rcdf-53.R Saving _problems/test-write_parquet-13.R Saving _problems/test-write_rcdf-29.R Saving _problems/test-write_rcdf-62.R [ FAIL 7 | WARN 0 | SKIP 0 | PASS 46 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-read_parquet.R:35:3'): read_parquet reads encrypted Parquet file with decryption ── Error in `duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)`: Invalid Error: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. i Context: rapi_execute i Error type: INVALID i Raw message: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. Backtrace: ▆ 1. ├─rcdf::write_parquet(data, temp_file, encryption_key = mock_aes_key) at test-read_parquet.R:35:3 2. │ ├─DBI::dbExecute(conn = pq_conn, statement = pq_query) 3. │ └─DBI::dbExecute(conn = pq_conn, statement = pq_query) 4. │ ├─DBI::dbSendStatement(conn, statement, ...) 5. │ └─DBI::dbSendStatement(conn, statement, ...) 6. │ ├─DBI::dbSendQuery(conn, statement, ...) 7. │ └─duckdb::dbSendQuery(conn, statement, ...) 8. │ └─duckdb (local) .local(conn, statement, ...) 9. │ └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 10. │ └─duckdb:::duckdb_execute(res) 11. │ └─duckdb:::rethrow_rapi_execute(...) 12. │ ├─rlang::try_fetch(...) 13. │ │ ├─base::tryCatch(...) 14. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 17. │ │ └─base::withCallingHandlers(...) 18. │ └─duckdb:::rapi_execute(stmt, convert_opts) 19. ├─duckdb (local) ``(...) 20. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 21. │ └─rlang:::signal_abort(cnd, .file) 22. │ └─base::signalCondition(cnd) 23. └─rlang (local) ``(``) 24. └─handlers[[1L]](cnd) 25. └─duckdb:::rethrow_error_from_rapi(e, call) 26. └─rlang::abort(msg, call = call) ── Error ('test-read_parquet.R:59:3'): read_parquet throws error with invalid decryption key ── Error in `duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)`: Invalid Error: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. i Context: rapi_execute i Error type: INVALID i Raw message: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. Backtrace: ▆ 1. ├─rcdf::write_parquet(data, temp_file, encryption_key = mock_aes_key) at test-read_parquet.R:59:3 2. │ ├─DBI::dbExecute(conn = pq_conn, statement = pq_query) 3. │ └─DBI::dbExecute(conn = pq_conn, statement = pq_query) 4. │ ├─DBI::dbSendStatement(conn, statement, ...) 5. │ └─DBI::dbSendStatement(conn, statement, ...) 6. │ ├─DBI::dbSendQuery(conn, statement, ...) 7. │ └─duckdb::dbSendQuery(conn, statement, ...) 8. │ └─duckdb (local) .local(conn, statement, ...) 9. │ └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 10. │ └─duckdb:::duckdb_execute(res) 11. │ └─duckdb:::rethrow_rapi_execute(...) 12. │ ├─rlang::try_fetch(...) 13. │ │ ├─base::tryCatch(...) 14. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 17. │ │ └─base::withCallingHandlers(...) 18. │ └─duckdb:::rapi_execute(stmt, convert_opts) 19. ├─duckdb (local) ``(...) 20. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 21. │ └─rlang:::signal_abort(cnd, .file) 22. │ └─base::signalCondition(cnd) 23. └─rlang (local) ``(``) 24. └─handlers[[1L]](cnd) 25. └─duckdb:::rethrow_error_from_rapi(e, call) 26. └─rlang::abort(msg, call = call) ── Error ('test-read_rcdf.R:29:3'): read_rcdf can read and decrypt RCDF files ── Error in `duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)`: Invalid Error: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. i Context: rapi_execute i Error type: INVALID i Raw message: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. Backtrace: ▆ 1. ├─rcdf (local) create_mock_rcdf(temp_dir) at test-read_rcdf.R:29:3 2. │ └─rcdf::write_rcdf(...) at test-read_rcdf.R:14:3 3. │ └─rcdf::write_rcdf_parquet(...) 4. │ └─rcdf::write_parquet(...) 5. │ ├─DBI::dbExecute(conn = pq_conn, statement = pq_query) 6. │ └─DBI::dbExecute(conn = pq_conn, statement = pq_query) 7. │ ├─DBI::dbSendStatement(conn, statement, ...) 8. │ └─DBI::dbSendStatement(conn, statement, ...) 9. │ ├─DBI::dbSendQuery(conn, statement, ...) 10. │ └─duckdb::dbSendQuery(conn, statement, ...) 11. │ └─duckdb (local) .local(conn, statement, ...) 12. │ └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 13. │ └─duckdb:::duckdb_execute(res) 14. │ └─duckdb:::rethrow_rapi_execute(...) 15. │ ├─rlang::try_fetch(...) 16. │ │ ├─base::tryCatch(...) 17. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 18. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 19. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 20. │ │ └─base::withCallingHandlers(...) 21. │ └─duckdb:::rapi_execute(stmt, convert_opts) 22. ├─duckdb (local) ``(...) 23. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 24. │ └─rlang:::signal_abort(cnd, .file) 25. │ └─base::signalCondition(cnd) 26. └─rlang (local) ``(``) 27. └─handlers[[1L]](cnd) 28. └─duckdb:::rethrow_error_from_rapi(e, call) 29. └─rlang::abort(msg, call = call) ── Error ('test-read_rcdf.R:53:3'): read_rcdf can read and decrypt RCDF files with RSA password protected key ── Error in `duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)`: Invalid Error: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. i Context: rapi_execute i Error type: INVALID i Raw message: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. Backtrace: ▆ 1. ├─rcdf (local) create_mock_rcdf(temp_dir, pw = "xxx") at test-read_rcdf.R:53:3 2. │ └─rcdf::write_rcdf(...) at test-read_rcdf.R:14:3 3. │ └─rcdf::write_rcdf_parquet(...) 4. │ └─rcdf::write_parquet(...) 5. │ ├─DBI::dbExecute(conn = pq_conn, statement = pq_query) 6. │ └─DBI::dbExecute(conn = pq_conn, statement = pq_query) 7. │ ├─DBI::dbSendStatement(conn, statement, ...) 8. │ └─DBI::dbSendStatement(conn, statement, ...) 9. │ ├─DBI::dbSendQuery(conn, statement, ...) 10. │ └─duckdb::dbSendQuery(conn, statement, ...) 11. │ └─duckdb (local) .local(conn, statement, ...) 12. │ └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 13. │ └─duckdb:::duckdb_execute(res) 14. │ └─duckdb:::rethrow_rapi_execute(...) 15. │ ├─rlang::try_fetch(...) 16. │ │ ├─base::tryCatch(...) 17. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 18. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 19. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 20. │ │ └─base::withCallingHandlers(...) 21. │ └─duckdb:::rapi_execute(stmt, convert_opts) 22. ├─duckdb (local) ``(...) 23. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 24. │ └─rlang:::signal_abort(cnd, .file) 25. │ └─base::signalCondition(cnd) 26. └─rlang (local) ``(``) 27. └─handlers[[1L]](cnd) 28. └─duckdb:::rethrow_error_from_rapi(e, call) 29. └─rlang::abort(msg, call = call) ── Error ('test-write_parquet.R:13:3'): write_parquet writes encrypted Parquet files ── Error in `duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)`: Invalid Error: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. i Context: rapi_execute i Error type: INVALID i Raw message: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. Backtrace: ▆ 1. ├─rcdf::write_parquet(data, temp_file, encryption_key = mock_aes_key) at test-write_parquet.R:13:3 2. │ ├─DBI::dbExecute(conn = pq_conn, statement = pq_query) 3. │ └─DBI::dbExecute(conn = pq_conn, statement = pq_query) 4. │ ├─DBI::dbSendStatement(conn, statement, ...) 5. │ └─DBI::dbSendStatement(conn, statement, ...) 6. │ ├─DBI::dbSendQuery(conn, statement, ...) 7. │ └─duckdb::dbSendQuery(conn, statement, ...) 8. │ └─duckdb (local) .local(conn, statement, ...) 9. │ └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 10. │ └─duckdb:::duckdb_execute(res) 11. │ └─duckdb:::rethrow_rapi_execute(...) 12. │ ├─rlang::try_fetch(...) 13. │ │ ├─base::tryCatch(...) 14. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 17. │ │ └─base::withCallingHandlers(...) 18. │ └─duckdb:::rapi_execute(stmt, convert_opts) 19. ├─duckdb (local) ``(...) 20. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 21. │ └─rlang:::signal_abort(cnd, .file) 22. │ └─base::signalCondition(cnd) 23. └─rlang (local) ``(``) 24. └─handlers[[1L]](cnd) 25. └─duckdb:::rethrow_error_from_rapi(e, call) 26. └─rlang::abort(msg, call = call) ── Error ('test-write_rcdf.R:29:3'): write_rcdf creates a valid RCDF file ────── Error in `duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)`: Invalid Error: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. i Context: rapi_execute i Error type: INVALID i Raw message: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. Backtrace: ▆ 1. ├─rcdf::write_rcdf(data = mock_data, path = rcdf_path, pub_key = pub_key) at test-write_rcdf.R:29:3 2. │ └─rcdf::write_rcdf_parquet(...) 3. │ └─rcdf::write_parquet(...) 4. │ ├─DBI::dbExecute(conn = pq_conn, statement = pq_query) 5. │ └─DBI::dbExecute(conn = pq_conn, statement = pq_query) 6. │ ├─DBI::dbSendStatement(conn, statement, ...) 7. │ └─DBI::dbSendStatement(conn, statement, ...) 8. │ ├─DBI::dbSendQuery(conn, statement, ...) 9. │ └─duckdb::dbSendQuery(conn, statement, ...) 10. │ └─duckdb (local) .local(conn, statement, ...) 11. │ └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 12. │ └─duckdb:::duckdb_execute(res) 13. │ └─duckdb:::rethrow_rapi_execute(...) 14. │ ├─rlang::try_fetch(...) 15. │ │ ├─base::tryCatch(...) 16. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. │ │ └─base::withCallingHandlers(...) 20. │ └─duckdb:::rapi_execute(stmt, convert_opts) 21. ├─duckdb (local) ``(...) 22. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 23. │ └─rlang:::signal_abort(cnd, .file) 24. │ └─base::signalCondition(cnd) 25. └─rlang (local) ``(``) 26. └─handlers[[1L]](cnd) 27. └─duckdb:::rethrow_error_from_rapi(e, call) 28. └─rlang::abort(msg, call = call) ── Error ('test-write_rcdf.R:62:3'): write_rcdf creates RCDF file with correct encryption ── Error in `duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow)`: Invalid Error: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. i Context: rapi_execute i Error type: INVALID i Raw message: Invalid Configuration Error: DuckDB requires a secure random engine to be loaded to enable secure crypto. Normally, this will be handled automatically by DuckDB by autoloading the `httpfs` Extension, but that seems to have failed. Please ensure the httpfs extension is loaded manually using `LOAD httpfs`. Backtrace: ▆ 1. ├─rcdf::write_rcdf(data = mock_data, path = rcdf_path, pub_key = pub_key) at test-write_rcdf.R:62:3 2. │ └─rcdf::write_rcdf_parquet(...) 3. │ └─rcdf::write_parquet(...) 4. │ ├─DBI::dbExecute(conn = pq_conn, statement = pq_query) 5. │ └─DBI::dbExecute(conn = pq_conn, statement = pq_query) 6. │ ├─DBI::dbSendStatement(conn, statement, ...) 7. │ └─DBI::dbSendStatement(conn, statement, ...) 8. │ ├─DBI::dbSendQuery(conn, statement, ...) 9. │ └─duckdb::dbSendQuery(conn, statement, ...) 10. │ └─duckdb (local) .local(conn, statement, ...) 11. │ └─duckdb:::duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 12. │ └─duckdb:::duckdb_execute(res) 13. │ └─duckdb:::rethrow_rapi_execute(...) 14. │ ├─rlang::try_fetch(...) 15. │ │ ├─base::tryCatch(...) 16. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. │ │ └─base::withCallingHandlers(...) 20. │ └─duckdb:::rapi_execute(stmt, convert_opts) 21. ├─duckdb (local) ``(...) 22. │ └─rlang::abort(error_parts, class = "duckdb_error", !!!fields) 23. │ └─rlang:::signal_abort(cnd, .file) 24. │ └─base::signalCondition(cnd) 25. └─rlang (local) ``(``) 26. └─handlers[[1L]](cnd) 27. └─duckdb:::rethrow_error_from_rapi(e, call) 28. └─rlang::abort(msg, call = call) [ FAIL 7 | WARN 0 | SKIP 0 | PASS 46 ] Error: ! Test failures. Execution halted Package: TrialEmulation Check: tests New result: ERROR Running ‘testthat.R’ [166s/154s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(TrialEmulation) > > data.table::setDTthreads(2) > test_check("TrialEmulation") Starting data manipulation Starting data extension Summary of extended data: Number of observations: 1939053 ------------------------------------------------------------ Saving _problems/test-data_preparation-18.R Starting data manipulation P(treatment = 1 | previous treatment = 0) for denominator Call: glm(formula = treatment ~ 1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -3.84325 0.04785 -80.31 <2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 4329.7 on 21263 degrees of freedom Residual deviance: 4329.7 on 21263 degrees of freedom AIC: 4331.7 Number of Fisher Scoring iterations: 6 P(treatment = 1 | previous treatment = 0) for numerator Call: glm(formula = treatment ~ 1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -3.84325 0.04785 -80.31 <2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 4329.7 on 21263 degrees of freedom Residual deviance: 4329.7 on 21263 degrees of freedom AIC: 4331.7 Number of Fisher Scoring iterations: 6 P(treatment = 1 | previous treatment = 1) for denominator Call: glm(formula = treatment ~ 1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 4.37616 0.06815 64.21 <2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 2346.7 on 17555 degrees of freedom Residual deviance: 2346.7 on 17555 degrees of freedom AIC: 2348.7 Number of Fisher Scoring iterations: 7 P(treatment = 1 | previous treatment = 1) for numerator Call: glm(formula = treatment ~ 1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 4.37616 0.06815 64.21 <2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 2346.7 on 17555 degrees of freedom Residual deviance: 2346.7 on 17555 degrees of freedom AIC: 2348.7 Number of Fisher Scoring iterations: 7 Starting data extension Summary of extended data: Number of observations: 963883 ------------------------------------------------------------ Saving _problems/test-data_preparation-126.R Starting data manipulation P(treatment = 1 | previous treatment = 0) for denominator Call: glm(formula = treatment ~ 1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -3.32517 0.03599 -92.4 <2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 6948.7 on 23042 degrees of freedom Residual deviance: 6948.7 on 23042 degrees of freedom AIC: 6950.7 Number of Fisher Scoring iterations: 6 P(treatment = 1 | previous treatment = 0) for numerator Call: glm(formula = treatment ~ 1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -3.32517 0.03599 -92.4 <2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 6948.7 on 23042 degrees of freedom Residual deviance: 6948.7 on 23042 degrees of freedom AIC: 6950.7 Number of Fisher Scoring iterations: 6 P(treatment = 1 | previous treatment = 1) for denominator Call: glm(formula = treatment ~ 1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 3.9124 0.0453 86.37 <2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 4892.8 on 25356 degrees of freedom Residual deviance: 4892.8 on 25356 degrees of freedom AIC: 4894.8 Number of Fisher Scoring iterations: 6 P(treatment = 1 | previous treatment = 1) for numerator Call: glm(formula = treatment ~ 1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 3.9124 0.0453 86.37 <2e-16 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 4892.8 on 25356 degrees of freedom Residual deviance: 4892.8 on 25356 degrees of freedom AIC: 4894.8 Number of Fisher Scoring iterations: 6 Starting data extension Summary of extended data: Number of observations: 1939053 ------------------------------------------------------------ Saving _problems/test-data_preparation-149.R Saving _problems/test-data_preparation-175.R Starting data manipulation P(treatment = 1 | previous treatment = 0) for denominator Call: glm(formula = treatment ~ age_s + x4 + x2 + x1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -0.13699 0.25792 -0.531 0.5953 age_s -0.04014 0.19890 -0.202 0.8401 x4 1.09583 0.21355 5.131 2.88e-07 *** x2 0.09687 0.19430 0.499 0.6181 x1 0.61385 0.36325 1.690 0.0911 . --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 232.27 on 169 degrees of freedom Residual deviance: 185.41 on 165 degrees of freedom AIC: 195.41 Number of Fisher Scoring iterations: 4 P(treatment = 1 | previous treatment = 0) for numerator Call: glm(formula = treatment ~ age_s + x4, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 0.12031 0.20308 0.592 0.554 age_s 0.01215 0.19512 0.062 0.950 x4 1.10863 0.21415 5.177 2.26e-07 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 232.27 on 169 degrees of freedom Residual deviance: 188.62 on 167 degrees of freedom AIC: 194.62 Number of Fisher Scoring iterations: 4 P(treatment = 1 | previous treatment = 1) for denominator Call: glm(formula = treatment ~ age_s + x4 + x2 + x1, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 0.6783 0.2797 2.425 0.015318 * age_s -0.1924 0.2115 -0.910 0.362887 x4 0.8536 0.2218 3.849 0.000119 *** x2 0.3246 0.1963 1.653 0.098252 . x1 0.7923 0.4914 1.612 0.106867 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 188.83 on 150 degrees of freedom Residual deviance: 164.85 on 146 degrees of freedom AIC: 174.85 Number of Fisher Scoring iterations: 4 P(treatment = 1 | previous treatment = 1) for numerator Call: glm(formula = treatment ~ age_s + x4, family = binomial(link = "logit"), data = data) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) 0.7476 0.2520 2.967 0.003011 ** age_s -0.1686 0.2081 -0.810 0.417888 x4 0.7935 0.2163 3.669 0.000244 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 188.83 on 150 degrees of freedom Residual deviance: 170.78 on 148 degrees of freedom AIC: 176.78 Number of Fisher Scoring iterations: 4 Starting data extension Summary of extended data: Number of observations: 500 ------------------------------------------------------------ [ FAIL 4 | WARN 0 | SKIP 33 | PASS 458 ] ══ Skipped tests (33) ══════════════════════════════════════════════════════════ • On CRAN (33): 'test-data_utils.R:1:1', 'test-data_utils.R:100:1', 'test-data_utils.R:115:1', 'test-generics.R:1:1', 'test-generics.R:41:1', 'test-generics.R:72:1', 'test-modelling.R:99:3', 'test-modelling.R:154:3', 'test-modelling.R:175:3', 'test-modelling.R:205:3', 'test-modelling.R:229:3', 'test-modelling.R:266:3', 'test-modelling.R:290:3', 'test-modelling.R:314:3', 'test-modelling.R:357:3', 'test-modelling.R:378:1', 'test-predict.R:1:1', 'test-predict.R:34:1', 'test-predict.R:86:1', 'test-predict.R:140:1', 'test-sampling.R:1:1', 'test-sampling.R:11:1', 'test-sampling.R:18:1', 'test-sampling.R:40:1', 'test-sampling.R:70:1', 'test-sampling.R:89:1', 'test-sampling.R:180:3', 'test-te_weights.R:1:1', 'test-te_weights.R:44:1', 'test-trial_sequence.R:40:1', 'test-trial_sequence.R:44:1', 'test-trial_sequence.R:48:1', 'test-trial_sequence.R:52:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-data_preparation.R:18:3'): data_preparation works as expected ── Error in `expect(nrow(result$data), result$N)`: `ok` must be `TRUE` or `FALSE`, not the number 1939053. Backtrace: ▆ 1. └─testthat::expect(ok = nrow(result$data)) at test-data_preparation.R:18:3 2. └─testthat:::check_bool(ok) 3. └─testthat:::stop_input_type(...) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-data_preparation.R:126:3'): data_preparation works with PP estimand type ── Error in `expect(nrow(result$data), result$N)`: `ok` must be `TRUE` or `FALSE`, not the number 963883. Backtrace: ▆ 1. └─testthat::expect(ok = nrow(result$data)) at test-data_preparation.R:126:3 2. └─testthat:::check_bool(ok) 3. └─testthat:::stop_input_type(...) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-data_preparation.R:149:3'): data_preparation works with As-Treated estimand type ── Error in `expect(nrow(result$data), result$N)`: `ok` must be `TRUE` or `FALSE`, not the number 1939053. Backtrace: ▆ 1. └─testthat::expect(ok = nrow(result$data)) at test-data_preparation.R:149:3 2. └─testthat:::check_bool(ok) 3. └─testthat:::stop_input_type(...) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-data_preparation.R:175:3'): data_preparation works with ITT and censor weights ── Error in `expect(nrow(result$data), result$N)`: `ok` must be `TRUE` or `FALSE`, not the number 8795. Backtrace: ▆ 1. └─testthat::expect(ok = nrow(result$data)) at test-data_preparation.R:175:3 2. └─testthat:::check_bool(ok) 3. └─testthat:::stop_input_type(...) 4. └─rlang::abort(message, ..., call = call, arg = arg) [ FAIL 4 | WARN 0 | SKIP 33 | PASS 458 ] Error: ! Test failures. Execution halted