Skip to content

Commit 39c9525

Browse files
committed
update
1 parent 2fa0921 commit 39c9525

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

R/gridify-classes.R

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -626,19 +626,15 @@ gridify <- function(
626626
) {
627627
object <- flextable::gen_grob(object)
628628
} else {
629-
stop(
630-
"Please install flextable >= 0.8.0 to use it in gridify, as it depends on flextable::gen_grob."
631-
)
629+
stop("Please install flextable >= 0.8.0 to use it in gridify, as it depends on flextable::gen_grob.")
632630
}
633631
}
634632

635633
if (inherits(object, "gt_tbl")) {
636634
if (requireNamespace("gt") && (utils::packageVersion("gt") >= "0.11.0")) {
637635
object <- gt::as_gtable(object)
638636
} else {
639-
stop(
640-
"Please install gt >= 0.11.0 to use it in gridify, as it depends on gt::as_gtable."
641-
)
637+
stop("Please install gt >= 0.11.0 to use it in gridify, as it depends on gt::as_gtable.")
642638
}
643639
}
644640

vignettes/simple_examples.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ print(g)
452452
```
453453

454454

455-
## Background colour example
455+
## Background Colour Example
456456

457457
Here is an example of how to set the background colour using the `background` argument in `simple_layout()`. By default, it uses `grid::get.gpar()$fill` (white background). In this example, we set the background colour to `"beige"`.
458458

0 commit comments

Comments
 (0)