Yes, graphics goes top the default device, e.g. X11() in an interactve Linux session or pdf() in non interactive usage, e.g. for running examples during an 'R CMD check' run.

Best,
Uwe Ligges

On 19.03.2019 19:03, Roy Mendelssohn - NOAA Federal via R-package-devel wrote:

Subject:
Graphics in examples
From:
Roy Mendelssohn - NOAA Federal <roy.mendelss...@noaa.gov>
Date:
19.03.2019, 19:03
To:
R Package Development <r-package-devel@r-project.org>

To:
R Package Development <r-package-devel@r-project.org>


Hi All:

I am working on preparing a package for submission.  All the package does is 
makes it easy to map data that were downloaded using a different package. Can 
graphics be in examples?  Or should I assign the graphics to an object and 
leave it at that. Or any other advice.

Basically, if graphics can't be handled in some form,  it wouldn't be possible 
to create examples that test the program.  In reading over the different 
sources for guidelines for submission,  I don't see this possibility discussed 
anywhere.

Thanks,

-Roy

**********************
"The contents of this message do not reflect any position of the U.S. Government or 
NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.


______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to