tidybulk
tidybulk copied to clipboard
the attribute "internals" $ tt_columns abundance_scaled, carries the environment with it inflating the RDS file size
When using quosures to define the .abundance_scaled column name in the internals, the environment gets carried along and a 1 Mb SummarizedExperiment becomes a 400Mb RDS file.
it can be solved with this
attr(se, "internals")$tt_columns$.abundance_scaled |> attr(".Environment") = NULL
tidybulk should avoid carry the local environment in the object in the first place.