Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes #1 (which in turn is part of BAAQMD/inventory#28).
In short, the production version of this package is using functions in the
units
package that are now deprecated. This PR attempts to replace those function calls with the listed replacements.@dholstius Please do a careful review of the changes (especially in
.onLoad
). Since I haven't used this package myself before, and there is no obvious way to test the changes, it's important that someone make sure that the package still works as expected.Note that I made other changes while in the neighborhood. The package was missing a lot of necessary packages in
Imports
that I added. And I also removed a lot of notes and warnings when running R CMD check (removed 3 warnings and 2 notes - it still generates 3 warnings and 2 notes).