Re: [R-pkg-devel] Package fails on Debian

2022-12-10 Thread Ivan Krylov
On Fri, 9 Dec 2022 17:29:21 + Stephen Coleman wrote: > ``outlierComponentFactory.h:37:15: error: ‘unique_ptr’ in namespace > ‘std’ does not name a template type``. Does it help to explicitly #include in outlierComponentFactory.h in order to provide the definition of the template class uniqu

[R-pkg-devel] Package fails on Debian

2022-12-10 Thread Stephen Coleman
Hi all, I am trying to get my R package to pass CRAN checks for Debian. According to ``rhub::check_on_debian()`` my error is: ``outlierComponentFactory.h:37:15: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type``. I have included ``CXX_STD = CXX17`` in my Makevars file and my