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

new feature request: deparse_pkg_ref() #371

Open
pawelru opened this issue Jun 26, 2024 · 0 comments
Open

new feature request: deparse_pkg_ref() #371

pawelru opened this issue Jun 26, 2024 · 0 comments
Labels
feature a feature request or enhancement

Comments

@pawelru
Copy link
Contributor

pawelru commented Jun 26, 2024

I want to be able to modify the remote_ref class of object and then deparse it for further use in pkgdepends or pak. As an example, I want to use a particular commit sha given the "foo/bar" string reference. I want to be able to do the following:

x <- parse_pkg_ref("foo/bar")
x$commitish <- "xyz"
x |> deparse_pkg_ref() |> pak()

I manage to find my way to do this (probably not perfect) but I thought it would be great to have it as apart of the package API.

@gaborcsardi gaborcsardi added the feature a feature request or enhancement label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants