Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a tiny little bit easier way to install from github #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michbur
Copy link

@michbur michbur commented Apr 19, 2018

No description provided.

@HajkD
Copy link
Member

HajkD commented Apr 20, 2018

Hi @michbur

Thank you so much for this great suggestion!

I tried this command an get the following error:

Error in file(filename, "r", encoding = encoding) : 
  cannot open the connection to 'https://install-github.me/HajkD/metablastr'
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
  URL 'https://install-github.me/HajkD/metablastr': status was 'Peer certificate cannot be authenticated with given CA certificates'

On which system do you run this command? Do you know why this certificate auth error might occur?

Many thanks and best wishes,
Hajk

@michbur
Copy link
Author

michbur commented Apr 20, 2018

I tested this under Win10 and Ubuntu, it was working like a charm. I find odd that R cannot open the connection, because the address https://install-github.me/HajkD/metablastr seems to work properly.

Can you do:

 readLines("https://install-github.me/HajkD/metablastr")

If not, your firewall might be a source of the problem. Then it can be solved using:

library(httr)
set_config(config(ssl_verifypeer = 0L))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants