tests/testthat/test-job.R

test_that("jobs can be run", {
  skip_on_cran()
  encoded <- job(function() { renv_base64_encode("hello") })
  expect_equal(encoded, "aGVsbG8=")
})
rstudio/renv documentation built on Feb. 28, 2025, 12:30 p.m.