Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency install errors on GHA #1201

Closed
simonpcouch opened this issue May 8, 2024 · 2 comments · Fixed by #1204
Closed

dependency install errors on GHA #1201

simonpcouch opened this issue May 8, 2024 · 2 comments · Fixed by #1204

Comments

@simonpcouch
Copy link
Collaborator

In most recent GHA runs, seeing:

  Error: 
  ! error in pak subprocess
  Caused by error: 
  ! Could not solve package dependencies:
  * deps::.: Can't install dependency quantreg
  * quantreg: Can't install dependency MatrixModels
  * MatrixModels: Can't install dependency Matrix (>= 1.6-0)
  * Matrix: Needs R >= 4.5
  * Matrix: Needs R >= 4.4.0
  * any::sessioninfo: dependency conflict

Current R-release is 4.4.0, so I'm a bit confused by a Recommended package requiring (greater than?) R-devel.

@simonpcouch
Copy link
Collaborator Author

Okay...

So, quantreg requires MatrixModels, which requires Matrix (>= 1.6-0). On R 4.1, though, there is no appropriate Matrix in the CRAN metadata.

We could work around this in our own GHA, but builds would still fail on CRAN / users would be unable to install on R 4.1.

@simonpcouch
Copy link
Collaborator Author

In #1203:

Okay, we'd at least need to do the same thing for car tidiers to properly resolve this issue.

I think, at this point, broom will need to do a parsnip-style Roll Your Own Package Manager approach.

Rather than deprecating most tidiers in the package, I think we'll need to come up with a Suggests-free approach to supporting these methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant