CRAN Package Check Results for Package partR2

Last updated on 2023-03-20 05:52:19 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.1 OK
r-devel-linux-x86_64-debian-gcc 0.9.1 4.22 48.26 52.48 ERROR
r-devel-linux-x86_64-fedora-clang 0.9.1 317.36 NOTE
r-devel-linux-x86_64-fedora-gcc 0.9.1 321.91 NOTE
r-patched-linux-x86_64 0.9.1 5.11 255.49 260.60 OK
r-release-linux-x86_64 0.9.1 4.47 259.18 263.65 OK
r-release-macos-arm64 0.9.1 60.00 NOTE
r-release-macos-x86_64 0.9.1 108.00 NOTE
r-release-windows-x86_64 0.9.1 29.00 298.00 327.00 OK
r-oldrel-macos-arm64 0.9.1 82.00 NOTE
r-oldrel-macos-x86_64 0.9.1 110.00 NOTE
r-oldrel-windows-ix86+x86_64 0.9.1 11.00 315.00 326.00 OK

Check Details

Version: 0.9.1
Check: examples
Result: ERROR
    Running examples in ‘partR2-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: mergeR2
    > ### Title: Merge partR2 objects to combine R2s for main effects and
    > ### interactions
    > ### Aliases: mergeR2
    >
    > ### ** Examples
    >
    >
    > data(biomass)
    > library(lme4)
    Loading required package: Matrix
    >
    > # scale data
    > biomass[] <- lapply(biomass, function(x) if (is.double(x)) scale(x) else x)
    >
    > # Full model
    > mod_full <- lmer(Biomass ~ Year + Temperature * Precipitation + SpeciesDiversity + (1|Population),
    + data = biomass)
    > # Semi-partial R2 for interaction and all other predictors of interest
    > (R2_full <- partR2(mod_full, partvars = c("Temperature:Precipitation", "SpeciesDiversity", "Year"),
    + data = biomass))
    Error in vectbl_assign(x[[j]], i, recycled_value[[j]]) :
     DLL requires the use of native symbols
    Calls: partR2 ... tbl_subassign_row -> withCallingHandlers -> vectbl_assign
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [11s/18s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(partR2)
     > test_check("partR2")
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 65 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_bootstrap.R:22:1'): (code run outside of `test_that()`) ────────
     Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
     Backtrace:
     ▆
     1. └─partR2:::bootstrap_all(...) at test_bootstrap.R:22:0
     2. └─pbapply::pblapply(...)
     3. └─base::lapply(X, FUN, ...)
     4. └─purrr (local) FUN(X[[i]], ...)
     5. ├─purrr:::capture_output(.f(...))
     6. │ └─base::withCallingHandlers(code, warning = wHandler, message = mHandler)
     7. └─partR2 (local) .f(...)
     8. └─partR2:::get_bw(mod_iter)
     9. ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
     10. └─tibble:::`[<-.tbl_df`(...)
     11. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
     12. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
     13. ├─base::withCallingHandlers(...)
     14. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
     ── Error ('test_combinations.R:49:1'): (code run outside of `test_that()`) ─────
     Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
     Backtrace:
     ▆
     1. └─partR2::partR2(...) at test_combinations.R:49:0
     2. └─partR2:::get_bw(mod)
     3. ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
     4. └─tibble:::`[<-.tbl_df`(...)
     5. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
     6. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
     7. ├─base::withCallingHandlers(...)
     8. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
     ── Error ('test_merging.R:18:1'): (code run outside of `test_that()`) ──────────
     Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
     Backtrace:
     ▆
     1. └─partR2::partR2(...) at test_merging.R:18:0
     2. └─partR2:::get_bw(mod)
     3. ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
     4. └─tibble:::`[<-.tbl_df`(...)
     5. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
     6. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
     7. ├─base::withCallingHandlers(...)
     8. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
     ── Error ('test_methods.R:11:1'): (code run outside of `test_that()`) ──────────
     Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
     Backtrace:
     ▆
     1. └─partR2::partR2(mod, data = biomass, R2_type = "marginal", CI = 0.95) at test_methods.R:11:0
     2. └─partR2:::get_bw(mod)
     3. ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
     4. └─tibble:::`[<-.tbl_df`(...)
     5. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
     6. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
     7. ├─base::withCallingHandlers(...)
     8. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
     ── Error ('test_partR2.R:17:3'): partR2 works for some special cases ───────────
     Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
     Backtrace:
     ▆
     1. └─partR2::partR2(...) at test_partR2.R:17:2
     2. └─partR2:::get_bw(mod)
     3. ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
     4. └─tibble:::`[<-.tbl_df`(...)
     5. └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
     6. └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
     7. ├─base::withCallingHandlers(...)
     8. └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
    
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 65 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.1
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘Using_partR2.Rmd’ using rmarkdown
    Quitting from lines 76-78 (Using_partR2.Rmd)
    Error: processing vignette ‘Using_partR2.Rmd’ failed with diagnostics:
    DLL requires the use of native symbols
    --- failed re-building ‘Using_partR2.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘Using_partR2.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘methods’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64