Re: [R-pkg-devel] Linux Errors on RHub

2019-04-24 Thread Roy Mendelssohn - NOAA Federal via R-package-devel
--- Begin Message ---
HI:

Though you appear to have found the problem.  it is a package called plotdap,  
the Ubuntu results are here:

https://builder.r-hub.io/status/plotdap_0.0.1.tar.gz-5e8cf0d2b8304290820438dde5593e27

The complete build attempt was:

> #> * installing *source* package ‘rgdal’ ...
> 2626#> ** package ‘rgdal’ successfully unpacked and MD5 sums checked
> 2627#> configure: R_HOME: /usr/lib/R
> 2628#> configure: CC: gcc -std=gnu99
> 2629#> configure: CXX: g++
> 2630#> configure: C++11 support available
> 2631#> configure: rgdal: 1.4-3
> 2632#> checking for /usr/bin/svnversion... yes
> 2633#> configure: svn revision: 828
> 2634#> checking for gdal-config... /usr/bin/gdal-config
> 2635#> checking gdal-config usability... yes
> 2636#> configure: GDAL: 1.11.3
> 2637#> checking GDAL version >= 1.11.4... no
> 2638#> configure: error: upgrade GDAL to 1.11.4 or later
> 2639#> ERROR: configuration failed for package ‘rgdal’


I wrote here rather than RHub first because I was unaware of the link  (thanks) 
and my issue was more if I could just go ahead and submit to CRAN despite this, 
 because the problem is not with my package.

Thanks for your response.

-Roy


> 
> On Apr 24, 2019, at 3:06 AM, Gábor Csárdi  wrote:
> 
> 
> FYI,

**
"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.

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


Re: [R-pkg-devel] Linux Errors on RHub

2019-04-24 Thread Gábor Csárdi
Seems like GDAL is too old on our Ubuntu:
https://github.com/r-hub/rhub/issues/258

Will try to fix soon.

FYI,
G.

On Wed, Apr 24, 2019 at 10:08 AM Gábor Csárdi  wrote:
>
> Hi, which package is this, and how exactly did rgdal fail?
>
> Also, you can report R-hub problems at https://github.com/r-hub/rhub/issues
>
> Thanks,
> Gabor
>
> On Wed, Apr 24, 2019 at 1:11 AM Roy Mendelssohn - NOAA Federal via
> R-package-devel  wrote:
> >
> >
> >
> >
> > -- Forwarded message --
> > From: Roy Mendelssohn - NOAA Federal 
> > To: Roy Mendelssohn - NOAA Federal via R-package-devel 
> > 
> > Cc:
> > Bcc:
> > Date: Tue, 23 Apr 2019 17:11:14 -0700
> > Subject: Linux Errors on RHub
> > Hi All:
> >
> > I am checking a package I am hoping to submit to CRAN on RHub.  The Windows 
> > and Fedora runs worked but the Ubuntu test ended because of the following:
> >
> > > #> Warning messages:
> > > 3203#> 1: In i.p(...) : installation of package ‘rgdal’ had non-zero exit 
> > > status
> > > 3204#> 2: In i.p(...) : installation of package ‘sf’ had non-zero exit 
> > > status
> > > 3205#> 3: In i.p(...) :
> >
> > I have a few details to work out on Mac and Windows tests (capitalization, 
> > a note to CRAN that a spelling is correct, reduce times of examples),  but 
> > given that rgdal and sf are packages on CRAN if I can clean up the other 
> > items is it appropriate to go ahead and submit?
> >
> > 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.
> >
> >
> >
> >
> > -- Forwarded message --
> > From: Roy Mendelssohn - NOAA Federal via R-package-devel 
> > 
> > To: Roy Mendelssohn - NOAA Federal via R-package-devel 
> > 
> > Cc:
> > Bcc:
> > Date: Tue, 23 Apr 2019 17:11:14 -0700
> > Subject: [R-pkg-devel] Linux Errors on RHub
> > __
> > 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] Linux Errors on RHub

2019-04-24 Thread Gábor Csárdi
Hi, which package is this, and how exactly did rgdal fail?

Also, you can report R-hub problems at https://github.com/r-hub/rhub/issues

Thanks,
Gabor

On Wed, Apr 24, 2019 at 1:11 AM Roy Mendelssohn - NOAA Federal via
R-package-devel  wrote:
>
>
>
>
> -- Forwarded message --
> From: Roy Mendelssohn - NOAA Federal 
> To: Roy Mendelssohn - NOAA Federal via R-package-devel 
> 
> Cc:
> Bcc:
> Date: Tue, 23 Apr 2019 17:11:14 -0700
> Subject: Linux Errors on RHub
> Hi All:
>
> I am checking a package I am hoping to submit to CRAN on RHub.  The Windows 
> and Fedora runs worked but the Ubuntu test ended because of the following:
>
> > #> Warning messages:
> > 3203#> 1: In i.p(...) : installation of package ‘rgdal’ had non-zero exit 
> > status
> > 3204#> 2: In i.p(...) : installation of package ‘sf’ had non-zero exit 
> > status
> > 3205#> 3: In i.p(...) :
>
> I have a few details to work out on Mac and Windows tests (capitalization, a 
> note to CRAN that a spelling is correct, reduce times of examples),  but 
> given that rgdal and sf are packages on CRAN if I can clean up the other 
> items is it appropriate to go ahead and submit?
>
> 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.
>
>
>
>
> -- Forwarded message --
> From: Roy Mendelssohn - NOAA Federal via R-package-devel 
> 
> To: Roy Mendelssohn - NOAA Federal via R-package-devel 
> 
> Cc:
> Bcc:
> Date: Tue, 23 Apr 2019 17:11:14 -0700
> Subject: [R-pkg-devel] Linux Errors on RHub
> __
> 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] Package writing to disc

2019-04-24 Thread Uwe Ligges




On 24.04.2019 11:08, Berry Boessenkool wrote:


Hi,

I have a package with some keyboard shortcuts for Rstudio. Several friends and 
colleagues asked me to put it on CRAN.
It includes a function to set the keyboard bindings that will write to 
~/.R/rstudio/keybindings/addins.json et al.
https://github.com/brry/rskey/blob/master/R/setKeyboardBindings.R
This is not allowed by CRAN policy:
"Packages should not write in the user�s [...] file system [...]. Limited exceptions 
may be allowed in interactive sessions if the package obtains confirmation from the 
user."

So if I include  readline("Is it OK to write into the '~/.R/rstudio/keybindings' 
files? y/n: ")
and explain this behaviour in the submission note, should I be fine to submit 
and see what happens?


Yes.

Best,
Uwe Ligges


Thanks ahead,
Berry


[[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