Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix packaging step for GitHub installs with a subdirectory#290

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gaborcsardi merged 9 commits intor-lib:mainfrompaleolimbot:fix-pkg-subdir
Nov 22, 2022

Conversation

@paleolimbot
Copy link
Contributor

@paleolimbotpaleolimbot commentedNov 18, 2022
edited
Loading

Fixesr-lib/pak#431 locally (but I'm rather unfamiliar with the consequences this might have for other types of package installs).

If it's helpful, my local tests were:

pak::pkg_install("apache/arrow-nanoarrow/r")

...and

pak::pkg_install("paleolimbot/narrow")

paleolimbotand others added6 commitsNovember 18, 2022 09:25
Including updating the cache, and selecting theright package from the cache.
A leftover package tree might be in the cache directory,and then a later install picks that up instead of thebinary package file from the cache.
Take the subdirrectory from the metadata, that isavailable when using a lock file.
@gaborcsardi
Copy link
Member

Thanks! I had to understand this again, so I refactored it a bit, fixed another issue, and added tests.

Will merge once the CI is green.

Not needed any more, because we use a fake GHfor testing.
No reason that we should keep them, I think.
@gaborcsardigaborcsardi merged commitea7f223 intor-lib:mainNov 22, 2022
@gaborcsardi
Copy link
Member

Thanks again!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

pkg_install() fails for GitHub package in subdirectory

2 participants

@paleolimbot@gaborcsardi

[8]ページ先頭

©2009-2025 Movatter.jp