Running ‘testthat.R’ [12s/8s]
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.
  Saving _problems/test-rstudio-template-12.R
  [ FAIL 1 | WARN 0 | SKIP 82 | PASS 26 ]
  
  ══ Skipped tests (82) ══════════════════════════════════════════════════════════
  • On CRAN (40): 'test-eval.R:3:3', 'test-eval.R:22:3', 'test-eval.R:50:3',
    'test-eval.R:79:3', 'test-eval.R:100:3', 'test-eval.R:125:3',
    'test-extendr_function_options.R:3:3',
    'test-extendr_function_options.R:29:3',
    'test-extendr_function_options.R:41:3',
    'test-extendr_function_options.R:46:3',
    'test-extendr_function_options.R:55:3',
    'test-extendr_function_options.R:62:3',
    'test-extendr_function_options.R:71:3',
    'test-extendr_function_options.R:85:5',
    'test-extendr_function_options.R:102:5', 'test-name-override.R:3:3',
    'test-optional-features.R:4:3', 'test-optional-features.R:22:3',
    'test-optional-features.R:40:3', 'test-optional-features.R:48:3',
    'test-optional-features.R:55:3', 'test-source.R:3:3', 'test-source.R:49:3',
    'test-source.R:57:3', 'test-source.R:66:3', 'test-source.R:100:3',
    'test-source.R:110:3', 'test-source.R:122:3', 'test-source.R:137:3',
    'test-source.R:145: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-use_dev_extendr.R:4:3'
  • On Linux (1): 'test-source.R:74:3'
  • {knitr} is not installed (2): 'test-knitr-engine.R:3:3',
    'test-knitr-engine.R:28:3'
  • {usethis} is not installed (39): 'test-clean.R:2:3', 'test-document.R:2:3',
    'test-document.R:18:3', 'test-document.R:31:3', 'test-document.R:47:3',
    'test-cran-compliance.R:2:3', 'test-cran-compliance.R:21:3',
    'test-find_extendr.R:2:3', 'test-find_extendr.R:19:3',
    'test-license_note.R:2:3', 'test-pretty_rel_path.R:8:3',
    'test-pretty_rel_path.R:23:3', 'test-pretty_rel_path.R:38:3',
    'test-pretty_rel_path.R:57:3', 'test-pretty_rel_path.R:75:3',
    'test-pretty_rel_path.R:95:5', 'test-pretty_rel_path.R:114:3',
    'test-read_cargo_metadata.R:2:3', 'test-use_crate.R:2:3',
    'test-use_crate.R:31:3', 'test-use_crate.R:53:3', 'test-use_crate.R:78:3',
    'test-use_msrv.R:2:3', 'test-use_vscode.R:2:3', 'test-use_vscode.R:18:3',
    'test-use_vscode.R:31:3', 'test-use_extendr.R:2:3',
    'test-use_extendr.R:48:3', 'test-use_extendr.R:56:3',
    'test-use_extendr.R:66:3', 'test-use_extendr.R:81:3',
    'test-use_extendr.R:114:3', 'test-use_extendr.R:142:3',
    'test-use_extendr.R:156:3', 'test-use_extendr.R:170:3',
    'test-use_extendr.R:179:3', 'test-use_extendr.R:193:3',
    'test-use_extendr.R:212:3', 'test-use_extendr.R:224:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-rstudio-template.R:5:3'): RStudio template generation is correct ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `create_extendr_package(tmp, roxygen = TRUE, check_name = FALSE, crate_name = pkg_name, lib_name = pkg_name, edition = "2021")`: The package "usethis" is required.
  Backtrace:
      ▆
   1. └─rextendr:::create_extendr_package(...) at test-rstudio-template.R:5:3
   2.   └─rlang::check_installed("usethis")
  
  [ FAIL 1 | WARN 0 | SKIP 82 | PASS 26 ]
  Error:
  ! Test failures.
  Execution halted