Skip to content

WARNING on R CMD check #74

Description

@maelle

Through https://ropensci.r-universe.dev/builds

we see (R-devel Linux+Windows, R-release Linux, maybe more)

* checking data for non-ASCII characters ... WARNING
  Warning: found non-ASCII string
  'PROJCRS["NTF (Paris) / Lambert zone II",
      BASEGEOGCRS["NTF (Paris)",
          DATUM["Nouvelle Triangulation Francaise (Paris)",
              ELLIPSOID["Clarke 1880 (IGN)",6378249.2,293.466021293627,
                  LENGTHUNIT["metre",1]]],
          PRIMEM["Paris",2.5969213,
              ANGLEUNIT["grad",0.0157079632679489]],
          ID["EPSG",4807]],
      CONVERSION["Lambert zone II",
          METHOD["Lambert Conic Conformal (1SP)",
              ID["EPSG",9801]],
          PARAMETER["Latitude of natural origin",52,
              ANGLEUNIT["grad",0.0157079632679489],
              ID["EPSG",8801]],
          PARAMETER["Longitude of natural origin",0,
              ANGLEUNIT["grad",0.0157079632679489],
              ID["EPSG",8802]],
          PARAMETER["Scale factor at natural origin",0.99987742,
              SCALEUNIT["unity",1],
              ID["EPSG",8805]],
          PARAMETER["False easting",600000,
              LENGTHUNIT["metre",1],
              ID["EPSG",8806]],
          PARAMETER["False northing",2200000,
              LENGTHUNIT["metre",1],
              ID["EPSG",8807]]],
      CS[Cartesian,2],
          AXIS["easting (X)",east,
              ORDER[1],
              LENGTHUNIT["metre",1]],
          AXIS["northing (Y)",north,
              ORDER[2],
              LENGTHUNIT["metre",1]],
      USAGE[
          SCOPE["Engineering survey, topographic mapping."],
          AREA["France mainland onshore between 50.5 grads and 53.5 grads North (45<c2><b0>27'N to 48<c2><b0>09'N). Also used over all onshore mainland France."],
          BBOX[42.33,-4.87,51.14,8.23]],
      ID["EPSG",27572]]' in object 'guerry'
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... WARNING

  Note: significantly better compression could be obtained
        by using R CMD build --resave-data
                           old_size new_size compress
  guerry.rda                  324Kb    229Kb       xz
  ny_trees.rda                135Kb    112Kb       xz
  worldclim_simulation.rda    262Kb    223Kb       xz

Activity

  1. mikemahoney218 commented on Mar 13, 2026

    @mikemahoney218
    Member

    Hi Maëlle!

    I'm not seeing this on CRAN:
    https://cran.r-project.org/web/checks/check_results_waywiser.html

    The non-ASCII CRS is expected; I've actually written about the workaround I use to get this on CRAN successfully.
    https://www.mm218.dev/posts/2022-12-01-sf-in-packages/

    I'll need to check via winbuilder, but assuming this isn't causing CRAN issues I'd view this as a bug in the ropensci build process.

  2. maelle commented on Mar 16, 2026

    @maelle
    MemberAuthor

    @mikemahoney218 fair enough!

    @jeroen what could be up?

  3. maelle commented on Mar 16, 2026

    @maelle
    MemberAuthor

    Fine to ignore 😺

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