[Bug]: Transformer enters infinite recursion when lapply
used to transform data.
#1474
Closed
3 tasks done
lapply
used to transform data.
#1474
What happened?
Following the transformer vignette, I am trying to build a transformer module that will modify my data by substituting some columns with their tranformed version.
I want to use this pattern:
In particular, I am using
scale
, which is itself vectorized, sodata[index] <- scale[data]
is sufficient.While this works in the console, the falls into infinite recursion.
Using
lapply
with any funciton has the same effect.A
for
loop does works as expected.code
sessionInfo()
Relevant log output
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: