* using log directory ‘/srv/hornik/tmp/CRAN_pretest/INLAtools.Rcheck’ * using R Under development (unstable) (2025-05-23 r88232) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3) Debian flang-new version 19.1.7 (3) * running under: Debian GNU/Linux 13 (trixie) * using session charset: UTF-8 * checking for file ‘INLAtools/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘INLAtools’ version ‘0.0.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/5s] NOTE Maintainer: ‘Elias Teixeira Krainski ’ New submission Possibly misspelled words in DESCRIPTION: INLA (3:22) cgeneric (18:32) Suggests or Enhances not in mainstream repositories: INLA Availability using Additional_repositories specification: INLA yes https://inla.r-inla-download.org/R/testing * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘INLA’ * 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 ‘INLAtools’ can be installed ... [4s/4s] OK * used C compiler: ‘Debian clang version 19.1.7 (3)’ * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [5s/5s] NOTE Sparse: no visible global function definition for ‘as’ Sparse: no visible global function definition for ‘is’ Undefined global functions or variables: as is Consider adding importFrom("methods", "as", "is") to your NAMESPACE file (and ensure that your DESCRIPTION Imports field contains 'methods'). * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... INFO Package unavailable to check Rd xrefs: ‘INLA’ * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... WARNING Undocumented arguments in Rd file 'Sparse.Rd' ‘unique’ ‘na.rm’ ‘zeros.rm’ Documented arguments not in \usage in Rd file 'Sparse.Rd': ‘unique:’ ‘na.rm:’ ‘zeros.rm:’ Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual. * 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 examples ... [1s/1s] ERROR Running examples in ‘INLAtools-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cgeneric_generic0 > ### Title: Build an 'cgeneric' object for a 'generic0' model. See details. > ### Aliases: cgeneric_generic0 cgeneric_iid > > ### ** Examples > > ## two ways to define an 'iid' model > prior.par <- c(1, 0.5) > ma <- cgeneric("generic0", R = Diagonal(5), + param = prior.par, constr = FALSE, + useINLAprecomp = FALSE) Error in loadNamespace(x) : there is no package called ‘INLA’ Calls: cgeneric ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted * checking PDF version of manual ... [2s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 WARNING, 2 NOTEs