[Rcpp-devel] Problem with RCPP Paralell
Kevin Ushey
kevinushey at gmail.com
Mon Feb 27 23:08:59 CET 2023
Hello Roberto,
A new release of RcppParallel (5.1.7) was just published to CRAN, and
I'm hopeful that this release will resolve the compilation warnings
you (and other package authors) have seen when trying to use
RcppParallel. Please let me know if you have any further trouble.
Thanks,
Kevin
On Thu, Feb 23, 2023 at 11:34 AM Kevin Ushey <kevinushey at gmail.com> wrote:
>
> Hi Roberto,
>
> (RcppParallel maintainer here.) We had some correspondence with
> Professor Ripley regarding this; package authors affected by this
> could request the C++14 standard in their package as described here:
>
> https://cran.r-project.org/doc/manuals/R-exts.html#Using-C_002b_002b-code
>
> I believe it should suffice to include:
>
> CXX_STD = CXX14
>
> in your package's `src/Makevars`.
>
> That said, I'll see about submitting a patched version of RcppParallel
> so that package authors won't need to contend with these issues.
>
> Best,
> Kevin
>
> On Thu, Feb 23, 2023 at 10:52 AM Dirk Eddelbuettel <edd at debian.org> wrote:
> >
> >
> > Hi Roberto,
> >
> > Very briefly:
> >
> > 1) We spell it Rcpp. Capital R, lowercase cpp.
> >
> > 2) The package you inquire about is called RcppParallel.
> >
> > 3) You didn't list the repo making it harder for us to help you. As a little
> > bit of GitHub searching reveals, it is here
> >
> > https://github.com/OVVO-Financial/NNS
> >
> > 4) It clearly compiles in the GitHub Actions but does not pass it
> > tests. Maybe you should focus more on the failing tests first?
> >
> > 5) As it compiles the WARNINGs are not critical. ERRORS would be.
> >
> > 6) Small differences and details matters. You may need to look more closely
> > and see which warnings come from code _in your package_ and are under your
> > control, and which are from _libraries you may call_ over whose content
> > you have less control.
> >
> > 7) If you ask for help with a particular example, it is most efficient (not
> > to mention polite) to distill it, if possible, into a _small
> > self-contained example_ that reproduces the same issue. It may make
> > addressing it easier than working with a full package and its dependencies.
> >
> > Hope this helps a little, Dirk
> >
> > --
> > dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
> > _______________________________________________
> > Rcpp-devel mailing list
> > Rcpp-devel at lists.r-forge.r-project.org
> > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
More information about the Rcpp-devel
mailing list