edzer / sp

Classes and methods for spatial data
http://edzer.github.io/sp/
127 stars 27 forks source link

R version requirement #143

Closed ms609 closed 10 months ago

ms609 commented 10 months ago

Hi,

When trying to install sp on R 3.6.3, installation fails with

object 'palette.colors' is not exported by 'namespace:grDevices'

The sp DESCRIPTION file specifies Depends: R (≥ 3.5.0), but palette.colors was not added until after R3.6. Does the DESCRIPTION file need updating, or can the use of palette.colors be avoided, for example by if (packageVersion("base") <= "3.6.3") /*manual workaround*/ else palette.colors?

Thanks,

Martin

edzer commented 10 months ago

are you sure this is caused by sp?

ms609 commented 10 months ago

You're right, the issue was not with sp – apologies for the error.