- using R version 2.8.0 Under development (unstable) (2008-06-26 r45997)
- using session charset: UTF-8
- checking for file 'WeedMap/DESCRIPTION' ... OK
- this is package 'WeedMap' version '0.1'
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking whether package 'WeedMap' can be installed ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... 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 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
Found possibly global 'T' or 'F' in the following functions:
check.model.weed pred.weed
- 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
- creating WeedMap-Ex.R ... OK
- checking examples ... ERROR
Running examples in 'WeedMap-Ex.R' failed.
The error most likely occurred in:
> ### * WeedMap-package
>
> flush(stderr()); flush(stdout())
>
> ### Name: WeedMap-package
> ### Title: Spatial prediction of weed intensities
> ### Aliases: WeedMap-package WeedMap
> ### Keywords: package
>
> ### ** Examples
>
>
> ## Simulate a data set
> sim <- sim.weed(nx=30, ny=20, nxy=20, nz=49,
+ param.cov=c(mean=0,variance=1,nugget=0,scale=.1),
+ mu=80, sigma=70, lambda=1, tau=0.2, nbin=10,
+ true.field = TRUE, npix = c(100,100), z.on.grid = TRUE)
>
>
> ## show the graphics
> show.sim.weed(sim)
Error in get(getOption("device")) : invalid first argument
Calls: show.sim.weed -> get
Execution halted