- using R Under development (unstable) (2026-03-06 r89561 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-03-07 08:29:18 UTC
- checking for file 'rstantools/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'rstantools' version '2.6.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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'rstantools' can be installed ... 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] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] OK
- checking whether startup messages can be suppressed ... [0s] OK
- checking use of S3 registration ... 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 ... [3s] OK
- checking Rd files ... [1s] 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 line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [11s] ERROR
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s] OK
- checking PDF version of manual ... [27s] OK
- checking HTML version of manual ... [6s] OK
- DONE
Status: 1 ERROR