Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library("testthat")
  > library("plotmm")
  > 
  > test_check("plotmm")
  number of iterations= 30 
  number of iterations= 24 
  WARNING! NOT CONVERGENT! 
  number of iterations= 1000 
  number of iterations= 491 
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  number of iterations= 579 
  One of the variances is going to zero;  trying new starting values.
  WARNING! NOT CONVERGENT! 
  number of iterations= 1000 
  WARNING! NOT CONVERGENT! 
  number of iterations= 1000 
  WARNING! NOT CONVERGENT! 
  number of iterations= 1000 
  One of the variances is going to zero;  trying new starting values.
  WARNING! NOT CONVERGENT! 
  number of iterations= 1000 
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  WARNING! NOT CONVERGENT! 
  number of iterations= 1000 
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  One of the variances is going to zero;  trying new starting values.
  WARNING! NOT CONVERGENT! 
  number of iterations= 1000 
  number of iterations= 30 
  number of iterations= 24 
  -- 1. Error: plot_mm successfully plots (@test_plot_mm.R#15)  ------------------
  Package "dplyr" needed for this function to work. Please install it.
  Backtrace:
   1. testthat::expect_is(plot_mm(mixmdl, k = num_comps), "ggplot")
   4. plotmm::plot_mm(mixmdl, k = num_comps)
  
  == testthat results  ===========================================================
  [ OK: 14 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: plot_mm successfully plots (@test_plot_mm.R#15) 
  
  Error: testthat unit tests failed
  Execution halted