Open jmgirard opened 3 years ago
Ah, thank you for this. I'm not sure when I'll get to it, but I do want to revisit this. The lsr package is old and in severely need of some maintenance. I was not a very good R programmer at the time I wrote it, unfortunately. I'll try to clear time to fix this... sometime
Would you be open to help/pull requests on some of these things? I'm also pretty busy, but teaching from the book right now and therefore on my mind.
That would be awesome, yes!
I've just sent version 0.5.1 to CRAN to update maintainer details, port the documentation to roxygen2 and fix the notes the package was throwing on CRAN. I think the way to proceed would be for me to add some minimal testthat infrastructure to make sure don't break expected behaviour per the book. It won't be fancy or thorough, but even some basic tests are better than none! I'll ping you once it's up (should be able to get it done today if the kids are kind to me!), at which point a PR would be very welcome
Sounds great. It would be great to be able to give back - the book has saved a LOT of effort for me in terms of teaching prep this term.
Because tibbles return tibbles when indexed with
[ ]
, but data frames return vectors, some of the checks are throwing false positives. Here is an example:Created on 2021-09-18 by the reprex package (v2.0.1)
This assertion paradigm seems to be the culprit: https://github.com/djnavarro/lsr/blob/69c959e311e2591b2641b597d1cba49af03a2fb1/R/independentSamplesTTest.R#L80