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

  • SEARCH
  • Home
  • 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 7063121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:40:34+00:00 2026-05-28T04:40:34+00:00

I have looked at the help for update.packages(…, checkBuilt = TRUE) and I am

  • 0

I have looked at the help for update.packages(..., checkBuilt = TRUE) and I am unclear on why one would not want to have TRUE as the default. The default is FALSE.

This question has two parts. (1) Can someone give a clear explanation of the use of this argument and rationale for either FALSE or TRUE?

As I understand it, if one updates R, then this could have different outcomes – if the packages haven’t been updated, then FALSE will not cause the local libraries to be modified with updated packages, while TRUE will cause more (all?) packages to be updated. The default option (FALSE) may confer a speed benefit – fewer packages will be updated. Stability is uncertain – a new version of R may work better with a new package, or it may not (e.g. if there are regressions / bugs in the new package), and it may or may not work with the earlier version of the package (backward compatibility is not guaranteed). Other pros and cons are not obvious to me. (And I may be quite mistaken here – which is why I ask for a clarification as part 1.)

(2) However, if one has not changed the installed version of R, then shouldn’t these have the same outcome? See this post for an example where it seems that just calling update.packages() created problems, even though the version of R did not change.

  • 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-05-28T04:40:34+00:00Added an answer on May 28, 2026 at 4:40 am

    CheckBuilt = TRUE is especially useful for major upgrades such as 2.14.0 which brought big changes in the namespaces. Packages without a namespace built with previous version of R must be recompiled, otherwise they won’t load at all. So if you have such a package (such as ICE) installed in R 2.13, and you update to R 2.14, you won’t be able to load it anymore:

    > library(ICE)
    Error in library(ICE) : 
      package ‘ICE’ does not have a NAMESPACE and should be re-installed
    

    As there is no newer version with a namespace, update.packages() won’t upgrade it without CheckBuilt = TRUE. So by saying update.packages(checkBuilt = TRUE), you clearly say, upgrade all the packages if either:

    • There is a more recent version on the CRAN
    • OR re-install the package if it was built with an older version of R.

    It won’t modify packages that were compiled in the same version of R and without upgrade available on the CRAN. CheckBuilt really means “re-install if compiled in an older version”, not “re-install all packages”.

    Why is it FALSE by default? I guess it puts an huge load on the CRAN and most of the time it is not necessary: I have never seen a problem after a minor upgrade (i.e R 2.13.0 to 2.13.1). I would definitely recommend doing it after any major upgrade such as 2.13.1 to 2.14.0.

    I believe the specific case you mention in (2) is an exception. It involves upgrading packages installed with apt rather than from R. You can’t really draw any conclusion of such a segfault bug. And anyway, if CheckBuilt = TRUE upgraded it, it means it was built in a previous version of R.

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

Sidebar

Related Questions

I have looked at their help page it seems like I can register a
I've looked at this and it wasn't much help. I have a Ruby program
I have looked at a lot of answers but have not found a satisfactory
I'm new to this and have looked at other examples but am unclear on
I'm having a bit of trouble with this one! I have definitely looked in
What i want to be able to do is have a server which one
1) Is it true that if you would like to have your custom dialogues
Have looked quite hard for this answer but having no luck. I have 3
I have looked at the key-value database Redis and am curious about alternatives that
I have looked all over the MySQL website and found no definitive answers. Is

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.