Skip to content

Commit 96fa525

Browse files
committed
remove assign blocker
1 parent 65e1ee3 commit 96fa525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gsumm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,8 +1124,8 @@ SEXP gmedian(SEXP x, SEXP narmArg) {
11241124
}
11251125

11261126
static SEXP gfirstlast(SEXP x, const bool first, const int w, const bool nthvalue) {
1127-
if (w>1 && assignByRef)
1128-
error(_("Is first/last/head/tail with n>1 and := by group intentional? Please provide a use case to the GitHub issue tracker. It could be implemented."));
1127+
//if (w>1 && assignByRef)
1128+
// error(_("Is first/last/head/tail with n>1 and := by group intentional? Please provide a use case to the GitHub issue tracker. It could be implemented."));
11291129
// select 1:w when first=TRUE, and (n-w+1):n when first=FALSE
11301130
// or select w'th item when nthvalue=TRUE; e.g. the n=0 case in test 280
11311131
const bool nosubset = irowslen == -1;

0 commit comments

Comments
 (0)