-
Notifications
You must be signed in to change notification settings - Fork 27
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
sp_2.0-0 draft changing to status 2L
#135
Merged
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
66cc5c2
switch to 2L
rsbivand bd980df
add options for message
rsbivand 2035697
stronger rgeos warnings
rsbivand c123464
permit workaround when sf not present for is.projected
rsbivand 0ec24a3
tidy up _R_CHECK_SUGGESTS_ONLY_=true for sp
rsbivand 5ec376f
warn on missing sf if _SP_STARTUP_MESSAGE_="none"
rsbivand File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
The non-sf case would end up returning a character string (the warning message) rather than a logical as
is.projected()
should; not sure if this was intended?Shouldn't the grep-for-longlat-in-p4str fallback be used in the non-sf case as well, maybe returning NA if is.na(p4str) || !nzchar(p4str)?
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.
I don't think so; I need to check what it returns if anything at all, but warnings are not IIUC returned as strings, they are queued for display depending on the general option setting.
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.
I believe that today's two commits relieve the problem for the mentioned packages. I'll go ahead and re-run revdeps
"most"
forsp
and the retiring packages - some packages tooksp
as given if retiring packages were strong dependencies. Will report back with rev-dep outcomes run under_R_CHECK_SUGGESTS_ONLY_=true
(the commit message in the second commit should have beenwarn on missing sf if _SP_STARTUP_MESSAGE_ != "none"
).