Thanks for giving this a look Ben! Good to hear I can convince at least one
person of my position. My brain had not thought of
cran-submissi...@r-project.org, thanks for the suggestion!
Brian
On Wed, Jul 22, 2020 at 5:57 PM Ben Bolker wrote:
> Once all the other issues are resolved, I'd s
I have a package on CRAN that has a graphics component that calls a package
that ultimately calls 'rgdal that CRAN is unhappy about. 'rgdal' now throws a
warning if 'crs' is used, and unless I am misreading the problems (see
https://cran.r-project.org/web/checks/check_results_rerddapXtracto.h
One (late) additional command:
in the following setup:
pdf("some_path")
plot(1)
dev.off()
if the plotting function fails, code execution stops and dev.off never gets
called, leaving (potentially nested) devices open.
I suggest:
pdf("some_path")
on.exit(dev.off(), add=TRUE)
plot(1)
add=TRUE