diff --git a/build-cran.R b/build-cran.R index 162eb188..09bf8c6e 100755 --- a/build-cran.R +++ b/build-cran.R @@ -99,8 +99,8 @@ system("touch inst/doc/*") # Ensure there's a vignette index in build/vignettes.rds # NB NOT Meta/vignettes.rds! devtools::build_vignettes() will put it there, # you can move it -system("mv meta/vignette.rds build") -system("rmdir meta") +system("mv Meta/vignette.rds build") +system("rmdir Meta") # Build a version for CRAN: pkgbuild::build(clean_doc = FALSE, manual = TRUE, vignettes = FALSE) # Check you have build/vignettes.rds in the tarfile diff --git a/man/dplyr-verbs.Rd b/man/dplyr-verbs.Rd index 76b044f9..5ef2536e 100644 --- a/man/dplyr-verbs.Rd +++ b/man/dplyr-verbs.Rd @@ -6,7 +6,7 @@ \alias{dplyr-verbs} \title{Use dplyr verbs with huxtable objects} \usage{ -mutate.huxtable(.data, ..., copy_cell_props = TRUE) +\method{mutate}{huxtable}(.data, ..., copy_cell_props = TRUE) } \arguments{ \item{.data}{A huxtable.} diff --git a/man/huxtable-news.Rd b/man/huxtable-news.Rd index 8adf7678..08947705 100644 --- a/man/huxtable-news.Rd +++ b/man/huxtable-news.Rd @@ -7,7 +7,7 @@ \description{ This help page simply gives the contents of NEWS.md. } -\section{huxtable (development version)}{ +\section{huxtable 5.5.3}{ \itemize{ \item Bugfix: disable quarto styling on HTML tables. You can reenable quarto processing with \code{options(huxtable.quarto_process = TRUE)}. diff --git a/vignettes/huxtable.Rmd b/vignettes/huxtable.Rmd index cde95938..34bef3d9 100644 --- a/vignettes/huxtable.Rmd +++ b/vignettes/huxtable.Rmd @@ -27,20 +27,20 @@ library(knitr) library(dplyr) library(huxtable) options( - huxtable.latex_use_fontspec = TRUE, #!CRAN +# huxtable.latex_use_fontspec = TRUE, #!CRAN huxtable.knit_print_df = FALSE, huxtable.add_colnames = TRUE # needed when run by testthat ) is_latex <- guess_knitr_output_format() == "latex" -# is_latex <- TRUE # !CRAN -knitr::knit_hooks$set( # !CRAN - barrier = function(before, options, envir) { # !CRAN - if (! before && is_latex) knitr::asis_output("\\FloatBarrier") # !CRAN - } # !CRAN -) # !CRAN - -if (is_latex) knitr::opts_chunk$set(barrier = TRUE) # !CRAN +# # is_latex <- TRUE # !CRAN +# knitr::knit_hooks$set( # !CRAN +# barrier = function(before, options, envir) { # !CRAN +# if (! before && is_latex) knitr::asis_output("\\FloatBarrier") # !CRAN +# } # !CRAN +# ) # !CRAN +# +# if (is_latex) knitr::opts_chunk$set(barrier = TRUE) # !CRAN ```