From 05999b885f617c96d291b175f2db4b41ef6c4c78 Mon Sep 17 00:00:00 2001 From: Mauro Lepore Date: Fri, 26 Jan 2024 21:58:05 +0000 Subject: [PATCH] Fix wrong param MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This responds to a request by CRAN W checking Rd \usage sections ... Undocumented arguments in documentation object 'recode_subquad' ‘data’ Documented arguments not in \usage in documentation object 'recode_subquad': ‘x’ --- R/add_subquad.R | 2 +- man/recode_subquad.Rd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/add_subquad.R b/R/add_subquad.R index e7456c9..f2c50f1 100644 --- a/R/add_subquad.R +++ b/R/add_subquad.R @@ -105,7 +105,7 @@ add_subquad <- function(data, #' Recode subquadrat. #' -#' @param x A dataframe with the variable `subquadrat`. +#' @param data A dataframe with the variable `subquadrat`. #' @param offset A number; either -1 or 1, to rest or add one unit to the number #' of column of each subquadrat. #' diff --git a/man/recode_subquad.Rd b/man/recode_subquad.Rd index d80c6d7..40186a7 100644 --- a/man/recode_subquad.Rd +++ b/man/recode_subquad.Rd @@ -7,6 +7,8 @@ recode_subquad(data, offset = -1) } \arguments{ +\item{data}{A dataframe with the variable \code{subquadrat}.} + \item{offset}{A number; either -1 or 1, to rest or add one unit to the number of column of each subquadrat. @@ -17,8 +19,6 @@ of column of each subquadrat. 02 12 22 32 12 22 32 42 01 11 21 31 11 21 31 41 }\if{html}{\out{}}} - -\item{x}{A dataframe with the variable \code{subquadrat}.} } \value{ A modified version of the input.