CRAN Package Check Results for Package matchMulti

Last updated on 2022-03-05 09:51:31 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.7 18.58 165.92 184.50 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.7 13.15 125.96 139.11 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.9 190.73 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1.9 169.07 NOTE
r-devel-windows-x86_64-new-UL 1.1.7 63.00 201.00 264.00 OK
r-devel-windows-x86_64-new-TK 1.1.7 ERROR
r-patched-linux-x86_64 1.1.7 15.80 148.45 164.25 ERROR
r-release-linux-x86_64 1.1.7 14.88 148.69 163.57 ERROR
r-release-macos-arm64 1.1.9 NOTE
r-release-macos-x86_64 1.1.7 OK
r-release-windows-ix86+x86_64 1.1.7 38.00 178.00 216.00 OK
r-oldrel-macos-x86_64 1.1.7 OK
r-oldrel-windows-ix86+x86_64 1.1.7 38.00 186.00 224.00 OK

Check Details

Version: 1.1.7
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'optmatch'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64-new-TK, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.1.7
Check: examples
Result: ERROR
    Running examples in 'matchMulti-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: matchMulti
    > ### Title: A function that performs multilevel matching.
    > ### Aliases: matchMulti
    >
    > ### ** Examples
    >
    >
    > #toy example with short runtime
    > library(matchMulti)
    >
    > #Load Catholic school data
    > data(catholic_schools)
    >
    > # Trim data to speed up example
    > catholic_schools <- catholic_schools[catholic_schools$female_mean >.45 &
    + catholic_schools$female_mean < .60,]
    >
    > #match on a single covariate
    > student.cov <- c('minority')
    >
    > match.simple <- matchMulti(catholic_schools, treatment = 'sector',
    + school.id = 'school', match.students = FALSE,
    + student.vars = student.cov, verbose=TRUE, tol=.01)
    Warning in callrelax(match.network) :
     Package optmatch (>= 0.9-1) not loaded, so rcbalance could not perform the usual match; returning NULL.
    Error in callrelax(match.network) : object 'cost' not found
    Calls: matchMulti ... matchSchools -> rcbsubset -> <Anonymous> -> callrelax
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.1.7
Check: tests
Result: ERROR
     Running 'testthat.R' [9s/13s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(matchMulti)
     >
     > test_check("matchMulti")
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
    
     == Failed tests ================================================================
     -- Error (test-multilevel.R:17:1): (code run outside of `test_that()`) ---------
     Error in `callrelax(match.network)`: object 'cost' not found
     Backtrace:
     x
     1. \-matchMulti::matchMulti(...) at test-multilevel.R:17:0
     2. \-matchMulti::matchSchools(...)
     3. \-rcbsubset::rcbsubset(dmat, exclude.penalty = penalty, tol = tol)
     4. \-rcbalance::rcbalance(...)
     5. \-rcbalance::callrelax(match.network)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.7
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/12s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(matchMulti)
     >
     > test_check("matchMulti")
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-multilevel.R:17:1): (code run outside of `test_that()`) ─────────
     Error in `callrelax(match.network)`: object 'cost' not found
     Backtrace:
     ▆
     1. └─matchMulti::matchMulti(...) at test-multilevel.R:17:0
     2. └─matchMulti::matchSchools(...)
     3. └─rcbsubset::rcbsubset(dmat, exclude.penalty = penalty, tol = tol)
     4. └─rcbalance::rcbalance(...)
     5. └─rcbalance::callrelax(match.network)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.9
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘optmatch’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.1.9
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘Hmisc’
     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

Version: 1.1.7
Check: examples
Result: ERROR
    Running examples in 'matchMulti-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: matchMulti
    > ### Title: A function that performs multilevel matching.
    > ### Aliases: matchMulti
    >
    > ### ** Examples
    >
    >
    > #toy example with short runtime
    > library(matchMulti)
    >
    > #Load Catholic school data
    > data(catholic_schools)
    >
    > # Trim data to speed up example
    > catholic_schools <- catholic_schools[catholic_schools$female_mean >.45 &
    + catholic_schools$female_mean < .60,]
    >
    > #match on a single covariate
    > student.cov <- c('minority')
    >
    > match.simple <- matchMulti(catholic_schools, treatment = 'sector',
    + school.id = 'school', match.students = FALSE,
    + student.vars = student.cov, verbose=TRUE, tol=.01)
    Warning in callrelax(match.network) :
     Package optmatch (>= 0.9-1) not loaded, so rcbalance could not perform the usual match; returning NULL.
    Error in callrelax(match.network) : object 'cost' not found
    Calls: matchMulti ... matchSchools -> rcbsubset -> <Anonymous> -> callrelax
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 1.1.7
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(matchMulti)
     >
     > test_check("matchMulti")
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-multilevel.R:17:1): (code run outside of `test_that()`) ─────────
     Error in `callrelax(match.network)`: object 'cost' not found
     Backtrace:
     ▆
     1. └─matchMulti::matchMulti(...) at test-multilevel.R:17:0
     2. └─matchMulti::matchSchools(...)
     3. └─rcbsubset::rcbsubset(dmat, exclude.penalty = penalty, tol = tol)
     4. └─rcbalance::rcbalance(...)
     5. └─rcbalance::callrelax(match.network)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 1.1.7
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/9s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(matchMulti)
     >
     > test_check("matchMulti")
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-multilevel.R:17:1): (code run outside of `test_that()`) ─────────
     Error in `callrelax(match.network)`: object 'cost' not found
     Backtrace:
     ▆
     1. └─matchMulti::matchMulti(...) at test-multilevel.R:17:0
     2. └─matchMulti::matchSchools(...)
     3. └─rcbsubset::rcbsubset(dmat, exclude.penalty = penalty, tol = tol)
     4. └─rcbalance::rcbalance(...)
     5. └─rcbalance::callrelax(match.network)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 1.1.7
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/10s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(matchMulti)
     >
     > test_check("matchMulti")
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-multilevel.R:17:1): (code run outside of `test_that()`) ─────────
     Error in `callrelax(match.network)`: object 'cost' not found
     Backtrace:
     ▆
     1. └─matchMulti::matchMulti(...) at test-multilevel.R:17:0
     2. └─matchMulti::matchSchools(...)
     3. └─rcbsubset::rcbsubset(dmat, exclude.penalty = penalty, tol = tol)
     4. └─rcbalance::rcbalance(...)
     5. └─rcbalance::callrelax(match.network)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64