I apologize as I know that this answer is likely in the manuals for writing an R package but in my reading and looking at other package's Collate fields I can't figure out 100% what this field is for. In plain language (mine is English) what does the Collate field in the Description file of a package do? What would one want to put there?
相关问题
- R - Quantstart: Testing Strategy on Multiple Equit
- Using predict with svyglm
- Reshape matrix by rows
- Extract P-Values from Dunnett Test into a Table by
- split data frame into two by column value [duplica
相关文章
- How to convert summary output to a data frame?
- How to plot smoother curves in R
- Paste all possible diagonals of an n*n matrix or d
- ess-rdired: I get this error “no ESS process is as
- How to use doMC under Windows or alternative paral
- dyLimit for limited time in Dygraphs
- Saving state of Shiny app to be restored later
- How to insert pictures into each individual bar in
I think it comes from a time and situation when the order in which the files in the
R/
directory were sourced (as opposed to the lexicographic default) still mattered. A similar reason for why the.onLoad()
function is often in a file namedzzz.R
.For what it is worth, not one of my packages uses the "Collate:" field in DESCRIPTION.
Edit: And as we're fond of empirical measures, here is a quick
grep
on a machine with all CRAN sources:So that is 7.7% of all packages. I really would not worry about this unless you really must.