diff --git a/DESCRIPTION b/DESCRIPTION index b4921ba..b18bd4e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: ftExtra Title: Extensions for 'Flextable' -Version: 0.6.1 -Date: 2023-09-28 +Version: 0.6.3 +Date: 2024-03-31 Authors@R: c(person(given = "Atsushi", family = "Yasumoto", diff --git a/NEWS.md b/NEWS.md index a65ff3c..6d0c43a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,7 +1,11 @@ -# ftExtra 0.6.2 +# ftExtra 0.6.3 * Require **flextable**>=0.9.5 to fix broken `colformat_md` (#101) +# ftExtra 0.6.2 + +* Avoid error from using horizontal rule (#98) + # ftExtra 0.6.1 * Deprecated functions masking the corresponding ones from the **flextable** package (#95) diff --git a/R/footnote.R b/R/footnote.R index 15bdae5..5ad3169 100644 --- a/R/footnote.R +++ b/R/footnote.R @@ -37,7 +37,8 @@ #' } #' #' # Use a user-defined function to format footnote symbols -#' if (rmarkdown::pandoc_available("2.0.6")) { +#' # Skipped to reduce build time +#' if (FALSE) { #' # a function to format symbols of footnote references #' ref <- function(n, part, footer) { #' # Change symbols by context diff --git a/README.Rmd b/README.Rmd index f8a533d..bc7913f 100644 --- a/README.Rmd +++ b/README.Rmd @@ -71,7 +71,7 @@ data.frame( z = c("***~ft~^Extra^** is*", "*Cool*"), stringsAsFactors = FALSE ) %>% - as_flextable() %>% + flextable() %>% colformat_md() ``` @@ -81,7 +81,7 @@ data.frame( ```{r span-header, render = render_html} iris %>% head() %>% - as_flextable() %>% + flextable() %>% span_header() ``` @@ -92,5 +92,5 @@ library(dplyr, warn.conflicts = FALSE) iris %>% group_by(Species) %>% slice(1:2) %>% - as_flextable() + flextable() ``` diff --git a/README.md b/README.md index fb0a951..bdbcdf1 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ data.frame( z = c("***~ft~^Extra^** is*", "*Cool*"), stringsAsFactors = FALSE ) %>% - as_flextable() %>% + flextable() %>% colformat_md() ``` @@ -58,7 +58,7 @@ data.frame( ``` r iris %>% head %>% - as_flextable() %>% + flextable() %>% span_header() ``` @@ -71,7 +71,7 @@ library(dplyr, warn.conflicts = FALSE) iris %>% group_by(Species) %>% slice(1:2) %>% - as_flextable() + flextable() ``` diff --git a/docs/404.html b/docs/404.html index f4ef662..ee06070 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 380372e..6dde3f0 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -17,7 +17,7 @@ diff --git a/docs/LICENSE.html b/docs/LICENSE.html index f07b7c5..2be317c 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -17,7 +17,7 @@ diff --git a/docs/articles/format_columns.html b/docs/articles/format_columns.html index 32392fd..207c187 100644 --- a/docs/articles/format_columns.html +++ b/docs/articles/format_columns.html @@ -33,7 +33,7 @@ @@ -135,12 +135,12 @@