Re: [R-pkg-devel] download.file and https

2015-07-02 Thread Paul Gilbert
On 07/02/2015 11:52 PM, Duncan Murdoch wrote: On 03/07/2015 5:24 AM, Paul Gilbert wrote: On 07/02/2015 10:52 PM, Henrik Bengtsson wrote: From R 3.2.0, check: capabilities("libcurl") libcurl TRUE TRUE means R was built such that HTTPS is supported. If you see FALSE, make sure lib

Re: [R-pkg-devel] download.file and https

2015-07-02 Thread Duncan Murdoch
On 03/07/2015 5:24 AM, Paul Gilbert wrote: > > > On 07/02/2015 10:52 PM, Henrik Bengtsson wrote: >> From R 3.2.0, check: >> >>> capabilities("libcurl") >> libcurl >> TRUE >> >> TRUE means R was built such that HTTPS is supported. If you see >> FALSE, make sure libcurl is available when/if y

Re: [R-pkg-devel] download.file and https

2015-07-02 Thread Paul Gilbert
On 07/02/2015 10:52 PM, Henrik Bengtsson wrote: From R 3.2.0, check: capabilities("libcurl") libcurl TRUE TRUE means R was built such that HTTPS is supported. If you see FALSE, make sure libcurl is available when/if you build R from source. I do have TRUE for this. The default behav

Re: [R-pkg-devel] download.file and https

2015-07-02 Thread Joshua Ulrich
Hi Paul, On Thu, Jul 2, 2015 at 9:46 PM, Paul Gilbert wrote: > (This problem with download.file() affects quantmod, and possibly several > other packages. e.g. getSymbols('M2',src='FRED') fails.) > Thanks for the note. I'm aware of this, and actually wanted to ask this list what the "best practi

[R-pkg-devel] download.file and https

2015-07-02 Thread Paul Gilbert
(This problem with download.file() affects quantmod, and possibly several other packages. e.g. getSymbols('M2',src='FRED') fails.) I think the St Louis Fed has moved to using https for connections, and I believe all the US government web sites are doing this. An http request is automatically s

Re: [R-pkg-devel] RCMD check --as-cran on Windows

2015-07-02 Thread Duncan Murdoch
On 02/07/2015 4:51 PM, Fay, Michael (NIH/NIAID) [E] wrote: > Hi, > > I am trying to update my NAMESPACE to include importFrom for packages that > are included in the basic R distribution. > > When I build my packages and run: RMCD check --as-cran on from Windows I get > no NOTES. But in othe

Re: [R-pkg-devel] RCMD check --as-cran on Windows

2015-07-02 Thread Uwe Ligges
On 02.07.2015 16:59, Avraham Adler wrote: If it helps, in my experience, r-devel has those notes as well, so if you send your package to the r-devel option on winbuilder, and it comes back clean, you should be OK on all OSs, at least as respects the global function issues. Right, use a recent

Re: [R-pkg-devel] RCMD check --as-cran on Windows

2015-07-02 Thread Avraham Adler
If it helps, in my experience, r-devel has those notes as well, so if you send your package to the r-devel option on winbuilder, and it comes back clean, you should be OK on all OSs, at least as respects the global function issues. Avi On Thu, Jul 2, 2015 at 10:51 AM, Fay, Michael (NIH/NIAID) [E]

[R-pkg-devel] RCMD check --as-cran on Windows

2015-07-02 Thread Fay, Michael (NIH/NIAID) [E]
Hi, I am trying to update my NAMESPACE to include importFrom for packages that are included in the basic R distribution. When I build my packages and run: RMCD check --as-cran on from Windows I get no NOTES. But in other flavors, there are NOTES about "no visible global function definition