* using log directory 'd:/Rcompile/CRANpkg/local/4.6/agriTutorial.Rcheck' * using R Under development (unstable) (2025-09-03 r88788 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'agriTutorial/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'agriTutorial' version '0.1.5' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'agriTutorial' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] 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 ... [7s] 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 sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [5s] ERROR Running examples in 'agriTutorial-Ex.R' failed The error most likely occurred in: > ### Name: example4 > ### Title: Example 4: One qualitative treatment factor with repeated > ### measurements over time. > ### Aliases: example4 > > ### ** Examples > > > ## ************************************************************************************* > ## How to run the code > ## ************************************************************************************* > > ## Either type example("example4") to run ALL the examples succesively > ## or copy and paste examples sucessively, as required > > ## ************************************************************************************* > ## Options and required packages > ## ************************************************************************************* > > options(contrasts = c('contr.treatment','contr.poly')) > require(nlme) Loading required package: nlme > > ## ************************************************************************************* > ## Section 1: Polynomials for weeks and blocks contrasts > ## ************************************************************************************* > > sorghum$rawWeeks = poly(sorghum$varweek, degree = 4, raw = TRUE) > sorghum$polWeeks = poly(sorghum$varweek, degree = 4, raw = FALSE) > sorghum$polBlocks = poly(sorghum$varblock, degree = 4, raw = FALSE) > sorghum$factblock = factor(sorghum$varblock) > > ## ************************************************************************************* > ## Section 2: Various correlation models assuming full factorial blocks and weeks model > ## ************************************************************************************* > > AIC = NULL > logLik = NULL > Model = c("ID", "CS", "AR(1)", "AR(1) + nugget", "UN") > > ## independent uncorrelated random plots > full_indy = gls(y ~ factweek * (Replicate + variety), sorghum) > anova(full_indy) Denom. DF: 60 numDF F-value p-value (Intercept) 1 80947.08 <.0001 factweek 4 220.90 <.0001 Replicate 4 358.86 <.0001 variety 3 334.87 <.0001 factweek:Replicate 16 1.82 0.0495 factweek:variety 12 4.48 <.0001 > AIC = c(AIC, AIC(full_indy)) Error in ll(object) : could not find function "ll" Calls: AIC -> AIC.default Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s] OK * checking PDF version of manual ... [27s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR