CRAN Package Check Results for Package psychotools

Last updated on 2018-04-24 00:47:10 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-2 8.51 53.40 61.91 NOTE
r-devel-linux-x86_64-debian-gcc 0.4-2 6.76 47.94 54.70 NOTE
r-devel-linux-x86_64-fedora-clang 0.4-2 85.34 NOTE
r-devel-linux-x86_64-fedora-gcc 0.4-2 80.62 NOTE
r-devel-windows-ix86+x86_64 0.4-2 24.00 73.00 97.00 ERROR
r-devel-osx-x86_64 0.4-2 OK
r-patched-linux-x86_64 0.4-2 9.96 60.93 70.89 NOTE
r-patched-solaris-x86 0.4-2 110.50 OK
r-release-linux-x86_64 0.4-2 9.27 60.34 69.61 NOTE
r-release-windows-ix86+x86_64 0.4-2 12.00 122.00 134.00 OK
r-release-osx-x86_64 0.4-2 OK
r-oldrel-windows-ix86+x86_64 0.4-2 7.00 86.00 93.00 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
    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
    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
    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.3871 NA NA NA
    S1DoCurse-C1 -0.7540 NA NA NA
    S1DoCurse-C2 -0.6733 NA NA NA
    S1WantScold-C1 0.1392 NA NA NA
    S1WantScold-C2 0.2202 NA NA NA
    S1DoScold-C1 0.1847 NA NA NA
    S1DoScold-C2 0.6688 NA NA NA
    S1WantShout-C1 0.3720 NA NA NA
    S1WantShout-C2 1.2689 NA NA NA
    S1DoShout-C1 1.1398 NA NA NA
    S1DoShout-C2 2.4337 NA NA NA
    S2WantCurse-C1 -0.9786 NA NA NA
    S2WantCurse-C2 -1.0587 NA NA NA
    S2DoCurse-C1 -0.1769 NA NA NA
    S2DoCurse-C2 -0.0853 NA NA NA
    S2WantScold-C1 -0.0210 NA NA NA
    S2WantScold-C2 0.1026 NA NA NA
    S2DoScold-C1 0.5078 NA NA NA
    S2DoScold-C2 1.3828 NA NA NA
    S2WantShout-C1 0.5343 NA NA NA
    S2WantShout-C2 1.0933 NA NA NA
    S2DoShout-C1 1.5718 NA NA NA
    S2DoShout-C2 3.2146 NA NA NA
    
    Log-likelihood: -2480 (df = 23)
    Number of iterations in BFGS optimization: 6
    
    >
    > ## 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).
    Error in solve.default(vc) :
     system is computationally singular: reciprocal condition number = 5.92583e-232
    Calls: pcmodel -> solve -> solve.default
    Execution halted
Flavor: r-devel-windows-ix86+x86_64