Re: [Rd] importing namespaces from base packages

2018-03-13 Thread Adrian Dușa
On Mon, Mar 12, 2018 at 2:18 PM, Martin Maechler wrote: > [...] > Is that so? Not according to my reading of the 'Writing R > Extensions' manual, nor according to what I have been doing in > all of my packages for ca. 2 years: > > The rule I have in my mind is > > 1) NAMESPACE Import(s|From) \

Re: [Rd] [parallel] fixes load balancing of parLapplyLB

2018-03-13 Thread Tomas Kalibera
Chunk size support has been added in R-devel 74353. Please let me know if you find any problem. Thanks, Tomas On 03/01/2018 09:19 AM, Christian Krause wrote: Dear Tomas, Thanks for your commitment to fix this issue and also to add the chunk size as an argument. If you want our input, let u

Re: [Rd] importing namespaces from base packages

2018-03-13 Thread Martin Maechler
> Adrian Dușa > on Tue, 13 Mar 2018 09:17:08 +0200 writes: > On Mon, Mar 12, 2018 at 2:18 PM, Martin Maechler > wrote: >> [...] >> Is that so? Not according to my reading of the 'Writing R >> Extensions' manual, nor according to what I have been doing in >>

Re: [Rd] importing namespaces from base packages

2018-03-13 Thread Jari Oksanen
It seems that they are defined in tools/R/check.R. For instance, line 363-364 says: ## The default set of packages here are as they are because ## .get_S3_generics_as_seen_from_package needs utils,graphics,stats and then on lines 368 (Windows) and 377 (other OS) it has: "R_DEFAULT_P

[Rd] 64-bit integer type warning on windows

2018-03-13 Thread Christophe DUTANG
Dear list, During the last two months, I spent a lot of time trying to remove the following warnings of my package randtoolbox: congruRand.c:180:3: warning: ISO C does not support the 'I64' ms_scanf length modifier [-Wformat=] sscanf(params[0], "%" PRIu64 "\n", &inp_mod); Please see https: