From af86e0ed5eecf6d9e7a1e6a52020d6a0f88c3e9f Mon Sep 17 00:00:00 2001 From: chainsawriot Date: Tue, 5 Nov 2024 12:48:14 +0100 Subject: [PATCH] Fix doc So that it prevents the WARN generated by the devel version of R ``` Found the following Rd file(s) with Rd \link{} targets missing package anchors: readtext.Rd: fread Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. ``` --- DESCRIPTION | 2 +- R/readtext.R | 2 +- man/readtext.Rd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b2afd9d..8c9eb1b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -42,5 +42,5 @@ Encoding: UTF-8 BugReports: https://github.com/quanteda/readtext/issues LazyData: TRUE VignetteBuilder: knitr -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 Roxygen: list(markdown = TRUE) diff --git a/R/readtext.R b/R/readtext.R index de5069f..00b7ea4 100644 --- a/R/readtext.R +++ b/R/readtext.R @@ -92,7 +92,7 @@ #' \item 3: output detailed file-related messages #' } #' @param ... additional arguments passed through to low-level file reading -#' function, such as [file()], [fread()], etc. Useful +#' function, such as [file()], [data.table::fread()], etc. Useful #' for specifying an input encoding option, which is specified in the same was #' as it would be give to [iconv()]. See the Encoding section of #' [file] for details. diff --git a/man/readtext.Rd b/man/readtext.Rd index 1317729..0ccb7b6 100644 --- a/man/readtext.Rd +++ b/man/readtext.Rd @@ -117,7 +117,7 @@ when \code{file} is a URL.} }} \item{...}{additional arguments passed through to low-level file reading -function, such as \code{\link[=file]{file()}}, \code{\link[=fread]{fread()}}, etc. Useful +function, such as \code{\link[=file]{file()}}, \code{\link[data.table:fread]{data.table::fread()}}, etc. Useful for specifying an input encoding option, which is specified in the same was as it would be give to \code{\link[=iconv]{iconv()}}. See the Encoding section of \link{file} for details.}