R Under development (unstable) (2024-02-22 r85974 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(Rapi) Loading required package: Rcpp > > > > test_check("Rapi") ============================ API KEY NOT SET fred ============================ you may save your api key such as below ============================================================ # usage example set_api_key( "xyz123456789" , "fred" ) ============================================================ FRED_API_KEY not found Error in die_if_not_api_key_helper(api_key_name) : Error in UseMethod("filter") : no applicable method for 'filter' applied to an object of class "character" Error in seq.default(from = 1, to = nrow(df_)) : 'to' must be of length 1 ============================ API KEY NOT SET evds ============================ you may save your api key such as below ============================================================ # usage example set_api_key( "xyz123456789" , "evds" ) ============================================================ EVDS_API_KEY not found Error in seq.default(from = 1, to = nrow(df_)) : 'to' must be of length 1 ============================ API KEY NOT SET evds ============================ you may save your api key such as below ============================================================ # usage example set_api_key( "xyz123456789" , "evds" ) ============================================================ EVDS_API_KEY not found Error in die_if_not_api_key_helper(api_key_name) : Error in UseMethod("filter") : no applicable method for 'filter' applied to an object of class "character" Error in seq.default(from = 1, to = nrow(df_)) : 'to' must be of length 1 ============================ API KEY NOT SET fred ============================ you may save your api key such as below ============================================================ # usage example set_api_key( "xyz123456789" , "fred" ) ============================================================ FRED_API_KEY not found Error in die_if_not_api_key_helper(api_key_name) : Error in UseMethod("filter") : no applicable method for 'filter' applied to an object of class "character" Error in seq.default(from = 1, to = nrow(df_)) : 'to' must be of length 1 ============================ API KEY NOT SET evds ============================ you may save your api key such as below ============================================================ # usage example set_api_key( "xyz123456789" , "evds" ) ============================================================ EVDS_API_KEY not found Error in seq.default(from = 1, to = nrow(df_)) : 'to' must be of length 1 ============================ API KEY NOT SET evds ============================ you may save your api key such as below ============================================================ # usage example set_api_key( "xyz123456789" , "evds" ) ============================================================ EVDS_API_KEY not found Error in die_if_not_api_key_helper(api_key_name) : Error in UseMethod("filter") : no applicable method for 'filter' applied to an object of class "character" Error in seq.default(from = 1, to = nrow(df_)) : 'to' must be of length 1 While requesting from data sources if you like to use more efficient requests you may choose cache = T in that case Rapi package saves the result of the requests to a temporary folder or any folder you may like. if you like to define another folder manually you may do so by options("Rapi_cache_folder" = "./caches_Rapi" )If you approve the script will create a caches folder in your current working folder 1 - I approve a `caches_Rapi` folder in my current working folder 2 - I would like to go with a temporary folder for this session [D:\temp\RtmpcBNi8b] 3 - No, I do not like any cache option I prefer making a new request every time. ======================================Rapi_GETPREP======= status : ready_to_run index : TP.AB.B1 start_date : 2006/01/30 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: 1 x 5 index source base comments freq 1 TP.AB.B1 evds series " " month data =================== (combined) data a combined data frame will be constructed combined data can be reached as --> obj$data [no data] ========================================================= [ FAIL 0 | WARN 0 | SKIP 0 | PASS 12 ] > > proc.time() user system elapsed 1.23 0.09 13.45