CRAN Package Check Results for Package psychotools

Last updated on 2018-02-22 05:47:59 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-2 8.13 55.18 63.31 NOTE
r-devel-linux-x86_64-debian-gcc 0.4-2 6.59 46.71 53.30 NOTE
r-devel-linux-x86_64-fedora-clang 0.4-2 85.42 NOTE
r-devel-linux-x86_64-fedora-gcc 0.4-2 82.01 NOTE
r-devel-windows-ix86+x86_64 0.4-2 22.00 75.00 97.00 ERROR
r-patched-linux-x86_64 0.4-2 2.27 68.32 70.59 NOTE
r-patched-solaris-x86 0.4-2 95.60 OK
r-release-linux-x86_64 0.4-2 2.09 69.30 71.39 NOTE
r-release-windows-ix86+x86_64 0.4-2 7.00 120.00 127.00 OK
r-release-osx-x86_64 0.4-2 OK
r-oldrel-windows-ix86+x86_64 0.4-2 8.00 85.00 93.00 OK
r-oldrel-osx-x86_64 0.4-2 OK

Check Details

Version: 0.4-2
Check: compiled code
Result: NOTE
    File ‘psychotools/libs/psychotools.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.4-2
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'psychotools-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: pcmodel
    > ### Title: Partial Credit Model Fitting Function
    > ### Aliases: pcmodel PCModel.fit print.pcmodel summary.pcmodel
    > ### print.summary.pcmodel coef.pcmodel bread.pcmodel estfun.pcmodel
    > ### logLik.pcmodel vcov.pcmodel
    > ### Keywords: regression
    >
    > ### ** Examples
    >
    > o <- options(digits = 4)
    >
    > ## Verbal aggression data
    > data("VerbalAggression", package = "psychotools")
    >
    > ## Partial credit model for the other-to-blame situations
    > pcm <- pcmodel(VerbalAggression$resp[, 1:12])
    Warning in log(elementary_symmetric_functions(par = esf_par, order = 0, :
     NaNs produced
    Warning in log(elementary_symmetric_functions(par = esf_par, order = 0, :
     NaNs produced
    Warning in log(elementary_symmetric_functions(par = esf_par, order = 0, :
     NaNs produced
    > summary(pcm)
    
    Partial credit model
    
    Item category parameters:
     Estimate Std. Error z value Pr(>|z|)
    S1WantCurse-C2 -0.5006 NA NA NA
    S1DoCurse-C1 -0.5461 NA NA NA
    S1DoCurse-C2 -0.3213 NA NA NA
    S1WantScold-C1 0.0833 NA NA NA
    S1WantScold-C2 0.2315 NA NA NA
    S1DoScold-C1 0.0973 NA NA NA
    S1DoScold-C2 0.6689 NA NA NA
    S1WantShout-C1 0.2789 NA NA NA
    S1WantShout-C2 1.2458 NA NA NA
    S1DoShout-C1 1.1497 NA NA NA
    S1DoShout-C2 2.3866 NA NA NA
    S2WantCurse-C1 -0.9928 NA NA NA
    S2WantCurse-C2 -1.1152 NA NA NA
    S2DoCurse-C1 -0.2252 NA NA NA
    S2DoCurse-C2 -0.0708 NA NA NA
    S2WantScold-C1 -0.0779 NA NA NA
    S2WantScold-C2 0.1176 NA NA NA
    S2DoScold-C1 0.4248 NA NA NA
    S2DoScold-C2 1.3487 NA NA NA
    S2WantShout-C1 0.4584 NA NA NA
    S2WantShout-C2 1.0622 NA NA NA
    S2DoShout-C1 1.6322 NA NA NA
    S2DoShout-C2 3.2831 NA NA NA
    
    Log-likelihood: -2460 (df = 23)
    Number of iterations in BFGS optimization: 10
    
    >
    > ## visualizations
    > plot(pcm, type = "profile")
    > plot(pcm, type = "regions")
    > plot(pcm, type = "curves")
    > plot(pcm, type = "information")
    > plot(pcm, type = "piplot")
    >
    > ## Get data of situation 1 ('A bus fails to
    > ## stop for me') and induce a null category in item 2.
    > pcd <- VerbalAggression$resp[, 1:6, drop = FALSE]
    > pcd[pcd[, 2] == 1, 2] <- NA
    >
    > ## fit pcm to these data, comparing downcoding and keeping strategy
    > pcm_va_keep <- pcmodel(pcd, nullcats = "keep")
    Warning in pcmodel(pcd, nullcats = "keep") :
     There are items with null categories (I2).
    > pcm_va_down <- pcmodel(pcd, nullcats = "downcode")
    Warning in pcmodel(pcd, nullcats = "downcode") :
     There are items with null categories (I2).
    Warning in log(elementary_symmetric_functions(par = esf_par_i, order = 0, :
     NaNs produced
    Error in solve.default(vc) :
     system is computationally singular: reciprocal condition number = 8.0997e-275
    Calls: pcmodel -> solve -> solve.default
    Execution halted
Flavor: r-devel-windows-ix86+x86_64