[Rd] Error in help files connection
Duncan Murdoch
murdoch.duncan at gmail.com
Thu Jan 29 13:33:35 CET 2015
On 25/01/2015 1:58 PM, Axel Urbiz wrote:
> Hello,
>
> I'm building a package on Mac OS. The build/check/install goes all ok.
> Also, the package gets loaded properly with library(my_package).
>
> However, when I call the help file for a given function in the package --
> i.e., "?my_function", I get the following error:
>
> Error in gzfile(file, "rb") : cannot open the connection
>
> I've search for this issue, but did not find anything that could help in my
> case.
>
You'll need to make your package available if you want someone else to
help. If you want to do it yourself, use options(error=recover) to find
out what file R was trying to open, likely something like
/Library/Frameworks/R.framework/Resources/library/*/Meta/package.rds
and then work out why R was unable to open it.
Duncan Murdoch
More information about the R-devel
mailing list