Fix Rd \link{} targets without package anchors

See CRAN Package Check Results for Package RKorAPClient

Last updated on 2024-12-07 17:48:33 CET.

checking Rd cross-references ... NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  KorAPConnection-class.Rd: keyring
  hc_freq_by_year_ci.Rd: hc_add_series
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.

Change-Id: I832103d10a15e0e2dbef4f4603d7b09e648b9dce
diff --git a/R/KorAPConnection.R b/R/KorAPConnection.R
index ea6d5c4..ecfc52d 100644
--- a/R/KorAPConnection.R
+++ b/R/KorAPConnection.R
@@ -53,7 +53,7 @@
 #'   ```
 #'
 #'   This will store it in your keyring using the
-#'   [keyring()] package. Subsequent new("KorAPConnection") calls will
+#'   [keyring] package. Subsequent new("KorAPConnection") calls will
 #'   then automatically retrieve the token from your keying. To stop using a
 #'   persisted token, call `clearAccessToken(kco)`. Please note that for
 #'   DeReKo, authorized queries will behave differently inside and outside the
diff --git a/R/hc_freq_by_year_ci.R b/R/hc_freq_by_year_ci.R
index 6ea3da9..f61b87e 100644
--- a/R/hc_freq_by_year_ci.R
+++ b/R/hc_freq_by_year_ci.R
@@ -16,7 +16,7 @@
 #' @param as.alternatives boolean decides whether queries should be treated as mutually exclusive and exhaustive wrt. to some meaningful class (e.g. spelling variants of a certain word form).
 #' @param ylabel defaults to `%` if `as.alternatives` is `TRUE` and to `ipm` otherwise.
 #' @param smooth boolean decides whether the graph is smoothed using the highcharts plot types spline and areasplinerange.
-#' @param ... additional arguments passed to [hc_add_series()]
+#' @param ... additional arguments passed to [highcharter::hc_add_series()]
 #'
 #' @return A highchart htmlwidget object containing the frequency plot.
 #'
diff --git a/man/KorAPConnection-class.Rd b/man/KorAPConnection-class.Rd
index 0b14316..1e0737d 100644
--- a/man/KorAPConnection-class.Rd
+++ b/man/KorAPConnection-class.Rd
@@ -75,7 +75,7 @@
 }\if{html}{\out{</div>}}
 
 This will store it in your keyring using the
-\code{\link[=keyring]{keyring()}} package. Subsequent new("KorAPConnection") calls will
+\link{keyring} package. Subsequent new("KorAPConnection") calls will
 then automatically retrieve the token from your keying. To stop using a
 persisted token, call \code{clearAccessToken(kco)}. Please note that for
 DeReKo, authorized queries will behave differently inside and outside the
diff --git a/man/hc_freq_by_year_ci.Rd b/man/hc_freq_by_year_ci.Rd
index 695a942..2d64e43 100644
--- a/man/hc_freq_by_year_ci.Rd
+++ b/man/hc_freq_by_year_ci.Rd
@@ -21,7 +21,7 @@
 
 \item{smooth}{boolean decides whether the graph is smoothed using the highcharts plot types spline and areasplinerange.}
 
-\item{...}{additional arguments passed to \code{\link[=hc_add_series]{hc_add_series()}}}
+\item{...}{additional arguments passed to \code{\link[highcharter:hc_add_series]{highcharter::hc_add_series()}}}
 }
 \value{
 A highchart htmlwidget object containing the frequency plot.