tests/testthat/test-utils.R

test_that("it should shift vectors", {
  expect_equal(shift(1:3), c(NA, 1, 2))
})

Try the fixedincome package in your browser

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

fixedincome documentation built on July 9, 2023, 7:28 p.m.