* using log directory ‘/srv/hornik/tmp/CRAN_pretest/PrevMap.Rcheck’ * using R Under development (unstable) (2025-03-31 r88080) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (1+b1) Debian flang-new version 19.1.7 (1+b1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘PrevMap/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘PrevMap’ version ‘1.5.5’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/4s] NOTE Maintainer: ‘Emanuele Giorgi ’ Suggests or Enhances not in mainstream repositories: INLA Availability using Additional_repositories specification: INLA yes https://inla.r-inla-download.org/R/testing/ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: c(person(given = "Emanuele", family = "Giorgi", role = c("aut", "cre"), email = "e.giorgi@lancaster.ac.uk"), person(given = c("Peter", "J."), family = "Diggle", role = "aut")) as necessary. The Date field is over a month old. * 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 serialization versions ... OK * checking whether package ‘PrevMap’ can be installed ... [22s/22s] OK * 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 ... [5s/5s] OK * checking whether the package can be loaded with stated dependencies ... [5s/5s] OK * checking whether the package can be unloaded cleanly ... [4s/4s] OK * checking whether the namespace can be loaded with stated dependencies ... [4s/4s] OK * checking whether the namespace can be unloaded cleanly ... [4s/4s] OK * checking loading without being on the library search path ... [5s/5s] 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 ... [40s/40s] NOTE Found if() conditions comparing class() to string: File ‘PrevMap/R/foo.R’: if (class(data) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(formula) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(control.mcmc) != "mcmc.MCML.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(formula) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (length(times) > 0 & class(times) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(units.m) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(mesh) != "inla.mesh") ... File ‘PrevMap/R/foo.R’: if (class(formula) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(control.mcmc) != "mcmc.Bayes.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(formula) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(object) != "PrevMap" & class(object) != "PrevMap.ps") ... File ‘PrevMap/R/foo.R’: if (length(predictors) > 0 && class(predictors) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(predictors.samples) != "list") ... File ‘PrevMap/R/foo.R’: if (length(predictors) > 0 && class(predictors) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(predictors.samples[[i]]) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (!SPDE & class(control.mcmc) != "mcmc.Bayes.PrevMap") ... File ‘PrevMap/R/foo.R’: if (SPDE & class(control.mcmc) != "mcmc.Bayes.SPDE.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(formula) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(units.m) != "formula") ... File ‘PrevMap/R/foo.R’: if (length(predictors) > 0 && class(predictors) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(object) != "PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(x) != "profile.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(x$profile) == "matrix" & plot.spline.profile == TRUE) ... File ‘PrevMap/R/foo.R’: if (class(x$profile) == "numeric") ... File ‘PrevMap/R/foo.R’: if (class(x$profile) == "matrix") ... File ‘PrevMap/R/foo.R’: if (class(object) != "profile.PrevMap") ... File ‘PrevMap/R/foo.R’: if (object$fixed.par | class(object$profile) == "matrix") ... File ‘PrevMap/R/foo.R’: if (length(predictors) > 0 && class(predictors) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(object) != "PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(x) != "pred.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(x) != "pred.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(object) != "Bayes.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(object) != "Bayes.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(object) != "Bayes.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(object) != "Bayes.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(x) != "shape.matern") ... File ‘PrevMap/R/foo.R’: if (class(control.mcmc) != "mcmc.Bayes.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(formula) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(control.mcmc) != "mcmc.MCML.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(formula) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (length(units.m) > 0 && class(units.m) != "formula") ... File ‘PrevMap/R/foo.R’: if (length(predictors) > 0 && class(predictors) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(formula.response) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(formula.log.intensity) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(data.response) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(data.intensity) != "NULL" & class(data.intensity) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(grid.intensity) != "matrix" & class(grid.intensity) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(grid.intensity) == "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(mesh) != "inla.mesh") ... File ‘PrevMap/R/foo.R’: if (class(control.mcmc) != "mcmc.MCML.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(par0) != "coef.PrevMap.ps") ... File ‘PrevMap/R/foo.R’: if (!is.null(start.par) && class(start.par) != "coef.PrevMap.ps") ... File ‘PrevMap/R/foo.R’: if (class(start.par) == "NULL") ... File ‘PrevMap/R/foo.R’: if (class(object) != "PrevMap.ps") ... File ‘PrevMap/R/foo.R’: if (class(object) != "PrevMap.ps") ... File ‘PrevMap/R/foo.R’: if (length(predictors) > 0 && class(predictors) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(control.mcmc) != "mcmc.MCML.PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(x) != "pred.PrevMap.ps") ... File ‘PrevMap/R/foo.R’: if (class(data) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(var.name) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(data) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(var.name) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(data) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(var.name) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(formula) != "formula") ... File ‘PrevMap/R/foo.R’: if (!is.null(units.m) & class(units.m) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(data) != "data.frame") ... File ‘PrevMap/R/foo.R’: if (class(object) != "PrevMap") ... File ‘PrevMap/R/foo.R’: if (class(x) != "PrevMap.diagnostic") ... File ‘PrevMap/R/foo.R’: if (class(formula) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(coords) != "formula") ... File ‘PrevMap/R/foo.R’: if (!is.null(units.m) & class(units.m) != "formula") ... File ‘PrevMap/R/foo.R’: if (class(object) != "PrevMap") ... Use inherits() (or maybe is()) instead. * checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [5s/5s] ERROR Running examples in ‘PrevMap-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: hello > ### Title: Hello, World! > ### Aliases: hello > > ### ** Examples > > hello() Error in hello() : could not find function "hello" Execution halted * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [2s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs