The next version of RcppThread will export an R-function RcppThread::detectCores() which clashes with your import of parallel::detectCores(). This would generate a warning when building/checking the package.
Fix
Removed RcppThread from Imports: filed in DESCRIPTION and don't import it in NAMESPACE. RcppThread is still listed in LinkingTo which is sufficient for all C++ functionality.
Problem
The next version of RcppThread will export an R-function
RcppThread::detectCores()
which clashes with your import ofparallel::detectCores()
. This would generate a warning when building/checking the package.Fix
Removed RcppThread from
Imports:
filed inDESCRIPTION
and don't import it inNAMESPACE
. RcppThread is still listed inLinkingTo
which is sufficient for all C++ functionality.