Skip to content

Error message references documentation page for some other package that may not be installed #795

Open
@dvg-p4

Description

@dvg-p4

pkgdepends is only suggested by pak, not required, so this error message can leave you with only further cryptic error messages when you try to view the suggested documentation:

> pak::pak("curl<6.4.0")
Error: 
! error in pak subprocess
Caused by error in `get_remote_types(refs)`:
! Cannot parse package: curl<6.4.0.
ℹ See `?pkgdepends::pkg_refs()` for supported package sources.
Type .Last.error to see the more details.
> ?pkgdepends::pkg_refs()
Error in .helpForCall(topicExpr, parent.frame()) : 
  no methods for ‘pkg_refs’ and no documentation for it as a function
> pkgdepends::pkg_refs()
Error in loadNamespace(x) : there is no package called ‘pkgdepends’

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