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

merge_waves() appears to loose the id attribute #6

Open
antaldaniel opened this issue Jun 18, 2021 · 1 comment
Open

merge_waves() appears to loose the id attribute #6

antaldaniel opened this issue Jun 18, 2021 · 1 comment

Comments

@antaldaniel
Copy link
Collaborator

Maybe because of lapply?

@jimrothstein
Copy link

Yes, lapply drops attributes of the list l.
lapply(l,f)

To fix,
l[] <- lapply(l, f)

See https://stackoverflow.com/questions/65337976/loss-of-attributes-with-lapply-r

Would you like me to do PR?

jim

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