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

Handle remote deps #382

Merged
merged 33 commits into from
Jan 8, 2025
Merged

Handle remote deps #382

merged 33 commits into from
Jan 8, 2025

Conversation

b-rodrigues
Copy link
Contributor

@b-rodrigues b-rodrigues commented Jan 4, 2025

This PR allows rix to handle packages with remote dependencies. For now, only remote that are hosted on Github are correctly handled, and only if they are written as Remotes: r-lib/testthat in the main package's description file. Remote dependencies of remote dependencies are also handled.

TODO:

  • Update unit tests
  • Handling tags, hashes or PR (for example r-lib/testthat@c67018fa4970
  • To make tests stable, I need to fork lookup's deps and deps of deps as well

fyi @mihem

@b-rodrigues b-rodrigues added this to the next release milestone Jan 5, 2025
@b-rodrigues
Copy link
Contributor Author

@mihem where you able to build an env with your package scMisc? I see it also comes with a remote dep

@mihem
Copy link
Contributor

mihem commented Jan 5, 2025

Well I used my CSFAtlasTool which worked great, but there was an error when calling the remote dependency package datathin or using renv2nix. So I tried to fix this #385

@b-rodrigues b-rodrigues merged commit da50a42 into main Jan 8, 2025
@b-rodrigues b-rodrigues deleted the handle_remote_deps branch January 8, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants