CRAN Package Check Results for Package BuyseTest

Last updated on 2020-02-27 20:48:20 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.8.4 58.09 186.48 244.57 ERROR
r-devel-linux-x86_64-debian-gcc 1.8.4 48.45 165.18 213.63 ERROR
r-devel-linux-x86_64-fedora-clang 1.8.4 288.58 OK
r-devel-linux-x86_64-fedora-gcc 1.8.4 261.44 OK
r-devel-windows-ix86+x86_64 1.8.4 94.00 182.00 276.00 OK --no-examples --no-tests --no-vignettes
r-devel-windows-ix86+x86_64-gcc8 1.8.4 106.00 129.00 235.00 OK --no-examples --no-tests --no-vignettes
r-patched-linux-x86_64 1.8.4 47.18 157.49 204.67 OK
r-patched-solaris-x86 1.8.4 268.80 OK
r-release-linux-x86_64 1.8.4 50.86 157.78 208.64 OK
r-release-windows-ix86+x86_64 1.8.4 94.00 118.00 212.00 OK --no-examples --no-tests --no-vignettes
r-release-osx-x86_64 1.8.4 NOTE
r-oldrel-windows-ix86+x86_64 1.8.4 87.00 121.00 208.00 OK --no-examples --no-tests --no-vignettes
r-oldrel-osx-x86_64 1.8.4 OK

Check Details

Version: 1.8.4
Check: tests
Result: ERROR
     Running 'testthat.R' [77s/42s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > ## * load packages
     > library(testthat)
     > library(BuyseTest)
     Loading required package: Rcpp
     BuyseTest version 1.8.4
     >
     > library(lava)
    
     Attaching package: 'lava'
    
     The following object is masked from 'package:BuyseTest':
    
     iid
    
     The following object is masked from 'package:testthat':
    
     compare
    
     > library(data.table)
     > library(survival)
     >
     > ## * run tests
     > test_check("BuyseTest")
     -- 1. Error: iid with nuisance parameters: 1 TTE (@test-BuyseTest-iid.R#510) --
     BuyseTest: wrong specification of 'treatment'.
     The corresponding column in 'data' must have exactly 2 levels.
     Proposed levels :
     Backtrace:
     1. BuyseTest::BuyseTest(...)
    
     Generalized pairwise comparisons with 2 prioritized endpoints
    
     > statistic : win ratio (delta: endpoint specific, Delta: global)
     > null hypothesis : Delta == 1
     > confidence level: 0.95
     > inference : bootstrap resampling with 20 samples
     confidence intervals/p-values computed using the quantiles of the empirical distribution
     > treatment groups: 1 (control) vs. 2 (treatment)
     > right-censored pairs: deterministic score or uninformative
     > neutral pairs : ignored at lower priority endpoints
     > uninformative pairs: no contribution at the current endpoint, analyzed at later endpoints
     > results
     endpoint threshold total(%) favorable(%) unfavorable(%) neutral(%) uninf(%)
     time 2e+01 100.00 34.93 44.10 15.00 5.97
     karno 1e-12 20.97 8.40 8.91 3.67 0.00
     delta Delta p.value CI [2.5 ; 97.5]
     0.7922 0.7922 0.80 [0.5135;1.3526]
     0.9426 0.8175 0.75 [0.5639;1.3333]
     Simulation study with BuyseTest
    
     Settings
     - 2 groups : Control = 0 and Treatment = 1
     - 1 endpoint:
     priority endpoint type operator threshold
     1 Y continuous higher is favorable 1e-12
     Estimation of the estimator's distribution
     - method: moments of the U-statistic
     Simulation
     - sample size: 100 (control)
     : 100 (treatment)
     - repetitions: 2
     - cpus : 1
    
     == testthat results ===========================================================
     [ OK: 785 | SKIPPED: 4 | WARNINGS: 1 | FAILED: 1 ]
     1. Error: iid with nuisance parameters: 1 TTE (@test-BuyseTest-iid.R#510)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.8.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [83s/96s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > ## * load packages
     > library(testthat)
     > library(BuyseTest)
     Loading required package: Rcpp
     BuyseTest version 1.8.4
     >
     > library(lava)
    
     Attaching package: 'lava'
    
     The following object is masked from 'package:BuyseTest':
    
     iid
    
     The following object is masked from 'package:testthat':
    
     compare
    
     > library(data.table)
     > library(survival)
     >
     > ## * run tests
     > test_check("BuyseTest")
     ── 1. Error: iid with nuisance parameters: 1 TTE (@test-BuyseTest-iid.R#510) ──
     BuyseTest: wrong specification of 'treatment'.
     The corresponding column in 'data' must have exactly 2 levels.
     Proposed levels :
     Backtrace:
     1. BuyseTest::BuyseTest(...)
    
     Generalized pairwise comparisons with 2 prioritized endpoints
    
     > statistic : win ratio (delta: endpoint specific, Delta: global)
     > null hypothesis : Delta == 1
     > confidence level: 0.95
     > inference : bootstrap resampling with 20 samples
     confidence intervals/p-values computed using the quantiles of the empirical distribution
     > treatment groups: 1 (control) vs. 2 (treatment)
     > right-censored pairs: deterministic score or uninformative
     > neutral pairs : ignored at lower priority endpoints
     > uninformative pairs: no contribution at the current endpoint, analyzed at later endpoints
     > results
     endpoint threshold total(%) favorable(%) unfavorable(%) neutral(%) uninf(%)
     time 2e+01 100.00 34.93 44.10 15.00 5.97
     karno 1e-12 20.97 8.40 8.91 3.67 0.00
     delta Delta p.value CI [2.5 ; 97.5]
     0.7922 0.7922 0.80 [0.5135;1.3526]
     0.9426 0.8175 0.75 [0.5639;1.3333]
     Simulation study with BuyseTest
    
     Settings
     - 2 groups : Control = 0 and Treatment = 1
     - 1 endpoint:
     priority endpoint type operator threshold
     1 Y continuous higher is favorable 1e-12
     Estimation of the estimator's distribution
     - method: moments of the U-statistic
     Simulation
     - sample size: 100 (control)
     : 100 (treatment)
     - repetitions: 2
     - cpus : 1
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 785 | SKIPPED: 4 | WARNINGS: 1 | FAILED: 1 ]
     1. Error: iid with nuisance parameters: 1 TTE (@test-BuyseTest-iid.R#510)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.8.4
Check: installed package size
Result: NOTE
     installed size is 5.2Mb
     sub-directories of 1Mb or more:
     libs 4.2Mb
Flavor: r-release-osx-x86_64