Skip to content

Commit e8fb5f7

Browse files
committed
codecov last item
1 parent 38355d4 commit e8fb5f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/frollapply.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ SEXP memcpyVector(SEXP dest, SEXP src, SEXP offset, SEXP size) {
3939
MEMCPY
4040
return dest;
4141
}
42-
// # nocov start ## does not seem to be reported to codecov most likely due to running in a fork, I manually debugged that the is being called from R when running froll.Rraw
42+
// # nocov start ## does not seem to be reported to codecov most likely due to running in a fork, I manually debugged that it is being called when running froll.Rraw
4343
SEXP memcpyDT(SEXP dest, SEXP src, SEXP offset, SEXP size) {
4444
size_t o = INTEGER(offset)[0] - INTEGER(size)[0];
4545
int ncol = LENGTH(dest), nrow = LENGTH(VECTOR_ELT(dest, 0));
@@ -62,7 +62,7 @@ SEXP memcpyVectoradaptive(SEXP dest, SEXP src, SEXP offset, SEXP size) {
6262
MEMCPY
6363
return dest;
6464
}
65-
// # nocov start ## does not seem to be reported to codecov most likely due to running in a fork, I manually debugged that the is being called from R when running froll.Rraw
65+
// # nocov start ## does not seem to be reported to codecov most likely due to running in a fork, I manually debugged that it is being called when running froll.Rraw
6666
SEXP memcpyDTadaptive(SEXP dest, SEXP src, SEXP offset, SEXP size) {
6767
size_t oi = INTEGER(offset)[0];
6868
int nrow = INTEGER(size)[oi-1];
@@ -85,11 +85,13 @@ SEXP setgrowable(SEXP x) {
8585
SET_GROWABLE_BIT(x);
8686
SET_TRUELENGTH(x, LENGTH(x)); // we just reset length, doesn't seems to be necessary but for future compatibility to R it is more safe to set it up
8787
} else {
88+
// # nocov start ## does not seem to be reported to codecov most likely due to running in a fork, I manually debugged that it is being called when running froll.Rraw
8889
for (int i=0; i<LENGTH(x); ++i) {
8990
SEXP col = VECTOR_ELT(x, i);
9091
SET_GROWABLE_BIT(col);
9192
SET_TRUELENGTH(col, LENGTH(col));
9293
}
94+
// # nocov end
9395
}
9496
return x;
9597
}

0 commit comments

Comments
 (0)