- using R Under development (unstable) (2026-03-06 r89561)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 22.1.0 (https://github.com/llvm/llvm-project 4434dabb69916856b824f68a64b029c67175e532)
flang version 22.1.0 (https://github.com/llvm/llvm-project 4434dabb69916856b824f68a64b029c67175e532)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-03-07 09:05:10 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘RTMB/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘RTMB’ version ‘1.8’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘RTMB’ can be installed ... [11m/15m] OK
See the install log for details.
- used C++ compiler: ‘clang version 22.1.0 (https://github.com/llvm/llvm-project 4434dabb69916856b824f68a64b029c67175e532)’
- checking installed package size ... INFO
installed size is 13.4Mb
sub-directories of 1Mb or more:
R 1.1Mb
libs 11.4Mb
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [39s/56s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... ERROR
Running examples in ‘RTMB-Ex.R’ failed
The error most likely occurred in:
> ### Name: OSA-residuals
> ### Title: Recursive quantile residuals
> ### Aliases: OSA-residuals oneStepPredict [.osa length.osa dim.osa
> ### is.array.osa is.matrix.osa
>
> ### ** Examples
>
> set.seed(1)
> rw <- cumsum(.5*rnorm(20))
> obs <- rpois(20, lambda=exp(rw))
> func <- function(p) {
+ obs <- OBS(obs) ## Mark 'obs' for OSA calculation on request
+ ans <- 0
+ jump <- c(p$rw[1], diff(p$rw))
+ ans <- ans - sum(dnorm(jump, sd=p$sd, log=TRUE))
+ ans <- ans - sum(dpois(obs, lambda=exp(p$rw), log=TRUE))
+ ans
+ }
> obj <- MakeADFun(func,
+ parameters=list(rw=rep(0,20), sd=1),
+ random="rw")
Error in advector(e2) :
Invalid argument to 'advector' (lost class attribute?)
Calls: MakeADFun ... diff.advector -> diff_patch -> Ops.advector -> Arith2 -> advector
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [1s/37s] OK
Running ‘tinytest.R’ [1s/36s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [16s/18s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘RTMB-advanced.rmd’ using rmarkdown
Quitting from RTMB-advanced.rmd:236-239 [unnamed-chunk-21]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `advector()`:
! Invalid argument to 'advector' (lost class attribute?)
---
Backtrace:
▆
1. └─RTMB::MakeTape(diff, numeric(5))
2. └─RTMB:::.MakeTape(f, x)
3. ├─base (local) f(x)
4. └─RTMB::diff.advector(x)
5. └─RTMB:::diff_patch(x, lag = lag, differences = differences, ...)
6. └─RTMB::Ops.advector(...)
7. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
8. └─RTMB::advector(e2)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'RTMB-advanced.rmd' failed with diagnostics:
Invalid argument to 'advector' (lost class attribute?)
--- failed re-building ‘RTMB-advanced.rmd’
--- re-building ‘RTMB-introduction.rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘RTMB-introduction.rmd’
SUMMARY: processing the following file failed:
‘RTMB-advanced.rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [9s/10s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs