Thanks again.
2015-03-05 18:22 GMT-05:00 Duncan Murdoch <murdoch.duncan at gmail.com>:
On 05/03/2015 6:16 PM, Brian G. Peterson wrote:
On Thu, 2015-03-05 at 18:03 -0500, Etienne Lord wrote:
Hi,
I'm trying to submit my first package which depends on doParallel:
Depends: R (>= 3.0), igraph, doParallel
add foreach to your Depends. That should resolve the error you're
seeing.
Please don't do that. Use Imports.
Duncan Murdoch
Running hadley devtools: devtools::check() and devtools::release()
in no problem (no ERROR nor NOTE on Linux, Mac and Windows).
However, when in use the devtools::build_win() command, it results in
following note:
* checking R code for possible problems ... NOTE
complete_network: no visible global function definition for '%dopar%'
complete_network: no visible global function definition for '%:%'
complete_network: no visible global function definition for 'foreach'
2) Installing the doParallel package "before" running any test on
seems to remove this note. Is there any way to specify it in the
DESCRIPTION?
--
Etienne Lord
?tudiant au Doctorat en Informatique
Universit? du Qu?bec ? Montr?al
tel : 514 987-3000 ext. 4803
[[alternative HTML version deleted]]