Re: [Rd] gctorture() and gzfile() doesn't get along.

2011-10-15 Thread Hin-Tak Leung
--- On Sat, 15/10/11, Simon Urbanek wrote: > Thanks, now fixed. It affected almost > all connections. > Simon Many thanks. Hopefully having gctorture() working would help - am having heap corruption problems and valgrind aborts :-). > On Oct 15, 2011, at 2:32 PM, Hin-Tak Leung wrote: > > > Fo

Re: [Rd] gctorture() and gzfile() doesn't get along.

2011-10-15 Thread Simon Urbanek
Thanks, now fixed. It affected almost all connections. Simon On Oct 15, 2011, at 2:32 PM, Hin-Tak Leung wrote: > Found the simpliest way of seeing I bug I encountered doing "R CMD check > --use-gct": Just launch R (with --vanilla), and do this: > >> ?gctorture > # this work >> gctorture() >> ?

Re: [Rd] gctorture() and gzfile() doesn't get along.

2011-10-15 Thread Hin-Tak Leung
--- On Sat, 15/10/11, Hin-Tak Leung wrote: > Found the simpliest way of seeing I > bug I encountered doing "R CMD check --use-gct": Just launch > R (with --vanilla), and do this: > > > ?gctorture > # this work > > gctorture() > > ?gctorture > Error in gzfile(file, "rb") : >   can only weakly re

[Rd] gctorture() and gzfile() doesn't get along.

2011-10-15 Thread Hin-Tak Leung
Found the simpliest way of seeing I bug I encountered doing "R CMD check --use-gct": Just launch R (with --vanilla), and do this: > ?gctorture # this work > gctorture() > ?gctorture Error in gzfile(file, "rb") : can only weakly reference/finalize reference objects # this does not It seems th

Re: [Rd] .onLoad failing because could not find function "loadMethod"

2011-10-15 Thread Martin Morgan
- Original Message - > The thing that happens during the check is that the methods package is > not among the automatically loaded and attached packages. > > When the pkgB packages is attached, the Namespaces of pkgA and methods > are loaded but not attached. > > Note that one of the ch

Re: [Rd] .onLoad failing because could not find function "loadMethod"

2011-10-15 Thread Uwe Ligges
The thing that happens during the check is that the methods package is not among the automatically loaded and attached packages. When the pkgB packages is attached, the Namespaces of pkgA and methods are loaded but not attached. Note that one of the checks tells you: "A namespace must be abl

Re: [Rd] .onLoad failing because could not find function "loadMethod"

2011-10-15 Thread Uwe Ligges
On 15.10.2011 02:53, Hervé Pagès wrote: On 11-10-14 05:47 PM, Hervé Pagès wrote: On 11-10-14 05:46 PM, Hervé Pagès wrote: [...] I've put 2 toy packages here that illustrate the problem: https://rapidshare.com/files/4043144391/pkgA_1.0.tar.gz https://rapidshare.com/files/1959508331/pkgB_1.0

Re: [Rd] Creating a package skeleton with no flesh

2011-10-15 Thread Duncan Murdoch
On 14/10/2011 7:51 PM, Hervé Pagès wrote: Hi, Wouldn't it be awesome if package.skeleton() could be used to produce, well... a package skeleton? In a fresh R session: Empty packages are almost identical, differing only in the name entry in the DESCRIPTION file. So why not do this once manual

Re: [Rd] NOTE: unstated dependencies in examples

2011-10-15 Thread Duncan Murdoch
On 15/10/2011 2:52 AM, Jari Oksanen wrote: Hello folks, To get it short, I cut out most of the spurious controversy, and go to the key point (and it also helps to go to sauna and then sleep well all night): On 14/10/11 22:30 PM, "Uwe Ligges" wrote: > > Also note that the package would be acc