githubinstall icon indicating copy to clipboard operation
githubinstall copied to clipboard

gh_install_packages() does not find the repository I know exists

Open vinsondoyle opened this issue 8 years ago • 2 comments

I tried to install a package hosted here: https://github.com/emmanuelparadis/pegas, but gh_install_packages() does not find the correct repository. Is there a way to point to the appropriate repository manually.

gh_update_package_list()
gh_search_packages("pegas")

username package_name title 1 dwinter Pegas My branch of Emmanuel Paradis' PEGAS library for phylogeography/popgen

githubinstall("pegas") installs an old version of pegas from the repository of dwinter:

githubinstall("pegas") Suggestion:

  • dwinter/Pegas My branch of Emmanuel Paradis' PEGAS library for phylogeography/popgen Do you want to install the package (Y/n)?

githubinstall("emmanuelparadis/pegas/pegas"), strangely, installs an R package to retrieve trading prices and other data from the Australian Energy Market Operator.

githubinstall("emmanuelparadis/pegas/pegas") Suggestion:

  • imanuelcostigan/aemo Get price and demand data from AEMO website Do you want to install the package (Y/n)?

vinsondoyle avatar Jan 27 '17 23:01 vinsondoyle

I think that this package collects the information of packages from here. Then, it is useful for you to contact @gepuro who is the developer of that website.

teramonagi avatar Jan 29 '17 12:01 teramonagi

Currently, githubinstall (more precisely, Gepuro Task View) supports only repositories whose DESCRIPTION files are located at the top directory. For example, feather package cannot be installed by githubinstall.

githubinstall::githubinstall("feather")
#> Select a number or, hit 0 to cancel. 
#> 
#> 1: jrnold/flatter       Bag of Tricks to Ease Feature Engineering
#> 2: maptopixel/WeatheR   Bag of Tricks to Ease Feature Engineering
#> 3: mpiccirilli/weatheR  Bag of Tricks to Ease Feature Engineering
#> 4: sunsiyu/featurer     Bag of Tricks to Ease Feature Engineering
#> 
#> Selection: 0
#> cancelled by user

@gepuro Are there any plan to support these packages?

yutannihilation avatar Jan 29 '17 12:01 yutannihilation