name
and bootswatch
are providedCode
resolve_bs_preset(preset = "name", bootswatch = "bootswatch")
Condition
Error in `resolve_bs_preset()`:
! Only one of `preset` or `bootswatch` may be provided (`preset` is the preferred choice).
i Did you mean one of the following options?
* `preset = "name"`
* `preset = "bootswatch"`
* `bootswatch = "bootswatch"`
name
or bootswatch
are not scalar stringsCode
resolve_bs_preset(preset = c("a", "b"))
Condition
Error in `resolve_bs_preset()`:
! The preset theme `preset` must be a single character string.
x Bad: `preset = c("flatly", "darkly")`
v Good: `preset = "flatly"`
Code
resolve_bs_preset(bootswatch = c("a", "b"))
Condition
Error in `resolve_bs_preset()`:
! The preset theme `bootswatch` must be a single character string.
x Bad: `bootswatch = c("flatly", "darkly")`
v Good: `bootswatch = "flatly"`
name
or bootswatch
don't match existing presetsCode
resolve_bs_preset(preset = "not_a_preset", version = 4)
Condition
Error in `resolve_bs_preset()`:
! 'not_a_preset' is not a known preset theme name for Bootstrap version 4.
i You can list available preset themes:
* Built-in: `builtin_themes(4)`
* Bootswatch: `bootswatch_themes(4)`.
Code
resolve_bs_preset(bootswatch = "not_a_preset", version = 4)
Condition
Error in `resolve_bs_preset()`:
! 'not_a_preset' is not a known preset theme name for Bootstrap version 4.
i You can list available preset themes:
* Built-in: `builtin_themes(4)`
* Bootswatch: `bootswatch_themes(4)`.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.