On 24.02.2019 00:43, 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:
if(requireNamespace("doParallel", quietly=TRUE))
{
library("d
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:
>
>if(requ
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 suggested
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)
doParallel