- using R Under development (unstable) (2025-09-03 r88788)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b2)
Debian flang-new version 19.1.7 (3+b2)
- running under: Debian GNU/Linux forky/sid
- 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 CRAN incoming feasibility ... [0s/1s] NOTE
Maintainer: ‘Rodney Edmondson <rodney.edmondson@gmail.com>’
Found the following URLs which should use \doi (with the DOI name only):
File ‘agriTutorial.Rd’:
http://dx.doi.org/10.1111/jac.12267
File ‘example1.Rd’:
http://dx.doi.org/10.1111/jac.12267
File ‘example2.Rd’:
http://dx.doi.org/10.1111/jac.12267
File ‘example3.Rd’:
http://dx.doi.org/10.1111/jac.12267
File ‘example4.Rd’:
http://dx.doi.org/10.1111/jac.12267
File ‘example5.Rd’:
http://dx.doi.org/10.1111/jac.12267
- 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 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 ‘agriTutorial’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [4s/6s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/6s] OK
- checking loading without being on the library search path ... [4s/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 ... [17s/23s] OK
- 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 sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [6s/8s] ERROR
Running examples in ‘agriTutorial-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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/1s] OK
- checking PDF version of manual ... [7s/11s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE