[R] R CMD check and browser 2.

R. Michael Weylandt michael.weylandt at gmail.com
Thu Sep 20 16:21:26 CEST 2012


On Mon, Sep 17, 2012 at 3:49 PM, Christian Hoffmann
<c-w.hoffmann at sunrise.ch> wrote:
> Hi,
>
> The browser opens, when the command
>
> * checking whether package 'cwhmisc' can be installed ... OK
>
> is executed.
>
>> sessionInfo()
> R version 2.15.1 (2012-06-22)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> locale:
> [1] C
>
> attached base packages:
>  [1] tcltk     stats4    splines   parallel  datasets  compiler graphics
>  [8] grDevices stats     grid      utils     tools     methods base
>
> other attached packages:
>  [1] survival_2.36-14  spatial_7.3-3     rpart_3.1-53 nnet_7.3-1
>  [5] nlme_3.1-104      mgcv_1.7-18       foreign_0.8-50 codetools_0.2-8
>  [9] cluster_1.14.2    class_7.3-3       boot_1.3-4 Matrix_1.0-6
> [13] MASS_7.3-18       KernSmooth_2.23-7 cwhmisc_3.0 lattice_0.20-6
>>
>
> To my knowledge there is no access to teh help system within the package,
> and this effect is occurring sporadically.
>
> What would a 'minimal "non-working" example' be?

Hi Christian,

Please reply to both me and the list (or just the list, since I'll see
it that way as well) so that others can help you when I am busy (as
for the last few days)

A non-working example would be a package wherein you've chipped away
as much as you can while the problem is still being displayed.
Alternatively, if you really want us to be able to look at this,
you'll have to point to a server where a copy of your package can be
obtained.

Alternatively: does the problem occur if you CMD check other packages?
If so, it's not a problem with your package but rather one of your
environment variables likely got messed up in some creative fashion.

Michael

>
> Cheers
>
> Christian
>
> Am 15.09.12 23:53, schrieb R. Michael Weylandt:
>>
>> On Sat, Sep 15, 2012 at 8:56 PM, Christian Hoffmann
>> <c-w.hoffmann at sunrise.ch> wrote:
>>>
>>> Hi,
>>>
>>> Every time I do
>>>
>>> system("R CMD check mypackckage"
>>>
>>> the process executes a help.start(). Why does this happen?
>>>
>> Hi Christian,
>>
>> I'm afraid I can't replicate this with the packages I keep local
>> copies of and installed version of R: could you perhaps make the
>> package source available (or point us to it if its own GitHub,
>> r-forge, etc.?) and give us your sessionInfo() so we can try to
>> reproduce? If the package is sensitive, perhaps work up a minimal
>> "non-working" example?
>>
>>
>> http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
>>
>> My immediate guess is that something in the package accesses the help
>> system, but obviously I can't be sure without having something to play
>> with.
>>
>> Cheers,
>> Michael
>>
>
> --
> Christian W. Hoffmann,
> CH - 8915 Hausen am Albis, Switzerland
> Rigiblickstrasse 15 b, Tel.+41-44-7640853
> c-w.hoffmann at sunrise.ch,
> christian at echoffmann.ch,
> www.echoffmann.ch
>




More information about the R-help mailing list