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")
# })

Try the rgdax package in your browser

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

rgdax documentation built on Aug. 3, 2021, 9:06 a.m.