* using log directory 'd:/Rcompile/CRANpkg/local/2.12/sensR.Rcheck' * using R version 2.12.2 (2011-02-25) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'sensR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'sensR' version '1.2-13' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'sensR' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the name space can be loaded with stated dependencies ... OK * checking whether the name space can be unloaded cleanly ... OK * checking for unstated 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 ... OK * checking Rd files ... 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 examples ... ERROR Running examples in 'sensR-Ex.R' failed The error most likely occurred in: > ### Name: clm2twoAC > ### Title: Extract 2-AC coefficient table from a cumulative link model > ### Aliases: clm2twoAC > ### Keywords: models > > ### ** Examples > > > ## Example of a simple 2-AC model. First the conventional way: > twoAC(c(2, 2, 6)) Results for the 2-AC protocol with data c(2, 2, 6): Estimate Std. Error tau 0.4159726 0.2674304 d.prime 0.7742595 0.5416717 Two-sided 95% confidence interval for d-prime based on the likelihood root statistic: Lower Upper d.prime -0.2709832 1.859251 Significance test: Likelihood root statistic = 1.446718 p-value = 0.14798 Alternative hypothesis: d-prime is different from 0 > ## The using a cumulative link model (clm from package ordinal): > library(ordinal) > response <- gl(3,1) > fit.clm <- clm(response ~ 1, weights = c(2, 2, 6), link = "probit") > clm2twoAC(fit.clm) Error: length(theta) == 2 is not TRUE Execution halted