Open HeidiSeibold opened 6 years ago
I get a couple of warnings when I use the country_choropleth function. Also when I use coord_map() it does something weird to the map, see below.
coord_map()
library(choroplethr) library(choroplethrMaps) library(ggplot2) data(country.map) region <- unique(country.map$region) dat <- data.frame(region, value = 1:length(region), stringsAsFactors = FALSE) country_choropleth(dat) #> Warning: `axis.ticks.margin` is deprecated. Please set `margin` property of #> `axis.text` instead #> Warning: `panel.margin` is deprecated. Please use `panel.spacing` property #> instead
country_choropleth(dat) + coord_map() #> Warning: `axis.ticks.margin` is deprecated. Please set `margin` property of #> `axis.text` instead #> Warning: `panel.margin` is deprecated. Please use `panel.spacing` property #> instead
I get a couple of warnings when I use the country_choropleth function. Also when I use
coord_map()
it does something weird to the map, see below.Session info
``` r devtools::session_info() #> Session info ------------------------------------------------------------- #> setting value #> version R version 3.4.2 (2017-09-28) #> system x86_64, linux-gnu #> ui X11 #> language en_US #> collate en_US.UTF-8 #> tz Europe/Zurich #> date 2017-11-27 #> Packages ----------------------------------------------------------------- #> package * version date #> acepack 1.4.1 2016-10-29 #> acs 2.1.2 2017-10-10 #> assertthat 0.2.0 2017-04-11 #> backports 1.1.0 2017-05-22 #> base * 3.4.2 2017-10-27 #> base64enc 0.1-3 2015-07-28 #> bindr 0.1 2016-11-13 #> bindrcpp 0.2 2017-06-17 #> bitops 1.0-6 2013-08-17 #> checkmate 1.8.3 2017-07-03 #> choroplethr * 2.2.0 2017-11-27 #> choroplethrMaps * 1.0.1 2017-01-31 #> cluster 2.0.6 2017-03-16 #> colorspace 1.3-2 2016-12-14 #> compiler 3.4.2 2017-10-27 #> data.table 1.10.4 2017-02-01 #> datasets * 3.4.2 2017-10-27 #> devtools 1.13.3 2017-08-02 #> digest 0.6.12 2017-01-27 #> dplyr 0.7.4 2017-09-28 #> evaluate 0.10.1 2017-06-24 #> foreign 0.8-69 2017-06-21 #> formatR 1.5 2017-04-25 #> Formula 1.2-2 2017-07-10 #> ggplot2 * 2.2.1 2016-12-30 #> glue 1.2.0 2017-10-29 #> graphics * 3.4.2 2017-10-27 #> grDevices * 3.4.2 2017-10-27 #> grid 3.4.2 2017-10-27 #> gridExtra 2.2.1 2016-02-29 #> gtable 0.2.0 2016-02-26 #> Hmisc 4.0-3 2017-05-02 #> htmlTable 1.9 2017-01-26 #> htmltools 0.3.6 2017-04-28 #> htmlwidgets 0.9 2017-07-10 #> httr 1.2.1.9000 2017-01-20 #> knitr 1.17 2017-08-10 #> labeling 0.3 2014-08-23 #> lattice 0.20-35 2017-03-25 #> latticeExtra 0.6-28 2016-02-09 #> lazyeval 0.2.0 2016-06-12 #> magrittr 1.5 2014-11-22 #> mapproj 1.2-4 2015-08-03 #> maps 3.1.1 2016-07-27 #> Matrix 1.2-11 2017-08-16 #> memoise 1.1.0 2017-04-21 #> methods * 3.4.2 2017-10-27 #> munsell 0.4.3 2016-02-13 #> nnet 7.3-12 2016-02-02 #> pkgconfig 2.0.1 2017-03-21 #> plyr 1.8.3 2015-06-12 #> R6 2.2.2 2017-06-17 #> RColorBrewer 1.1-2 2014-12-07 #> Rcpp 0.12.14 2017-11-23 #> RCurl 1.95-4.8 2016-03-01 #> rlang 0.1.4 2017-11-05 #> rmarkdown 1.8 2017-11-17 #> rpart 4.1-11 2017-04-21 #> rprojroot 1.2 2017-01-16 #> scales 0.5.0 2017-08-24 #> splines 3.4.2 2017-10-27 #> stats * 3.4.2 2017-10-27 #> stringi 1.1.5 2017-04-07 #> stringr 1.2.0 2017-02-18 #> survival 2.41-3 2017-04-04 #> tibble 1.3.4 2017-08-22 #> tools 3.4.2 2017-10-27 #> utils * 3.4.2 2017-10-27 #> WDI 2.4 2013-08-20 #> withr 2.1.0 2017-11-01 #> XML 3.98-1.7 2017-05-03 #> yaml 2.1.14 2016-11-12 #> source #> CRAN (R 3.4.0) #> CRAN (R 3.4.2) #> CRAN (R 3.4.0) #> CRAN (R 3.4.0) #> local #> CRAN (R 3.3.1) #> cran (@0.1) #> cran (@0.2) #> CRAN (R 3.3.0) #> cran (@1.8.3) #> Github (trulia/choroplethr@4b75fd9) #> CRAN (R 3.4.2) #> CRAN (R 3.4.0) #> CRAN (R 3.3.2) #> local #> CRAN (R 3.3.2) #> local #> CRAN (R 3.4.2) #> CRAN (R 3.3.2) #> CRAN (R 3.4.2) #> cran (@0.10.1) #> CRAN (R 3.4.1) #> CRAN (R 3.4.1) #> cran (@1.2-2) #> CRAN (R 3.4.2) #> cran (@1.2.0) #> local #> local #> local #> CRAN (R 3.2.5) #> CRAN (R 3.3.0) #> cran (@4.0-3) #> cran (@1.9) #> cran (@0.3.6) #> cran (@0.9) #> Github (gaborcsardi/httr@30001d4) #> cran (@1.17) #> CRAN (R 3.3.0) #> CRAN (R 3.3.3) #> CRAN (R 3.3.1) #> CRAN (R 3.3.1) #> CRAN (R 3.3.0) #> CRAN (R 3.3.0) #> CRAN (R 3.4.0) #> CRAN (R 3.4.1) #> CRAN (R 3.4.0) #> local #> CRAN (R 3.3.0) #> CRAN (R 3.4.1) #> CRAN (R 3.4.1) #> CRAN (R 3.3.0) #> cran (@2.2.2) #> CRAN (R 3.3.0) #> cran (@0.12.14) #> CRAN (R 3.3.2) #> cran (@0.1.4) #> cran (@1.8) #> CRAN (R 3.4.0) #> CRAN (R 3.3.2) #> cran (@0.5.0) #> local #> local #> CRAN (R 3.4.0) #> CRAN (R 3.3.3) #> CRAN (R 3.4.1) #> cran (@1.3.4) #> local #> local #> CRAN (R 3.4.2) #> cran (@2.1.0) #> CRAN (R 3.4.0) #> CRAN (R 3.3.2) ```