[Rcpp-devel] Problem with RCPP Paralell
Kevin Ushey
kevinushey at gmail.com
Thu Feb 23 20:34:32 CET 2023
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