From e5179ce7c0297f2cba6984f8a382df9f6287b746 Mon Sep 17 00:00:00 2001 From: Nick Christofides <118103879+NicChr@users.noreply.github.com> Date: Mon, 25 Mar 2024 11:53:49 +0000 Subject: [PATCH] Small update to `sset`. --- CRAN-SUBMISSION | 3 +++ R/sset.R | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 CRAN-SUBMISSION diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION new file mode 100644 index 0000000..923df2e --- /dev/null +++ b/CRAN-SUBMISSION @@ -0,0 +1,3 @@ +Version: 0.4.0 +Date: 2024-03-25 11:44:05 UTC +SHA: b0648904614f918b4c46bbdae13e5e7eeb964324 diff --git a/R/sset.R b/R/sset.R index 5298999..decc829 100644 --- a/R/sset.R +++ b/R/sset.R @@ -50,7 +50,7 @@ sset <- function(x, ...){ #' @export sset.default <- function(x, i, ...){ if (!missing(i) && is.logical(i)){ - check_length(i, length(x)) + # check_length(i, length(x)) i <- which_(i) } x[i, ...]