• using R Under development (unstable) (2012-05-19 r59366)
  • using platform: x86_64-unknown-linux-gnu (64-bit)
  • using session charset: UTF-8
  • checking for file ‘longitudinalData/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘longitudinalData’ version ‘2.0’
  • package encoding: latin1
  • 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 whether package ‘longitudinalData’ 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 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 ... NOTE
    .listPartition.get: no visible binding for global variable ‘listI’
  • 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 line endings in C/C++/Fortran sources/headers ... OK
  • checking line endings in Makefiles ... OK
  • checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
  • checking compiled code ... OK
  • checking examples ... ERROR
    Running examples in ‘longitudinalData-Ex.R’ failed
    The error most likely occurred in:

    > ### Name: LongData-class
    > ### Title: ~ Class: LongData ~
    > ### Aliases: LongData LongData-class [,LongData-method [<-,LongData-method
    > ### show,LongData-method
    > ### Keywords: classes classif cluster ts
    >
    > ### ** Examples
    >
    > #################
    > ### building trajectory (longData)
    > mat <- matrix(c(NA,2,3,4,1,6,2,5,1,3,8,10),4)
    > ld <- longData(mat,idAll=c("I1","I2","I3","I4"),time=c(2,4,8),varNames="Age")
    >
    > ### '[' and '[<-'
    > ld["idAll"]
    [1] "I1" "I2" "I3" "I4"
    > ld["idFewNA"]
    [1] "I1" "I2" "I3" "I4"
    > ld["varNames"]
    [1] "Age"
    > ld["traj"]
    t2 t4 t8
    I1 NA 1 1
    I2 2 6 3
    I3 3 2 8
    I4 4 5 10
    > (ld)

    ~~~ Class: LongData ~~~
    ~ idAll = [4] I1 I2 I3 I4
    ~ idFewNA = [4] I1 I2 I3 I4
    ~ varNames = [1] Age
    ~ time = [3] 2 4 8
    ~ maxNA = [1] 1
    ~ reverse = [2x1]
    - mean = 0
    - SD = 1

    ~ traj = [4x3] (limited to 5x10) :
    t2 t4 t8
    I1 NA 1 1
    I2 2 6 3
    I3 3 2 8
    I4 4 5 10
    >
    > ### Plot
    > plot(ld)
    >
    >
    > #################
    > ### building join trajectories (longData3d)
    > dn <- data.frame(id=1:3,v1=c(11,14,16),t1=c(1,5,7),v2=c(12,10,13),t2=c(2,5,0),t3=c(3,6,8))
    > (ld <- longData3d(dn,timeInData=list(Vir=c(2,4,NA),Tes=c(3,5,6))))

    ~~~ Class: LongData3d ~~~
    ~ idAll = [3] 1 2 3
    ~ idFewNA = [3] 1 2 3
    ~ varNames = [2] Vir Tes
    ~ time = [3] 1 2 3
    ~ maxNA = [2] 1 1
    ~ reverse = [2x2]
    - mean = 0 0
    - SD = 1 1

    ~ traj = [3x3x2] (limited to 5x10x3) :

    Vir :
    t1 t2 t3
    1 11 12 NA
    2 14 10 NA
    3 16 13 NA

    Tes :
    t1 t2 t3
    1 1 2 3
    2 5 5 6
    3 7 0 8
    >
    > ### Scaling
    > scale(ld)
    > (ld)

    ~~~ Class: LongData3d ~~~
    ~ idAll = [3] 1 2 3
    ~ idFewNA = [3] 1 2 3
    ~ varNames = [2] Vir Tes
    ~ time = [3] 1 2 3
    ~ maxNA = [2] 1 1
    ~ reverse = [2x2]
    - mean = 12.66667 4.111111
    - SD = 2.160247 2.758824

    ~ traj = [3x3x2] (limited to 5x10x3) :

    Vir :
    t1 t2 t3
    1 -0.7715167 -0.3086067 NA
    2 0.6172134 -1.2344268 NA
    3 1.5430335 0.1543033 NA

    Tes :
    t1 t2 t3
    1 -1.1276946 -0.7652213 -0.4027481
    2 0.3221984 0.3221984 0.6846717
    3 1.0471450 -1.4901678 1.4096182
    >
    > ### Plotting
    > plot(ld)
    > plot3d(ld)
    Error in rgl.open() : rgl.open failed
    Calls: plot3d -> plot3d -> .local -> open3d -> rgl.open
    Execution halted