neuropsychology/psycho.R

Toward 0.5.0 and beyond: Package refactoring, streamlining and scope narrowing

DominiqueMakowski opened this issue · 1 comments

Although the package is relatively recent, I'm coming (slowly) to the conclusion that it should undergo an important change. As I improved my R skills, broaden my development experience and bumped my general knowledge of statistics for psychology (and got a PhD 😉), I feel like psycho should be a more specific package, devoted to its primary aim (analyzing and giving a textual ready-to-use representation of statistical results), rather than a very large toolbox encompassing a large variety of miscellaneous functions; I'd like it to be clean, neat, light, quick and easy to maintain and use.

First of all, I'll release to CRAN a final stable version (the 0.4.0). Then, in the coming weeks/months, I'll start making some heavy cleaning. Out-of-scope functions will be moved to another package. I'll try to keep a backlog of changes in this issue, and, at the end of the refactoring process, I'll make a blogpost summarizing things. If you have any suggestions/ideas, please let me know.

EDIT

After struggling a bit, I decided to move all the reports related functions to a new package named report, as its scope appears as more general than to be used in psychological science only.

To summarise, psycho will be slowly replaced by several packages (report, maktools and bayestestR). I am not sure what the future of psycho is (i.e., what could be the set of tools specific to psychological science covered by the package). The future will tell. Fow now, I recommend you to start switching (helping to improve 🙌) the new packages, which I hope will be, in the end, better at their respective role.

This will probably all be done inside a new organisation, easystats. Check-it-out for more info.

0.5.0

  • Release 0.4.0 to CRAN
  • Freeze the 0.4.0 in a legacy repo (oldpsycho) or branch
  • Move Bayesian models related functions to bayestestR
    • HDI -> hdi
    • ROPE -> rope and rope_test
    • MPE -> p_direction
    • rnorm_perfect
    • find_highest_density_point -> map_estimate
  • Move miscellaneous functions to maktools
    • overlap
    • golden
    • create_intervals
    • find_season
  • Move reports/analyze to report
    • htest
    • lm
    • cite_packages
  • Do not remove / break anything but add depreciation warnings leading to the new way
  • Move psycho blogposts to a new blog made with blogdown
  • Add blostpost explaining changes and new ways

See 'easystats' project.