tests/testthat/test_current_mps.R

library(parlitools)
context("current_mps")

test_that("current_mps return expected format", {
  skip_on_cran()

  xcm <- current_mps(tidy_style = "camelCase")
  # expect_length(xcm, 29)
  expect_type(xcm, "list")
  expect_true(tibble::is_tibble(xcm))
})

Try the parlitools package in your browser

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

parlitools documentation built on Jan. 13, 2020, 1:11 a.m.