Re: [R-pkg-devel] NOTE for a suggested package

2019-02-23 Thread Jeff Newmiller
Remove the library function call... On February 23, 2019 3:43:15 PM PST, Mohammad Ali Nilforooshan wrote: >I'm struggling to stop receiving a NOTE about a suggested package, and >it >seems to be the problem for many people. Your help is really >appreciated. > >In the function, I have: >

Re: [R-pkg-devel] NOTE for a suggested package

2019-02-23 Thread Joshua Ulrich
You can remove the `library("doParallel")`. Your call to requireNamespace() plus calling all doParallel functions with `::` is sufficient. That should resolve the NOTE. On Sat, Feb 23, 2019 at 5:49 PM Mohammad Ali Nilforooshan wrote: > > I'm struggling to stop receiving a NOTE about a

[R-pkg-devel] NOTE for a suggested package

2019-02-23 Thread Mohammad Ali Nilforooshan
I'm struggling to stop receiving a NOTE about a suggested package, and it seems to be the problem for many people. Your help is really appreciated. In the function, I have: if(requireNamespace("doParallel", quietly=TRUE)) { library("doParallel") cl = parallel::makeCluster(ncl)

Re: [R-pkg-devel] Cran submission - warning with windows (cpp build library gmp)

2019-02-23 Thread Martin Maechler
> Kevin Ushey > on Fri, 22 Feb 2019 10:09:15 -0800 writes: > The 'long long' type does not exist in the C++98 > standard, so you need to explicitly request C++11 or > C++14 (the former which is now fairly broadly supported > across compilers on different systems).