tests/testthat/test-symbols.R

context("test-symbols.R")

test_that("symbols work", {
  skip_on_cran()
  skip_on_travis()
  skip_on_appveyor()

  syms <- fixer_symbols()
  expect_equal(length(syms), 2)
  expect_true("USD" %in% syms$name)
  expect_true(tibble::is.tibble(syms))
})

Try the fixerapi package in your browser

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

fixerapi documentation built on May 2, 2019, 10:32 a.m.