optimx::fun()
NULL
use_vignette('hist_with_fit') ✔ Adding 'knitr' to Suggests field in DESCRIPTION ✔ Setting VignetteBuilder field in DESCRIPTION to 'knitr' ✔ Adding 'rmarkdown' to Suggests field in DESCRIPTION ✔ Creating 'vignettes/' ✔ Adding '.html', '.R' to 'vignettes/.gitignore' ✔ Adding 'inst/doc' to './.gitignore' ✔ Creating 'vignettes/hist_with_fit.Rmd' ● Modify 'vignettes/hist_with_fit.Rmd'
adding importFrom("methods", "show") importFrom("methods", "show") and ensure that your DESCRIPTION Imports field contains 'methods'). Did that, as explained here to avoid error https://stackoverflow.com/questions/13085481/namespace-dependencies-not-required
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.