[Rd] Formula evaluation, environments and attached packages

2015-04-29 Thread Milan Bouchet-Valat
Hi! Some time ago, I replaced calls to library() with calls to requireNamespace() in my package logmult, in order to follow the new CRAN policies. But I just noticed it broke jackknife/bootstrap using several workers via package parallel. The reason is that I'm running model replicates on the

Re: [Rd] Formula evaluation, environments and attached packages

2015-04-29 Thread Heather Turner
Hi Milan, I expect I may be able to do something about the way the terms are evaluated, to ensure the evaluation is done in the gnm namespace (while still ensuring the variables can be found!). In the meantime, I think the following will work: Mult - gnm::Mult f - Freq ~ Eye + Hair + Mult(Eye,

Re: [Rd] Formula evaluation, environments and attached packages

2015-04-29 Thread Milan Bouchet-Valat
Le mercredi 29 avril 2015 à 18:27 +0100, Heather Turner a écrit : Hi Milan, I expect I may be able to do something about the way the terms are evaluated, to ensure the evaluation is done in the gnm namespace (while still ensuring the variables can be found!). In the meantime, I think the