jbryer / ipeds

R R package for accessing the Integrated Postsecondary Education Data System (IPEDS) from R.
48 stars 18 forks source link

Vignette not available #4

Closed dcaud closed 4 years ago

dcaud commented 5 years ago

After devtools::install_github('jbryer/ipeds')

I get:

> vignette('ipeds') Warning message: vignette ‘ipeds’ not found

jbryer commented 5 years ago

Did you load the package first?

On Sat, Jun 1, 2019 at 12:25 PM dcaud notifications@github.com wrote:

After devtools::install_github('jbryer/ipeds')

I get:

vignette('ipeds') Warning message: vignette ‘ipeds’ not found

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jbryer/ipeds/issues/4?email_source=notifications&email_token=AAEYJD6EAKHKBEBNOOE2UXLPYKPH5A5CNFSM4HSA2ZNKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXDIQCQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEYJD3CKBVG4AWYQFPRY3TPYKPH5ANCNFSM4HSA2ZNA .

dcaud commented 5 years ago

Yes.

This: library(ipeds); vignette('ipeds')

gives the message above.

This: available_ipeds()

seems to work (give a dataframe with 13 rows)

However, this: ipeds_survey(table = 'HD', year = 2018)

results in: Error in load_ipeds(year = year, dir = dir) : Data file for 2017-18 not available. Try running the following function first: download_ipeds(year = 2018, dir = "/Library/R/3.5/library/ipeds/data/downloaded/")

And running that function in the error message didn't work either.

dcaud commented 5 years ago

BTW, I'm on a mac and installed mdbtools. Here's some details of my setup:

arch           x86_64                      
os             darwin15.6.0                
system         x86_64, darwin15.6.0        
status                                     
major          3                           
minor          5.2                         
year           2018                        
month          12                          
day            20                          
svn rev        75870                       
language       R                           
version.string R version 3.5.2 (2018-12-20)
nickname       Eggshell Igloo
jzadra commented 5 years ago

I also get the same error with the vignette. I'm on 2.0.1

tyleransom commented 4 years ago

I also get the same error with the vignette. I'm on 2.0.1

Ditto for me

jbryer commented 4 years ago

Seems the install_github does not build Vignettes by default. Try this command:

devtools::install_github('jbryer/ipeds', build_vignettes = TRUE)
tyleransom commented 4 years ago

Worked for me!