-
Notifications
You must be signed in to change notification settings - Fork 282
Deprecate gSSURGO.Query() #3697 #3698
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
base: develop
Are you sure you want to change the base?
Deprecate gSSURGO.Query() #3697 #3698
Conversation
…PecanProject#3697 Signed-off-by: Shivpratik Hande <shivv@Shivpratiks-MacBook-Air.local>
dlebauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome - that's perfect, thank you for your contribution!
fixes #3697
dlebauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, I think you need to run make document or devtools::document('modules/data.land') and check in the updated Rd file first.
Co-authored-by: Akash <www.divinehome12@gmail.com>
…bump RoxygenNote to 7.3.3
Signed-off-by: Shivpratik Hande <shivv@Shivpratiks-MacBook-Air.local>
Co-authored-by: Akash <www.divinehome12@gmail.com>
dlebauer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great, thanks for your help @divine7022!
divine7022
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run devtools::document("modules/data.land") and commit modules/data.land/man/gSSURGO.Query.Rd then it's read to merge
Signed-off-by: Shivpratik Hande <shivv@Shivpratiks-MacBook-Air.local>
|
Oddly, it seems like the most recent commit removed the part we want (documentation of deprecation) f36090a |
|
Oh, my bad |
|
Just regenerate the docs using |
Co-authored-by: Akash <www.divinehome12@gmail.com>
divine7022
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please run devtools::document("modules/data.land") along and commit .Rd file
modules/data.land/R/gSSURGO_Query.R
Outdated
| #' `gSSURGO.Query()` was deprecated in PEcAn 1.8.0. | ||
| #' `gSSURGO.Query()` is deprecated, please use `PEcAn.data.land::extract_soil_gssurgo()` instead (see issue #3697). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #' `gSSURGO.Query()` was deprecated in PEcAn 1.8.0. | |
| #' `gSSURGO.Query()` is deprecated, please use `PEcAn.data.land::extract_soil_gssurgo()` instead (see issue #3697). | |
| #' `gSSURGO.Query()` is deprecated, please use `PEcAn.data.land::extract_soil_gssurgo()` instead (see issue #3697). |
Signed-off-by: Shivpratik Hande <shivv@Shivpratiks-MacBook-Air.local>
Signed-off-by: Shivpratik Hande <shivv@Shivpratiks-MacBook-Air.local>
…G #3697
Description
Marked the
gSSURGO.Query()function as deprecated:@deprecatedroxygen tag..Deprecated("extract_soil_gssurgo")at the top of the function.NEWS.mdandCHANGELOG.mdwith deprecation notes.No tests were related to this function.
Motivation and Context
This change informs users that gSSURGO.Query() is deprecated and directs them to use extract_soil_gssurgo() from soilDB instead.
It prepares the function for removal in a future release and links to the issue #3697.
Review Time Estimate
Types of changes
Checklist: