Skip to content

Commit 3df1273

Browse files
committed
add pkg anchor to documentation links to external functions (using \link[pkg]{fn} notation) to prevent CRAN check NOTE (see manual for Writing R Extensions)
1 parent 7997f95 commit 3df1273

29 files changed

+36
-36
lines changed

R/FU_Berlin.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ fu_blues <- unikn::newpal(col = c(fu_blue, "#164574", "#2C5682", "#426890", "#58
450450
#' of the \href{https://www.fu-berlin.de/en/index.html}{Free University Berlin}, Germany.
451451
#'
452452
#' See \code{\link{fu_0_2023}} for the two primary colors and
453-
#' the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions for creating
453+
#' the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions for creating
454454
#' alternative color gradients.
455455
#'
456456
#' @return
@@ -511,7 +511,7 @@ fu_3_2023 <- fu_blues
511511
#' of the \href{https://www.fu-berlin.de/en/index.html}{Free University Berlin}, Germany.
512512
#'
513513
#' See \code{\link{fu_0_2023}} for the two primary colors and
514-
#' the \code{\link{ac}} or \code{\link[unikn]{usecol}} functions for creating
514+
#' the \code{\link[unikn]{ac}} or \code{\link[unikn]{usecol}} functions for creating
515515
#' alternative color gradients.
516516
#'
517517
#' @return

R/HU_Berlin.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ hu_3_accent <- unikn::newpal(col = c("#e5007c", "#e30031", "#e74306",
458458
#' The color \code{"HU blau"} is defined as \code{Pantone 294} and approximated by \code{RGB 0/55/108}.
459459
#' Other approximations include \code{CMYK 100/60/0/20}, \code{RGB 0/51/102} (reduced web scale), and \code{RAL 270 3040}.
460460
#'
461-
#' See the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions
461+
#' See the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions
462462
#' of the \strong{unikn} package for creating color gradients.
463463
#'
464464
#' @return
@@ -507,7 +507,7 @@ hu_1_2022 <- unikn::newpal(col = c(HU_0, "white", "black"),
507507
#' The primary color \code{"HU blue"} is defined as Pantone 294 and only approximated by RGB 0/55/108.
508508
#' Other approximations include CMYK 100/60/0/20, RGB 0/51/102 (reduced web scale), and RAL 270 3040.
509509
#'
510-
#' See the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
510+
#' See the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
511511
#'
512512
#' @return
513513
#' A named vector of colors (HEX/HTML codes of type character).

R/MPG.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ mpg_grey_2 <- unikn::usecol(c(mpg_grey, "white"), n = 3)[1:2]
5353
#' }
5454
#'
5555
#' At \code{mpg[3]}, the color \code{"white"} was added to enable symmetrical color gradients.
56-
#' See examples and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions
56+
#' See examples and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions
5757
#' for creating color gradients.
5858
#'
5959
#' @return

R/RPTU.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ rptu_weiss <- "white"
172172
#'
173173
#' The two colors of a pair may be combined with each other.
174174
#' When using only one color pair, shades of 10% may be used in color gradients.
175-
#' See examples and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
175+
#' See examples and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
176176
#'
177177
#' @return
178178
#' A named vector of colors (HEX/HTML codes of type character).

R/Uni_Bonn.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ ub_grau_4 <- unikn::usecol(c(ub_grau, "white"), n = 5)[1:4]
8989
#' and \code{RAL 7030}.
9090
#'
9191
#' Colors shades of 75%, 50%, and 25% may be used in diagrams or visualizations.
92-
#' See examples and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions
92+
#' See examples and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions
9393
#' for creating color gradients.
9494
#'
9595
#' @return
@@ -139,7 +139,7 @@ uni_bonn_1 <- unikn::newpal(col = c(ub_blau, ub_gelb, ub_grau),
139139
#' of the \href{https://www.uni-bonn.de/en}{University of Bonn}, Germany.
140140
#'
141141
#' See \code{\link{uni_bonn_1}} for the definitions of the three primary colors
142-
#' and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions
142+
#' and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions
143143
#' for creating color gradients.
144144
#'
145145
#' @return

R/Uni_Freiburg.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ names(frbg_rosa) <- "rosa"
136136
#' \code{Pantone 7687C}, \code{RGB 52/74/154}, \code{HEX #344a9a}, or \code{CMYK 90/75/0/0}.
137137
#'
138138
#' See \code{\link{uni_freiburg_1}} for a primary palette with a \code{Blau} color gradient
139-
#' and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
139+
#' and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
140140
#'
141141
#' @return
142142
#' A named vector of colors (HEX/HTML codes of type character).
@@ -211,7 +211,7 @@ frbg_sand_name <- c("sand")
211211
#' The gradient of \code{blau} colors is defined on \url{https://cd.uni-freiburg.de/farben/}.
212212
#'
213213
#' See \code{\link{uni_freiburg_0}} for the basic colors (without the \code{Blau} color gradient)
214-
#' and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions for creating alternative color gradients.
214+
#' and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions for creating alternative color gradients.
215215
#'
216216
#' @return
217217
#' A named vector of colors (HEX/HTML codes of type character).
@@ -268,7 +268,7 @@ uni_freiburg_1 <- unikn::newpal(col = c(frbg_blues, frbg_sand_1),
268268
#' as in \code{usecol(c(uni_freiburg_0[2], "white"), n = 6)[1:5]}.
269269
#'
270270
#' See \code{\link{uni_freiburg_0}} for the basic colors without the \code{Blau} color gradient
271-
#' and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
271+
#' and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
272272
#'
273273
#' @return
274274
#' A named vector of colors (HEX/HTML codes of type character).

R/Uni_Hamburg.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ steingrau_40pc <- rgb(178, 186, 189, maxColorValue = 255)
8888
#' are used for text.
8989
#'
9090
#' Colors shades may be used in diagrams or visualizations.
91-
#' See examples and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions
91+
#' See examples and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions
9292
#' for creating color gradients.
9393
#'
9494
#' @return

R/Uni_Jena.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jena_gold <- rgb(174, 154, 99, maxColorValue = 255)
6565
#' The auxiliary color \code{gold} is alternatively defined as
6666
#' \code{RGB 174/154/99}, \code{CMYK 20/25/60/25}, or \code{HKS 98 K}.
6767
#'
68-
#' See the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions
68+
#' See the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions
6969
#' for creating color gradients.
7070
#'
7171
#' The full name of the \href{https://www.uni-jena.de}{University of Jena}

R/Uni_Kiel.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ kiel_main <- "#9b0a7d" # = rgb(155, 10, 125, maxColorValue = 255)
6969
#' The palette \code{uni_kiel_1} enframes this color as its central element
7070
#' in \code{"black"} and \code{"white"} to easily enable mixing it with
7171
#' shades of \code{"grey"}.
72-
#' See examples and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions
72+
#' See examples and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions
7373
#' for creating color gradients.
7474
#'
7575
#' The full name of \href{https://www.uni-kiel.de/en/}{Kiel University}
@@ -176,7 +176,7 @@ kiel_faculty_names <- c("Theologie", "Rechtswissenschaft", "Medizin", "Philosoph
176176
#' of \href{https://www.uni-kiel.de/en/}{Kiel University}, Germany.
177177
#'
178178
#' These colors may be mixed with darker shades of \code{"grey"} (or \code{"black"}).
179-
#' See examples and the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions
179+
#' See examples and the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions
180180
#' for creating color gradients.
181181
#'
182182
#' The full name of \href{https://www.uni-kiel.de/en/}{Kiel University}

R/Uni_Mannheim.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ UM_petrol <- rgb(65, 137, 134, maxColorValue = 255)
8282
#' \code{RGB 0/48/86}, \code{HEX #003056}, \code{Pantone 654}, \code{CMYK 100/60/10/60}, or \code{RAL 5011}.
8383
#'
8484
#' The six lighter shades were created by mixing the primary \code{UM blau} with \code{"white"}.
85-
#' See the \code{\link{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
85+
#' See the \code{\link[unikn]{ac}} and \code{\link[unikn]{usecol}} functions for creating color gradients.
8686
#'
8787
#' @return
8888
#' A named vector of colors (HEX/HTML codes of type character).

0 commit comments

Comments
 (0)