Running ‘testthat.R’ [5s/9s]
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
  [ FAIL 5 | WARN 0 | SKIP 4 | PASS 18 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (4)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-bezier.R:143'): Corset - class gts/hts  ──────────────────────
  `cx` not equal to structure(...).
  Component "bts": Attributes: < Component "class": Lengths (4, 3) differ (string compare on first 3) >
  Component "histy": Attributes: < Component "class": Lengths (4, 3) differ (string compare on first 3) >
  ── Failure ('test-bezier.R:299'): Corset - class mts / ts / matrix  ────────────
  `cx` not equal to structure(...).
  Attributes: < Component "class": Lengths (5, 4) differ (string compare on first 4) >
  Attributes: < Component "class": 1 string mismatch >
  ── Failure ('test-exp.R:144'): Corset - class gts/hts  ─────────────────────────
  `cx` not equal to structure(...).
  Component "bts": Attributes: < Component "class": Lengths (4, 3) differ (string compare on first 3) >
  Component "histy": Attributes: < Component "class": Lengths (4, 3) differ (string compare on first 3) >
  ── Failure ('test-exp.R:299'): Corset - class mts / ts / matrix  ───────────────
  `cx` not equal to structure(...).
  Attributes: < Component "class": Lengths (5, 4) differ (string compare on first 4) >
  Attributes: < Component "class": 1 string mismatch >
  ── Failure ('test-naive.R:147'): Corset - class mts / ts / matrix  ─────────────
  class(cx) not equal to c("mts", "ts", "matrix", "corset").
  Lengths differ: 5 is not 4
  
  [ FAIL 5 | WARN 0 | SKIP 4 | PASS 18 ]
  Error: Test failures
  Execution halted