Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Duncan Murdoch
On 14/04/2021 9:26 a.m., Jacob Nabe-Nielsen wrote: Hi Duncan Thanks a lot for the help. This works, but unfortunately it does not result in a landscape which is cropped to the extent of the bathymetry raster file... it would be nice to be able to do that as well (as you can if you use the 'ra

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Jacob Nabe-Nielsen
gt; Imports). > > Georgi Boshnakov > > > -----Original Message----- > From: R-package-devel On Behalf Of > Duncan Murdoch > Sent: 14 April 2021 13:45 > To: Jacob Nabe-Nielsen ; r-package-devel@r-project.org > Subject: Re: [R-pkg-devel] Problem with S4 method for

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Jacob Nabe-Nielsen
Hi Duncan Thanks a lot for the help. This works, but unfortunately it does not result in a landscape which is cropped to the extent of the bathymetry raster file... it would be nice to be able to do that as well (as you can if you use the 'raster' and 'sp' packages). Best wishes, Jacob On 14

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Georgi Boshnakov
h NEWS for R-4.0.0 'plot'), you would need to import plot methods from rgdal if that is the case (and maybe move rgdal from Suggests to Imports). Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Duncan Murdoch Sent: 14 April 2021 13:45 To: Jacob Nabe

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Duncan Murdoch
On 14/04/2021 5:41 a.m., Jacob Nabe-Nielsen wrote: Dear all, I have just discovered an error in a package that I have already uploaded to CRAN, and cannot figure out how to fix it. All help will be greatly appreciated. The package is called DEPONS2R, and is available from: https://cran.r-project

[R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Jacob Nabe-Nielsen
Dear all, I have just discovered an error in a package that I have already uploaded to CRAN, and cannot figure out how to fix it. All help will be greatly appreciated. The package is called DEPONS2R, and is available from: https://cran.r-project.org/web/packages/DEPONS2R/index.html The problem is