profile
viewpoint

Ask questionsproblem with mutate

packages_list <- c("renv","packagemetrics")
packagemetrics::package_list_metrics(packages_list)

Error: Problem with `mutate()` input `action`.
x Input `action` can't be recycled to size 2.
i Input `action` is `c("watchers", "stars", "forks")`.
i Input `action` must be size 2 or 1, not 3.
sfirke/packagemetrics

Answer questions sfirke

Thanks for reporting this! It appears that now GitHub does not show you the "watchers" count if you're not logged in. So the scraper is only able to get the counts of stars and forks. I've adjusted that code accordingly. If you are able to reinstall packagemetrics from GitHub and re-try, I'd appreciate it. And if I broke anything else or did not solve this, please open another issue.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
answerer
Sam Firke sfirke City of Ann Arbor Ann Arbor, MI samfirke.com Data scientist, caring human. Currently focused on municipal data analysis and business intelligence.
Github User Rank List