You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, this package's R/ directory contains one file for each function. So, the file demo-crowding.R contains demo_crowding(), the file demo-education.R contains demo_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 the demo_*() functions, handle.R would contain all the handle_*() functions, and so on.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: