Last updated on 2026-11-09 01:52:34 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.1.0 | 11.39 | 339.50 | 350.89 | OK | |
| r-devel-linux-x86_64-debian-gcc | 2.1.0 | 8.57 | 200.82 | 209.39 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 2.1.0 | 231.04 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 2.1.0 | 8.00 | 237.53 | 245.53 | OK | |
| r-devel-windows-x86_64 | 2.1.0 | 14.00 | 351.00 | 365.00 | OK | |
| r-patched-linux-x86_64 | 2.1.0 | OK | ||||
| r-release-linux-x86_64 | 2.1.0 | 9.52 | 319.75 | 329.27 | OK | |
| r-release-macos-arm64 | 2.1.0 | 3.00 | 69.00 | 72.00 | OK | |
| r-release-macos-x86_64 | 2.1.0 | 9.00 | 445.00 | 454.00 | OK | |
| r-release-windows-x86_64 | 2.1.0 | 15.00 | 300.00 | 315.00 | OK | |
| r-oldrel-macos-arm64 | 2.1.0 | 3.00 | 72.00 | 75.00 | OK | |
| r-oldrel-macos-x86_64 | 2.1.0 | 8.00 | 280.00 | 288.00 | OK | |
| r-oldrel-windows-x86_64 | 2.1.0 | 19.00 | 411.00 | 430.00 | OK |
Version: 2.1.0
Check: examples
Result: ERROR
Running examples in ‘vigicaen-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: create_example_tables
> ### Title: Example source tables for VigiBase and MedDRA
> ### Aliases: create_example_tables create_ex_meddra_asc create_ex_main_pq
> ### create_ex_sub_pq create_ex_main_csv create_ex_who_csv
> ### create_ex_sub_csv
>
> ### ** Examples
>
>
> path <- paste0(tempdir(), "/crex/")
>
> dir.create(path)
>
> # You may want to use different paths for each type of tables
>
> create_ex_meddra_asc(path)
>
> create_ex_main_pq(path)
Error in `map2()`:
ℹ In index: 1.
ℹ With name: demo.
Caused by error in `parquet___WriterProperties___Builder__create()`:
! Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. ├─vigicaen::create_ex_main_pq(path)
2. │ └─purrr::iwalk(...)
3. │ └─purrr::walk2(.x, vec_index(.x), .f, ...)
4. │ └─purrr::map2(.x, .y, .f, ..., .progress = .progress)
5. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
6. │ ├─purrr:::with_indexed_errors(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ ├─purrr:::call_with_cleanup(...)
9. │ └─vigicaen (local) .f(.x[[i]], .y[[i]], ...)
10. │ └─arrow::write_parquet(...)
11. │ ├─ParquetFileWriter$create(...)
12. │ │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
13. │ └─ParquetWriterProperties$create(...)
14. │ └─arrow:::parquet___WriterProperties___Builder__create()
15. └─base::.handleSimpleError(...)
16. └─purrr (local) h(simpleError(msg, call))
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [90s/119s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(vigicaen)
>
> test_check("vigicaen")
Saving _problems/test-add_dose-446.R
Saving _problems/test-add_drug-684.R
Saving _problems/test-add_ind-466.R
Saving _problems/test-create_example_tables-135.R
Saving _problems/test-create_example_tables-156.R
Saving _problems/test-desc_cont-458.R
Saving _problems/test-dt_parquet-14.R
Saving _problems/test-dt_parquet-56.R
Saving _problems/test-get_drecno-748.R
Saving _problems/test-tb_meddra-34.R
Saving _problems/test-tb_subset-64.R
Saving _problems/test-tb_subset-297.R
Saving _problems/test-tb_subset-433.R
Saving _problems/test-tb_vigibase-38.R
Saving _problems/test-tb_vigibase-353.R
Saving _problems/test-tb_vigibase-411.R
Saving _problems/test-tb_vigibase-674.R
Saving _problems/test-tb_who-21.R
[ FAIL 18 | WARN 1 | SKIP 150 | PASS 511 ]
══ Skipped tests (150) ═════════════════════════════════════════════════════════
• On CRAN (150): 'test-add_adr.R:1:1', 'test-add_adr.R:45:1',
'test-add_adr.R:87:1', 'test-add_adr.R:156:1', 'test-add_adr.R:218:1',
'test-add_adr.R:286:1', 'test-add_adr.R:318:1', 'test-add_adr.R:375:1',
'test-add_adr.R:388:1', 'test-add_dose.R:1:1', 'test-add_drug.R:1:1',
'test-add_drug.R:73:1', 'test-add_drug.R:121:1', 'test-add_drug.R:169:1',
'test-add_drug.R:311:1', 'test-add_drug.R:445:1', 'test-add_drug.R:513:1',
'test-add_drug.R:585:1', 'test-add_drug.R:721:1', 'test-add_drug.R:735:1',
'test-add_ind.R:1:1', 'test-add_ind.R:401:1', 'test-add_outcomes.R:1:1',
'test-add_outcomes.R:22:1', 'test-add_outcomes.R:139:1',
'test-add_outcomes.R:149:1', 'test-add_outcomes.R:247:1',
'test-add_outcomes.R:257:1', 'test-add_outcomes.R:373:1',
'test-add_outcomes.R:383:1', 'test-check_data_type.R:97:3',
'test-check_data_type.R:97:3', 'test-check_data_type.R:97:3',
'test-check_data_type.R:97:3', 'test-check_data_type.R:103:3',
'test-check_data_type.R:103:3', 'test-check_data_type.R:103:3',
'test-check_data_type.R:103:3', 'test-check_data_type.R:109:3',
'test-check_data_type.R:109:3', 'test-check_data_type.R:109:3',
'test-check_data_type.R:109:3', 'test-check_data_type.R:115:3',
'test-check_data_type.R:115:3', 'test-check_data_type.R:115:3',
'test-check_data_type.R:115:3', 'test-check_data_type.R:1:1',
'test-check_data_type.R:164:3', 'test-check_data_type.R:164:3',
'test-check_data_type.R:164:3', 'test-check_data_type.R:164:3',
'test-check_data_type.R:122:1', 'test-check_data_type.R:171:1',
'test-check_dm.R:1:1', 'test-check_dm.R:34:1', 'test-check_id_list.R:39:3',
'test-check_id_list.R:39:3', 'test-check_id_list.R:39:3',
'test-check_id_list.R:39:3', 'test-check_id_list.R:1:1',
'test-check_id_list.R:117:3', 'test-check_id_list.R:117:3',
'test-check_id_list.R:117:3', 'test-check_id_list.R:117:3',
'test-check_id_list.R:123:3', 'test-check_id_list.R:123:3',
'test-check_id_list.R:123:3', 'test-check_id_list.R:123:3',
'test-check_id_list.R:46:1', 'test-compute_dispro.R:171:1',
'test-compute_dispro.R:463:1', 'test-compute_interaction.R:47:1',
'test-compute_interaction.R:70:1', 'test-compute_or_mod.R:1:1',
'test-compute_or_mod.R:43:1', 'test-desc_cont.R:309:1',
'test-desc_cont.R:370:1', 'test-desc_facvar.R:265:1',
'test-desc_outcome.R:1:1', 'test-desc_rch.R:1:1', 'test-desc_rch.R:46:1',
'test-desc_rch.R:141:1', 'test-desc_tto.R:1:1', 'test-desc_tto.R:23:1',
'test-desc_tto.R:69:1', 'test-desc_tto.R:93:1', 'test-extract_tto.R:1:1',
'test-extract_tto.R:30:1', 'test-extract_tto.R:107:1',
'test-extract_tto.R:157:1', 'test-extract_tto.R:193:1',
'test-get_atc_code.R:237:1', 'test-get_atc_code.R:274:1',
'test-get_atc_code.R:292:1', 'test-get_drecno.R:1:1',
'test-get_drecno.R:76:1', 'test-get_drecno.R:94:1',
'test-get_drecno.R:112:1', 'test-get_drecno.R:250:1',
'test-get_drecno.R:288:1', 'test-get_drecno.R:379:1',
'test-get_drecno.R:413:1', 'test-get_drecno.R:711:1',
'test-get_drecno.R:711:1', 'test-get_drecno.R:711:1',
'test-get_drecno.R:711:1', 'test-get_llt_smq.R:118:1',
'test-get_llt_smq.R:144:1', 'test-get_llt_smq.R:161:1',
'test-get_llt_smq.R:223:1', 'test-get_llt_soc.R:33:1',
'test-get_llt_soc.R:49:1', 'test-query_data_type.R:30:3',
'test-query_data_type.R:30:3', 'test-query_data_type.R:30:3',
'test-query_data_type.R:30:3', 'test-query_data_type.R:1:1',
'test-screen_drug.R:87:3', 'test-screen_drug.R:87:3',
'test-screen_drug.R:87:3', 'test-screen_drug.R:87:3',
'test-screen_drug.R:53:1', 'test-tb_meddra.R:87:3', 'test-tb_meddra.R:87:3',
'test-tb_meddra.R:87:3', 'test-tb_meddra.R:87:3', 'test-tb_subset.R:481:1',
'test-tb_subset.R:512:1', 'test-tb_subset.R:512:1', 'test-tb_subset.R:512:1',
'test-tb_subset.R:512:1', 'test-tb_vigibase.R:268:1', 'test-tb_who.R:61:1',
'test-texter.R:1:1', 'test-vigi_routine.R:22:1', 'test-vigi_routine.R:150:1',
'test-vigi_routine.R:294:1', 'test-vigi_routine.R:294:1',
'test-vigi_routine.R:294:1', 'test-vigi_routine.R:294:1',
'test-vigi_routine.R:301:1', 'test-vigi_routine.R:342:1',
'test-vigi_routine.R:370:1', 'test-vigi_routine.R:413:1',
'test-vigi_routine.R:573:1', 'test-vigi_routine.R:704:1',
'test-vigi_routine.R:732:1', 'test-vigi_routine.R:792:1',
'test-vigi_routine.R:833:1', 'test-vigi_routine.R:872:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-add_dose.R:445:3'): you can use arrow/parquet format ───────────
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─arrow::write_parquet(demo_test, sink = paste0(tmp_folder, "\\demo.parquet")) at test-add_dose.R:445:3
2. ├─ParquetFileWriter$create(...)
3. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
4. └─ParquetWriterProperties$create(...)
5. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-add_drug.R:683:3'): you can use arrow/parquet format ───────────
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─arrow::write_parquet(demo_test, sink = paste0(tmp_folder, "\\demo.parquet")) at test-add_drug.R:683:3
2. ├─ParquetFileWriter$create(...)
3. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
4. └─ParquetWriterProperties$create(...)
5. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-add_ind.R:465:3'): you can use arrow/parquet format ────────────
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─arrow::write_parquet(demo_test, sink = paste0(tmp_folder, "\\demo.parquet")) at test-add_ind.R:465:3
2. ├─ParquetFileWriter$create(...)
3. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
4. └─ParquetWriterProperties$create(...)
5. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-create_example_tables.R:135:3'): written data is unchanged when loaded back ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 1.
i With name: demo.
Caused by error in `parquet___WriterProperties___Builder__create()`:
! Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. ├─vigicaen::create_ex_main_pq(path) at test-create_example_tables.R:135:3
2. │ └─purrr::iwalk(...)
3. │ └─purrr::walk2(.x, vec_index(.x), .f, ...)
4. │ └─purrr::map2(.x, .y, .f, ..., .progress = .progress)
5. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
6. │ ├─purrr:::with_indexed_errors(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ ├─purrr:::call_with_cleanup(...)
9. │ └─vigicaen (local) .f(.x[[i]], .y[[i]], ...)
10. │ └─arrow::write_parquet(...)
11. │ ├─ParquetFileWriter$create(...)
12. │ │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
13. │ └─ParquetWriterProperties$create(...)
14. │ └─arrow:::parquet___WriterProperties___Builder__create()
15. └─base::.handleSimpleError(...)
16. └─purrr (local) h(simpleError(msg, call))
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
── Error ('test-create_example_tables.R:156:3'): create_ex_sub_pq writes all expected subsidiary parquet tables with correct structure and types ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 1.
i With name: AgeGroup_Lx.
Caused by error in `parquet___WriterProperties___Builder__create()`:
! Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. ├─vigicaen::create_ex_sub_pq(path) at test-create_example_tables.R:156:3
2. │ └─purrr::iwalk(...)
3. │ └─purrr::walk2(.x, vec_index(.x), .f, ...)
4. │ └─purrr::map2(.x, .y, .f, ..., .progress = .progress)
5. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
6. │ ├─purrr:::with_indexed_errors(...)
7. │ │ └─base::withCallingHandlers(...)
8. │ ├─purrr:::call_with_cleanup(...)
9. │ └─vigicaen (local) .f(.x[[i]], .y[[i]], ...)
10. │ └─arrow::write_parquet(...)
11. │ ├─ParquetFileWriter$create(...)
12. │ │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
13. │ └─ParquetWriterProperties$create(...)
14. │ └─arrow:::parquet___WriterProperties___Builder__create()
15. └─base::.handleSimpleError(...)
16. └─purrr (local) h(simpleError(msg, call))
17. └─cli::cli_abort(...)
18. └─rlang::abort(...)
── Error ('test-desc_cont.R:457:3'): checking column type integer/numeric works with arrow ──
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─arrow::write_parquet(demo_test, sink = paste0(tmp_folder, "\\demo.parquet")) at test-desc_cont.R:457:3
2. ├─ParquetFileWriter$create(...)
3. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
4. └─ParquetWriterProperties$create(...)
5. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-dt_parquet.R:12:3'): basic load of dt_parquet ──────────────────
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─arrow::write_parquet(demo, sink = paste0(path_data, "demo.parquet")) at test-dt_parquet.R:12:3
2. ├─ParquetFileWriter$create(...)
3. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
4. └─ParquetWriterProperties$create(...)
5. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-dt_parquet.R:54:3'): alternative path syntaxes work ────────────
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─arrow::write_parquet(demo, sink = paste0(path_data, "demo_altsynt.parquet")) at test-dt_parquet.R:54:3
2. ├─ParquetFileWriter$create(...)
3. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
4. └─ParquetWriterProperties$create(...)
5. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-get_drecno.R:748:3'): works with mp as Dataset (open_dataset, out of memory) ──
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─arrow::write_parquet(mp_, sink = path_mp_parquet) at test-get_drecno.R:748:3
2. ├─ParquetFileWriter$create(...)
3. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
4. └─ParquetWriterProperties$create(...)
5. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-tb_meddra.R:25:3'): can process meddra tables ──────────────────
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─vigicaen::tb_meddra(path_meddra)
2. └─arrow::write_parquet(...)
3. ├─ParquetFileWriter$create(...)
4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
5. └─ParquetWriterProperties$create(...)
6. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-tb_subset.R:59:8'): you can subset on drecno, age, meddra_id ───
<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 1.
i With name: demo.
Caused by error in `parquet___WriterProperties___Builder__create()`:
! Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. ├─purrr::iwalk(...) at test-tb_subset.R:57:6
2. │ └─purrr::walk2(.x, vec_index(.x), .f, ...)
3. │ └─purrr::map2(.x, .y, .f, ..., .progress = .progress)
4. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
5. │ ├─purrr:::with_indexed_errors(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─purrr:::call_with_cleanup(...)
8. │ └─vigicaen (local) .f(.x[[i]], .y[[i]], ...)
9. │ └─arrow::write_parquet(...) at test-tb_subset.R:59:8
10. │ ├─ParquetFileWriter$create(...)
11. │ │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
12. │ └─ParquetWriterProperties$create(...)
13. │ └─arrow:::parquet___WriterProperties___Builder__create()
14. └─base::.handleSimpleError(...)
15. └─purrr (local) h(simpleError(msg, call))
16. └─cli::cli_abort(...)
17. └─rlang::abort(...)
── Error ('test-tb_subset.R:292:5'): you can keep suspdup ──────────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 1.
i With name: demo.
Caused by error in `parquet___WriterProperties___Builder__create()`:
! Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. ├─purrr::iwalk(...) at test-tb_subset.R:290:3
2. │ └─purrr::walk2(.x, vec_index(.x), .f, ...)
3. │ └─purrr::map2(.x, .y, .f, ..., .progress = .progress)
4. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
5. │ ├─purrr:::with_indexed_errors(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─purrr:::call_with_cleanup(...)
8. │ └─vigicaen (local) .f(.x[[i]], .y[[i]], ...)
9. │ └─arrow::write_parquet(...) at test-tb_subset.R:292:5
10. │ ├─ParquetFileWriter$create(...)
11. │ │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
12. │ └─ParquetWriterProperties$create(...)
13. │ └─arrow:::parquet___WriterProperties___Builder__create()
14. └─base::.handleSimpleError(...)
15. └─purrr (local) h(simpleError(msg, call))
16. └─cli::cli_abort(...)
17. └─rlang::abort(...)
── Error ('test-tb_subset.R:428:5'): alternative syntaxes work ─────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 1.
i With name: demo.
Caused by error in `parquet___WriterProperties___Builder__create()`:
! Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. ├─purrr::iwalk(...) at test-tb_subset.R:426:3
2. │ └─purrr::walk2(.x, vec_index(.x), .f, ...)
3. │ └─purrr::map2(.x, .y, .f, ..., .progress = .progress)
4. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
5. │ ├─purrr:::with_indexed_errors(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─purrr:::call_with_cleanup(...)
8. │ └─vigicaen (local) .f(.x[[i]], .y[[i]], ...)
9. │ └─arrow::write_parquet(...) at test-tb_subset.R:428:5
10. │ ├─ParquetFileWriter$create(...)
11. │ │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
12. │ └─ParquetWriterProperties$create(...)
13. │ └─arrow:::parquet___WriterProperties___Builder__create()
14. └─base::.handleSimpleError(...)
15. └─purrr (local) h(simpleError(msg, call))
16. └─cli::cli_abort(...)
17. └─rlang::abort(...)
── Error ('test-tb_vigibase.R:29:4'): basic use and here package works ─────────
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─vigicaen::tb_vigibase(...)
2. └─arrow::write_parquet(suspdup, sink = paste0(path_base, "suspdup.parquet"))
3. ├─ParquetFileWriter$create(...)
4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
5. └─ParquetWriterProperties$create(...)
6. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-tb_vigibase.R:338:3'): rm_suspdup removes suspected duplicates in main tables ──
Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. └─vigicaen::tb_vigibase(...)
2. └─arrow::write_parquet(suspdup, sink = paste0(path_base, "suspdup.parquet"))
3. ├─ParquetFileWriter$create(...)
4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
5. └─ParquetWriterProperties$create(...)
6. └─arrow:::parquet___WriterProperties___Builder__create()
── Error ('test-tb_vigibase.R:411:7'): tb_screen_main and tb_screen_sub skip existing tables and overwrite_existing_tables works ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 1.
i With name: demo.
Caused by error in `parquet___WriterProperties___Builder__create()`:
! Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. ├─vigicaen (local) set_recycler_setting("1", tmp_folder) at test-tb_vigibase.R:417:3
2. │ └─vigicaen::create_ex_main_pq(path_base) at test-tb_vigibase.R:411:7
3. │ └─purrr::iwalk(...)
4. │ └─purrr::walk2(.x, vec_index(.x), .f, ...)
5. │ └─purrr::map2(.x, .y, .f, ..., .progress = .progress)
6. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
7. │ ├─purrr:::with_indexed_errors(...)
8. │ │ └─base::withCallingHandlers(...)
9. │ ├─purrr:::call_with_cleanup(...)
10. │ └─vigicaen (local) .f(.x[[i]], .y[[i]], ...)
11. │ └─arrow::write_parquet(...)
12. │ ├─ParquetFileWriter$create(...)
13. │ │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
14. │ └─ParquetWriterProperties$create(...)
15. │ └─arrow:::parquet___WriterProperties___Builder__create()
16. └─base::.handleSimpleError(...)
17. └─purrr (local) h(simpleError(msg, call))
18. └─cli::cli_abort(...)
19. └─rlang::abort(...)
── Error ('test-tb_vigibase.R:674:7'): csv files are detected and required in path_base ──
<purrr_error_indexed/rlang_error/error/condition>
Error in `map2(.x, .y, .f, ..., .progress = .progress)`: i In index: 1.
i With name: demo.
Caused by error in `parquet___WriterProperties___Builder__create()`:
! Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
Backtrace:
▆
1. ├─vigicaen (local) set_recycler_setting("10", tmp_folder) at test-tb_vigibase.R:682:3
2. │ └─vigicaen::create_ex_main_pq(path_base) at test-tb_vigibase.R:674:7
3. │ └─purrr::iwalk(...)
4. │ └─purrr::walk2(.x, vec_index(.x), .f, ...)
5. │ └─purrr::map2(.x, .y, .f, ..., .progress = .progress)
6. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
7. │ ├─purrr:::with_indexed_errors(...)
8. │ │ └─base::withCallingHandlers(...)
9. │ ├─purrr:::call_with_cleanup(...)
10. │ └─vigicaen (local) .f(.x[[i]], .y[[i]], ...)
11. │ └─arrow::write_parquet(...)
12. │ ├─ParquetFileWriter$create(...)
13. │ │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...)
14. │ └─ParquetWriterProperties$create(...)
15. │ └─arrow:::parquet___WriterProperties___Builder__create()
16. └─base::.handleSimpleError(...)
17. └─purrr (local) h(simpleError(msg, call))
18. └─cli::cli_abort(...)
19. └─rlang::abort(...)
── Error ('test-tb_who.R:12:3'): basic use works ───────────────────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(.data$selected_columns, ~.$type(old_schm))`: i In index: 23.
i With name: drug_name_t.
Caused by error:
! Key error: No function registered with name: utf8_trim_whitespace
Backtrace:
▆
1. ├─vigicaen::tb_who(path_who = path_who, force = TRUE)
2. │ ├─dplyr::compute(...)
3. │ ├─dplyr::select(...)
4. │ └─arrow:::select.arrow_dplyr_query(...)
5. │ └─arrow:::column_select(.data, enquos(...), op = "select")
6. │ ├─base::as.data.frame(implicit_schema(.data))
7. │ └─arrow:::implicit_schema(.data)
8. │ └─purrr::map(.data$selected_columns, ~.$type(old_schm))
9. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
10. │ ├─purrr:::with_indexed_errors(...)
11. │ │ └─base::withCallingHandlers(...)
12. │ ├─purrr:::call_with_cleanup(...)
13. │ └─arrow (local) .f(.x[[i]], ...)
14. │ └─.$type(old_schm)
15. │ └─arrow:::compute___expr__type(self, schema)
16. └─base::.handleSimpleError(...)
17. └─purrr (local) h(simpleError(msg, call))
18. └─cli::cli_abort(...)
19. └─rlang::abort(...)
[ FAIL 18 | WARN 1 | SKIP 150 | PASS 511 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc