[R] C++11 requirements for package dependencies

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Mon Nov 30 16:56:21 CET 2020


package questions are usually better posted at r-package-devel

Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Mon, Nov 30, 2020 at 12:45 AM Mark Clements <mark.clements using ki.se> wrote:

> 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) require
> C++11. As a dependency diagram:
>
> rsimsum --> rstpm2 --> RcppArmadillo
>
> Should I update rstpm2 to include "CXX_STD = CXX11" in the Makevars and
> Makevars.win files and add "SystemRequirements: C++11" to the
> DESCRIPTION, or is there a simple way in GitHub Actions to use C++11 for
> older versions of R?
>
> Moreover, as a principle, should a package need to change the Makevars
> and DESCRIPTION files to suit the most recent updates of their
> dependencies? I would have thought that such a need would break many
> packages.
>
> Sincerely, Mark.
>
>
>
>
> När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI
> kommer att behandla dina personuppgifter. Här finns information om hur KI
> behandlar personuppgifter<
> https://ki.se/medarbetare/integritetsskyddspolicy>.
>
>
> Sending email to Karolinska Institutet (KI) will result in KI processing
> your personal data. You can read more about KI’s processing of personal
> data here<https://ki.se/en/staff/data-protection-policy>.
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list