Code
as_pkgdown(1)
Condition
Error in `as_pkgdown()`:
! `pkg` must be a single string, not the number 1.
Code
as_pkgdown(override = 1)
Condition
Error in `as_pkgdown()`:
! `override` must be a list, not the number 1.
Code
check_bootstrap_version(1, pkg)
Condition
Error:
! template.bootstrap must be 3 or 5, not 1.
i Edit _pkgdown.yml to fix the problem.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.