brdr()
objects can be passed into set_top_border()
and friends.
They set multiple border properties simultaneously.
brdr(thickness = 0.4, style = "solid", color = NA_character_)
Thickness of the border in points.
"solid" (the default), "double", "dashed" or "dotted".
String representing a valid color (either a color name or a hexadecimalstring like "#00FF00").
An object of class "brdr".
set_bottom_border(jams, brdr(1, "solid", "red"))
#> Type Price Sugar content
#> ──────────────────────────────────────
#> Strawberry 1.90 40.00%
#> ──────────────────────────────────────
#> Raspberry 2.10 35.00%
#> ──────────────────────────────────────
#> Plum 1.80 50.00%
#> ──────────────────────────────────────
#>
#> Column names: Type, Price, Sugar