Re: [R-pkg-devel] Error appearing only with check_win_devel() - could be ggplot2 R version?

2019-03-30 Thread Winston Chang
On Sat, Mar 30, 2019 at 5:06 PM Gábor Csárdi  wrote:

> I think this is temporary and will go away once R-devel is built with
> this:
> https://github.com/wch/r-source/commit/9542c3215a8f8cfee4a313b6c2fd03320e38e1de
>
>
Before that commit (76285), I was getting a different error when I
submitted a package that used ggplot2 (and therefore grid). Now, I'm
getting the same "invalid unit" error that the others have mentioned,
with 76300
on Debian, though not with 76300 Windows.

-Winston

[[alternative HTML version deleted]]

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


Re: [R-pkg-devel] Error appearing only with check_win_devel() - could be ggplot2 R version?

2019-03-30 Thread Gábor Csárdi
I think this is temporary and will go away once R-devel is built with
this: 
https://github.com/wch/r-source/commit/9542c3215a8f8cfee4a313b6c2fd03320e38e1de

Gabor


On Sat, Mar 30, 2019 at 9:56 PM Pedro J. Aphalo
 wrote:
>
> 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:  ... 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 
> 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  (communications officer), ESP
>  (member) SEB 
> (member), BES  (member), SPPS
>  (member), SMS
>  (member), TUG
>  (member), FOAS  (member).
> 
>
> [[alternative HTML version deleted]]
>
> __
> 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


Re: [R-pkg-devel] Error appearing only with check_win_devel() - could be ggplot2 R version?

2019-03-30 Thread Pedro J. Aphalo
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:  ... 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 
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  (communications officer), ESP 
 (member) SEB  
(member), BES  (member), SPPS 
 (member), SMS 
 (member), TUG 
 (member), FOAS  (member).


[[alternative HTML version deleted]]

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


[R-pkg-devel] Error appearing only with check_win_devel() - could be ggplot2 R version?

2019-03-30 Thread thorgamma
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:  ... 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