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 7828403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:20:40+00:00 2026-06-02T10:20:40+00:00

My the R package depends upon other package (for example fields) What is best

  • 0

My the R package depends upon other package (for example “fields”)

What is best practice to ensure that the package is loaded, when my package is loaded.

Should I write cover r program to do this ? Can or should such dependencies distributed with my distribution ?

I will appreciate a detail answer with scrips

Edit:
As per following suggestion I added the following in Discription file.

Depends: R (>= 1.8.0), fields

Still the fields package is not loaded automatically when I load my package.

  • 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-02T10:20:44+00:00Added an answer on June 2, 2026 at 10:20 am

    This is something you specify in your DESCRIPTION file that you ship with your package. You can use either the ‘Depends’ field, or better is to use ‘Imports’ field in combination with a NAMESPACE file. Have a look at the DESCRIPTION and NAMESPACE files from some other packages, or read over the Writing R Extensions manual.

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

Sidebar

Related Questions

I am working on a new Python package that depends upon many rather large
I want to develop a common python package, I got other packages depends on
I am making an Ubuntu package that depends on Tomcat7 through HTTPS. To make
I have two Eclipse projects: one that depends upon a certain library (android.jar) and
Currently when I am writting a bundle in that depends on a package, I
I need to install mysql-python under python2.6. mysql-python package needs python2.6-devel package that depends
I'm trying to create a package which depends exactly on sun-java6-jre (other variants don't
I have a Python project which depends upon the wsgi_intercept package. I added it
I have always assumed that having a package in the 'Depends' field would automatically
I've created a Debian package for my application that depends on openjdk-7-jre, problem 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.