Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rstantools)
  This is rstantools version 2.6.0
  > 
  > foo <- function(x) {"test function"}
  > 
  > if (identical(Sys.getenv("TRAVIS"), "true")) {
  +   test_check("rstantools", filter = "methods")
  + } else {
  +   test_check("rstantools")
  + }
  Package: RStanTest
  Title: What the Package Does (One Line, Title Case)
  Version: 0.0.0.9000
  Authors@R (parsed):
      * First Last <first.last@example.com> [aut, cre]
  Description: What the package does (one paragraph).
  License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
      license
  Encoding: UTF-8
  Roxygen: list(markdown = TRUE)
  RoxygenNote: 7.3.3
  Saving _problems/test-rstan_config-43.R
  Package: RStanTest
  Title: What the Package Does (One Line, Title Case)
  Version: 0.0.0.9000
  Authors@R (parsed):
      * First Last <first.last@example.com> [aut, cre]
  Description: What the package does (one paragraph).
  License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
      license
  Encoding: UTF-8
  Roxygen: list(markdown = TRUE)
  RoxygenNote: 7.3.3
  Saving _problems/test-rstan_create_package-66.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 42 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-rstan_config.R:40:1'): (code run outside of `test_that()`) ─────
  <Rcpp::not_compatible/C++Error/error/condition>
  Error: Expecting a string vector: [type=logical; required=STRSXP].
  Backtrace:
      ▆
   1. └─rstantools::rstan_create_package(...) at test-rstan_config.R:40:1
   2.   └─rstantools:::.rstan_make_pkg(...)
   3.     └─rstantools::rstan_config(pkgdir)
   4.       └─Rcpp::compileAttributes(pkgdir)
  ── Error ('test-rstan_create_package.R:63:5'): (code run outside of `test_that()`) ──
  <Rcpp::not_compatible/C++Error/error/condition>
  Error: Expecting a string vector: [type=logical; required=STRSXP].
  Backtrace:
      ▆
   1. └─rstantools::rstan_create_package(...) at test-rstan_create_package.R:63:5
   2.   └─rstantools:::.rstan_make_pkg(...)
   3.     └─rstantools::rstan_config(pkgdir)
   4.       └─Rcpp::compileAttributes(pkgdir)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 42 ]
  Error:
  ! Test failures.
  Execution halted