Skip to content

Commit

Permalink
Small update to sset.
Browse files Browse the repository at this point in the history
  • Loading branch information
NicChr committed Mar 25, 2024
1 parent b064890 commit e5179ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.4.0
Date: 2024-03-25 11:44:05 UTC
SHA: b0648904614f918b4c46bbdae13e5e7eeb964324
2 changes: 1 addition & 1 deletion R/sset.R
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...]
Expand Down

0 comments on commit e5179ce

Please sign in to comment.