Skip to content
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

usmap_crs causes warning #40

Closed
pdil opened this issue Oct 5, 2020 · 0 comments
Closed

usmap_crs causes warning #40

pdil opened this issue Oct 5, 2020 · 0 comments
Assignees
Labels
bug A bug or issue that should be resolved
Milestone

Comments

@pdil
Copy link
Owner

pdil commented Oct 5, 2020

Running usmap::usmap_crs() results in the following warning:

Warning message:
In showSRID(uprojargs, format = "PROJ", multiline = "NO") :
Discarded datum unknown in CRS definition

The associated tests produce the following warnings:

test-transform.R:16: warning: data frame with AK and HI points is transformed
Discarded datum unknown in CRS definition

test-transform.R:16: warning: data frame with AK and HI points is transformed
CRS object has comment, which is lost in output

test-transform.R:16: warning: data frame with AK and HI points is transformed
Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition

test-transform.R:16: warning: data frame with AK and HI points is transformed
CRS object has comment, which is lost in output

test-transform.R:16: warning: data frame with AK and HI points is transformed
Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition

test-transform.R:32: warning: data frame with AK points is transformed
Discarded datum unknown in CRS definition

test-transform.R:32: warning: data frame with AK points is transformed
CRS object has comment, which is lost in output

test-transform.R:32: warning: data frame with AK points is transformed
Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition

test-transform.R:48: warning: data frame with HI points is transformed
Discarded datum unknown in CRS definition

test-transform.R:48: warning: data frame with HI points is transformed
CRS object has comment, which is lost in output

test-transform.R:48: warning: data frame with HI points is transformed
Discarded datum Unknown based on Normal Sphere (r=6370997) ellipsoid in CRS definition

test-transform.R:64: warning: data frame with no AK or HI points is transformed
Discarded datum unknown in CRS definition

Environment

macOS 10.15.7

> version
               _                           
platform       x86_64-apple-darwin17.0     
arch           x86_64                      
os             darwin17.0                  
system         x86_64, darwin17.0          
status                                     
major          4                           
minor          0.2                         
year           2020                        
month          06                          
day            22                          
svn rev        78730                       
language       R                           
version.string R version 4.0.2 (2020-06-22)
nickname       Taking Off Again
> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] usmap_0.5.1       rstudioapi_0.11   knitr_1.30        magrittr_1.5      maptools_1.0-2   
 [6] munsell_0.5.0     colorspace_1.4-1  lattice_0.20-41   R6_2.4.1          rlang_0.4.7      
[11] tools_4.0.2       grid_4.0.2        gtable_0.3.0      xfun_0.18         tinytex_0.26     
[16] htmltools_0.5.0   ellipsis_0.3.1    yaml_2.2.1        digest_0.6.25     tibble_3.0.3     
[21] lifecycle_0.2.0   crayon_1.3.4.9000 ggplot2_3.3.2     vctrs_0.3.4       glue_1.4.2       
[26] evaluate_0.14     rmarkdown_2.4     sp_1.4-2          pillar_1.4.6      compiler_4.0.2   
[31] scales_1.1.1      foreign_0.8-80    pkgconfig_2.0.3 
@pdil pdil added the bug A bug or issue that should be resolved label Oct 5, 2020
@pdil pdil added this to the v0.6.0 milestone Oct 5, 2020
@pdil pdil added the help wanted Pull requests or additional context and information welcome! label Oct 5, 2020
@pdil pdil changed the title usmap_crs() causes warning usmap_crs causes warning Oct 6, 2020
@pdil pdil self-assigned this Jan 23, 2021
@pdil pdil removed the help wanted Pull requests or additional context and information welcome! label Jan 23, 2021
@pdil pdil closed this as completed in 57f052f Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug or issue that should be resolved
Projects
None yet
Development

No branches or pull requests

1 participant