CRAN Package Check Results for Package ggdmc

Last updated on 2018-11-24 00:51:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.5.2 238.88 94.22 333.10 OK
r-devel-linux-x86_64-debian-gcc 0.2.5.2 174.74 75.84 250.58 OK
r-devel-linux-x86_64-fedora-clang 0.2.5.2 455.24 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.5.2 383.23 OK
r-devel-windows-ix86+x86_64 0.2.5.2 471.00 139.00 610.00 OK
r-patched-linux-x86_64 0.2.5.2 210.73 89.94 300.67 OK
r-patched-solaris-x86 0.2.5.2 409.40 OK
r-release-linux-x86_64 0.2.5.2 212.29 89.56 301.85 OK
r-release-windows-ix86+x86_64 0.2.5.2 504.00 142.00 646.00 OK
r-release-osx-x86_64 0.2.5.2 ERROR
r-oldrel-windows-ix86+x86_64 0.2.5.2 503.00 206.00 709.00 OK
r-oldrel-osx-x86_64 0.2.5.2 ERROR

Check Details

Version: 0.2.5.2
Check: installed package size
Result: NOTE
     installed size is 16.0Mb
     sub-directories of 1Mb or more:
     libs 15.5Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.2.5.2
Check: examples
Result: ERROR
    Running examples in ‘ggdmc-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: StartNewsamples
    > ### Title: Initialize New Samples
    > ### Aliases: StartNewsamples RestartSamples StartManynewsamples
    > ### RestartManysamples StartNewHypersamples RestartHypersamples
    >
    > ### ** Examples
    >
    > m1 <- BuildModel(
    + p.map = list(a = "1", v = "F", z = "1", d = "1", sz = "1", sv = "1",
    + t0 = "1", st0 = "1"),
    + constants = c(st0 = 0, d = 0),
    + match.map = list(M = list(s1 = "r1", s2 = "r2")),
    + factors = list(S = c("s1","s2"), F = c("f1", "f2")),
    + responses = c("r1","r2"),
    + type = "rd")
    
    Parameter vector names (unordered) are: ( see attr(,"p.vector") )
    [1] "a" "v.f1" "v.f2" "z" "sz" "sv" "t0"
    
    Constants are (see attr(,"constants") ):
    st0 d
     0 0
    
    Model type = rd
    
    >
    > ## m1 is "model" class
    > class(m1)
    [1] "model"
    > ## [1] "model"
    >
    > pVec <- c(a = 1, v.f1 = 1, v.f2 = 1.5, z = .5, sz = .25, sv = .2, t0 = .15)
    > dat <- simulate(m1, nsim = 1e2, ps = pVec)
    > str(dat)
    'data.frame': 400 obs. of 4 variables:
     $ S : Factor w/ 2 levels "s1","s2": 1 1 1 1 1 1 1 1 1 1 ...
     $ F : Factor w/ 2 levels "f1","f2": 1 1 1 1 1 1 1 1 1 1 ...
     $ R : Factor w/ 2 levels "r1","r2": 2 1 1 1 1 2 1 1 1 1 ...
     $ RT: num 0.214 0.916 0.227 0.265 0.82 ...
     - attr(*, "parameters")= Named num 1 1 1.5 0.5 0.25 0.2 0.15
     ..- attr(*, "names")= chr "a" "v.f1" "v.f2" "z" ...
    > ## 'data.frame': 400 obs. of 4 variables:
    > ## $ S : Factor w/ 2 levels "s1","s2": 1 1 1 1 1 1 1 1 1 1 ...
    > ## $ F : Factor w/ 2 levels "f1","f2": 1 1 1 1 1 1 1 1 1 1 ...
    > ## $ R : Factor w/ 2 levels "r1","r2": 1 1 1 2 1 1 1 1 2 1 ...
    > ## $ RT: num 0.26 0.255 0.572 0.25 0.518 ...
    >
    > dmi1 <- BuildDMI(dat, m1)
    > npar <- length(GetPNames(m1))
    >
    > p.prior <- BuildPrior(
    + dists = rep("tnorm", npar),
    + p1 = c(a=2, v.f1=2.5, v.f2=1.25, z=.5, sz=.3, sv=1, t0=.3),
    + p2 = c(a=.5, v.f1=.5, v.f2=.35, z=.1, sz=.1, sv=.3, t0=.05),
    + lower = c(0,-5, -5, 0, 0, 0, 0),
    + upper = c(5, 7, 7, 2, 2, 2, 2))
    >
    > ## Set up a new DMC sample with 16 iteration. The default thin is 1
    > sam0 <- StartNewsamples(nmc = 16, data = dmi1, prior = p.prior)
    OMP: Error #15: Initializing libomp.dylib, but found libomp.dylib already initialized.
    OMP: Hint: This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
Flavor: r-release-osx-x86_64

Version: 0.2.5.2
Check: examples
Result: ERROR
    Running examples in ‘ggdmc-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: StartNewsamples
    > ### Title: Initialize New Samples
    > ### Aliases: StartNewsamples RestartSamples StartManynewsamples
    > ### RestartManysamples StartNewHypersamples RestartHypersamples
    >
    > ### ** Examples
    >
    > m1 <- BuildModel(
    + p.map = list(a = "1", v = "F", z = "1", d = "1", sz = "1", sv = "1",
    + t0 = "1", st0 = "1"),
    + constants = c(st0 = 0, d = 0),
    + match.map = list(M = list(s1 = "r1", s2 = "r2")),
    + factors = list(S = c("s1","s2"), F = c("f1", "f2")),
    + responses = c("r1","r2"),
    + type = "rd")
    
    Parameter vector names (unordered) are: ( see attr(,"p.vector") )
    [1] "a" "v.f1" "v.f2" "z" "sz" "sv" "t0"
    
    Constants are (see attr(,"constants") ):
    st0 d
     0 0
    
    Model type = rd
    
    >
    > ## m1 is "model" class
    > class(m1)
    [1] "model"
    > ## [1] "model"
    >
    > pVec <- c(a = 1, v.f1 = 1, v.f2 = 1.5, z = .5, sz = .25, sv = .2, t0 = .15)
    > dat <- simulate(m1, nsim = 1e2, ps = pVec)
    > str(dat)
    'data.frame': 400 obs. of 4 variables:
     $ S : Factor w/ 2 levels "s1","s2": 1 1 1 1 1 1 1 1 1 1 ...
     $ F : Factor w/ 2 levels "f1","f2": 1 1 1 1 1 1 1 1 1 1 ...
     $ R : Factor w/ 2 levels "r1","r2": 1 1 1 1 1 1 1 1 1 1 ...
     $ RT: num 0.333 0.218 0.555 0.328 0.684 ...
     - attr(*, "parameters")= Named num 1 1 1.5 0.5 0.25 0.2 0.15
     ..- attr(*, "names")= chr "a" "v.f1" "v.f2" "z" ...
    > ## 'data.frame': 400 obs. of 4 variables:
    > ## $ S : Factor w/ 2 levels "s1","s2": 1 1 1 1 1 1 1 1 1 1 ...
    > ## $ F : Factor w/ 2 levels "f1","f2": 1 1 1 1 1 1 1 1 1 1 ...
    > ## $ R : Factor w/ 2 levels "r1","r2": 1 1 1 2 1 1 1 1 2 1 ...
    > ## $ RT: num 0.26 0.255 0.572 0.25 0.518 ...
    >
    > dmi1 <- BuildDMI(dat, m1)
    > npar <- length(GetPNames(m1))
    >
    > p.prior <- BuildPrior(
    + dists = rep("tnorm", npar),
    + p1 = c(a=2, v.f1=2.5, v.f2=1.25, z=.5, sz=.3, sv=1, t0=.3),
    + p2 = c(a=.5, v.f1=.5, v.f2=.35, z=.1, sz=.1, sv=.3, t0=.05),
    + lower = c(0,-5, -5, 0, 0, 0, 0),
    + upper = c(5, 7, 7, 2, 2, 2, 2))
    >
    > ## Set up a new DMC sample with 16 iteration. The default thin is 1
    > sam0 <- StartNewsamples(nmc = 16, data = dmi1, prior = p.prior)
    OMP: Error #15: Initializing libomp.dylib, but found libomp.dylib already initialized.
    OMP: Hint: This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
Flavor: r-oldrel-osx-x86_64