tomoakin / RPostgreSQL

Automatically exported from code.google.com/p/rpostgresql
64 stars 20 forks source link

install_github from devtools does not work. #82

Closed iangow closed 8 years ago

iangow commented 8 years ago
> devtools::install_github("tomoakin/RPostgreSQL")
Downloading GitHub repo tomoakin/RPostgreSQL@master
from URL https://api.github.com/repos/tomoakin/RPostgreSQL/zipball/master
Error: Does not appear to be an R package (no DESCRIPTION)
jangorecki commented 8 years ago

You need to point to subdirectory in that github repository, package is not placed in top level dir. You should look at install_github manual.

iangow commented 8 years ago

OK, so devtools::install_github("tomoakin/RPostgreSQL", subdir="RPostgreSQL") works. Perhaps that could be mentioned in a README.md on main repository page (assuming there are good reasons for package not to be in a top-level directory).

Thanks.