diff --git a/DESCRIPTION b/DESCRIPTION index 66aac12..fd7cf88 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Type: Package Package: CCAMLRGIS Title: Antarctic Spatial Data Manipulation Version: 4.2.1 -Date: 2025-02-14 +Date: 2025-02-17 Authors@R: c(person("Stephane","Thanassekos",role = c("aut", "cre"), email = "stephane.thanassekos@ccamlr.org"), person("Keith", "Reid", role = "aut"), diff --git a/R/add_Cscale.R b/R/add_Cscale.R index 9e87a49..515fc55 100644 --- a/R/add_Cscale.R +++ b/R/add_Cscale.R @@ -35,7 +35,7 @@ #' @seealso #' \code{\link{load_Bathy}}, \code{\link{SmallBathy}}, \code{\link{Depth_cuts}}, \code{\link{Depth_cols}}, #' \code{\link{Depth_cuts2}}, \code{\link{Depth_cols2}}, \code{\link{add_col}}, \code{\link{add_Legend}}, -#' \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{R colors}, \code{\link[graphics]{legend}}. +#' \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{R colors}, \code{\link[graphics]{legend}}. #' #' @examples #' diff --git a/R/add_col.R b/R/add_col.R index d055847..d91bcbf 100644 --- a/R/add_col.R +++ b/R/add_col.R @@ -9,7 +9,7 @@ #' @param cuts numeric, controls color classes. Either one value (in which case \code{n=cuts} equally #' spaced color classes are generated) or a vector (in which case irregular color classes are #' generated e.g.: \code{c(-10,0,100,2000)}). -#' @param cols character vector of colors (see R standard color names \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{here}). +#' @param cols character vector of colors (see R standard color names \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{here}). #' \code{cols} are interpolated along \code{cuts}. Color codes as those generated, #' for example, by \code{\link[grDevices]{rgb}} may also be used. #' @return list containing the colors for the variable \code{var} (given as \code{$varcol} in the output) as @@ -17,7 +17,7 @@ #' #' @seealso #' \code{\link{add_Cscale}}, \code{\link{create_PolyGrids}}, \code{\link{add_Legend}}, -#' \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{R colors}. +#' \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{R colors}. #' #' @examples #' diff --git a/R/add_labels.R b/R/add_labels.R index bfba568..a2ec9ee 100644 --- a/R/add_labels.R +++ b/R/add_labels.R @@ -25,7 +25,7 @@ #' @seealso \code{\link{Labels}}, \code{\link{load_ASDs}}, \code{\link{load_SSRUs}}, \code{\link{load_RBs}}, #' \code{\link{load_SSMUs}}, \code{\link{load_MAs}}, \code{\link{load_EEZs}}, #' \code{\link{load_MPAs}}, \code{\link{add_Legend}}, -#' \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{R colors}. +#' \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{R colors}. #' #' @examples #' \donttest{ diff --git a/README.Rmd b/README.Rmd index 24aafe1..d161d84 100644 --- a/README.Rmd +++ b/README.Rmd @@ -1782,7 +1782,7 @@ Adding colors to plots revolves around two functions: ?add_Cscale ``` -*add_col()* generates colors for a variable of interest as well as a set of color classes and colors to be used as inputs to the *add_Cscale()* function. Colors and color classes may be generated automatically or customized, depending on the intended appearance. Knowing the names of colors in R would be useful here (). +*add_col()* generates colors for a variable of interest as well as a set of color classes and colors to be used as inputs to the *add_Cscale()* function. Colors and color classes may be generated automatically or customized, depending on the intended appearance. Knowing the names of colors in R would be useful here (). ```{r message=F,eval=T} diff --git a/README.md b/README.md index 4d4f2d9..2f35001 100644 --- a/README.md +++ b/README.md @@ -1939,7 +1939,7 @@ of color classes and colors to be used as inputs to the *add_Cscale()* function. Colors and color classes may be generated automatically or customized, depending on the intended appearance. Knowing the names of colors in R would be useful here -(). +(). ``` r diff --git a/man/add_Cscale.Rd b/man/add_Cscale.Rd index ba4d03c..0a293db 100644 --- a/man/add_Cscale.Rd +++ b/man/add_Cscale.Rd @@ -133,5 +133,5 @@ pt.bg=Pcolors,xpd=TRUE) \seealso{ \code{\link{load_Bathy}}, \code{\link{SmallBathy}}, \code{\link{Depth_cuts}}, \code{\link{Depth_cols}}, \code{\link{Depth_cuts2}}, \code{\link{Depth_cols2}}, \code{\link{add_col}}, \code{\link{add_Legend}}, -\href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{R colors}, \code{\link[graphics]{legend}}. +\href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{R colors}, \code{\link[graphics]{legend}}. } diff --git a/man/add_col.Rd b/man/add_col.Rd index 7eb3e4a..822cdfc 100644 --- a/man/add_col.Rd +++ b/man/add_col.Rd @@ -15,7 +15,7 @@ the range of values).} spaced color classes are generated) or a vector (in which case irregular color classes are generated e.g.: \code{c(-10,0,100,2000)}).} -\item{cols}{character vector of colors (see R standard color names \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{here}). +\item{cols}{character vector of colors (see R standard color names \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{here}). \code{cols} are interpolated along \code{cuts}. Color codes as those generated, for example, by \code{\link[grDevices]{rgb}} may also be used.} } @@ -40,5 +40,5 @@ plot(st_geometry(MyPoints),pch=21,bg=MyCols$varcol,cex=2) } \seealso{ \code{\link{add_Cscale}}, \code{\link{create_PolyGrids}}, \code{\link{add_Legend}}, - \href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{R colors}. + \href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{R colors}. } diff --git a/man/add_labels.Rd b/man/add_labels.Rd index b269062..54b58a7 100644 --- a/man/add_labels.Rd +++ b/man/add_labels.Rd @@ -83,5 +83,5 @@ add_labels(mode='auto',layer='EEZs',fontsize=2,col='green',angle=90) \code{\link{Labels}}, \code{\link{load_ASDs}}, \code{\link{load_SSRUs}}, \code{\link{load_RBs}}, \code{\link{load_SSMUs}}, \code{\link{load_MAs}}, \code{\link{load_EEZs}}, \code{\link{load_MPAs}}, \code{\link{add_Legend}}, -\href{http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf}{R colors}. +\href{https://sites.stat.columbia.edu/tzheng/files/Rcolor.pdf}{R colors}. }