- using R version 4.5.0 (2025-04-11)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘rextendr/DESCRIPTION’ ... OK
- this is package ‘rextendr’ version ‘0.4.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘rextendr’ can be installed ... [2s/3s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking whether startup messages can be suppressed ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [2s/2s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [0s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [14s/11s] ERROR
Running ‘testthat.R’ [14s/11s]
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
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
══ Skipped tests (61) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3',
'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3',
'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3',
'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3',
'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3',
'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3',
'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-source.R:71:3',
'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3',
'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3',
'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3',
'test-use_extendr.R:136:3'
• `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:20:3',
'test-eval.R:47:3', 'test-eval.R:75:3', 'test-eval.R:95:3',
'test-eval.R:119:3', 'test-extendr_function_options.R:2:3',
'test-extendr_function_options.R:27:3',
'test-extendr_function_options.R:42:3',
'test-extendr_function_options.R:50:3',
'test-extendr_function_options.R:56:3',
'test-extendr_function_options.R:64:3',
'test-extendr_function_options.R:76:5',
'test-extendr_function_options.R:93:5', 'test-knitr-engine.R:2:3',
'test-knitr-engine.R:26: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:19:3', 'test-optional-features.R:37:3',
'test-optional-features.R:44:3', 'test-optional-features.R:50:3',
'test-source.R:2:3', 'test-source.R:47:3', 'test-source.R:54:3',
'test-source.R:62:3', 'test-source.R:95:3', 'test-source.R:104:3',
'test-source.R:115:3', 'test-source.R:129:3', 'test-source.R:136: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-cran-compliance.R:12:3'): vendor_pkgs() vendors dependencies ───
<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::vendor_pkgs(path, quiet = TRUE) at test-cran-compliance.R:12:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-cran-compliance.R:28:3'): rextendr passes CRAN checks ──────────
<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::vendor_pkgs() at test-cran-compliance.R:28:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
── Error ('test-use_extendr.R:205:3'): `use_extendr()` passes R CMD check ──────
<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::vendor_pkgs() at test-use_extendr.R:205:3
2. │ ├─withr::with_dir(...)
3. │ │ └─base::force(code)
4. │ └─processx::run(...)
5. │ └─process$new(...)
6. │ └─processx (local) initialize(...)
7. │ └─processx:::process_initialize(...)
8. │ └─chain_call(...)
9. │ ├─base::withCallingHandlers(...)
10. │ └─base::do.call(".Call", list(.NAME, ...))
11. └─base::.handleSimpleError(...)
12. └─h(simpleError(msg, call))
13. └─throw_error(err, parent = e)
[ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [7s/8s] OK
- checking PDF version of manual ... [4s/5s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '