Disable diagnostic messages when R code is executed from C++
MarcusKlik opened this issue · 2 comments
MarcusKlik commented
To avoid multiple identical messages in the console output.
MarcusKlik commented
Example:
library(lazyvec)
# create a wrapper around altrep sequence
z <- alt_wrap(1:100, "z")
# multiple messages, possibly from R code called from C++
length(z)
#> z : ALTREP length : result = integer[1] 100
#> z : ALTREP length : result = integer[1] 100
#> [1] 100
MarcusKlik commented
This feature is not required, as the listeners cannot access the lazyvec
ALTREP that is calling them, just the payload.