Skip to content

Dependency resolution problems #116

@brownag

Description

@brownag

Simply checking that a package name is present in local library is not always enough to load the namespace.

Updating only "missing" packages can possibly result in complicated situations where all packages are present but cannot be loaded due to specific minimum versions set.

Most recently I saw this pop up on a users computer where raster namespace gets loaded via clhs, with raster now requiring terra >1.6-41... and the user had 1.6-17. Sometimes the dependencies are several steps removed and hard for users to figure out.

  • reportSetup() probably should default to updates of all required packages (change update=FALSE to update=TRUE)
  • Code used in mu-comparison report could be refactored and added to soilReports
    • to provide a standard routine for checking user has required packages (and giving informative errors of which namespaces don't load)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions