Skip to content
Prev 10760 / 21312 Next

[Bioc-devel] PROTECT errors in Bioconductor packages

On 04/06/2017 05:33 AM, Aaron Lun wrote:
yes, tag needs protection.

I attributed the bug to R_alloc because I failed to reason that R_alloc 
(obviously) allocates and hence can trigger a garbage collection.

Somehow it reflects my approach to PROTECTion, probably not shared by 
everyone. I like to PROTECT only when necessary, rather than 
indiscriminately. Probably this has no practical consequence in terms of 
performance, making the code a little easier to read at the expense of 
exposing me to bugs like this.

Martin
This email message may contain legally privileged and/or...{{dropped:2}}