Skip to content

Commit

Permalink
manc_annotate_body: pass on protect when chunking
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Oct 11, 2024
1 parent 3a5f8e7 commit 2055414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/annotate.R
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ manc_annotate_body <- function(x, test=TRUE, version=NULL,
chunknums=floor((seq_along(x)-1)/chunksize)+1
chunkedx=split(x, chunknums)
res=pbapply::pbsapply(chunkedx, manc_annotate_body, version=version,
test=test, chunksize=Inf, ...)
test=test, chunksize=Inf, protect=protect, ...)
return(invisible(res))
}
} else if(!is.list(x))
Expand Down

0 comments on commit 2055414

Please sign in to comment.