Skip to content

digest used by PackageCopyStrategy but not declared in DESCRIPTION Imports #8

Description

@JohnGavin

digest is used by PackageCopyStrategy but not declared in DESCRIPTION Imports

Thanks for muttest — it works well.

While building the package from source in a sandboxed, from-source environment (Nix, no automatic dependency resolution), the run failed because digest was not available. It turns out digest is called by PackageCopyStrategy (used during the package-copy step) but is not listed in DESCRIPTION under Imports.

In environments that install only the declared dependencies (Nix/Guix, pak with strict resolution, minimal CI images), this surfaces as a runtime error rather than a clean install-time dependency.

Suggested fix

Add digest to Imports: in DESCRIPTION (and, if you use roxygen's namespace management, ensure the relevant @importFrom digest ... or qualified digest:: calls are reflected).

Reproduction context

  • muttest v0.2.1
  • Built from source with only the declared deps present; PackageCopyStrategy invoked digest:: and aborted with the package unavailable.

Happy to confirm details if useful. Thanks again for the package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions