Assert a package is installed.
Character vector giving the name of a package.
An error if
pkg is not installed or invisible
pkg if it is.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.