Running examples in ‘rusquant-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: getEarnings
> ### Title: Download earnings data from investing.com
> ### Aliases: getEarnings
> 
> ### ** Examples
> 
> getEarnings(from = Sys.Date(),to = Sys.Date()+3,country='Belgium')

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |===================================                                   |  50%
  |                                                                            
  |======================================================================| 100%Error in getEarnings(from = Sys.Date(), to = Sys.Date() + 3, country = "Belgium") : 
  object 'Records_result' not found
Calls: getEarnings -> unique
Execution halted
Running examples in ‘rusquant-Ex.R’ failed
The error most likely occurred in:

> ### Name: getIPO
> ### Title: Get IPO calendar data from Investing.com
> ### Aliases: getIPO
> 
> ### ** Examples
> 
> getIPO(from=Sys.Date(),to=Sys.Date()+3)
Error in getIPO(from = Sys.Date(), to = Sys.Date() + 3) : 
  object 'Records' not found
Execution halted

Running examples in 'treasuryTR-Ex.R' failed
The error most likely occurred in:

> ### Name: total_return
> ### Title: Calculate bond total returns from constant-maturity yield data
> ### Aliases: total_return
> 
> ### ** Examples
> 
> library(dplyr)
> # download US treasury 10Y constant-maturity
> #   yield data and compute a total return series
> t10_yield <- get_yields("DGS10")
An error occurred while accessing the data. Please check your internet connection and try again.
Error in if (is.na(object[1L])) ok <- c(1L, ok) : 
  argument is of length zero
Calls: get_yields -> na.locf0
Execution halted

Namespace in Imports field not imported from: ‘Rdpack’
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘Rdpack’
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘Rdpack’
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘Rdpack’
  All declared Imports should be used.