CRAN Package Check Results for Package metaSEM

Last updated on 2020-10-25 01:47:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.4 18.17 170.39 188.56 OK
r-devel-linux-x86_64-debian-gcc 1.2.4 14.55 115.59 130.14 OK
r-devel-linux-x86_64-fedora-clang 1.2.4 220.70 OK
r-devel-linux-x86_64-fedora-gcc 1.2.4 200.15 OK
r-devel-windows-ix86+x86_64 1.2.4 33.00 202.00 235.00 OK
r-patched-linux-x86_64 1.2.4 14.96 144.40 159.36 OK
r-patched-solaris-x86 1.2.4 262.30 ERROR
r-release-linux-x86_64 1.2.4 16.38 143.97 160.35 OK
r-release-macos-x86_64 1.2.4 OK
r-release-windows-ix86+x86_64 1.2.4 24.00 128.00 152.00 OK
r-oldrel-macos-x86_64 1.2.4 OK
r-oldrel-windows-ix86+x86_64 1.2.4 30.00 175.00 205.00 OK

Check Details

Version: 1.2.4
Check: examples
Result: ERROR
    Running examples in ‘metaSEM-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: BCG
    > ### Title: Dataset on the Effectiveness of the BCG Vaccine for Preventing
    > ### Tuberculosis
    > ### Aliases: BCG
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > data(BCG)
    >
    > ## Univariate meta-analysis on the log of the odds ratio
    > summary( meta(y=ln_OR, v=v_ln_OR, data=BCG,
    + x=cbind(scale(Latitude,scale=FALSE),
    + scale(Year,scale=FALSE))) )
    
    Call:
    meta(y = ln_OR, v = v_ln_OR, x = cbind(scale(Latitude, scale = FALSE),
     scale(Year, scale = FALSE)), data = BCG)
    
    95% confidence intervals: z statistic approximation (robust=FALSE)
    Coefficients:
     Estimate Std.Error lbound ubound z value Pr(>|z|)
    Intercept1 -0.7166884 NA NA NA NA NA
    Slope1_1 -0.0335019 0.0026635 -0.0387224 -0.0282815 -12.5780 <2e-16 ***
    Slope1_2 -0.0013515 0.0048160 -0.0107906 0.0080876 -0.2806 0.7790
    Tau2_1_1 0.0020944 0.0064334 -0.0105148 0.0147036 0.3256 0.7448
    ---
    Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
    
    Q statistic on the homogeneity of effect sizes: 163.1649
    Degrees of freedom of the Q statistic: 12
    P value of the Q statistic: 0
    
    Explained variances (R2):
     y1
    Tau2 (no predictor) 0.3025
    Tau2 (with predictors) 0.0021
    R2 0.9931
    
    Number of studies (or clusters): 13
    Number of observed statistics: 13
    Number of estimated parameters: 4
    Degrees of freedom: 9
    -2 log likelihood: 13.89208
    OpenMx status1: 6 ("0" or "1": The optimization is considered fine.
    Other values may indicate problems.)
    Warning in print.summary.meta(x) :
     OpenMx status1 is neither 0 or 1. You are advised to 'rerun' it again.
    
    >
    > ## Multivariate meta-analysis on the log of the odds
    > ## The conditional sampling covariance is 0
    > bcg <- meta(y=cbind(ln_Odd_V, ln_Odd_NV), data=BCG,
    + v=cbind(v_ln_Odd_V, cov_V_NV, v_ln_Odd_NV))
    > summary(bcg)
    
    Call:
    meta(y = cbind(ln_Odd_V, ln_Odd_NV), v = cbind(v_ln_Odd_V, cov_V_NV,
     v_ln_Odd_NV), data = BCG)
    
    95% confidence intervals: z statistic approximation (robust=FALSE)
    Coefficients:
     Estimate Std.Error lbound ubound z value Pr(>|z|)
    Intercept1 0.10000000 NA NA NA NA NA
    Intercept2 0.10000000 NA NA NA NA NA
    Tau2_1_1 0.10000000 0.00089175 0.09825221 0.10174779 112.14 < 2.2e-16 ***
    Tau2_2_1 0.10000000 0.00032820 0.09935673 0.10064327 304.69 < 2.2e-16 ***
    Tau2_2_2 0.10000000 0.00098492 0.09806959 0.10193041 101.53 < 2.2e-16 ***
    ---
    Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
    
    Q statistic on the homogeneity of effect sizes: 5270.386
    Degrees of freedom of the Q statistic: 24
    P value of the Q statistic: 0
    
    Heterogeneity indices (based on the estimated Tau2):
     Estimate
    Intercept1: I2 (Q statistic) 0.8593
    Intercept2: I2 (Q statistic) 0.9020
    
    Number of studies (or clusters): 13
    Number of observed statistics: 26
    Number of estimated parameters: 5
    Degrees of freedom: 21
    -2 log likelihood: 2493.203
    OpenMx status1: 6 ("0" or "1": The optimization is considered fine.
    Other values may indicate problems.)
    Warning in print.summary.meta(x) :
     OpenMx status1 is neither 0 or 1. You are advised to 'rerun' it again.
    
    >
    > plot(bcg)
    Warning in .solve(x = [email protected]$calculatedHessian, parameters = my.name) :
     Error in solving the Hessian matrix. Generalized inverse is used. The standard errors may not be trustworthy.
    
    Warning in sqrt(c(x[xind, xind], x[yind, yind])) : NaNs produced
    Error in if (scale[1] > 0) r <- r/scale[1] :
     missing value where TRUE/FALSE needed
    Calls: plot -> plot.meta -> points -> ellipse -> ellipse.default
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.2.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [20s/26s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(metaSEM)
     Loading required package: OpenMx
     To take full advantage of multiple cores, use:
     mxOption(key='Number of Threads', value=parallel::detectCores()) #now
     Sys.setenv(OMP_NUM_THREADS=parallel::detectCores()) #before library(OpenMx)
     "SLSQP" is set as the default optimizer in OpenMx.
     mxOption(NULL, "Gradient algorithm") is set at "central".
     mxOption(NULL, "Optimality tolerance") is set at "6.3e-14".
     mxOption(NULL, "Gradient iterations") is set at "2".
     >
     > test_check("metaSEM")
     ── 1. Failure: metaFIML() works correctly (@test_utilities.R#545) ─────────────
     `coef1a` not equal to `coef1b`.
     5/5 mismatches (average diff: 0.374)
     [1] 0.01560 - 0.1 == -0.0844
     [2] 0.00391 - 0.1 == -0.0961
     [3] 0.59805 - 0.1 == 0.4981
     [4] -0.32955 - 0.1 == -0.4295
     [5] 0.86395 - 0.1 == 0.7639
    
     ── 2. Failure: metaFIML() works correctly (@test_utilities.R#547) ─────────────
     fit1a$mx.fit$output$Minus2LogLikelihood not equal to fit1b$output$Minus2LogLikelihood.
     1/1 mismatches
     [1] -155 - 185 == -341
    
     Error in running mxModel:
     <simpleError: The job for model 'No predictor' exited abnormally with the error message: Non-conformable matrices in horizontal concatenation (cbind). First argument has 4 rows, and argument #2 has 0 rows.>
     ── 3. Failure: metaFIML() works correctly (@test_utilities.R#582) ─────────────
     `v_fit2a` not equal to `v_fit2b`.
     64/64 mismatches (average diff: 6.32e+10)
     [1] 3.05e-12 - -1.15e+10 == 1.15e+10
     [2] -7.15e-13 - 5.76e+09 == -5.76e+09
     [3] -7.15e-13 - 5.76e+09 == -5.76e+09
     [4] -7.15e-13 - 5.76e+09 == -5.76e+09
     [5] -7.15e-13 - -2.79e+11 == 2.79e+11
     [6] -1.17e-12 - 5.76e+09 == -5.76e+09
     [7] -1.17e-12 - 5.76e+09 == -5.76e+09
     [8] -1.43e-14 - 7.04e+07 == -7.04e+07
     [9] -7.15e-13 - 5.76e+09 == -5.76e+09
     ...
    
     Error in running mxModel:
     <simpleError: The job for model 'Meta analysis with FIML' exited abnormally with the error message: Non-conformable matrices in horizontal concatenation (cbind). First argument has 4 rows, and argument #2 has 0 rows.>
     ── 4. Error: metaFIML() works correctly (@test_utilities.R#588) ───────────────
     The job for model 'Meta analysis with FIML' exited abnormally with the error message: Non-conformable matrices in horizontal concatenation (cbind). First argument has 4 rows, and argument #2 has 0 rows.
     Backtrace:
     1. metaSEM::metaFIML(...)
    
     Error: C stack usage 279221396 is too close to the limit
     <simpleError: The job for model 'TSSEM1 Correlation' exited abnormally with the error message: User interrupt>
     ── 5. Error: Handling NA in diagonals in tssem1FEM() correctly (@test_utilities.
     The job for model 'TSSEM1 Correlation' exited abnormally with the error message: User interrupt
     Backtrace:
     1. metaSEM::tssem1(Cov = list(C1, C2, C3), n = c(50, 50, 50), method = "FEM")
     2. metaSEM::tssem1FEM(...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 92 | SKIPPED: 0 | WARNINGS: 2 | FAILED: 5 ]
     1. Failure: metaFIML() works correctly (@test_utilities.R#545)
     2. Failure: metaFIML() works correctly (@test_utilities.R#547)
     3. Failure: metaFIML() works correctly (@test_utilities.R#582)
     4. Error: metaFIML() works correctly (@test_utilities.R#588)
     5. Error: Handling NA in diagonals in tssem1FEM() correctly (@test_utilities.R#644)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86