Thanks Uwe. Actually, the problem persists in R-3.2.1. If it helps, the .zip file is here: http://win-builder.r-project.org/yC8eUu09w3Ui/ Thank you, Axel. On Mon, Jun 15, 2015 at 5:41 PM, Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote:> > > 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. >> >>[[alternative HTML version deleted]]
On 16.06.2015 15:16, Axel Urbiz wrote:> Thanks Uwe. Actually, the problem persists in R-3.2.1. > > If it helps, the .zip file is here: > > http://win-builder.r-project.org/yC8eUu09w3Ui/Works for me, but your error message is: "cannot open compressed file 'mypackage/DESCRIPTION'" which suggests you renamed the file? You must not do that, just keep the filename "calibr_0.0.0.9000.zip". Best, Uwe Ligges> Thank you, > Axel. > > > > On Mon, Jun 15, 2015 at 5:41 PM, Uwe Ligges > <ligges at statistik.tu-dortmund.de > <mailto:ligges at statistik.tu-dortmund.de>> wrote: > > > > 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 <mailto: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. > >
Thanks again Uwe. I haven't renamed the file, only in the text sent to R-help. Here's the error again I'm getting. Sorry, this s a bit frustrating... Thanks, Axel 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 'calibr/DESCRIPTION', probable reason 'No such file or directory'>On Tue, Jun 16, 2015 at 10:18 AM, Uwe Ligges < ligges at statistik.tu-dortmund.de> wrote:> > > On 16.06.2015 15:16, Axel Urbiz wrote: > >> Thanks Uwe. Actually, the problem persists in R-3.2.1. >> >> If it helps, the .zip file is here: >> >> http://win-builder.r-project.org/yC8eUu09w3Ui/ >> > > > Works for me, but your error message is: > > > "cannot open compressed file 'mypackage/DESCRIPTION'" > > which suggests you renamed the file? You must not do that, just keep the > filename "calibr_0.0.0.9000.zip". > > Best, > Uwe Ligges > > > Thank you, >> Axel. >> >> >> >> On Mon, Jun 15, 2015 at 5:41 PM, Uwe Ligges >> <ligges at statistik.tu-dortmund.de >> <mailto:ligges at statistik.tu-dortmund.de>> wrote: >> >> >> >> 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 <mailto: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. >> >> >>[[alternative HTML version deleted]]