Re: [Rd] Error in parse(outFile)

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Wed, 25 Nov 2009 07:01:02 -0500

Pamela McCaskie wrote:
> Hi all
>
> I have made some changes to a package (SimHap) I wrote a couple of years
> ago, and it has passed R CMD check under windows, but under linux
> (ubuntu jaunty) I am getting the following error:
>
>
>
> * installing *source* package 'SimHap' ...
>
> ** R
>
> Error in parse(outFile) : 2:1: unexpected $end
>
> ERROR: unable to collate files for package 'SimHap'
>
>
>
> Does anyone know what the "outFile" it is referring to here, and why
> this would be happening in a linux build, but not in windows. In both
> cases I'm using R 2.10.0.
>

When installing a package, R collects all the source into one big file and parses it all at once. The filename is stored internally in a variable called "outFile".

I don't know what would be causing this difference between Windows and Linux. If you can send me a copy of the package offline I'll take a look later today.

Duncan Murdoch

>
>
> Cheers
>
> Pam
>
>
>
> Dr Pamela McCaskie
>
> Assistant Professor
>
> Centre for Genetic Epidemiology and Biostatistics
>
> M409
>
> University of Western Australia
>
>
>
> Email: pam.mccaskie_at_uwa.edu.au
>
> Ph: 6488 6741
>
> Fax: 6488 6750
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 25 Nov 2009 - 12:04:02 GMT

This archive was generated by hypermail 2.2.0 : Wed 25 Nov 2009 - 15:30:50 GMT