From 43f9dc378786676fa445f34d8a06fab225da7d2d Mon Sep 17 00:00:00 2001 From: David Gohel Date: Mon, 15 Jul 2024 21:17:21 +0200 Subject: [PATCH] fix: broken links --- DESCRIPTION | 2 +- R/rdocx_document.R | 2 +- man/rdocx/tables.Rmd | 2 +- man/rdocx_document.Rd | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 05f479e..2091f19 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: officedown Type: Package Title: Enhanced 'R Markdown' Format for 'Word' and 'PowerPoint' -Version: 0.3.2.002 +Version: 0.3.2.003 Authors@R: c( person("David", "Gohel", role = c("aut", "cre", "cph"), email = "david.gohel@ardata.fr"), diff --git a/R/rdocx_document.R b/R/rdocx_document.R index 5d567e2..8a99868 100644 --- a/R/rdocx_document.R +++ b/R/rdocx_document.R @@ -140,7 +140,7 @@ get_reference_rdocx <- memoise(get_docx_uncached) #' will be the text (e.g. 'section title'). #' @param page_size,page_margins default page and margins dimensions. If #' not null (the default), these values are used to define the default Word section. -#' See [page_size()] and [page_mar()]. +#' See [officer::page_size()] and [officer::page_mar()]. #' @param ... arguments used by [word_document][rmarkdown::word_document] #' @return R Markdown *output format* to pass to [render][rmarkdown::render]. #' @section Tables: diff --git a/man/rdocx/tables.Rmd b/man/rdocx/tables.Rmd index 7e253f1..1a535a1 100644 --- a/man/rdocx/tables.Rmd +++ b/man/rdocx/tables.Rmd @@ -21,7 +21,7 @@ tables (go to the "References" tab and select menu "Insert Table of Figures"). * `sep`: suffix for numbering chunk (default to ": "). * `tnd`: (only applies if positive. )Inserts the number of the last title of level `tnd` (i.e. 4.3-2 for figure 2 of chapter 4.3). * `tns`: separator to use between title number and table number. Default is "-". - * `fp_text`: text formatting properties to apply to caption prefix - see [fp_text_lite()]. + * `fp_text`: text formatting properties to apply to caption prefix - see [officer::fp_text_lite()]. * `conditional`: a list of named logical values: * `first_row` and `last_row`: apply or remove formatting from the first or last row in the table * `first_column` and `last_column`: apply or remove formatting from the first or last column in the table diff --git a/man/rdocx_document.Rd b/man/rdocx_document.Rd index cb2c4ac..2d1fbe7 100644 --- a/man/rdocx_document.Rd +++ b/man/rdocx_document.Rd @@ -39,7 +39,7 @@ stylename "Normal".} \item{page_size, page_margins}{default page and margins dimensions. If not null (the default), these values are used to define the default Word section. -See \code{\link[=page_size]{page_size()}} and \code{\link[=page_mar]{page_mar()}}.} +See \code{\link[officer:page_size]{officer::page_size()}} and \code{\link[officer:page_mar]{officer::page_mar()}}.} \item{reference_num}{if \code{TRUE}, text for references to sections will be the section number (e.g. '3.2'). If FALSE, text for references to sections @@ -81,7 +81,7 @@ tables (go to the "References" tab and select menu "Insert Table of Figures"). \item \code{sep}: suffix for numbering chunk (default to ": "). \item \code{tnd}: (only applies if positive. )Inserts the number of the last title of level \code{tnd} (i.e. 4.3-2 for figure 2 of chapter 4.3). \item \code{tns}: separator to use between title number and table number. Default is "-". -\item \code{fp_text}: text formatting properties to apply to caption prefix - see \code{\link[=fp_text_lite]{fp_text_lite()}}. +\item \code{fp_text}: text formatting properties to apply to caption prefix - see \code{\link[officer:fp_text]{officer::fp_text_lite()}}. } \item \code{conditional}: a list of named logical values: \itemize{