RyanHornby / csSampling

Other
11 stars 2 forks source link

Package Requirements #2

Closed spurioushound closed 3 years ago

spurioushound commented 3 years ago

I was trying to run through some of the code and some of the functions were not available through just loading the csSampling package. The one I noted was rstan not importing when I ran library(csSampling) and I had to run the library(rstan) separately.

RyanHornby commented 3 years ago

Which functions were you trying to run?

spurioushound commented 3 years ago

I was trying to run the proportions test which requires the stan_model() function.

It was sending me an error when I was trying to run through the script when only specifying csSampling with library().

RyanHornby commented 3 years ago

Ok, the rstan, brms, and survey packages should now load when you run library(csSampling).