Last updated on 2026-02-11 11:51:26 CET.
| Package | ERROR | OK |
|---|---|---|
| rextendr | 1 | 13 |
Current CRAN status: ERROR: 1, OK: 13
Version: 0.4.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/5s]
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(rextendr)
>
> test_check("rextendr")
Starting 2 test processes.
> test-pretty_rel_path.R: i First time using rextendr. Upgrading automatically...
> test-pretty_rel_path.R: i Setting `Config/rextendr/version` to "0.4.2" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: i Setting `SystemRequirements` to "Cargo (Rust's package manager), rustc >= 1.65.0, xz" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: v Creating 'src/rust/src'.
> test-pretty_rel_path.R: v Writing 'src/entrypoint.c'
> test-pretty_rel_path.R: v Writing 'src/Makevars.in'
> test-pretty_rel_path.R: v Writing 'src/Makevars.win.in'
> test-pretty_rel_path.R: v Writing 'src/.gitignore'
> test-pretty_rel_path.R: v Writing 'src/rust/Cargo.toml'
> test-pretty_rel_path.R: v Writing 'src/rust/src/lib.rs'
> test-pretty_rel_path.R: v Writing 'src/testpkg-win.def'
> test-pretty_rel_path.R: v Writing 'R/extendr-wrappers.R'
> test-pretty_rel_path.R: v Writing 'tools/msrv.R'
> test-pretty_rel_path.R: v Writing 'tools/config.R'
> test-pretty_rel_path.R: v Writing 'configure'
> test-pretty_rel_path.R: v Writing 'configure.win'
Saving _problems/test-read_cargo_metadata-11.R
> test-pretty_rel_path.R: v Finished configuring extendr for package testpkg.
> test-pretty_rel_path.R: * Please run `rextendr::document()` for changes to take effect.
> test-pretty_rel_path.R: i Call `use_extendr_badge()` to add an extendr badge to your 'README'
> test-pretty_rel_path.R: i First time using rextendr. Upgrading automatically...
> test-pretty_rel_path.R: i Setting `Config/rextendr/version` to "0.4.2" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: i Setting `SystemRequirements` to "Cargo (Rust's package manager), rustc >= 1.65.0, xz" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: v Creating 'src/rust/src'.
> test-pretty_rel_path.R: v Writing 'src/entrypoint.c'
> test-pretty_rel_path.R: v Writing 'src/Makevars.in'
> test-pretty_rel_path.R: v Writing 'src/Makevars.win.in'
> test-pretty_rel_path.R: v Writing 'src/.gitignore'
> test-pretty_rel_path.R: v Writing 'src/rust/Cargo.toml'
> test-pretty_rel_path.R: v Writing 'src/rust/src/lib.rs'
> test-pretty_rel_path.R: v Writing 'src/testpkg-win.def'
> test-pretty_rel_path.R: v Writing 'R/extendr-wrappers.R'
> test-pretty_rel_path.R: v Writing 'tools/msrv.R'
> test-pretty_rel_path.R: v Writing 'tools/config.R'
> test-pretty_rel_path.R: v Writing 'configure'
> test-pretty_rel_path.R: v Writing 'configure.win'
> test-pretty_rel_path.R: v Finished configuring extendr for package testpkg.
> test-pretty_rel_path.R: * Please run `rextendr::document()` for changes to take effect.
> test-pretty_rel_path.R: i Call `use_extendr_badge()` to add an extendr badge to your 'README'
> test-pretty_rel_path.R: i First time using rextendr. Upgrading automatically...
> test-pretty_rel_path.R: i Setting `Config/rextendr/version` to "0.4.2" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: i Setting `SystemRequirements` to "Cargo (Rust's package manager), rustc >= 1.65.0, xz" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: v Creating 'src/rust/src'.
> test-pretty_rel_path.R: v Writing 'src/entrypoint.c'
> test-pretty_rel_path.R: v Writing 'src/Makevars.in'
> test-pretty_rel_path.R: v Writing 'src/Makevars.win.in'
> test-pretty_rel_path.R: v Writing 'src/.gitignore'
> test-pretty_rel_path.R: v Writing 'src/rust/Cargo.toml'
> test-pretty_rel_path.R: v Writing 'src/rust/src/lib.rs'
> test-pretty_rel_path.R: v Writing 'src/testpkg-win.def'
> test-pretty_rel_path.R: v Writing 'R/extendr-wrappers.R'
> test-pretty_rel_path.R: v Writing 'tools/msrv.R'
> test-pretty_rel_path.R: v Writing 'tools/config.R'
> test-pretty_rel_path.R: v Writing 'configure'
> test-pretty_rel_path.R: v Writing 'configure.win'
> test-pretty_rel_path.R: v Finished configuring extendr for package testpkg.
> test-pretty_rel_path.R: * Please run `rextendr::document()` for changes to take effect.
> test-pretty_rel_path.R: i Call `use_extendr_badge()` to add an extendr badge to your 'README'
> test-pretty_rel_path.R: i First time using rextendr. Upgrading automatically...
> test-pretty_rel_path.R: i Setting `Config/rextendr/version` to "0.4.2" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: i Setting `SystemRequirements` to "Cargo (Rust's package manager), rustc >= 1.65.0, xz" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: v Creating 'src/rust/src'.
> test-pretty_rel_path.R: v Writing 'src/entrypoint.c'
> test-pretty_rel_path.R: v Writing 'src/Makevars.in'
> test-pretty_rel_path.R: v Writing 'src/Makevars.win.in'
> test-pretty_rel_path.R: v Writing 'src/.gitignore'
> test-pretty_rel_path.R: v Writing 'src/rust/Cargo.toml'
> test-pretty_rel_path.R: v Writing 'src/rust/src/lib.rs'
> test-pretty_rel_path.R: v Writing 'src/testpkg-win.def'
> test-pretty_rel_path.R: v Writing 'R/extendr-wrappers.R'
> test-pretty_rel_path.R: v Writing 'tools/msrv.R'
> test-pretty_rel_path.R: v Writing 'tools/config.R'
> test-pretty_rel_path.R: v Writing 'configure'
> test-pretty_rel_path.R: v Writing 'configure.win'
> test-pretty_rel_path.R: v Finished configuring extendr for package testpkg.
> test-pretty_rel_path.R: * Please run `rextendr::document()` for changes to take effect.
> test-pretty_rel_path.R: i Call `use_extendr_badge()` to add an extendr badge to your 'README'
> test-pretty_rel_path.R: i First time using rextendr. Upgrading automatically...
> test-pretty_rel_path.R: i Setting `Config/rextendr/version` to "0.4.2" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: i Setting `SystemRequirements` to "Cargo (Rust's package manager), rustc >= 1.65.0, xz" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: v Creating 'src/rust/src'.
> test-pretty_rel_path.R: v Writing 'src/entrypoint.c'
> test-pretty_rel_path.R: v Writing 'src/Makevars.in'
> test-pretty_rel_path.R: v Writing 'src/Makevars.win.in'
> test-pretty_rel_path.R: v Writing 'src/.gitignore'
> test-pretty_rel_path.R: v Writing 'src/rust/Cargo.toml'
> test-pretty_rel_path.R: v Writing 'src/rust/src/lib.rs'
> test-pretty_rel_path.R: v Writing 'src/testpkg-win.def'
> test-pretty_rel_path.R: v Writing 'R/extendr-wrappers.R'
> test-pretty_rel_path.R: v Writing 'tools/msrv.R'
> test-pretty_rel_path.R: v Writing 'tools/config.R'
> test-pretty_rel_path.R: v Writing 'configure'
> test-pretty_rel_path.R: v Writing 'configure.win'
> test-pretty_rel_path.R: v Finished configuring extendr for package testpkg.
> test-pretty_rel_path.R: * Please run `rextendr::document()` for changes to take effect.
> test-pretty_rel_path.R: i Call `use_extendr_badge()` to add an extendr badge to your 'README'
> test-pretty_rel_path.R: i First time using rextendr. Upgrading automatically...
> test-pretty_rel_path.R: i Setting `Config/rextendr/version` to "0.4.2" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: i Setting `SystemRequirements` to "Cargo (Rust's package manager), rustc >= 1.65.0, xz" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: v Creating 'src/rust/src'.
> test-pretty_rel_path.R: v Writing 'src/entrypoint.c'
> test-pretty_rel_path.R: v Writing 'src/Makevars.in'
> test-pretty_rel_path.R: v Writing 'src/Makevars.win.in'
> test-pretty_rel_path.R: v Writing 'src/.gitignore'
> test-pretty_rel_path.R: v Writing 'src/rust/Cargo.toml'
> test-pretty_rel_path.R: v Writing 'src/rust/src/lib.rs'
> test-pretty_rel_path.R: v Writing 'src/testpkg-win.def'
> test-pretty_rel_path.R: v Writing 'R/extendr-wrappers.R'
> test-pretty_rel_path.R: v Writing 'tools/msrv.R'
> test-pretty_rel_path.R: v Writing 'tools/config.R'
> test-pretty_rel_path.R: v Writing 'configure'
> test-pretty_rel_path.R: v Writing 'configure.win'
> test-pretty_rel_path.R: v Finished configuring extendr for package testpkg.
> test-pretty_rel_path.R: * Please run `rextendr::document()` for changes to take effect.
> test-pretty_rel_path.R: i Call `use_extendr_badge()` to add an extendr badge to your 'README'
> test-pretty_rel_path.R: i First time using rextendr. Upgrading automatically...
> test-pretty_rel_path.R: i Setting `Config/rextendr/version` to "0.4.2" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: i Setting `SystemRequirements` to "Cargo (Rust's package manager), rustc >= 1.65.0, xz" in the 'DESCRIPTION' file.
> test-pretty_rel_path.R: v Creating 'src/rust/src'.
> test-pretty_rel_path.R: v Writing 'src/entrypoint.c'
> test-pretty_rel_path.R: v Writing 'src/Makevars.in'
> test-pretty_rel_path.R: v Writing 'src/Makevars.win.in'
> test-pretty_rel_path.R: v Writing 'src/.gitignore'
> test-pretty_rel_path.R: v Writing 'src/rust/Cargo.toml'
> test-pretty_rel_path.R: v Writing 'src/rust/src/lib.rs'
> test-pretty_rel_path.R: v Writing 'src/testpkg-win.def'
> test-pretty_rel_path.R: v Writing 'R/extendr-wrappers.R'
> test-pretty_rel_path.R: v Writing 'tools/msrv.R'
> test-pretty_rel_path.R: v Writing 'tools/config.R'
> test-pretty_rel_path.R: v Writing 'configure'
> test-pretty_rel_path.R: v Writing 'configure.win'
> test-pretty_rel_path.R: v Finished configuring extendr for package testpkg.
> test-pretty_rel_path.R: * Please run `rextendr::document()` for changes to take effect.
> test-pretty_rel_path.R: i Call `use_extendr_badge()` to add an extendr badge to your 'README'
> test-use_msrv.R: i Setting `SystemRequirements` to "Cargo (Rust's package manager), rustc >= 1.70" in the 'DESCRIPTION' file.
> test-use_vscode.R: v Adding "^\\.vscode$" to '.Rbuildignore'.
> test-use_msrv.R: * Please update it manually if needed.
> test-use_msrv.R: * `SystemRequirements: Cargo (Rust's package manager), rustc >= 1.65`
> test-use_vscode.R: v Adding "^\\.vscode$" to '.Rbuildignore'.
> test-use_vscode.R: v Adding "^\\.vscode$" to '.Rbuildignore'.
[ FAIL 1 | WARN 0 | SKIP 73 | PASS 46 ]
══ Skipped tests (73) ══════════════════════════════════════════════════════════
• On CRAN (35): 'test-clean.R:4:3', 'test-cran-compliance.R:3:3',
'test-cran-compliance.R:23:3', 'test-document.R:4:3', 'test-document.R:20:3',
'test-document.R:33:3', 'test-document.R:49:3',
'test-extendr_function_options.R:41:3', 'test-rust-sitrep.R:1:1',
'test-rust-sitrep.R:8:1', 'test-rust-sitrep.R:19:1',
'test-rust-sitrep.R:40:1', 'test-rust-sitrep.R:61:1',
'test-rust-sitrep.R:78:1', 'test-rust-sitrep.R:95:1',
'test-rust-sitrep.R:112:1', 'test-rust-sitrep.R:133:1', 'test-source.R:75:3',
'test-use_crate.R:3:3', 'test-use_crate.R:32:3', 'test-use_crate.R:54:3',
'test-use_crate.R:79:3', 'test-use_extendr.R:3:3', 'test-use_extendr.R:49:3',
'test-use_extendr.R:57:3', 'test-use_extendr.R:67:3',
'test-use_extendr.R:82:3', 'test-use_extendr.R:115:3',
'test-use_extendr.R:144:3', 'test-use_extendr.R:158:3',
'test-use_extendr.R:171:3', 'test-use_extendr.R:180:3',
'test-use_extendr.R:194:3', 'test-use_extendr.R:213:3',
'test-use_extendr.R:226:3'
• `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:21:3',
'test-eval.R:49:3', 'test-eval.R:78:3', 'test-eval.R:99:3',
'test-eval.R:124:3', 'test-extendr_function_options.R:2:3',
'test-extendr_function_options.R:28:3',
'test-extendr_function_options.R:45:3',
'test-extendr_function_options.R:54:3',
'test-extendr_function_options.R:61:3',
'test-extendr_function_options.R:70:3',
'test-extendr_function_options.R:83:5',
'test-extendr_function_options.R:101:5', 'test-knitr-engine.R:2:3',
'test-knitr-engine.R:27:3', 'test-make-module-macro.R:2:3',
'test-make-module-macro.R:66:3', 'test-make-module-macro.R:76:3',
'test-make-module-macro.R:103:3', 'test-make-module-macro.R:133:3',
'test-name-override.R:2:3', 'test-optional-features.R:2:3',
'test-optional-features.R:20:3', 'test-optional-features.R:39:3',
'test-optional-features.R:47:3', 'test-optional-features.R:54:3',
'test-source.R:2:3', 'test-source.R:48:3', 'test-source.R:56:3',
'test-source.R:65:3', 'test-source.R:99:3', 'test-source.R:109:3',
'test-source.R:121:3', 'test-source.R:136:3', 'test-source.R:144:3',
'test-use_dev_extendr.R:2:3'
• `cargo license --help` is not available. (1): 'test-license_note.R:3:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-read_cargo_metadata.R:11:3'): read_cargo_metadata() returns crate or workspace metadata ──
<c_error/rlib_error_3_0/rlib_error/error/condition>
Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, ")`: ! Native call to `processx_exec` failed
Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`:
! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec)
Backtrace:
▆
1. ├─rextendr::read_cargo_metadata(path) at test-read_cargo_metadata.R:11:3
2. │ └─rextendr:::run_cargo(...)
3. │ └─processx::run(...)
4. │ └─process$new(...)
5. │ └─processx (local) initialize(...)
6. │ └─processx:::process_initialize(...)
7. │ └─chain_call(...)
8. │ ├─base::withCallingHandlers(...)
9. │ └─base::do.call(".Call", list(.NAME, ...))
10. └─base::.handleSimpleError(...)
11. └─h(simpleError(msg, call))
12. └─throw_error(err, parent = e)
[ FAIL 1 | WARN 0 | SKIP 73 | PASS 46 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-macos-arm64