data-edu / dataedu

An R package associated with the Data Science in Education Using R book
https://data-edu.github.io/dataedu/
Creative Commons Attribution 4.0 International
74 stars 12 forks source link

Installation throws an error if you don't have `simstudy` already installed #25

Closed restrellado closed 4 years ago

restrellado commented 4 years ago

When I used devtools::install_github("data-edu/dataedu") I got this error:

Error in library(simstudy) : there is no package called ‘simstudy’
Error: unable to load R code in package ‘dataedu’
Execution halted

I installed simstudy and that seemed to fix the problem. Is there a way we can require simstudy when installing the package?

jrosen48 commented 4 years ago

I think this was addressed at the same time as #26