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

pin_info() does not make it clear when multiple pins with name exist #418

Closed
loomalaine opened this issue Mar 29, 2021 · 3 comments
Closed

Comments

@loomalaine
Copy link

If there are two pins (pinned by different users) with the same name, pin_info() only returns info on one of them. This seems misleading. Alternatively, if I use connectapi::get_content() I can see that there are two pins with the same name.

@hadley
Copy link
Member

hadley commented Mar 29, 2021

The problem is that pin_info() is started from pin_find() rather than using the same code path as pin_get(). I think I will resolve this by introducing a new pin_metadata(board, name) (which also resolves the argument order problem).

@hadley
Copy link
Member

hadley commented Apr 19, 2021

I don't really understand the pin_info() interface at all — I think pin_meta() should be easier to use, but please let me know if I've missed anything.

@hadley hadley closed this as completed in 672f39b Apr 19, 2021
@github-actions
Copy link

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants