Running ‘testthat.R’ [15s/10s]
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-name-override.R:2: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-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