inst/tests/test-C2M.R

context("month codes")

test_that("C2M", {
  expect_identical(unname(C2M()), month.abb)
  expect_identical(names(C2M()), 
                   c("F", "G", "H", "J", "K", "M", "N", "Q", "U", "V", "X", "Z"))
})

Try the FinancialInstrument package in your browser

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

FinancialInstrument documentation built on May 2, 2019, 5:24 p.m.