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

Support vectors and single-colums dataframes in calc_WodaFuchs2008() #200

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Support vectors and single-colums dataframes in calc_WodaFuchs2008() #200

merged 1 commit into from
Sep 4, 2024

Conversation

mcol
Copy link
Contributor

@mcol mcol commented Sep 4, 2024

This is another case (like #189) where the code accepted more types than documented, but dealt with it incorrectly. Now what we accept is fully documented, and the code is tested.

This also fixes the check for NAs: the previous code did sum(is.na(data[,2]) == nrow(data)), but what was meant was sum(is.na(data[,2])) == nrow(data). I ended up rewriting it in an even cleaner way.

@RLumSK RLumSK merged commit 3941a9f into R-Lum:dev_0.9.x Sep 4, 2024
10 checks passed
@mcol mcol deleted the calc_WodaFuchs2008 branch September 4, 2024 12:33
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.

2 participants