From a26ba2509cc35c06e9f3d259e1966e5c9c14074e Mon Sep 17 00:00:00 2001 From: "Andrew G. Brown" Date: Mon, 13 Nov 2023 16:04:21 -0800 Subject: [PATCH] Fix docs for SoilProfileCollection method aliases --- R/SoilProfileCollection-operators.R | 4 ++-- R/plotSPC.R | 2 +- man/SoilProfileCollection-plotting-methods.Rd | 1 + man/doublebracket-set.Rd | 1 + man/doublebracket.Rd | 3 ++- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/R/SoilProfileCollection-operators.R b/R/SoilProfileCollection-operators.R index 349d09595..d3c195f98 100644 --- a/R/SoilProfileCollection-operators.R +++ b/R/SoilProfileCollection-operators.R @@ -362,7 +362,7 @@ setMethod("[", signature(x = "SoilProfileCollection"), #' @param x a SoilProfileCollection #' @param i an expression resolving to a single column name in site or horizon table #' @param j (not used) -#' @aliases [[,SoilProfileCollection,ANY-method, [[,SoilProfileCollection,ANY,ANY-method +#' @aliases [[,SoilProfileCollection-method [[,SoilProfileCollection,ANY-method [[,SoilProfileCollection,ANY,ANY-method #' @docType methods #' @rdname doublebracket #' @examples @@ -443,7 +443,7 @@ setMethod("[[", signature(x = "SoilProfileCollection", #' @param value New value to replace -- unit length or equal in length to number #' of sites or horizons in the collection. #' -#' @aliases [[<-,SoilProfileCollection,ANY,ANY-method +#' @aliases [[<-,SoilProfileCollection-method, [[<-,SoilProfileCollection,ANY,ANY-method #' @docType methods #' @rdname doublebracket-set setReplaceMethod("[[", signature(x = "SoilProfileCollection", diff --git a/R/plotSPC.R b/R/plotSPC.R index 38ec04c5f..62b9a0d14 100644 --- a/R/plotSPC.R +++ b/R/plotSPC.R @@ -1693,7 +1693,7 @@ plotSPC <- function( #' generic plot method for \code{SoilProfileCollection} objects #' @name plot #' @param y (not used) -#' @aliases plot,SoilProfileCollection,ANY-method +#' @aliases plot,SoilProfileCollection-method plot,SoilProfileCollection,ANY-method #' @rdname SoilProfileCollection-plotting-methods #' @export setMethod("plot", signature(x = "SoilProfileCollection", diff --git a/man/SoilProfileCollection-plotting-methods.Rd b/man/SoilProfileCollection-plotting-methods.Rd index f86b68a3f..04f6a75ef 100644 --- a/man/SoilProfileCollection-plotting-methods.Rd +++ b/man/SoilProfileCollection-plotting-methods.Rd @@ -5,6 +5,7 @@ \alias{plotSPC} \alias{plot,SoilProfileCollection,ANY-method,plot.SoilProfileCollection} \alias{plot} +\alias{plot,SoilProfileCollection-method} \alias{plot,SoilProfileCollection,ANY-method} \title{Create Soil Profile Sketches} \usage{ diff --git a/man/doublebracket-set.Rd b/man/doublebracket-set.Rd index 94ba0f4c3..1436f388d 100644 --- a/man/doublebracket-set.Rd +++ b/man/doublebracket-set.Rd @@ -3,6 +3,7 @@ \docType{methods} \name{[[<-} \alias{[[<-} +\alias{[[<-,SoilProfileCollection-method,} \alias{[[<-,SoilProfileCollection,ANY,ANY-method} \title{Add or change column of horizon or site data in a SoilProfileCollection} \usage{ diff --git a/man/doublebracket.Rd b/man/doublebracket.Rd index 172a5607c..02dc988a8 100644 --- a/man/doublebracket.Rd +++ b/man/doublebracket.Rd @@ -3,7 +3,8 @@ \docType{methods} \name{[[} \alias{[[} -\alias{[[,SoilProfileCollection,ANY-method,} +\alias{[[,SoilProfileCollection-method} +\alias{[[,SoilProfileCollection,ANY-method} \alias{[[,SoilProfileCollection,ANY,ANY-method} \title{Get column of horizon or site data in a SoilProfileCollection} \usage{