Open howardbaik opened 7 months ago
Would love to talk more about this because I am all for organization! But for now, Sean has told me to keep the r files linear
Sure, I'll talk to Sean tomorrow about this. Would love to learn about his reasoning.
Currently, this package's
R/
directory contains one file for each function. So, the filedemo-crowding.R
containsdemo_crowding()
, the filedemo-education.R
containsdemo_education()
, and so on.According to the "R code" chapter in R Packages, this extreme is bad. I suggest we have a single
.R
file contain a family of related functions. For ex,demo.R
would contain all thedemo_*()
functions,handle.R
would contain all thehandle_*()
functions, and so on.