From ligges at statistik.tu-dortmund.de  Mon Apr 26 13:58:00 2010
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Mon, 26 Apr 2010 13:58:00 +0200
Subject: [Rd] Question of R CMD check
In-Reply-To: <k2ya835c81e1004251133z5272d463i221bebb154cbeca9@mail.gmail.com>
References: <x2ta835c81e1004211848l29dafef3k798392d254a15533@mail.gmail.com>	<4BD1635D.7050802@gmail.com>	<s2ka835c81e1004231019n4a6e11dft134194f90ff9e532@mail.gmail.com>	<4BD216DE.4070304@gmail.com>	<u2ia835c81e1004231735nd64de92aif591b5e63d2916f3@mail.gmail.com>
	<k2ya835c81e1004251133z5272d463i221bebb154cbeca9@mail.gmail.com>
Message-ID: <4BD57FC8.4050604@statistik.tu-dortmund.de>



On 25.04.2010 20:33, rusers.sh wrote:
> Hi all,
>    I find the problem.See below.
>    Today, i installed the newest R-VERSION2.11.0 for checking. Different
> error occurred. I checked the log and found 'Hmisc' package caused this. At
> present, binary package was not provided. After i installed an old version
> of 'Hmisc' package, it works very well.
>    I think there should be no problem for R. It may be caused by
> the dependent  package 'Hmisc' that has no newest binary package in the
> CRAN. Sorry about this.


As discussed on R-help (?) before, Hmsic is not available as a Windows 
binary since it fails checks under current R-release.

Uwe Ligges


> 2010/4/23 rusers.sh<rusers.sh at gmail.com>
>
>> Hi Duncan,
>>    Enclosed is the example package and the checking results. No rm() or
>> remove() in the example. Before this re-installation of  R and other tools
>> (e.g. Rtools), there are no errors for package checking.
>>    Thanks.
>>
>>
>> 2010/4/23 Duncan Murdoch<murdoch.duncan at gmail.com>
>>
>>> On 23/04/2010 1:19 PM, rusers.sh wrote:
>>>
>>>> Hi Duncan,
>>>>   Thanks for reminding me. See below for the error information from *.Rout
>>>> file
>>>>   It seems that 'pkgname' was not found. I am not sure whether there is
>>>> some
>>>> problem with my functions or it is a little bug.
>>>>   Thanks a lot.
>>>> #######
>>>>
>>>>
>>>>> assign("ptime", proc.time(), pos = "CheckExEnv")
>>>>> ## at least one package changes these via ps.options(), so do this
>>>>> ## before loading the package.
>>>>> ## Use postscript as incomplete files may be viewable, unlike PDF.
>>>>> ## Choose a size that is close to on-screen devices, fix paper
>>>>> grDevices::ps.options(width = 7, height = 7, paper = "a4", reset = TRUE)
>>>>> grDevices::postscript(paste(pkgname, "-Ex.ps", sep=""))
>>>>>
>>>>>
>>>> Error in paste(pkgname, "-Ex.ps", sep = "") : object 'pkgname' not found
>>>> Calls:<Anonymous>  ->  checkIntFormat ->  gsub ->  paste
>>>> Execution halted
>>>>
>>>>
>>>
>>> The very first line of stam-Ex.R should be
>>>
>>> pkgname<- "stam"
>>>
>>> Is it?  If not, I'd like to see the package; could you send me a copy?  If
>>> it is, then something in one of your examples is messing with it.  Do you
>>> have any calls to rm() or remove() in your examples?
>>>
>>> Duncan Murdoch
>>>
>>>   2010/4/23 Duncan Murdoch<murdoch.duncan at gmail.com>
>>>>
>>>>
>>>>
>>>>> On 21/04/2010 9:48 PM, rusers.sh wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Hi all,
>>>>>>    Today, i just installed the newest R version 2.10.1 and other
>>>>>> necessary
>>>>>> tools for building R package under windows,e.g. Rtools, perl. All are
>>>>>> the
>>>>>> newest version.
>>>>>>   After the correct configuration under windows (configuration should be
>>>>>> correct), i use it to re-check my old package. I found the following
>>>>>> prolem
>>>>>> when checking EXAMPLEs in each function, which did not exist before
>>>>>> this
>>>>>> re-installation.
>>>>>> ########
>>>>>> * checking examples ... ERROR
>>>>>>   Running examples in 'stam-Ex.R' failed.
>>>>>> ########
>>>>>>   I used "\dontrun{} % enddontrun" in all the examples of my functions
>>>>>> that
>>>>>> should be no problem, i think. I checked my package before and did not
>>>>>> find
>>>>>> errors. I also browsed the checking results in 'stam-Ex.R'. It listed
>>>>>> all
>>>>>> the example codes in that file, something like this,
>>>>>>   cleanEx(); nameEx("stcdt")
>>>>>>   ### * stcdt
>>>>>>   flush(stderr()); flush(stdout())
>>>>>>   ###example codes
>>>>>>
>>>>>>   I did not met this problem before.  Any ideas on solving this?
>>>>>>   Thanks a lot.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> You need to show us the end of the stam-Ex.Rout file.  It will contain
>>>>> the
>>>>> error message.
>>>>>
>>>>> Duncan Murdoch
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> --
>> -----------------
>> Jane Chang
>> Queen's
>>
>
>
>



[Rd] Question of R CMD check
Uwe Ligges