CRAN Package Check Results for Package corset

Last updated on 2021-12-07 23:54:25 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-4 2.00 46.41 48.41 ERROR
r-devel-linux-x86_64-debian-gcc 0.1-4 1.67 36.63 38.30 OK
r-devel-linux-x86_64-fedora-clang 0.1-4 59.95 OK
r-devel-linux-x86_64-fedora-gcc 0.1-4 61.11 OK
r-devel-windows-x86_64-new-UL 0.1-4 6.00 89.00 95.00 OK
r-devel-windows-x86_64-new-TK 0.1-4 ERROR
r-devel-windows-x86_64-old 0.1-4 5.00 72.00 77.00 ERROR
r-patched-linux-x86_64 0.1-4 1.90 36.26 38.16 OK
r-release-linux-x86_64 0.1-4 2.02 36.18 38.20 OK
r-release-macos-arm64 0.1-4 OK
r-release-macos-x86_64 0.1-4 OK
r-release-windows-ix86+x86_64 0.1-4 4.00 56.00 60.00 OK
r-oldrel-macos-x86_64 0.1-4 OK
r-oldrel-windows-ix86+x86_64 0.1-4 7.00 53.00 60.00 OK

Check Details

Version: 0.1-4
Check: examples
Result: ERROR
    Running examples in 'corset-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: corset
    > ### Title: Arbitrary Bounding of Series and Time Series Objects
    > ### Aliases: corset
    >
    > ### ** Examples
    >
    >
    > ## Comparison of methods ##
    > ###########################
    >
    > x <- ts(sin(seq(-2*pi, pi, 0.3)))
    > x.b.0 <- corset(x,'bezier')
    > x.b.1 <- corset(x,'bezier', proximity = 1)
    > x.e <- corset(x,'exp')
    > x.n <- corset(x,'naive')
    >
    > layout(matrix(c(1,2,1,3),ncol=2))
    > plot(x, type = 'o', lwd = 3, main = 'Partial Bezier [0,Inf)\nproximity = 0/1')
    > lines(x.b.0, col = 'blue', lwd = 3, lty = 1)
    > lines(x.b.1, col = 'blue', lwd = 3, lty = 1)
    > abline(h=0)
    >
    > plot(x, type = 'o', lwd = 3, main = 'Exponential [0,Inf)')
    > lines(x.e, col = 'green', lwd = 3, lty = 1)
    > abline(h=0)
    >
    > plot(x, type = 'o', lwd = 3, main = 'Naive [0,Inf)')
    > lines(x.n, col = 'red', lwd = 3, lty = 1)
    > abline(h=0)
    > layout(1)
    >
    > ## Linear Boundaries Example ##
    > ###############################
    >
    > x <- ts(sin(seq(-5*pi, 5*pi, length.out = 200)))
    > min <- seq(-0.1,-1, length.out = 200)
    > max <- seq(0.1,1, length.out = 200)
    > plot(x, main = 'Partial Bezier\nLinear Boundaries')
    > lines(min, col = 'red')
    > lines(max, col = 'green')
    > lines(corset(x, method = 'bezier',
    + min = min, max = max, proximity = 2),
    + lwd = 3, col = 'blue')
    >
    > ## Centrality Example for forecast object ##
    > ############################################
    >
    > if ('forecast' %in% installed.packages()){
    + layout(matrix(c(1,2,3),ncol=1))
    + f <- forecast::forecast(forecast::ets(ts(33:14 + rep(c(-8,8),10), frequency = 2), 'AAN'),50)
    + plot(f, main = 'forecast object | f'); abline(h=0, lwd = 2)
    + c <- corset(f, centrality = FALSE)
    + plot(c, main = '"Corseted" forecast object | corset(f)')
    + cc <- corset(f, centrality = TRUE)
    + plot(cc, main = '"Corseted" forecast object | corset(f, centrality = TRUE)')
    + layout(1)
    + }
    Error in corset.function(x$mean, min, max, proximity) :
     Boundaries do not have the right length
    Calls: corset ... corset.forecast -> to.ts -> ts -> is.data.frame -> corset.function
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1-4
Check: tests
Result: ERROR
     Running 'testthat.R' [6s/7s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > # file corset/tests/testthat.R
     > # Copyright (C) 2016 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co.
     > # , Inc., Kenilworth, NJ, USA.
     > #
     > # This program is free software: you can redistribute it and/or modify
     > # it under the terms of the GNU General Public License as published by
     > # the Free Software Foundation, either version 3 of the License, or
     > # (at your option) any later version.
     > #
     > # This program is distributed in the hope that it will be useful,
     > # but WITHOUT ANY WARRANTY; without even the implied warranty of
     > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     > # GNU General Public License for more details.
     > #
     > # You should have received a copy of the GNU General Public License
     > # along with this program. If not, see <http://www.gnu.org/licenses/>.
     >
     > Sys.setenv("R_TESTS" = "")
     > library(testthat)
     > test_check("corset")
     Loading required package: corset
     == Skipped tests ===============================================================
     * On CRAN (4)
    
     == Failed tests ================================================================
     -- Error (test-bezier.R:142:3): Corset - class gts/hts ------------------------
     Error in `corset.function(x, min, max, proximity)`: Boundaries do not have the right length
     Backtrace:
     x
     1. \-corset::corset(x, "bezier") test-bezier.R:142:2
     2. \-corset:::apply.corset(corset.bezier)
     3. \-corset:::corset.hts(corset.function)
     4. \-base::apply(...)
     5. \-corset:::FUN(newX[, i], ...)
     6. \-corset:::corset.function(x, min, max, proximity)
     -- Error (test-exp.R:143:3): Corset - class gts/hts ---------------------------
     Error in `corset.function(x, min, max, proximity)`: Boundaries do not have the right length
     Backtrace:
     x
     1. \-corset::corset(x, "exp") test-exp.R:143:2
     2. \-corset:::apply.corset(corset.exp)
     3. \-corset:::corset.hts(corset.function)
     4. \-base::apply(...)
     5. \-corset:::FUN(newX[, i], ...)
     6. \-corset:::corset.function(x, min, max, proximity)
    
     [ FAIL 2 | WARN 0 | SKIP 4 | PASS 21 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1-4
Check: examples
Result: ERROR
    Running examples in 'corset-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: corset
    > ### Title: Arbitrary Bounding of Series and Time Series Objects
    > ### Aliases: corset
    >
    > ### ** Examples
    >
    >
    > ## Comparison of methods ##
    > ###########################
    >
    > x <- ts(sin(seq(-2*pi, pi, 0.3)))
    > x.b.0 <- corset(x,'bezier')
    > x.b.1 <- corset(x,'bezier', proximity = 1)
    > x.e <- corset(x,'exp')
    > x.n <- corset(x,'naive')
    >
    > layout(matrix(c(1,2,1,3),ncol=2))
    > plot(x, type = 'o', lwd = 3, main = 'Partial Bezier [0,Inf)\nproximity = 0/1')
    > lines(x.b.0, col = 'blue', lwd = 3, lty = 1)
    > lines(x.b.1, col = 'blue', lwd = 3, lty = 1)
    > abline(h=0)
    >
    > plot(x, type = 'o', lwd = 3, main = 'Exponential [0,Inf)')
    > lines(x.e, col = 'green', lwd = 3, lty = 1)
    > abline(h=0)
    >
    > plot(x, type = 'o', lwd = 3, main = 'Naive [0,Inf)')
    > lines(x.n, col = 'red', lwd = 3, lty = 1)
    > abline(h=0)
    > layout(1)
    >
    > ## Linear Boundaries Example ##
    > ###############################
    >
    > x <- ts(sin(seq(-5*pi, 5*pi, length.out = 200)))
    > min <- seq(-0.1,-1, length.out = 200)
    > max <- seq(0.1,1, length.out = 200)
    > plot(x, main = 'Partial Bezier\nLinear Boundaries')
    > lines(min, col = 'red')
    > lines(max, col = 'green')
    > lines(corset(x, method = 'bezier',
    + min = min, max = max, proximity = 2),
    + lwd = 3, col = 'blue')
    >
    > ## Centrality Example for forecast object ##
    > ############################################
    >
    > if ('forecast' %in% installed.packages()){
    + layout(matrix(c(1,2,3),ncol=1))
    + f <- forecast::forecast(forecast::ets(ts(33:14 + rep(c(-8,8),10), frequency = 2), 'AAN'),50)
    + plot(f, main = 'forecast object | f'); abline(h=0, lwd = 2)
    + c <- corset(f, centrality = FALSE)
    + plot(c, main = '"Corseted" forecast object | corset(f)')
    + cc <- corset(f, centrality = TRUE)
    + plot(cc, main = '"Corseted" forecast object | corset(f, centrality = TRUE)')
    + layout(1)
    + }
    Error in corset.function(x$mean, min, max, proximity) :
     Boundaries do not have the right length
    Calls: corset ... corset.forecast -> to.ts -> ts -> is.data.frame -> corset.function
    Execution halted
Flavors: r-devel-windows-x86_64-new-TK, r-devel-windows-x86_64-old

Version: 0.1-4
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > # file corset/tests/testthat.R
     > # Copyright (C) 2016 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co.
     > # , Inc., Kenilworth, NJ, USA.
     > #
     > # This program is free software: you can redistribute it and/or modify
     > # it under the terms of the GNU General Public License as published by
     > # the Free Software Foundation, either version 3 of the License, or
     > # (at your option) any later version.
     > #
     > # This program is distributed in the hope that it will be useful,
     > # but WITHOUT ANY WARRANTY; without even the implied warranty of
     > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     > # GNU General Public License for more details.
     > #
     > # You should have received a copy of the GNU General Public License
     > # along with this program. If not, see <http://www.gnu.org/licenses/>.
     >
     > Sys.setenv("R_TESTS" = "")
     > library(testthat)
     > test_check("corset")
     Loading required package: corset
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (4)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-bezier.R:142:3): Corset - class gts/hts ────────────────────────
     Error in `corset.function(x, min, max, proximity)`: Boundaries do not have the right length
     Backtrace:
     █
     1. └─corset::corset(x, "bezier") test-bezier.R:142:2
     2. └─corset:::apply.corset(corset.bezier)
     3. └─corset:::corset.hts(corset.function)
     4. └─base::apply(...)
     5. └─corset:::FUN(newX[, i], ...)
     6. └─corset:::corset.function(x, min, max, proximity)
     ── Error (test-exp.R:143:3): Corset - class gts/hts ───────────────────────────
     Error in `corset.function(x, min, max, proximity)`: Boundaries do not have the right length
     Backtrace:
     █
     1. └─corset::corset(x, "exp") test-exp.R:143:2
     2. └─corset:::apply.corset(corset.exp)
     3. └─corset:::corset.hts(corset.function)
     4. └─base::apply(...)
     5. └─corset:::FUN(newX[, i], ...)
     6. └─corset:::corset.function(x, min, max, proximity)
    
     [ FAIL 2 | WARN 0 | SKIP 4 | PASS 21 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.1-4
Check: tests
Result: ERROR
     Running 'testthat.R' [8s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > # file corset/tests/testthat.R
     > # Copyright (C) 2016 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co.
     > # , Inc., Kenilworth, NJ, USA.
     > #
     > # This program is free software: you can redistribute it and/or modify
     > # it under the terms of the GNU General Public License as published by
     > # the Free Software Foundation, either version 3 of the License, or
     > # (at your option) any later version.
     > #
     > # This program is distributed in the hope that it will be useful,
     > # but WITHOUT ANY WARRANTY; without even the implied warranty of
     > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     > # GNU General Public License for more details.
     > #
     > # You should have received a copy of the GNU General Public License
     > # along with this program. If not, see <http://www.gnu.org/licenses/>.
     >
     > Sys.setenv("R_TESTS" = "")
     > library(testthat)
     > test_check("corset")
     Loading required package: corset
     == Skipped tests ===============================================================
     * On CRAN (4)
    
     == Failed tests ================================================================
     -- Error (test-bezier.R:142:3): Corset - class gts/hts ------------------------
     Error in `corset.function(x, min, max, proximity)`: Boundaries do not have the right length
     Backtrace:
     x
     1. \-corset::corset(x, "bezier") test-bezier.R:142:2
     2. \-corset:::apply.corset(corset.bezier)
     3. \-corset:::corset.hts(corset.function)
     4. \-base::apply(...)
     5. \-corset:::FUN(newX[, i], ...)
     6. \-corset:::corset.function(x, min, max, proximity)
     -- Error (test-exp.R:143:3): Corset - class gts/hts ---------------------------
     Error in `corset.function(x, min, max, proximity)`: Boundaries do not have the right length
     Backtrace:
     x
     1. \-corset::corset(x, "exp") test-exp.R:143:2
     2. \-corset:::apply.corset(corset.exp)
     3. \-corset:::corset.hts(corset.function)
     4. \-base::apply(...)
     5. \-corset:::FUN(newX[, i], ...)
     6. \-corset:::corset.function(x, min, max, proximity)
    
     [ FAIL 2 | WARN 0 | SKIP 4 | PASS 21 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-old