tests/testthat/test_public_info.R

library(rgdax)

# Scope
context("Valid Response Type")

test_that("Products or currencies are returned", {
  expect_equal(class(public_info()), "data.frame")
  expect_equal(class(public_info(FALSE)), "data.frame")
})
JARVIS001011/account documentation built on May 6, 2019, 12:06 p.m.