• using R Under development (unstable) (2013-05-22 r62774)
  • using platform: x86_64-unknown-linux-gnu (64-bit)
  • using session charset: UTF-8
  • checking for file ‘fmri/DESCRIPTION’ ... OK
  • this is package ‘fmri’ version ‘1.4-8’
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking for hidden files and directories ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking whether package ‘fmri’ can be installed ... OK
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking for left-over 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 loading without being on the library search path ... 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 R/sysdata.rda ... OK
  • checking line endings in C/C++/Fortran sources/headers ... OK
  • checking line endings in Makefiles ... OK
  • checking for portable compilation flags in Makevars ... OK
  • checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
  • checking compiled code ... OK
  • checking examples ... ERROR
    Running examples in ‘fmri-Ex.R’ failed
    The error most likely occurred in:

    > ### Name: fmri.lm
    > ### Title: Linear Model For FMRI Data
    > ### Aliases: fmri.lm
    > ### Keywords: regression
    >
    > ### ** Examples
    >
    > # Example 1
    > data <- list(ttt=writeBin(rnorm(32*32*32*107),raw(),4),
    + mask=array(1,c(32,32,32)),dim=c(32,32,32,107))
    > class(data) <- "fmridata"
    > hrf <- fmri.stimulus(107, c(18, 48, 78), 15, 2)
    > z <- fmri.design(hrf,2)
    > model <- fmri.lm(data,z,keep="all")
    fmri.lm: entering function
    fmri.lm: calculating AR(1) model
    0% .
    fmri.lm: smoothing with (hmax): 3.52
    At line 502 of file vaws3D.f
    Fortran runtime error: Index '-4' of dimension 1 of array 'mask' below lower bound of 1