Re: [Rd] Unable to collate and parse R files with R CMD check

From: Sumukh Sathnur <ssath002_at_ucr.edu>
Date: Thu, 08 Dec 2011 12:33:49 -0800

Thanks! That fixed the problem, it turned out one of my source files was incomplete.

Sumukh

2011/12/7 Uwe Ligges <ligges_at_statistik.tu-dortmund.de>

>
>
> On 06.12.2011 20:05, Sumukh Sathnur wrote:
>
>> Hi all,
>>
>> I'm trying to build a package on Windows 7 (64 bit) and although R cmd
>> build worked fine and I got pkg.tar.gz with no errors, but when I tried
>> doing R CMD check everything turns out ok except for the warning:
>>
>> "checking whether package 'pkg' can be installed ... ERROR.
>> Installation failed."
>>
>> It then refers me to the error file "00install.out" which reads as
>> follows:
>>
>> * installing *source* package 'pkg' ...
>> ** R
>> Error in parse(outFile) : 94:0: unexpected end of input
>> 92:
>> 93: dat
>>
>
> Oh, it means R cannot even parse the code. So try to source() each file in
> your ./R directory separately. You will find that at least one won't work.
>
> Uwe Ligges
>
>
> ^
>> ERROR: unable to collate and parse R files for package 'pkg'
>> * removing 'C:/PROGRA~1/R/R-214~1.0/bin/**x64/PKG~1.RCH/pkg'
>>
>>
>> I have no idea what this means and I was not able to find any similar
>> errors online. Any help would be appreciated.
>>
>> Thanks in advance,
>> Sumukh
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________**________________
>> R-devel_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/**listinfo/r-devel<https://stat.ethz.ch/mailman/listinfo/r-devel>
>>
>

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 08 Dec 2011 - 20:50:17 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 09 Dec 2011 - 18:50:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive