CRAN Package Check Results for Package marginaleffects

Last updated on 2022-01-17 22:54:42 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 6.86 491.68 498.54 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 3.95 344.10 348.05 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 565.48 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 528.75 OK
r-devel-windows-x86_64-new-UL 0.3.1 551.00 354.00 905.00 OK
r-devel-windows-x86_64-new-TK 0.3.1 ERROR
r-patched-linux-x86_64 0.3.1 5.38 467.17 472.55 OK
r-release-linux-x86_64 0.3.1 OK
r-release-macos-arm64 0.3.1 ERROR
r-release-macos-x86_64 0.3.1 OK
r-release-windows-ix86+x86_64 0.3.1 10.00 397.00 407.00 OK
r-oldrel-macos-x86_64 0.2.0 OK
r-oldrel-windows-ix86+x86_64 0.3.1 10.00 382.00 392.00 OK

Additional issues

M1mac

Check Details

Version: 0.3.1
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking:
     'AER', 'ivreg', 'lme4', 'rstanarm'
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'spelling.R'
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(marginaleffects)
     > library(margins)
     >
     > test_check("marginaleffects")
     Starting 2 test processes
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • AER cannot be loaded (1)
     • On CRAN (8)
     • cmdstanr cannot be loaded (1)
     • gam: marginalmeans != emmeans (1)
     • https://github.com/vincentarelbundock/marginaleffects/issues/160 (2)
     • ivreg cannot be loaded (1)
     • lme4 cannot be loaded (1)
     • rstanarm cannot be loaded (1)
     • unsupported data argument in get_predicted.lrm (1)
     • works interactively (6)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-pkg-MASS.R:198:5): glmmPQL: no validity ─────────────────────────
     Error: Package 'lme4' is required for this function to work.
     Please install it by running install.packages('lme4').
     Backtrace:
     █
     1. └─marginaleffects:::expect_marginaleffects(...)
     2. └─marginaleffects::marginaleffects(object, type = type) C:\r_packages\pkgcheck\CRAN\marginaleffects\marginaleffects.Rcheck\tests\testthat\helper-marginaleffects.R:15:2
     3. └─marginaleffects:::sanitize_vcov(model, vcov)
     4. ├─marginaleffects::get_coef(model)
     5. └─marginaleffects:::get_coef.default(model)
     6. ├─insight::get_parameters(model)
     7. └─insight:::get_parameters.lme(model)
     8. └─insight::check_if_installed("lme4")
     ── Error (test-pkg-estimatr.R:7:5): iv_robust vs. stata ────────────────────────
     <packageNotFoundError/error/condition>
     Error in `find.package(package, lib.loc, verbose = verbose)`: there is no package called 'ivreg'
     Backtrace:
     █
     1. └─utils::data(Kmenta, package = "ivreg")
     2. └─base::find.package(package, lib.loc, verbose = verbose)
     ── Error (test-pkg-estimatr.R:46:5): iv_robust: predictions: no validity ───────
     <packageNotFoundError/error/condition>
     Error in `find.package(package, lib.loc, verbose = verbose)`: there is no package called 'ivreg'
     Backtrace:
     █
     1. └─utils::data(Kmenta, package = "ivreg")
     2. └─base::find.package(package, lib.loc, verbose = verbose)
    
     [ FAIL 3 | WARN 0 | SKIP 23 | PASS 421 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.3.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'contrasts.Rmd' using rmarkdown
    --- finished re-building 'contrasts.Rmd'
    
    --- re-building 'lme4.Rmd' using rmarkdown
    Quitting from lines 38-52 (lme4.Rmd)
    Error: processing vignette 'lme4.Rmd' failed with diagnostics:
    there is no package called 'lme4'
    --- failed re-building 'lme4.Rmd'
    
    --- re-building 'marginalmeans.Rmd' using rmarkdown
    --- finished re-building 'marginalmeans.Rmd'
    
    --- re-building 'mfx.Rmd' using rmarkdown
    Warning: Removed 272 row(s) containing missing values (geom_path).
    Warning: Removed 272 row(s) containing missing values (geom_path).
    --- finished re-building 'mfx.Rmd'
    
    --- re-building 'predictions.Rmd' using rmarkdown
    --- finished re-building 'predictions.Rmd'
    
    --- re-building 'supported_models.Rmd' using rmarkdown
    
    Attaching package: 'data.table'
    
    The following objects are masked from 'package:dplyr':
    
     between, first, last
    
    The following object is masked from 'package:purrr':
    
     transpose
    
    --- finished re-building 'supported_models.Rmd'
    
    SUMMARY: processing the following file failed:
     'lme4.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘spelling.R’ [0s/0s]
     Running ‘testthat.R’ [135s/119s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-pkg-estimatr.R:35:5): lm_robust vs. stata vs. emtrends ────────
     mfx$std.error (`actual`) not equal to em$std.error (`expected`).
    
     `actual`: 0.28195630
     `expected`: 0.28195631
     ── Failure (test-pkg-survey.R:25:5): survey: marginaleffects vs. margins vs. emtrends ──
     mfx$std.error (`actual`) not equal to em$std.error (`expected`).
    
     `actual`: 0.6012278
     `expected`: 0.6012279
    
     [ FAIL 2 | WARN 0 | SKIP 21 | PASS 484 ]
     Error: Test failures
     Execution halted
Flavor: r-release-macos-arm64