Running 'testthat.R' [81s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(stm)
  stm v1.3.3 (2018-1-26) successfully loaded. See ?stm for help. 
   Papers, resources, and other materials at structuraltopicmodel.com
  > 
  > 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.Beginning Spectral Initialization 
  	 Calculating the gram matrix...
  	 Finding anchor words...
   	...
  	 Recovering initialization...
   	...........
  Initialization complete.
  .................................................................................................................
  Completed E-Step (0 seconds). 
  Completed M-Step. 
  Completing Iteration 1 (approx. per word bound = -5.753) 
  .................................................................................................................
  Completed E-Step (0 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  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 Spectral Initialization 
  	 Calculating the gram matrix...
  	 Finding anchor words...
   	...
  	 Recovering initialization...
   	....
  Initialization complete.
  .................................................................................................................
  Completed E-Step (0 seconds). 
  Completed M-Step. 
  Completing Iteration 1 (approx. per word bound = -5.622) 
  .................................................................................................................
  Completed E-Step (0 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  Beginning Random Initialization 
  ....................................................................................................
  Completed E-Step (2 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  Beginning Spectral Initialization 
  	 Calculating the gram matrix...
  	 Finding anchor words...
   	...
  	 Recovering initialization...
   	..........................
  Initialization complete.
  ....................................................................................................
  Completed E-Step (2 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  Beginning Spectral Initialization 
  	 Calculating the gram matrix...
  	 Finding anchor words...
   	...
  	 Recovering initialization...
   	..........................
  Initialization complete.
  ....................................................................................................
  Completed E-Step (2 seconds). 
  Completed M-Step. 
  Completing Iteration 1 (approx. per word bound = -7.197) 
  ....................................................................................................
  Completed E-Step (2 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  Beginning Spectral Initialization 
  	 Calculating the gram matrix...
  	 Finding anchor words...
   	...
  	 Recovering initialization...
   	..........................
  Initialization complete.
  ....................................................................................................
  Completed E-Step (3 seconds). 
  .....................................................................................................
  Completed M-Step (13 seconds). 
  Completing Iteration 1 (approx. per word bound = -7.197) 
  ....................................................................................................
  Completed E-Step (2 seconds). 
  .....................................................................................................
  Completed M-Step (12 seconds). 
  Model Terminated Before Convergence Reached 
  Beginning Random Initialization 
  ....................................................................................................
  Completed Group 2 E-Step (1 seconds). 
  ....................................................................................................
  Completed Group 1 E-Step (1 seconds). 
  Completed M-Step. 
  Completing Iteration 1 (approx. per word bound = -10.359) 
  ....................................................................................................
  Completed Group 1 E-Step (1 seconds). 
  Completed M-Step. 
  ....................................................................................................
  Completed Group 2 E-Step (1 seconds). 
  Completed M-Step. 
  Model Terminated Before Convergence Reached 
  -- 1. Error: plot.STM doesn't throw error  (@test-visualize.R#4)  --------------
  cannot open the connection
  1: load(url("http://goo.gl/VPdxlS")) at testthat/test-visualize.R:4
  
  == testthat results  ===========================================================
  OK: 10 SKIPPED: 0 FAILED: 1
  1. Error: plot.STM doesn't throw error  (@test-visualize.R#4) 
  
  Error: testthat unit tests failed
  Execution halted