Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7920305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:09:53+00:00 2026-06-03T16:09:53+00:00

I apologize as I know that this answer is likely in the manuals for

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:09:56+00:00Added an answer on June 3, 2026 at 4:09 pm

    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 named zzz.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:

    $ grep ^Collate */DESCRIPTION | wc -l
    292
    $ ls -1 */DESCRIPTION | wc -l
    3779
    

    So that is 7.7% of all packages. I really would not worry about this unless you really must.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I apologize because I know this has been covered over and over again, but
I apologize if this has a painfully obvious answer but I am both a
I apologize as I don't know whether this is more of a math question
Apologies for the open endedness of this question, but I really don't know what
My apologies if this is a little broad, but I'm struggling to know where
I apologize for the subjectiveness of this question, but I am a little stuck
I apologize in advance because this is somehow a silly question, but I just
This isn't a question that has a black/white yes/no answer, this is more a
I have a feeling that this probably is not possible using strictly CSS, but,
I apologize if this question was asked already before but I could not find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.