Running ‘test-all.R’ [22s/33s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > 
  > suppressWarnings(RNGversion("3.5.0"))
  > 
  > test_check('ggfortify')
  Loading required package: ggfortify
  Loading required package: ggplot2
  ── ERROR (test-MSwM.R:8:3): fortify.MSwM works for sample data ─────────────────
  Error: Lapack routine dgesv: system is exactly singular: U[4,4] = 0
  Backtrace:
      █
   1. ├─MSwM::msmFit(...) test-MSwM.R:8:2
   2. └─MSwM::msmFit(...)
   3.   ├─MSwM:::em(ans, control)
   4.   └─MSwM:::em(ans, control)
   5.     ├─MSwM:::hessian(object)
   6.     └─MSwM:::hessian(object)
   7.       ├─base::diag(solve(res$Hessian))
   8.       ├─base::solve(res$Hessian)
   9.       └─base::solve.default(res$Hessian)
  
  ── Skip (test-backcompat.R:2:3): deprecated in v0.0.2:: matrix.scale ───────────
  Reason: On CRAN
  
  ── Skip (test-base-infer.R:4:3): infer works for MDS-likes ─────────────────────
  Reason: On CRAN
  
  ── Skip (test-base-infer.R:17:3): fortify works for MDS-likes ──────────────────
  Reason: On CRAN
  
  ── Skip (test-base-infer.R:51:3): infer, fortify and autoplot works for dlm::dlm
  Reason: On CRAN
  
  ── Skip (test-base-infer.R:100:3): infer, fortify and autoplot works for KFAS::s
  Reason: On CRAN
  
  ── Skip (test-base.R:4:3): fortify.table works for Titanic ─────────────────────
  Reason: On CRAN
  
  ── Skip (test-base.R:12:3): fortify.matrix works ───────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-base_ts.R:4:3): fortify.ts works for timeserieses ────────────────
  Reason: On CRAN
  
  ── Skip (test-basis.R:6:5): fortify.basis and autoplot.basis work for ns and bs 
  Reason: On CRAN
  
  ── Skip (test-changepoint.R:4:3): fortify.cpt works for AirPassengers ──────────
  Reason: On CRAN
  
  ── Skip (test-changepoint.R:49:3): fortify.breakpoints works for Nile ──────────
  Reason: On CRAN
  
  ── Skip (test-cluster.R:4:3): fortify.kmeans works for iris ────────────────────
  Reason: On CRAN
  
  ── Skip (test-cluster.R:27:3): fortify.partition works for iris ────────────────
  Reason: On CRAN
  
  ── Skip (test-cluster.R:81:3): fortify.partition works for USArrests ───────────
  Reason: On CRAN
  
  ── Skip (test-cluster.R:127:3): fortify.silhouette works ───────────────────────
  Reason: On CRAN
  
  ── Skip (test-cluster.R:148:3): autoplot.kmeans works for iris ─────────────────
  Reason: On CRAN
  
  ── Skip (test-cluster.R:167:3): autoplot.silhouette works ──────────────────────
  Reason: On CRAN
  
  ── Skip (test-forecast.R:4:3): fortify.forecast works for AirPassengers ────────
  Reason: On CRAN
  
  ── Skip (test-forecast.R:45:3): fortify.arfima works for austres ───────────────
  Reason: On CRAN
  
  ── Skip (test-forecast.R:66:3): fortify.ets works for UKgas ────────────────────
  Reason: On CRAN
  
  ── Skip (test-forecast.R:82:3): fortify.bats works for UKgas ───────────────────
  Reason: On CRAN
  
  ── Skip (test-forecast.R:98:3): fortify.ets works for austres ──────────────────
  Reason: On CRAN
  
  ── Skip (test-forecast.R:117:3): fortify.bats works for austres ────────────────
  Reason: On CRAN
  
  ── Skip (test-forecast.R:133:3): fortify.forecast works for AirPassengers ──────
  Reason: On CRAN
  
  ── Skip (test-forecast.R:160:3): fortify.ets works for AirPassengers ───────────
  Reason: On CRAN
  
  ── Skip (test-plotlib.R:4:3): Check ggmultiplot arithmetics ────────────────────
  Reason: On CRAN
  
  ── Skip (test-plotlib.R:26:3): Check ggmultiplot extraction ────────────────────
  Reason: On CRAN
  
  ── Skip (test-plotlib.R:98:3): Check ggmultiplot multiple instances ────────────
  Reason: On CRAN
  
  ── Skip (test-plotlib.R:128:3): Check get.layout works ─────────────────────────
  Reason: On CRAN
  
  ── Skip (test-plotlib.R:150:3): Check geom_factory works ───────────────────────
  Reason: On CRAN
  
  ── Skip (test-plotlib.R:215:3): Check autoplot works for list of ggplot ────────
  Reason: On CRAN
  
  ── Skip (test-plotlib.R:226:3): Check autoplot works for list of ggpmultilot ───
  Reason: On CRAN
  
  ── Warning (test-spatial.R:16:3): test fortify.SpatialPoints ───────────────────
  `rename_()` is deprecated as of dplyr 0.7.0.
  Please use `rename()` instead.
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  
  ── Skip (test-stats-lm.R:7:3): fortify.lm works for USArrests ──────────────────
  Reason: On CRAN
  
  ── Skip (test-stats-lm.R:27:3): autoplot.lm can accept + operator ──────────────
  Reason: On CRAN
  
  ── Skip (test-stats-lm.R:40:3): autoplot.lm works for USArrests ────────────────
  Reason: On CRAN
  
  ── Skip (test-stats-lm.R:202:3): autoplot.lm works for binomial ────────────────
  Reason: On CRAN
  
  ── Skip (test-stats-lm.R:363:3): autoplot.lm works for polynomial fit ──────────
  Reason: On CRAN
  
  ── Skip (test-stats-lm.R:526:3): autoplot.lm works with factors ────────────────
  Reason: On CRAN
  
  ── Skip (test-stats-lm.R:546:3): autoplot.lm works with characters ─────────────
  Reason: On CRAN
  
  ── Skip (test-stats-lm.R:561:3): autoplot.lm can be used in ggsave() ───────────
  Reason: On CRAN
  
  ── Skip (test-stats-lm.R:570:3): fortify.lm works with AsIs response ───────────
  Reason: On CRAN
  
  ── Warning (test-stats.R:67:3): fortify.Arima works for AirPassengers ──────────
  Using formula(x) is deprecated when x is a character vector of length > 1.
    Consider formula(paste(x, collapse = " ")) instead.
  
  ── Warning (test-stats.R:104:3): fortify.prcomp works for iris ─────────────────
  `select_()` is deprecated as of dplyr 0.7.0.
  Please use `select()` instead.
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  
  ── Skip (test-stats.R:220:3): autoplot.prcomp works for iris with scale (default
  Reason: On CRAN
  
  ── Skip (test-stats.R:317:3): autoplot.prcomp works for iris without scale ─────
  Reason: On CRAN
  
  ── Skip (test-stats.R:418:3): autoplot.prcomp works for USArrests ──────────────
  Reason: On CRAN
  
  ── Skip (test-stats.R:493:3): autoplot.prcomp plots the desired components ─────
  Reason: On CRAN
  
  ── Skip (test-stats.R:520:3): autoplot.princomp plots the desired components ───
  Reason: On CRAN
  
  ── Skip (test-stats.R:580:3): fortify.lfda works for iris ──────────────────────
  Reason: On CRAN
  
  ── Skip (test-stats.R:597:3): autoplot.lfda works for iris ─────────────────────
  Reason: On CRAN
  
  ── Warning (test-stats.R:609:3): autoplot.acf works ────────────────────────────
  `mutate_()` is deprecated as of dplyr 0.7.0.
  Please use `mutate()` instead.
  See vignette('programming') for more help
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  
  ── Warning (test-surv.R:208:3): fortify.aareg works for lung ───────────────────
  `group_by_()` is deprecated as of dplyr 0.7.0.
  Please use `group_by()` instead.
  See vignette('programming') for more help
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  
  ── Skip (test-surv.R:238:3): autoplot.aareg works for lung ─────────────────────
  Reason: On CRAN
  
  ── Warning (test-tslib.R:85:3): ggfreqplot ─────────────────────────────────────
  `summarise_()` is deprecated as of dplyr 0.7.0.
  Please use `summarise()` instead.
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  
  ── Warning (test-util.R:32:3): post_fortify ────────────────────────────────────
  `data_frame()` is deprecated as of tibble 1.1.0.
  Please use `tibble()` instead.
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  
  ── Warning (test-vars.R:24:3): vars.varpred works for Canada ───────────────────
  `filter_()` is deprecated as of dplyr 0.7.0.
  Please use `filter()` instead.
  See vignette('programming') for more help
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  
  ── Skip (test_lint.R:3:3): Code Lint ───────────────────────────────────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (50)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-MSwM.R:8:3): fortify.MSwM works for sample data
  Warning (test-spatial.R:16:3): test fortify.SpatialPoints
  Warning (test-stats.R:67:3): fortify.Arima works for AirPassengers
  Warning (test-stats.R:104:3): fortify.prcomp works for iris
  Warning (test-stats.R:609:3): autoplot.acf works
  Warning (test-surv.R:208:3): fortify.aareg works for lung
  Warning (test-tslib.R:85:3): ggfreqplot
  Warning (test-util.R:32:3): post_fortify
  Warning (test-vars.R:24:3): vars.varpred works for Canada
  
  [ FAIL 1 | WARN 8 | SKIP 50 | PASS 734 ]
  Error: Test failures
  Execution halted