* using log directory 'd:/Rcompile/CRANpkg/race.Rcheck' * checking for file 'race/DESCRIPTION' ... OK * checking if this is a source package ... OK * checking whether package 'race' 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 race-Ex.R ... OK * checking examples ... ERROR Running examples in race-Ex.R failed. The error most likely occurred in: > ### * race > > flush(stderr()); flush(stdout()) > > ### Name: race > ### Title: Racing methods for the selection of the best > ### Aliases: race > ### Keywords: design htest optimize > > ### ** Examples > > # The wrapper and init functions for this example are defined in the > # file examples/example-wrapper.R in the installation directory of the > # package. Please, have a look at such file before implementing your > # own wrapper. > # This example require the package `nnet' > if (require(nnet)){ + example.wrapper<-file.path(system.file(package="race"), + "examples","example-wrapper.R") + # Run the race + race(example.wrapper) + + # If the package `rpvm' is installed on your system and if PVM is + # properly installed and configured, you can try the following: + #race(example.wrapper,no.slaves=6) + } Loading required package: nnet Warning: cannot open file `d:/Rcompile/CRANpkg/race.Rcheck/d:/Rcompile/CRANpkg/lib/1.9/race/examples/example-wrapper.R' Error in race(example.wrapper) : Either file "d:/Rcompile/CRANpkg/race.Rcheck/d:/Rcompile/CRANpkg/lib/1.9/race/examples/example-wrapper.R" does not exist, or it does not define properly the wrapper "race.wrapper" and/or the function "race.info" Execution halted