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

Allow saving NULL values in saveout.net #800

Open
AdrienLeGuillou opened this issue Dec 20, 2022 · 1 comment
Open

Allow saving NULL values in saveout.net #800

AdrienLeGuillou opened this issue Dec 20, 2022 · 1 comment
Assignees

Comments

@AdrienLeGuillou
Copy link
Member

AdrienLeGuillou commented Dec 20, 2022

Just a thought, but since NULL could be a valid value we actually want to save, should we consider replacing things like out[[el.name]][[s]] <- dat[[el.name]] with out[[el.name]] <- c(out[[el.name]], list(dat[[el.name]]))? The latter appends dat[[el.name]] to out[[el.name]] even if dat[[el.name]] is NULL.

Originally posted by @chad-klumb in #790 (comment)

@chad-klumb
Copy link
Collaborator

There may also be an opportunity for some refactoring as we currently have duplication in saveout.net between the s == 1 and s > 1 cases.

@AdrienLeGuillou AdrienLeGuillou self-assigned this May 1, 2024
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

2 participants