rstudio / pins-r

Pin, Discover and Share Resources
https://pins.rstudio.com
Other
301 stars 62 forks source link

build a package based on pins #828

Closed yayayaoyaoyao closed 1 month ago

yayayaoyaoyao commented 1 month ago

Thanks for this nice package. I am trying to build a package based on pins. I set up a pins-board on github within the R folder of a newly created package. When I build up a function, I directly call the pins::board_url, but this cannot pass the CRAN check with the error: object of pins::board_url not found. When I run this function, it works on my computer though. Do you know why? What is the correct procedure to use this in a package?

juliasilge commented 1 month ago

That sounds like a problem with how you are managing the package dependencies. Check out:

If you have your package on GitHub, I would be happy to take a little look!

github-actions[bot] commented 1 month ago

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.