* using log directory 'd:/Rcompile/CRANpkg/local/2.11/kinfit.Rcheck' * using R version 2.11.1 Patched (2010-07-29 r52657) * using session charset: ISO8859-1 * checking for file 'kinfit/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'kinfit' version '1.0.8' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'kinfit' 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 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 ... NOTE kinplot: no visible binding for global variable 'x' kinreport: no visible global function definition for 'packageVersion' * 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 data for non-ASCII characters ... OK * checking examples ... ERROR Running examples in 'kinfit-Ex.R' failed. The error most likely occurred in: > ### * kinreport > > flush(stderr()); flush(stdout()) > > ### Name: kinreport > ### Title: Creates a report of the kinetic fits > ### Aliases: kinreport > ### Keywords: manip > > ### ** Examples > > data(FOCUS_2006_A) > kinfits <- kinfit(FOCUS_2006_A) > kinobject <- list( + parent = "Compound XY", + type = "Degradation in the environment", + system = "System 1", + data = FOCUS_2006_A, + source = "Synthetic example data from FOCUS kinetics", + fits = kinfits, + results = kinresults(kinfits)) > kinreport(kinobject) Parent compound: Compound XY Study type: Degradation in the environment System: System 1 Source: Synthetic example data from FOCUS kinetics Error in cat("kinfit version: ", as.character(packageVersion("kinfit")), : could not find function "packageVersion" Calls: kinreport -> cat Execution halted