tests/testthat/_snaps/namespace.md

unload() removes package environments from search

Code
  (expect_error(asNamespace("testNamespace")))
Output
  <packageNotFoundError in loadNamespace(name): there is no package called 'testNamespace'>


Try the pkgload package in your browser

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

pkgload documentation built on June 28, 2024, 5:07 p.m.