GWalkR
GWalkR copied to clipboard
C stack usage error
Awesome package idea, very excited to be able to use it!
A potential bug: when I create a data frame from reading in a .sav dataset (using the "haven" package, read_spss), the gwalkr() function outputs: "Error: C stack usage [big number here] is too close to the limit"
However, if I write out the same data frame as a .csv (using write_csv) and re-read it back in, the function works as intended.
Not sure what information is stripped by the write_csv function (or if the read_spss reads it in an incompatible format), but it helps the gwalkr function read data from a .sav file correctly.
Example: Using the exercise.sav from here
dat <- haven::read_spss("~/Desktop/exercise.sav") GWalkR::gwalkr(dat)