This is just a shot in the dark since you didn't provide any details about the package: chances are that you have invalid characters in one of the source files and/or your'e trying to source something that doesn't exist.
Consider putting your package somewhere so we can have a look...
Cheers,
Simon
On Nov 8, 2011, at 10:51 AM, Adrian Dusa wrote:
Dear All,
Recently switched to a Mac (Lion), now trying to build and install a
local package that works just fine in both Windows and Linux.
R CMD check gives:
* using log directory ?/Users/dusadrian/statusor.Rcheck?
* using R version 2.13.1 (2011-07-08)
* using platform: x86_64-apple-darwin9.8.0 (64-bit)
* using session charset: UTF-8
* checking for file ?statusor/DESCRIPTION? ... OK
* checking extension type ... Package
* this is package ?statusor? version ?0.6-1?
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking for executable files ... OK
* checking whether package ?statusor? can be installed ... ERROR
Installation failed.
See ?/Users/dusadrian/statusor.Rcheck/00install.out? for details.
The .out file writes:
* installing *source* package ?statusor? ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error in file(file, "r", encoding = encoding) :
?cannot open the connection
Calls: source -> file
Execution halted
ERROR: loading failed
* removing ?/Users/dusadrian/statusor.Rcheck/statusor?
Thanks for any hints,
Adrian
--
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd.
050025 Bucharest sector 5
Romania
Tel.:+40 21 3126618 \
? ? ? ?+40 21 3120210 / int.101
Fax: +40 21 3158391