Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the attribute "internals" $ tt_columns abundance_scaled, carries the environment with it inflating the RDS file size #295

Open
stemangiola opened this issue Sep 11, 2023 · 0 comments

Comments

@stemangiola
Copy link
Owner

stemangiola commented Sep 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant