Running ‘testthat.R’ [5s/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:
      █
   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