hoxo-m / githubinstall

A Helpful Way to Install R Packages Hosted on GitHub
http://hoxo-m.github.io/githubinstall/
Other
49 stars 12 forks source link

gh_install_packages() does not find the repository I know exists #34

Open vinsondoyle opened 7 years ago

vinsondoyle commented 7 years ago

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:

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:

teramonagi commented 7 years ago

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.

yutannihilation commented 7 years ago

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?