Closed pdil closed 2 years ago
Thanks for the notification @pdil.
@sokole Would you mind submitting a PR for this and the possibly related CRAN Package Check Errors? The fix needs to be on CRAN before 2022-03-13 or ecocomDP will be removed. Many thanks!
The fixes are in and version 1.2.1 of ecocomDP released on CRAN.
I'm the maintainer of the usmap which is used in
ecocomDP
and wanted to warn that the next version ofusmap
(0.6.0 coming in the next few weeks) contains a breaking change in theusmap_transform
package.In order to provide more flexibility of input data, a new parameter (
input_names
) has been added to specify the longitude and latitude column names of the input data.I found that this line in particular may require a change: https://github.com/EDIorg/ecocomDP/blob/5a919749b147635e15640af1646398f650180f30/R/plot_taxa.R#L1317
Since the data specified here: https://github.com/EDIorg/ecocomDP/blob/5a919749b147635e15640af1646398f650180f30/R/plot_taxa.R#L1311-#L1315 uses
longitude
andlatitude
column names, theusmap_transform
code will have to be changed to:Note this change will only be required after 0.6.0 is released. If desired, I can notify here when that happens.
For more information, see: https://github.com/pdil/usmap/pull/53