Running ‘testthat.R’ [110s/159s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(stm)
  stm v1.2.2 (2017-03-28) successfully loaded. See ?stm for help.
  > 
  > test_check("stm")
  Building corpus... 
  Converting to Lower Case... 
  Removing punctuation... 
  Removing stopwords... 
  Removing numbers... 
  Stemming... 
  Creating Output... 
  Removed 1098 of 1102 terms (3659 of 4143 tokens) due to sparselevel of 0.8 
  Removing 2 of 4 terms (223 of 377 tokens) due to frequency 
  Removing 117 Documents with No Words 
  Your corpus now has 135 documents, 2 terms and 154 tokens.Loading required package: quanteda
  quanteda version 0.9.9.24
  Using 23 of 24 cores for parallel computing
  
  Attaching package: 'quanteda'
  
  The following object is masked from 'package:utils':
  
      View
  
  The following object is masked from 'package:base':
  
      sample
  
  Building corpus... 
  Converting to Lower Case... 
  Removing punctuation... 
  Removing stopwords... 
  Removing numbers... 
  Stemming... 
  Creating Output... 
  Removing 640 of 1102 terms (640 of 3789 tokens) due to frequency 
  Your corpus now has 341 documents, 462 terms and 3149 tokens.Beginning Initialization.
  .................................................................................................................
  Completed E-Step (0 seconds). 
  Completed M-Step. 
  Completing Iteration 1 (approx. per word bound = -5.526) 
  .................................................................................................................
  Completed E-Step (0 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  Beginning Initialization.
  ....................................................................................................
  Completed E-Step (6 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  Beginning Initialization.
  	 Calculating the gram matrix...
  	 Finding anchor words...
   	...
  	 Recovering initialization...
   	..........................
  Initialization complete.
  ....................................................................................................
  Completed E-Step (5 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  Beginning Initialization.
  	 Calculating the gram matrix...
  	 Finding anchor words...
   	...
  	 Recovering initialization...
   	..........................
  Initialization complete.
  ....................................................................................................
  Completed E-Step (5 seconds). 
  Completed M-Step. 
  Completing Iteration 1 (approx. per word bound = -7.197) 
  ....................................................................................................
  Completed E-Step (4 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  Beginning Initialization.
  	 Calculating the gram matrix...
  	 Finding anchor words...
   	...
  	 Recovering initialization...
   	..........................
  Initialization complete.
  ....................................................................................................
  Completed E-Step (6 seconds). 
  .....................................................................................................
  Completed M-Step (22 seconds). 
  Completing Iteration 1 (approx. per word bound = -7.197) 
  ....................................................................................................
  Completed E-Step (5 seconds). 
  .....................................................................................................
  Completed M-Step (23 seconds). 
  Model Terminated Before Convergence Reached 
  1. Error: plot.STM doesn't throw error  (@test-visualize.R#4) ------------------
  cannot read from connection
  1: load(url("http://goo.gl/VPdxlS")) at testthat/test-visualize.R:4
  
  testthat results ================================================================
  OK: 9 SKIPPED: 0 FAILED: 1
  1. Error: plot.STM doesn't throw error  (@test-visualize.R#4) 
  
  Error: testthat unit tests failed
  Execution halted