VascoElbrecht / PrimerMiner

R mased batch sequence downloader, with primer development and in silico evaluation capabilities
33 stars 11 forks source link

Install issue #26

Closed Sebastian-Mynott closed 7 years ago

Sebastian-Mynott commented 7 years ago

Hi Vasco,

I'm keen to give PrimerMiner a try but have run into an issue. When installing, I get the following Warnings and Error:

> install.packages("~/Downloads/PrimerMiner-0.12.tar.gz", repos = NULL, type = "source") Warning in untar2(tarfile, files, list, exdir, restore_times) : skipping pax global extended headers ERROR: cannot extract package from ‘/Users/sebastian/Downloads/PrimerMiner-0.12.tar.gz’ Warning in install.packages : installation of package ‘/Users/sebastian/Downloads/PrimerMiner-0.12.tar.gz’ had non-zero exit status

Any idea wha I might be doing wrong?

Many thanks, Sebastian

VascoElbrecht commented 7 years ago

Dear Sebastian,

Thank you for your request.

Yes, files downloaded from Github are compressed. You have to "unzip" the folder. On mac, just double click on the downloaded file. Then you can access the folder contents and it should install without any issues.

Please let me know if that works or if you need further assistance.

Best Vasco

Sebastian-Mynott commented 7 years ago

Dear Vasco,

Thank you for your prompt response. I did try installing the ‘unzipped' package without success.

install.packages("~/Applications/R Packages/PrimerMiner-0.12", repos = NULL, type = "source") Warning: invalid package ‘/Users/sebastian/Applications/R Packages/PrimerMiner-0.12’ Error: ERROR: no packages specified Warning in install.packages : installation of package ‘/Users/sebastian/Applications/R Packages/PrimerMiner-0.12’ had non-zero exit status install.packages("~/Applications/R Packages/PrimerMiner-0.12/PrimerMiner", repos = NULL, type = "source") Warning: invalid package ‘/Users/sebastian/Applications/R Packages/PrimerMiner-0.12/PrimerMiner’ Error: ERROR: no packages specified Warning in install.packages : installation of package ‘/Users/sebastian/Applications/R Packages/PrimerMiner-0.12/PrimerMiner’ had non-zero exit status

I’m running R 3.3.1 in RStudio on macOS Sierra, if that helps.

Many thanks.

Sebastian

On 21 Feb 2017, at 16:11, Vasco Elbrecht notifications@github.com wrote:

Dear Sebastian,

Thank you for your request.

Yes, files downloaded from Github are compressed. You have to "unzip" the folder. On mac, just double click on the downloaded file. Then you can access the folder contents and it should install without any issues.

Please let me know if that works or if you need further assistance.

Best Vasco

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VascoElbrecht/PrimerMiner/issues/26#issuecomment-281390759, or mute the thread https://github.com/notifications/unsubscribe-auth/AKWuZ3NRePnfnjIw925RFTSk_ay1LSnWks5rewywgaJpZM4MHg8n.

VascoElbrecht commented 7 years ago

Hello Sebastian,

Can you please try changing the working directory first with

setwd("~/Applications/R Packages/PrimerMiner-0.12/")

And then try installing the package again using

install.packages("PrimerMiner", repos = NULL, type="source", dependencies=T)

Best Vasco

Sebastian-Mynott commented 7 years ago

Hi Vasco,

That’s got it. Many thanks for your support!

I’m sorry if I caused you any frustration.

Best Sebastian

On 21 Feb 2017, at 16:46, Vasco Elbrecht notifications@github.com wrote:

Hello Sebastian,

Can you please try changing the working directory first with

setwd("~/Applications/R Packages/PrimerMiner-0.12/")

And then try installing the package again using

install.packages("PrimerMiner", repos = NULL, type="source", dependencies=T)

Best Vasco

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VascoElbrecht/PrimerMiner/issues/26#issuecomment-281402169, or mute the thread https://github.com/notifications/unsubscribe-auth/AKWuZ5_DU81WyiIAT7qxyStIkml3bKXLks5rexTggaJpZM4MHg8n.

VascoElbrecht commented 7 years ago

Hello Sebastian,

I'm happy to help. Let me know if you run into any other issues!

Best Vasco