* using log directory 'd:/Rcompile/CRANpkg/SASmixed.Rcheck' * checking for file 'SASmixed/DESCRIPTION' ... OK * checking if this is a source package ... OK * checking whether package 'SASmixed' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking package dependencies ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for syntax errors ... OK * checking R files for library.dynam ... OK * checking S3 generic/method consistency ... OK * checking for replacement functions with final arg not named 'value' ... OK * checking foreign function calls ... OK * checking Rd files ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * creating SASmixed-Ex.R ... OK * checking examples ... ERROR Running examples in SASmixed-Ex.R failed. The error most likely occurred in: > ### * AvgDailyGain > > flush(stderr()); flush(stdout()) > > ### Name: AvgDailyGain > ### Title: Average daily weight gain of steers on different diets > ### Aliases: AvgDailyGain > ### Keywords: datasets > > ### ** Examples > > data(AvgDailyGain) > options( + contrasts = c(unordered = "contr.SAS", ordered = "contr.poly")) > ## plot of adg versus Treatment by Block > coplot(adg ~ as.numeric(Treatment) | Block, data = AvgDailyGain, + show = FALSE) Warning: calling par(new=) with no plot > fm1Adg <- lme( adg ~ InitWt * Treatment - 1, + data = AvgDailyGain, random = ~ 1 | Block) Error: couldn't find function "lme" Execution halted