tests/testthat/test-print_vyos_GETPREP.R

test_that("print.Rapi_GETPREP works", {
  expect_equal(
    {
      #   template <- "
      # UNRATE        #fred (series)
      # bie_abreserv  #evds (table)
      # TP.AB.B1      #evds (series)
      #
      #   "
      template <- "
     TP.AB.B1
      "
      a <- get_series(template, freq = "month", start_date = "2006/01/30", debug = T)
      print(a)
      is_Rapi_GETPREP(a)
    },
    T
  )
})

Try the Rapi package in your browser

Any scripts or data that you put into this service are public.

Rapi documentation built on May 29, 2024, 2:34 a.m.