This page checks some examples on build process to avoid missing

Examples


obj <- get_series(template_test(), debug = TRUE)
x <- print(obj)
#> 
#> ======================================Rapi_GETPREP=======
#>   status      : ready_to_run
#>   index       : 
#>     UNRATE        #fred (series)
#>     bie_abreserv  #evds (table)
#>     TP.AB.B1      #evds (series)
#>     
#>   start_date  : 2000-01-01
#>   end_date    : 2100-01-01
#>   status [ready_to_run]
#> 
#>  lines$data
#> ===================
#>  ! each line corresponds to a different set of func and data
#>     data can be reached as below
#>         --> obj$lines$data
#>   # A tibble: 3 × 5
#>   index        source base   comments      freq 
#>   <chr>        <chr>  <chr>  <chr>         <chr>
#> 1 UNRATE       fred   series fred (series) null 
#> 2 bie_abreserv evds   table  evds (table)  null 
#> 3 TP.AB.B1     evds   series evds (series) null 
#>  data
#> ===================
#>   (combined) data
#> 
#>     a combined data frame will be constructed
#>     combined data can be reached as
#>         --> obj$data
#>   [no data]
#> 
#> =========================================================
#> 
if (!inherits(x, "Rapi_GETPREP")) {
  stop()
}