[R-pkg-devel] Graphics in examples

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Tue Mar 19 19:14:48 CET 2019


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.mendelssohn using noaa.gov>
> Date:
> 19.03.2019, 19:03
> To:
> R Package Development <r-package-devel using r-project.org>
> 
> To:
> R Package Development <r-package-devel using 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.Mendelssohn using 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 using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>



More information about the R-package-devel mailing list