Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • airGRiwrm airGRiwrm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • IN-WOP
  • airGRiwrmairGRiwrm
  • Issues
  • #63
Closed
Open
Issue created Nov 10, 2021 by Dorchies David@david.dorchiesOwner

Simplify the use of airGR in airGRiwrm

The current usage needs the following preamble:

library(airGR)
library(airGRiwrm)

In order to have in the scope the airGR functions always needed by the user (such as ErrorCrit...).

Moreover running airGR and airGRiwrm in the code often leads to load and detach airGR and airGRiwrm libraries which is a real pain (For example see: #43 (comment 41579)).

I think that a "Depends" dependency on airGR instead of "Imports" would solve this problem. As it is said here:

Depends is used to indicate dependency on a particular version of R, and on packages that are to be loaded (with library()) whenever your package is loaded. If you expect that users would want to load that other package whenever they loaded yours, then you should include the package name here. But this is now relatively rare. (I think the namespaces for these packages should also be imported, with @import.)

I checked on a small example with a 'toto' library with a "Depends: airGR" and airGR function are directly accessible.

In that way a simple library(airGRiwrm) would give complete access to airGR functions. It remains to check if we can completely run airGRiwrm and airGR functions by only loading airGRiwrm.

Assignee
Assign to
Time tracking