- using R Under development (unstable) (2026-03-08 r89578)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.8 (3+b1)
Debian flang version 21.1.8 (3+b1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-03-09 19:07:34 UTC
- checking for file ‘RTMB/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘RTMB’ version ‘1.8’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 serialization versions ... OK
- checking whether package ‘RTMB’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘Debian clang version 21.1.8 (3+b1)’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [3s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [3s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/4s] OK
- checking loading without being on the library search path ... [3s/4s] 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 ... [26s/32s] OK
- checking Rd files ... [1s/1s] 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 ... [4s/5s] ERROR
Running examples in ‘RTMB-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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/20s] OK
Running ‘tinytest.R’ [0s/19s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s/16s] 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 ... [6s/9s] OK
- checking HTML version of manual ... [5s/7s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs