tests/testthat/orderID.R

library(testthat)
test_that("rp_getOrderId creates a valid id", {
  id <- rp_getOrderId()
  expect_type(id, "character")
})

Try the rPublic package in your browser

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

rPublic documentation built on Aug. 23, 2025, 1:12 a.m.