From 72470da9478c419c11f77c6ff67a7f948a0071f1 Mon Sep 17 00:00:00 2001 From: Sergio Oller Date: Sun, 18 Sep 2022 21:48:43 +0200 Subject: [PATCH] DOCUMENT: devtools::document() --- DESCRIPTION | 2 +- man/encode_colour.Rd | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index f1d41cc..de50e3a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -27,6 +27,6 @@ Suggests: testthat (>= 3.0.0) Encoding: UTF-8 Roxygen: list(markdown=TRUE) -RoxygenNote: 7.2.0 +RoxygenNote: 7.2.1 SystemRequirements: C++11 Config/testthat/edition: 3 diff --git a/man/encode_colour.Rd b/man/encode_colour.Rd index 7113f90..39c49b4 100644 --- a/man/encode_colour.Rd +++ b/man/encode_colour.Rd @@ -10,7 +10,8 @@ encode_colour(colour, alpha = NULL, from = "rgb", white = "D65") \item{colour}{A numeric matrix (or an object coercible to one) with colours encoded in the rows and the different colour space values in the columns. For all colourspaces except \code{'cmyk'} this will mean a matrix with three columns - -for \code{'cmyk'} it means four columns.} +for \code{'cmyk'} it means four columns. Alternatively, \code{colour} may be a list of +length three (or four for \code{'cmyk'}) numeric vectors of the same length.} \item{alpha}{A numeric vector between 0 and 1. Will be recycled to the number of rows in \code{colour}. If \code{NULL} or a single \code{NA} it will be ignored.}