Code
config_pluck_character(pkg, "x")
Condition
Error:
! x must be a character vector, not the number 1.
i Edit _pkgdown.yml to fix the problem.
Code
config_pluck_string(pkg, "x")
Condition
Error:
! x must be a string, not the number 1.
i Edit _pkgdown.yml to fix the problem.
Code
config_check_list_(1, has_names = "x")
Condition
Error in `config_check_list_()`:
! path must be a list, not the number 1.
i Edit _pkgdown.yml to fix the problem.
Code
config_check_list_(list(x = 1, y = 1), has_names = c("y", "z"))
Condition
Error in `config_check_list_()`:
! path must have components "y" and "z".
1 missing component: "z".
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.