CRAN Package Check Results for Package mdsstat

Last updated on 2019-10-13 10:47:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 4.72 46.70 51.42 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.1 3.79 34.61 38.40 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.1 60.78 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.1 62.16 ERROR
r-devel-windows-ix86+x86_64 0.3.1 10.00 77.00 87.00 ERROR
r-patched-linux-x86_64 0.3.1 4.02 49.01 53.03 ERROR
r-patched-solaris-x86 0.3.1 82.80 ERROR
r-release-linux-x86_64 0.3.1 4.01 44.36 48.37 ERROR
r-release-windows-ix86+x86_64 0.3.1 12.00 59.00 71.00 ERROR
r-release-osx-x86_64 0.3.1 NOTE
r-oldrel-windows-ix86+x86_64 0.3.1 6.00 56.00 62.00 ERROR
r-oldrel-osx-x86_64 0.3.1 NOTE

Check Details

Version: 0.3.1
Check: examples
Result: ERROR
    Running examples in 'mdsstat-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: poisson_maxsprt
    > ### Title: Poisson MaxSPRT
    > ### Aliases: poisson_maxsprt poisson_maxsprt.mds_ts poisson_maxsprt.default
    >
    > ### ** Examples
    >
    > # Basic Example
    > data <- data.frame(time=c(1:25), event=as.integer(stats::rnorm(25, 100, 25)))
    > a1 <- poisson_maxsprt(data)
    Error in while (mu[imax] < T) imax = imax + 1 :
     missing value where TRUE/FALSE needed
    Calls: poisson_maxsprt ... <Anonymous> -> find_N -> faux -> CV.Poisson -> Perror_I
    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: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [13s/15s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     -- 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ----------------------------
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     == testthat results ===========================================================
     [ OK: 967 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/12s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     ── 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ────────────────────────────
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 967 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘mds’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.3.1
Check: examples
Result: ERROR
    Running examples in ‘mdsstat-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: poisson_maxsprt
    > ### Title: Poisson MaxSPRT
    > ### Aliases: poisson_maxsprt poisson_maxsprt.mds_ts poisson_maxsprt.default
    >
    > ### ** Examples
    >
    > # Basic Example
    > data <- data.frame(time=c(1:25), event=as.integer(stats::rnorm(25, 100, 25)))
    > a1 <- poisson_maxsprt(data)
    Error in while (mu[imax] < T) imax = imax + 1 :
     missing value where TRUE/FALSE needed
    Calls: poisson_maxsprt ... <Anonymous> -> find_N -> faux -> CV.Poisson -> Perror_I
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [13s/16s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     ── 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ────────────────────────────
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 967 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [14s/16s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     ── 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ────────────────────────────
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 967 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [13s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     -- 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ----------------------------
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     -- 2. Failure: PRR outputs are as expected (@test_prr.R#39) -------------------
     abs(a1$result$lcl) > 0 isn't true.
    
     -- 3. Failure: PRR outputs are as expected (@test_prr.R#40) -------------------
     abs(a1$result$ucl) > 0 isn't true.
    
     -- 4. Failure: PRR outputs are as expected (@test_prr.R#41) -------------------
     a1$result$ucl > a1$result$lcl isn't true.
    
     -- 5. Failure: PRR outputs are as expected (@test_prr.R#42) -------------------
     a1$result$p > 0 & a1$result$p <= 1 isn't true.
    
     == testthat results ===========================================================
     [ OK: 963 | SKIPPED: 0 | WARNINGS: 2 | FAILED: 5 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
     2. Failure: PRR outputs are as expected (@test_prr.R#39)
     3. Failure: PRR outputs are as expected (@test_prr.R#40)
     4. Failure: PRR outputs are as expected (@test_prr.R#41)
     5. Failure: PRR outputs are as expected (@test_prr.R#42)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [16s/18s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     ── 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ────────────────────────────
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 967 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [20s/25s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     ── 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ────────────────────────────
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 967 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.3.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [11s/12s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     ── 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ────────────────────────────
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 967 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [17s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     -- 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ----------------------------
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     == testthat results ===========================================================
     [ OK: 967 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [13s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(mdsstat)
     >
     > test_check("mdsstat")
     -- 1. Error: (unknown) (@test_poisson_maxsprt.R#6) ----------------------------
     missing value where TRUE/FALSE needed
     1: poisson_maxsprt(data) at testthat/test_poisson_maxsprt.R:6
     2: poisson_maxsprt.default(data)
     3: Sequential::SampleSize.Poisson(alpha = alpha, M = M, RR = RR, power = power, D = D,
     precision = 0.01)
     4: find_N(RRs[i], powers[j])
     5: faux(Tm, D, M, RR, alpha)
     6: CV.Poisson(SampleSize = T, D, M, alpha, Tailed = tai)
     7: Perror_I(LLR)
    
     == testthat results ===========================================================
     [ OK: 967 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test_poisson_maxsprt.R#6)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64