From 5eb45ba67d1e3a2d36cc7a611c64f7e1f73ecabe Mon Sep 17 00:00:00 2001 From: Stefan Mayer Date: Tue, 13 Feb 2024 00:16:30 +0100 Subject: [PATCH] fixes #9 (incorrect parameter name in internal function's documentation) --- R/complexity.R | 2 +- man/dot-compl.Rd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/complexity.R b/R/complexity.R index 06ece0d..68bfde3 100644 --- a/R/complexity.R +++ b/R/complexity.R @@ -135,7 +135,7 @@ img_complexity <- function(imgfile, algorithm = "zip", rotate = FALSE){ #' #' Returns the complexity of an image array / matrix or path. #' -#' @param imgfile An array or matrix of numeric values or integer values, or the file path to the image. +#' @param img An array or matrix of numeric values or integer values, or the file path to the image. #' @param algorithm character. Which compression algorithm to use. #' @param rotate logical. Image rotation by 90 degrees? #' diff --git a/man/dot-compl.Rd b/man/dot-compl.Rd index 0656f68..688f84a 100644 --- a/man/dot-compl.Rd +++ b/man/dot-compl.Rd @@ -7,11 +7,11 @@ .compl(img, algorithm, rotate) } \arguments{ +\item{img}{An array or matrix of numeric values or integer values, or the file path to the image.} + \item{algorithm}{character. Which compression algorithm to use.} \item{rotate}{logical. Image rotation by 90 degrees?} - -\item{imgfile}{An array or matrix of numeric values or integer values, or the file path to the image.} } \value{ a numeric value (ratio compressed/uncompressed file size).