My packages are getting the same error in some CRAN checks as well as ggplot2 itself. With my updated package 'ggpmisc' that I was planning to submit to CRAN I see the same in Winbuilder under R-devel but no error when checking with rhub.
For the 'ggplot2' failed checks see: https://cran.r-project.org/web/checks/check_results_ggplot2.html Pedro. On 2019-03-30 20:53, thorgamma wrote: > I have a plot example that runs fine on Windows, but in the windows check I > get the following message: > > Warning: package 'ggplot2' was built under R version 3.7.0 >> plot_spec_from_hist(photons_cs137_hist[1:16, ], "mR_h", "Example: Cs-137 >> with scatter") > Error in valid.units(units) : Invalid unit > Calls: <Anonymous> ... unit.c -> unit -> valid.unit -> structure -> > valid.units > > > Could this be only happening because of the version ggplot2 is built > under in this test? I'm running the latest R version - 3.5.3. > > > Thanks, > > Mark > > [[alternative HTML version deleted]] > > ______________________________________________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- ------------------------------------------------------------------------ Pedro J. Aphalo University Lecturer, Principal Investigator (Office 5605, Biocenter 3, Viikinkaari 1) Department of Biosciences Plant Biology P.O. Box 65 00014 University of Helsinki Finland e-mail: pedro.aph...@helsinki.fi <mailto:pedro.aph...@helsinki.fi> Tel. (mobile) +358 50 4150623 Tel. (office) +358 2941 57897 ------------------------------------------------------------------------ *Web sites and blogs* Web site (research group): http://blogs.helsinki.fi/senpep-blog/ Web site (own teaching): http://www.helsinki.fi/people/pedro.aphalo/ Web site (using R in photobiology): http://www.r4photobiology.info/ ------------------------------------------------------------------------ *Societies* UV4Plants <http://www.uv4plants.org/> (communications officer), ESP <http://www.photobiology.eu/> (member) SEB <http://www.sebiology.org/> (member), BES <http://www.britishecologicalsociety.org/> (member), SPPS <http://www.spps.fi/> (member), SMS <http://www.metsatieteellinenseura.fi/english> (member), TUG <http://tug.org/> (member), FOAS <http://www.foastat.org/> (member). ------------------------------------------------------------------------ [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel