r-lib / r-lib/pkgload

load_all() fails cryptically for Matrix

Open
#274 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
61
Forks
53
PR merge metrics
No merged PRs in 30d

Description

I see the following (truncated) output for pkgload::load_all("Matrix") for the package cloned from the cran/Matrix GitHub repo:

─  DONE (Matrix)
Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection
In addition: Warning message:
In readChar(con, 5L, useBytes = TRUE) :
  cannot open compressed file '', probable reason 'No such file or directory'

This must be some sort of compilation issue;

  1. Is load_all() expected to work for all (non-default) packages, including recommended priority?
  2. Can this error be improved?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with pkgload::load_all("Matrix") using the package cloned from cran/Matrix, and inspect the truncated readChar connection error. Determine whether load_all() is expected to support non-default and recommended-priority packages, then make the failure report more informative if appropriate. Done means the behavior is clarified and the cryptic error is improved or its cause is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.