## Testing the environment driver is nice and fast:
if (requireNamespace("testthat")) {
test_driver(function() driver_environment())
}
# To test things like the rds driver, I would run:
## Not run:
# if (requireNamespace("testthat")) {
# test_driver(function() driver_rds(tempfile()))
# }
# ## End(Not run)
Run the code above in your browser using DataLab