From 3d888ab5dd02396041bb47ce6941ca0cd5254775 Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Mon, 23 Nov 2020 14:51:35 +0100 Subject: [PATCH] fix documentation error regarding list method, fixes #77 --- NEWS.md | 4 ++++ R/euler.R | 2 +- man/euler.Rd | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index 3ff1b6c7..85bbd79d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,6 +4,10 @@ * citation to conference paper added to `inst/CITATION` +## Bug fixes + +* error in documentation for list method has been fixed, thanks @gprezza (#77) + # eulerr 6.1.0 ## Minor changes diff --git a/R/euler.R b/R/euler.R index c66456cb..620a6eb0 100644 --- a/R/euler.R +++ b/R/euler.R @@ -202,7 +202,7 @@ euler.table <- function(combinations, ...) } #' @describeIn euler a list of vectors, each vector giving the contents of -#' that set (with no duplicates). Vectors in the list do not need to be named. +#' that set (with no duplicates). Vectors in the list must be named. #' @export #' @examples #' diff --git a/man/euler.Rd b/man/euler.Rd index 07aea487..f749b92a 100644 --- a/man/euler.Rd +++ b/man/euler.Rd @@ -139,12 +139,12 @@ Missing combinations are treated as being 0. factors. \item \code{matrix}: a matrix that can be converted to a data.frame of logicals -(as in the description above) via \code{\link[base:as.data.frame.matrix]{base::as.data.frame.matrix()}}. +(as in the description above) via \code{\link[base:as.data.frame]{base::as.data.frame.matrix()}}. \item \code{table}: A table with \code{max(dim(x)) < 3}. \item \code{list}: a list of vectors, each vector giving the contents of -that set (with no duplicates). Vectors in the list do not need to be named. +that set (with no duplicates). Vectors in the list must be named. }} \examples{