ipeaGIT / aopdata

Download data from the Access to Opportunities Project (AOP)
https://ipeagit.github.io/aopdata/
13 stars 4 forks source link

Installation via GitHub #44

Closed igorlaltuf closed 2 years ago

igorlaltuf commented 2 years ago

I'm trying to install the package from GitHub, but the following message appears:

> devtools::install_github("ipeaGIT/aopdata")
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo ipeaGIT/aopdata@HEAD
Error: Failed to install 'aopdata' from GitHub:
  Does not appear to be an R package (no DESCRIPTION)
dhersz commented 2 years ago

You have to specify the sub-directory:

devtools::install_github("ipeaGIT/aopdata", subdir = "r-package")