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

fix_has_ohlcv_305 #426

Merged
merged 9 commits into from
Nov 5, 2024
Merged

Conversation

ethanbsmith
Copy link
Contributor

added a fallback refined search using "." prefix if multiple columns found. possible this should be the primary path
modified "getters" to use has(which = TRUE) to reuse search code

fixes #305

added a fallback refined search using "." prefix if multiple columns found

modified "getters" to use has(which = TRUE) to reuse search code
added word boundaries to regex for safer searches
added tests
@ethanbsmith
Copy link
Contributor Author

fixed tests and fixed some more edge cases
added mosts of the tests from #306. did not included test for abbreviations

@ethanbsmith ethanbsmith changed the title initial fix fix_has_ohlcv_305 Oct 26, 2024
@joshuaulrich
Copy link
Owner

Thanks for all your work!

The tests fail because 'tests/test_has.R' does not contain a cols object.

removed blatant duplicates
reordered from core to edge
removed dependencies between tests
@ethanbsmith
Copy link
Contributor Author

the diff on the pr is a bit messy, but the test_has.R now has a cleaner flow and no blatant duplicates, which i think sets ups better for future work

@joshuaulrich joshuaulrich merged commit 91fba23 into joshuaulrich:master Nov 5, 2024
@joshuaulrich
Copy link
Owner

Thanks for this!

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.

OHLC returns wrong/duplicate columns
2 participants