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

Conda search #1364

Merged
merged 5 commits into from Jul 13, 2023
Merged

Conda search #1364

merged 5 commits into from Jul 13, 2023

Conversation

mkoohafkan
Copy link
Contributor

This pull request implements conda_search(), an R wrapper for conda search. Right now it just provides the basic options (matchspec and channel) and uses the --json flag to parse search results into a data frame. Additional flags like subdir and networking options are not currently supported.

Different channels can return different fields in the search results, which makes combining results slightly complicated. Current implementation is take the intersection of fields across all returned elements, and then return the fields name, version, build, and channel (if they are present). It could be easily extended to return more fields, or let the user specify fields to return.

@t-kalinowski t-kalinowski merged commit f2b3e53 into rstudio:main Jul 13, 2023
12 checks passed
@t-kalinowski
Copy link
Member

Thank you!!

@mkoohafkan mkoohafkan deleted the conda_search branch November 4, 2023 21:25
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.

None yet

2 participants