* using log directory 'd:/Rcompile/CRANpkg/local/2.4/oce.Rcheck' * using R version 2.4.1 (2006-12-18) * checking for file 'oce/DESCRIPTION' ... OK * this is package 'oce' version '0.1.63' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'oce' 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 syntax errors ... OK * checking R files for non-ASCII characters ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the name space can be loaded with stated dependencies ... 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 cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking for CRLF line endings in C/C++/Fortran sources/headers ... OK * checking for portable use of $BLAS_LIBS ... OK * creating oce-Ex.R ... OK * checking examples ... ERROR Running examples in 'oce-Ex.R' failed. The error most likely occurred in: > ### * ctd.add.column > > flush(stderr()); flush(stdout()) > > ### Name: ctd.add.column > ### Title: Add a column to a CTD file > ### Aliases: ctd.add.column > ### Keywords: misc > > ### ** Examples > > library(oce) > data(ctd) > sigthe <- sw.sigma.theta(ctd$data$salinity, + ctd$data$temperature, + ctd$data$pressure); > ctd.new <- ctd.add.column(ctd, + sigthe, "sigmatheta", + "sigma-theta", "density, sigma-theta", + "kg/m^3"); Error in `[<-.data.frame`(`*tmp*`, , column.name, value = c(18.5117536126822, : negative length vectors are not allowed Execution halted