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

New argument to estimateD to warn about duplicates and optionally remove without error #71

Closed
wants to merge 1 commit into from

Conversation

mikeroswell
Copy link

This (like another PR from KaiHsiangHu) was an attempt to resolve #67. I added a warning about duplicates and an removeDups argument to estimateD that I think, when TRUE, removes duplicates without throwing an error due to name mismatches. The documentation didn't exactly update for me with devtools::document(), and this PR wasn't passing R CMD check on my machine, but I think that will be very quick for the maintainers.

…onally avoid weird behaviors. had some issues updating documentation:

> devtools::document()
ℹ Updating iNEXT documentation
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Changes in roxygen2 7.0.0:
* `%` is now escaped automatically in Markdown mode.
Please carefully check .Rd files for changes
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Setting `RoxygenNote` to "7.2.0"
ℹ Loading iNEXT
Writing ChaoShannon.Rd
Writing ChaoSimpson.Rd
Writing ggiNEXT.Rd
Writing iNEXT.Rd
Writing estimateD.Rd
Writing plot.iNEXT.Rd
Warning messages:
1: roxygen2 requires Encoding: "UTF-8"
ℹ Current encoding is NA
2: Skipping NAMESPACE
✖ It already exists and was not generated by roxygen2.
@JohnsonHsieh
Copy link
Owner

ref to #68

@mikeroswell
Copy link
Author

Closing this PR as it looks like the duplicate removal was deemed unnecessary, merging #68 solved my issue and way more simply.

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.

Error message using estimateD
2 participants