I am trying to use easyPubMed package in R to download content from PubMed in txt format. I am trying to run the following example: 
dami_on_pubmed <- get_pubmed_ids("Damiano Fantini[AU]")
However, at this point I get the following error:
Error in url(myPubmedURL, open = "rb") : https:// URLs are not supported
How to solve this problem? Thanks