[R] Interpreting messages when building packages
Duncan Murdoch
murdoch at stats.uwo.ca
Mon Jul 7 21:24:07 CEST 2008
You didn't say how you were doing the install, but the directory name
looks like one that was used by R CMD check (.../dynalc.Rcheck/dynalc).
Are you trying to install from a directory created by it? You should
normally install from your original source directory.
Duncan Murdoch
On 7/7/2008 3:15 PM, Johannes Huesing wrote:
>> The earlier messages suggest that you have automatically produced help
>> files (from package.skeleton) and haven't edited them. I'd suggest
>> moving them to a temporary directory until you're ready to edit them
>> properly.
>
> ok, that get's me a little bit closer to a minimal working example as it
> cuts down on the messages:
>
> * Installing *source* package 'dynalc' ...
> ** libs
> WARNING: no source files found
> chmod: Zugriff auf „/home/hannes/texte/forschung/clot/programme/dynalc.Rcheck/dynalc/libs/*“ nicht möglich: No such file or directory
> ** R
> ** data
> ** inst
> ** help
> chmod: Zugriff auf „/home/hannes/texte/forschung/clot/programme/dynalc.Rcheck/dynalc/man/dynalc.Rd.gz“ nicht möglich: No such file or directory
> >>> Building/Updating help pages for package 'dynalc'
> Formats: text html latex example
> ** building package indices ...
> Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
> line 12 did not have 19 elements
> Calls: <Anonymous> ... <Anonymous> -> switch -> assign -> read.table -> scan
> Execution halted
> ERROR: installing package indices failed
> ** Removing '/home/hannes/texte/forschung/clot/programme/dynalc.Rcheck/dynalc'
>
>>
>> If that doesn't fix it,
>
> it doesn't
>
>> or it still occurs after you're done with the
>> editing, then you'll need to post more details: what version of R, what
>> platform, etc. sessionInfo() will print this.
>
> R version 2.7.0 (2008-04-22)
> i486-pc-linux-gnu
>
> locale:
> LC_CTYPE=de_DE.UTF-8;LC_NUMERIC=C;LC_TIME=de_DE.UTF-8;LC_COLLATE=de_DE.UTF-8;LC_MONETARY=C;LC_MESSAGES=de_DE.UTF-8;LC_PAPER=de_DE.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=de_DE.UTF-8;LC_IDENTIFICATION=C
More information about the R-help
mailing list