CRAN Package Check Results for Package rstantools

Last updated on 2025-01-08 21:50:39 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.4.0 ERROR
r-devel-linux-x86_64-debian-gcc 2.4.0 2.07 32.16 34.23 NOTE
r-devel-linux-x86_64-fedora-clang 2.4.0 77.12 OK
r-devel-linux-x86_64-fedora-gcc 2.4.0 78.70 OK
r-devel-windows-x86_64 2.4.0 4.00 73.00 77.00 NOTE
r-patched-linux-x86_64 2.4.0 4.30 40.90 45.20 OK
r-release-linux-x86_64 2.4.0 2.37 40.80 43.17 OK
r-release-macos-arm64 2.4.0 31.00 OK
r-release-macos-x86_64 2.4.0 44.00 OK
r-release-windows-x86_64 2.4.0 5.00 67.00 72.00 OK
r-oldrel-macos-arm64 2.4.0 41.00 OK
r-oldrel-macos-x86_64 2.4.0 72.00 OK
r-oldrel-windows-x86_64 2.4.0 5.00 73.00 78.00 OK

Check Details

Version: 2.4.0
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: rstan_create_package.Rd: Rcpp Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64

Version: 2.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rstantools) This is rstantools version 2.4.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.2 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.2 [ FAIL 2 | WARN 4 | SKIP 0 | PASS 41 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rstan_config.R:62:1'): (code run outside of `test_that()`) ───── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'rstan' Backtrace: ▆ 1. ├─rstantools::rstan_config(pkg_dest_path) at test-rstan_config.R:62:1 2. │ └─base::sapply(stan_files, .make_cc, pkgdir = pkgdir) 3. │ └─base::lapply(X = X, FUN = FUN, ...) 4. │ └─rstantools (local) FUN(X[[i]], ...) 5. └─base::loadNamespace(x) 6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7. └─base (local) withOneRestart(expr, restarts[[1L]]) 8. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-rstan_create_package.R:89:3'): (code run outside of `test_that()`) ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'rstan' Backtrace: ▆ 1. ├─rstantools::rstan_config(pkg_dest_path) at test-rstan_create_package.R:89:3 2. │ └─base::sapply(stan_files, .make_cc, pkgdir = pkgdir) 3. │ └─base::lapply(X = X, FUN = FUN, ...) 4. │ └─rstantools (local) FUN(X[[i]], ...) 5. └─base::loadNamespace(x) 6. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 7. └─base (local) withOneRestart(expr, restarts[[1L]]) 8. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 2 | WARN 4 | SKIP 0 | PASS 41 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang