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

In window.xts, start and end values of NA will be treated the same as NULL #383

Merged
merged 1 commit into from
Feb 26, 2023

Conversation

harvey131
Copy link
Contributor

This is the pull request to support start/end arguments as NA.

#345

I was not sure what you meant by testing window.zoo as well.

@joshuaulrich
Copy link
Owner

I was not sure what you meant by testing window.zoo as well.

xts aims to be consistent w/zoo when possible. So I was asking you to test whether your changes make window.xts() more/less consistent. You'll see that many unit tests compare xts results to zoo.

@harvey131
Copy link
Contributor Author

I don't think it will work with zoo because zoo uses is.null(start) and is.null(end) when checking the arguments, and the scope of this pull request would only be for xts. I guess that would require a separate change to the zoo package.

@zeileis
Copy link
Collaborator

zeileis commented Dec 6, 2022

I have made the separate change to the development version of zoo on R-Forge now (version 1.8-12).

@joshuaulrich joshuaulrich merged commit 8da2e87 into joshuaulrich:master Feb 26, 2023
@joshuaulrich
Copy link
Owner

@harvey131 sorry it took so long to get this merged. Thanks for your contribution!

@joshuaulrich joshuaulrich added this to the 0.13.1 milestone Feb 26, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants