[R] Error in local package install

Uwe Ligges
2015-06-15T21:41:51Z

On 15.06.2015 22:32, Axel Urbiz wrote:
> Hello,
>
> I've built a windows binary package from my Mac using the help from
this
> site: http://win-builder.r-project.org
>
> As expected, I got back the file "mypackage.zip". Also, the logs
show no
> errors.

No, you got a file packagename_version.zip.



> Now, when I try to install on windows using the GUI "install
package(s)
> from local zip files", I get the following error:
>
>> utils:::menuInstallLocal()
> Error in read.dcf(file.path(pkgname, "DESCRIPTION"),
c("Package", "Type"))
> :
>    cannot open the connection
> In addition: Warning messages:
> 1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
> 2: In read.dcf(file.path(pkgname, "DESCRIPTION"),
c("Package", "Type")) :
>    cannot open compressed file 'mypackage/DESCRIPTION', probable
reason 'No
> such file or directory'
>
> I've attempted to use the solutions from prior similar email threats
with
> no success. Btw - I've install all the packages dependencies prior to
the
> above. I'm on R 3.2.0.

please try the release condadate of R-3.2.1, R-3.2.0 had a bug for
package installation from local zip files.

Best,
Uwe Ligges


> Any guidance would be much appreciated.
>
> Thank you.
>
> Axel.
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>