-
Notifications
You must be signed in to change notification settings - Fork 15
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
suggested changes to allocate #182
Comments
Function details moved to Details section for now. |
I intend to open a PR linked to this issue with my suggestions and comments in it. I feel this will be easier to provide specific feedback on instances/lines of code. I am not going to do that before 1.27 goes to CRAN though -- and probably not before upcoming stats class -- so as to not detract from anything we need to do before that. |
Good work on fixing it up for this release though #179 |
Hi @smroecker any thoughts on the above commentary / ideas for |
I can't figure out how to document all of the arguments to
allocate
such that arguments specific to sub-functions are clear in the manual page.Ideas:
droplevels
should probably happen after sub-functions are done, fewer arguments to pass aroundallocate
is generic with linksfao_lev
into two vectors (salinity and sodicity), matching by absolute position withinfao_lev
is tricky and breaks if classes changedata.frame
) so that cross-classification is possible e.g. "slightly saline / moderately sodic".allocate(EC = NA, pH = 5, ESP = 1, to = 'FAO Salt Severity', droplevels = FALSE)
results in an errorThe text was updated successfully, but these errors were encountered: