Re: [R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Duncan Murdoch
On 30/11/2020 11:54 a.m., Duncan Murdoch wrote: On 30/11/2020 11:31 a.m., Dirk Eddelbuettel wrote: On 30 November 2020 at 11:27, Duncan Murdoch wrote: | I think that C++11 isn't a requirement of RcppArmadillo, it's an option It is as of the 10.* series of Armadillo and hence RcppArmadillo 0.10

Re: [R-pkg-devel] Conditional timeout for httr request when running R CMD check

2020-11-30 Thread Ben Bolker
  as pointed out to me the last time I was struggling with similar issues, if (interactive()) { ... } is another potential solution On 11/30/20 2:48 PM, Henrik Bengtsson wrote: The problem here was regarding user facing example():s, not package tests. In order to keep a neat example for the us

Re: [R-pkg-devel] Conditional timeout for httr request when running R CMD check

2020-11-30 Thread Henrik Bengtsson
The problem here was regarding user facing example():s, not package tests. In order to keep a neat example for the user to play with, I'd probably wrap the example code in a \donttest{} statement. Though, I don't remember if CRAN tests with R CMD check --run-dontest, or not. There's also \dontrun

[R-pkg-devel] Windows R CMD check warning using Boost Beast

2020-11-30 Thread Florian Rupprecht
Dear package development mailing list, I am trying to publish my package httpgd (https://github.com/nx10/httpgd) which includes Boost Beast to CRAN but I am struggling to solve a CMD check warning: * checking whether package 'httpgd' can be installed ... WARNING Found the following significant wa

Re: [R-pkg-devel] Conditional timeout for httr request when running R CMD check

2020-11-30 Thread Jeff Newmiller
Don't test against a live website for most of your testing... use recorded or simulated input. If your package functional interface doesn't allow for that, then re-factor it so it does. For those tests that actually have to interact with the live website, only run them if you know you are not o

[R-pkg-devel] Conditional timeout for httr request when running R CMD check

2020-11-30 Thread Ayala Hernandez, Rafael
Dear all, My package openSkies includes a set of functions to retrieve information from the OpenSky API. The examples for these functions can, on rare occassions, take anomously longer times to complete than usually because of issues on the API side. I have already included a timeout parameter

Re: [R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Dirk Eddelbuettel
On 30 November 2020 at 11:54, Duncan Murdoch wrote: | On 30/11/2020 11:31 a.m., Dirk Eddelbuettel wrote: | > | > On 30 November 2020 at 11:27, Duncan Murdoch wrote: | > | I think that C++11 isn't a requirement of RcppArmadillo, it's an option | > | > It is as of the 10.* series of Armadillo and

Re: [R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Duncan Murdoch
On 30/11/2020 11:31 a.m., Dirk Eddelbuettel wrote: On 30 November 2020 at 11:27, Duncan Murdoch wrote: | I think that C++11 isn't a requirement of RcppArmadillo, it's an option It is as of the 10.* series of Armadillo and hence RcppArmadillo 0.10.* I was going to complain that you should incl

Re: [R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Dirk Eddelbuettel
On 30 November 2020 at 11:27, Duncan Murdoch wrote: | I think that C++11 isn't a requirement of RcppArmadillo, it's an option It is as of the 10.* series of Armadillo and hence RcppArmadillo 0.10.* Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _

Re: [R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Dirk Eddelbuettel
On 30 November 2020 at 17:06, Mark Clements wrote: | [Apologies for cross-posting] | | A colleague uses a package I maintain (rstpm2) as a dependency in their | package (rsimsum) with testing using GitHub Actions. They found that | testing failed against R versions 3.3, 3.4 and 3.5 because recen

Re: [R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Duncan Murdoch
I think that C++11 isn't a requirement of RcppArmadillo, it's an option that is used if available. (Assuming you are using the CRAN version, not an experimental/devel version.) A user of the header file can include #define ARMA_USE_CXX11 which would make it a system requirement of whatever p

[R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Mark Clements
[Apologies for cross-posting] A colleague uses a package I maintain (rstpm2) as a dependency in their package (rsimsum) with testing using GitHub Actions. They found that testing failed against R versions 3.3, 3.4 and 3.5 because recent versions of RcppArmadillo (which is a dependency in rstpm2)