Skip to content

Correct evolution 2L for sp::is.projected() #117

Open

Description

@rsbivand

rsbivand@397c305 fixes an omitted part of the 2L evolution setting

Activity

  1. rsbivand commented on Jun 14, 2022

    @rsbivand
    ContributorAuthor

    I also updated the example in ?gridlines to let the package pass under all three evolution values in my fork, main branch.

  2. edzer commented on Jun 14, 2022

    @edzer
    Owner

    Thanks! I added rsbivand@397c305 by hand, and cleaned up the code in 684edc9 - hope you like it!

  3. rsbivand commented on Jun 15, 2022

    @rsbivand
    ContributorAuthor

    Thanks! What about the gridlines man page examples? My commit to my fork makes it work, but maybe we could just retain the very first block that doesn't load rgdal and should (?) work for all three evolution status values?

  4. added a commit that references this issue on Jun 15, 2022
  5. edzer commented on Jun 15, 2022

    @edzer
    Owner

    These changes also meet _R_CHECK_DEPENDS_ONLY_=true, which seems to be coming.

  6. rsbivand commented on Jun 15, 2022

    @rsbivand
    ContributorAuthor

    Maybe also break:

    * checking Rd line widths ... NOTE
    Rd file 'gridlines.Rd':
      \examples lines wider than 100 characters:
         if (get("evolution_status", envir=sp:::.spOptions) == 2L && requireNamespace("sf", quietly=TRUE)) run <- TRUE
         if (get("evolution_status", envir=sp:::.spOptions) == 0L && requireNamespace("rgdal", quietly=TRUE)) run <- TRUE
    
  7. added a commit that references this issue on Jun 15, 2022
  8. rsbivand commented on Jun 15, 2022

    @rsbivand
    ContributorAuthor

    Proposed here: rsbivand@d51fb91

    This also adds switching the default proj4 datum specs loss warnings from ""all" to "none" as per: https://stat.ethz.ch/pipermail/r-sig-geo/2020-May/028125.html; will update rgdal to 1.6-1 soon and submit.

  9. rsbivand commented on Jun 15, 2022

    @rsbivand
    ContributorAuthor

    And R CMD check with rgdal, rgeos and maptools absent revealed another way around - as was failed because run TRUE but no rgdal: rsbivand@b73d2f3. Check log with this proposed change:
    00check.log

  10. added a commit that references this issue on Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions