- using R version 2.15.0 RC (2012-03-29 r58868)
- using platform: i386-apple-darwin9.8.0 (32-bit)
- using session charset: ASCII
- checking for file 'MethComp/DESCRIPTION' ... OK
- this is package 'MethComp' version '1.15'
- checking package namespace information ... OK
- checking package dependencies ... NOTE
Package suggested but not available for checking: 'BRugs'
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking whether package 'MethComp' can be installed ... OK
- checking installed package size ... 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 whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking examples ... ERROR
Running examples in 'MethComp-Ex.R' failed
The error most likely occurred in:
> ### Name: MCmcmc
> ### Title: Fit a model for method comparison studies using WinBUGS
> ### Aliases: MCmcmc print.MCmcmc summary.MCmcmc subset.MCmcmc mcmc.MCmcmc
> ### Keywords: models design regression nonlinear
>
> ### ** Examples
>
> data( ox )
> str( ox )
'data.frame': 354 obs. of 4 variables:
$ meth: Factor w/ 2 levels "CO","pulse": 1 1 1 1 1 1 1 1 1 1 ...
$ item: num 1 1 1 2 2 2 3 3 3 4 ...
$ repl: num 1 2 3 1 2 3 1 2 3 1 ...
$ y : num 78 76.4 77.2 68.7 67.6 68.3 82.9 80.1 80.7 62.3 ...
> MCmcmc( ox, MI=TRUE, IR=TRUE, code.only=TRUE, bugs.code.file="" )
Loading required package: coda
Loading required package: lattice
Loading required package: R2WinBUGS
Loading required package: BRugs
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called 'BRugs'
Loading required package: rjags
linking to JAGS 3.1.0
module basemod loaded
module bugs loaded
Error in MCmcmc(ox, MI = TRUE, IR = TRUE, code.only = TRUE, bugs.code.file = "") :
Using the MCmcmc function with Brugs/openbugs option requiresthat the BRugs package is installed
Execution halted
- elapsed time (check, wall clock): 1:28