Running ‘testthat.R’ [2s/168s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(alphavantager)
  > 
  > test_check("alphavantager")
  1. Error: call TIMES_SERIES_INTRADAY (@test_av_get.R#22) -----------------------
  <!DOCTYPE html>
  	<html>
  	  <head>
  		<meta name="viewport" content="width=device-width, initial-scale=1">
  		<meta charset="utf-8">
  		<title>Application 0;
  			padding: 0;
  		  }
  		  html,body {
  			height: 100%;
  			overflow: hidden;
  		  }
  		  iframe {
  			width: 100%;
  			height: 100%;
  			border: 0;
  		  }
  		</style>
  	  </head>
  	  <body>
  		<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
  	  </body>
  	</html>
  1: av_get(symbol, av_fun) at testthat/test_av_get.R:22
  2: stop(httr::content(response, as = "text"), call. = FALSE)
  
  2. Error: call SECTOR (@test_av_get.R#38) --------------------------------------
  <!DOCTYPE html>
  	<html>
  	  <head>
  		<meta name="viewport" content="width=device-width, initial-scale=1">
  		<meta charset="utf-8">
  		<title>Application 0;
  			padding: 0;
  		  }
  		  html,body {
  			height: 100%;
  			overflow: hidden;
  		  }
  		  iframe {
  			width: 100%;
  			height: 100%;
  			border: 0;
  		  }
  		</style>
  	  </head>
  	  <body>
  		<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
  	  </body>
  	</html>
  1: av_get(symbol, av_fun) at testthat/test_av_get.R:38
  2: stop(httr::content(response, as = "text"), call. = FALSE)
  
  3. Error: call Technical Indicators (@test_av_get.R#57) ------------------------
  <!DOCTYPE html>
  	<html>
  	  <head>
  		<meta name="viewport" content="width=device-width, initial-scale=1">
  		<meta charset="utf-8">
  		<title>Application 0;
  			padding: 0;
  		  }
  		  html,body {
  			height: 100%;
  			overflow: hidden;
  		  }
  		  iframe {
  			width: 100%;
  			height: 100%;
  			border: 0;
  		  }
  		</style>
  	  </head>
  	  <body>
  		<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
  	  </body>
  	</html>
  1: av_get(symbol, av_fun, interval = interval, time_period = time_period, series_type = series_type) at testthat/test_av_get.R:57
  2: stop(httr::content(response, as = "text"), call. = FALSE)
  
  testthat results ================================================================
  OK: 5 SKIPPED: 0 FAILED: 3
  1. Error: call TIMES_SERIES_INTRADAY (@test_av_get.R#22) 
  2. Error: call SECTOR (@test_av_get.R#38) 
  3. Error: call Technical Indicators (@test_av_get.R#57) 
  
  Error: testthat unit tests failed
  Execution halted