CRAN Package Check Results for Package tipmap

Last updated on 2022-07-06 16:49:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 2.79 62.21 65.00 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 2.37 44.45 46.82 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 85.14 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 85.27 OK
r-devel-windows-x86_64 0.1.1 14.00 86.00 100.00 OK
r-patched-linux-x86_64 0.1.1 3.55 55.75 59.30 OK
r-release-linux-x86_64 0.1.1 2.55 53.45 56.00 OK
r-release-macos-arm64 0.1.1 22.00 ERROR
r-release-macos-x86_64 0.1.1 34.00 OK
r-release-windows-x86_64 0.1.1 23.00 91.00 114.00 OK
r-oldrel-macos-arm64 0.1.1 23.00 ERROR
r-oldrel-macos-x86_64 0.1.1 35.00 OK
r-oldrel-windows-ix86+x86_64 0.1.1 8.00 85.00 93.00 OK

Additional issues

M1mac noLD

Check Details

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘tipmap-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: createStochasticWeightPosterior
    > ### Title: Average over multiple posteriors created using different
    > ### informative component weights.
    > ### Aliases: createStochasticWeightPosterior
    >
    > ### ** Examples
    >
    >
    > newTrialData <- createNewTrialData(
    + nTotal = 30,
    + treatmentEffectEstimate = 1.27, standardError = 0.95
    + )
    >
    > mapPrior <- loadTipmapData("tipmapPrior.rds")
    >
    > expertWeights <- rbind(
    + c(0, 0, 0, 0, 2, 3, 3, 2, 0, 0),
    + c(0, 0, 0, 1, 2, 4, 2, 1, 0, 0),
    + c(0, 0, 0, 2, 2, 2, 2, 2, 0, 0)
    + )
    >
    > createStochasticWeightPosterior(
    + mapPrior = mapPrior, newTrialData = newTrialData,
    + weights = drawExpertWeightSample(expertWeights, n = 500), sigma = 12
    + )
    Error in SHELF::fitdist(vals = .x$w, probs = .x$cumprobs, lower = 0, upper = 1) :
     probabilities must be between 0 and 1
    Calls: createStochasticWeightPosterior ... fitExpertBetaDistributions -> <Anonymous> -> .f -> <Anonymous>
    Execution halted
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     8. └─SHELF::fitdist(vals = .x$w, probs = .x$cumprobs, lower = 0, upper = 1)
     ── Error (test-getExpertWeightSummary.R:2:3): expert weight summary works ──────
     Error in `SHELF::fitdist(vals = .x$w, probs = .x$cumprobs, lower = 0, upper = 1)`: probabilities must be between 0 and 1
     Backtrace:
     ▆
     1. └─tipmap::getExpertWeightSummary(...) at test-getExpertWeightSummary.R:2:2
     2. └─tipmap::drawExpertWeightSample(expertWeights, n = n, weights = weights)
     3. └─tipmap::fitExpertBetaDistributions(expertWeights)
     4. └─purrr::map(...)
     5. └─tipmap (local) .f(.x[[i]], ...)
     6. └─SHELF::fitdist(vals = .x$w, probs = .x$cumprobs, lower = 0, upper = 1)
    
     [ FAIL 2 | WARN 1 | SKIP 0 | PASS 34 ]
     Error: Test failures
     Execution halted
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64