mdsumner / ozmaps

Australian maps
https://mdsumner.github.io/ozmaps/
17 stars 2 forks source link

align to breaking paletteer changes #1

Closed mdsumner closed 4 years ago

mdsumner commented 4 years ago

https://cran.r-project.org/web/checks/check_results_ozmaps.html

Due by 8 Jan 2020.

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘ozmaps-Ex.R’ failed
    The error most likely occurred in:

    > ### Name: abs-data
    > ### Title: Australian Bureau of Statistics (ABS) map data
    > ### Aliases: abs-data abs_ced abs_lga abs_ste
    >
    > ### ** Examples
    >
    > ozmap("abs_ste")
    >
    > ozmap("abs_lga", col = sample(rainbow(nrow(abs_lga), alpha = .4)))
    > opal <- colorRampPalette(paletteer::paletteer_d(package = "ochRe", palette = "namatjira_qual"))
    Error in paletteer::paletteer_d(package = "ochRe", palette = "namatjira_qual") :
     unused argument (package = "ochRe")
    Calls: colorRampPalette -> colorRamp -> t -> col2rgb -> %in%
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

All front facing functions now take a single palette argument of the format package::palette instead of the previous two arguments package and palette.

https://mirror.aarnet.edu.au/pub/CRAN/web/packages/paletteer/news/news.html

mdsumner commented 4 years ago

All good now, release on the 2019-01-06