* using log directory ‘/srv/hornik/tmp/CRAN/SpatGC.Rcheck’ * using R Under development (unstable) (2024-04-22 r86468) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘SpatGC/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘SpatGC’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Mahsa Nadifar ’ New submission Possibly misspelled words in DESCRIPTION: Baghishani (10:521) Fallah (10:533) GC (10:164, 10:179, 10:443) INLA (10:376) Nadifar (10:512) 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 ... NOTE 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 ... NOTE Found the following hidden files and directories: .github These were most likely included in error. See section ‘Package structure’ in the ‘Writing R Extensions’ manual. CRAN-pack does not know about .github * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘SpatGC’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE Malformed Description field: should contain one or more complete sentences. * checking top-level files ... NOTE Non-standard files/directories found at top level: ‘Rbuildignore.txt’ ‘codecov.yml’ ‘cran-comments.md’ * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... NOTE Problems with news in ‘NEWS.md’: No news entries found. * 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 ... [4s/4s] NOTE GClat: no visible global function definition for ‘st_make_valid’ NBlat: no visible global function definition for ‘st_make_valid’ Poislat: no visible global function definition for ‘st_make_valid’ rGClat: no visible global function definition for ‘st_make_valid’ Undefined global functions or variables: st_make_valid * 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 examples ... [8s/8s] ERROR Running examples in ‘SpatGC-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: GClat > ### Title: Fit ICAR Spatial Gamma-Count Model > ### Aliases: GClat > > ### ** Examples > > # Generate data from the GC spatial regression model with lattice spatial dependency > W <- rAdj(500) # Generate a random adjacency matrix > DDl <- rGClat(n = 500, alpha = 1, beta0 = 0.3, beta = c(-0.5, 0.5), W = W, V = 1) > > # Prepare the data > Y <- DDl$y > covariate <- DDl$covariate > ID <- DDl$ID > > # Fit the spatial GC model > ResultGC <- GClat(Y = Y, ID = ID, covariate = covariate, W = W) Error in loadNamespace(x) : there is no package called ‘INLA’ Calls: GClat ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted * checking PDF version of manual ... [3s/3s] 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, 7 NOTEs