-
Notifications
You must be signed in to change notification settings - Fork 12
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
Cleanup before CRAN release #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @e-kotov!
lgtm, I just noticed a few URL which should be changed.
I enabled google pages and uploaded the preview image.
@ilyabo sorry about the links to my other package, I will regenerate the metadata. It go in there while i was copying over some code for reuse. |
Co-authored-by: Ilya Boyandin <ilyabo@gmail.com>
Co-authored-by: Ilya Boyandin <ilyabo@gmail.com>
Co-authored-by: Ilya Boyandin <ilyabo@gmail.com>
Closes #2 . |
No worries. I will need to change the FlowmapBlue project config (namely convert it to a monorepo and publish a library, right now it's a nextjs app). Will try to find time for it. |
great! Final thing to do is to add https://flowmapblue.github.io/flowmapblue.R/ (or just enable automatic URL to gh-pages) in the front page repo settings. Like so: I will also add this gh-pages link to package readme and metadata and submit to CRAN. |
@ilyabo hi! I made some changes to the package:
implemented and documented processing of the
time
column, so that users only need to create it in datetime or date type in R and it is automatically converted to UNIX time and used in the widgetdocumented the
flowmapblue
function with examplescreated vignette based on the examples from above with gifs for website and static pngs for the CRAN vignette
created a pkgdown website for the package that can be auto-published using GitHub action (action pushed to branch too) assuming you are willing to host the website using GitHub pages at https://flowmapblue.github.io/flowmapblue.R (needs to be turned on in https://github.com/FlowmapBlue/flowmapblue.R/settings/pages and set to deploy from branch and set to
gh-pages
branch, which I already created with the pre-rendered website).added opengraph card (that shows up when the link is shared on social media). It will show up for https://flowmapblue.github.io/flowmapblue.R automatically, for GitHub repo link https://github.com/FlowmapBlue/flowmapblue.R/, you need to manually upload it from here https://github.com/FlowmapBlue/flowmapblue.R/blob/prep-for-CRAN-release/man/figures/opengraph-card.png into the
Social preview
section in repo settings https://github.com/FlowmapBlue/flowmapblue.R/settingsadded GitHub action for CI/CD to autocheck any future commits/PRs with R CMD Check
cleaned up description and added metadata, as well as CRAN comments for submission
properly bundled the example data as
ch_locations
andch_flows
, they are now available as exported objects in the package. Note: would be great to reference the source of this data for completeness of the documentation.