* using log directory 'd:/Rcompile/CRANpkg/local/4.3/pollimetry.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'pollimetry/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'pollimetry' version '1.0.1' * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: 'pollimetrydata' * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'pollimetry' can be installed ... OK * checking installed package size ... OK * checking package 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [5s] OK * checking whether the package can be loaded with stated dependencies ... [5s] OK * checking whether the package can be unloaded cleanly ... [5s] OK * checking whether the namespace can be loaded with stated dependencies ... [5s] OK * checking whether the namespace can be unloaded cleanly ... [5s] OK * checking loading without being on the library search path ... [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 ... [12s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [15s] ERROR Running examples in 'pollimetry-Ex.R' failed The error most likely occurred in: > ### Name: bodysize > ### Title: Converts the intertegular distance (IT) and co-variates to body > ### size in dry weight (mg) for bees or hoverflies. > ### Aliases: bodysize > > ### ** Examples > > example=cbind.data.frame(IT=c(1.3,2.3), + Sex=c("Female","Male"), + Subfamily=c("Syrphinae","Eristalinae"), + Region=c("Australasia","Europe"), + Species=c("Sphaerophoria_macrogaster","Myathropa_florea")) > bodysize(x=example,taxa="hov",type="taxo") Loading required namespace: pollimetrydata Failed with error: 'there is no package called 'pollimetrydata'' Downloading data from: https://github.com/liamkendall/pollimetrydata/raw/master/data/hov_tax_mod.rdata SHA-1 hash of the downloaded data file is: 8fabe989dfed6c91d8e5834ad224ff4865b76b7f Loading required package: rstan Loading required package: StanHeaders Error: package or namespace load failed for 'rstan' in .doLoadActions(where, attach): error in load action .__A__.1 for package rstan: Rcpp::loadModule(module = "class_model_base", what = TRUE, env = ns, : Unable to load module "class_model_base": attempt to apply non-function Error in .requirePackage(package) : unable to find required package 'rstan' Calls: bodysize ... .findInheritedMethods -> getClass -> getClassDef -> .requirePackage Execution halted * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR, 1 NOTE