Closed christopherkenny closed 1 year ago
So if we do these things, would we be ready to submit to CRAN? Do I have to make a local branch and then push to github when I run these tests?
Yeah, assuming they don't flag any issues, then it would be in pretty good shape to send to CRAN. Yeah, you can just run them from a local branch and push once they run. (It's quick.) It will add some documentation items and .Rbuildignore them.
Okay I just committed the changes. I did not do the PR or issues template, is that necessary?
No, it's definitely not necessary. Thanks!
Okay would you mind adding some tests? I am a bit confused how it works. I added the folder for it and a file called test-ThemePark. Also @christopherkenny and @lukepilling you can check out the pkgdown site at matthewbjane.com/theme_park
The site looks great! Good choice of colour scheme 👍 absolutely no idea how tests for packages work, sorry
Love the bootswatch choice. I'll add some tests tonight. I'll also add a bit of structure to the reference page. Happy to explain what I'm adding once the basics are in.
Looks like the sysfonts dependency doesn't correctly import packages, so this is a bit trickier than expected. Will work on that
Okay that issue is resolved. The package now passes checks. I can add some default tests for the themes over the next few days.
Awesome thanks a ton @christopherkenny
These are a few small things from #17 that can help make sure this follows some best practices (making future edits easier).
usethis::use_github_action_check_standard()
to initialize the GitHub Actions automatic checkingusethis::use_pkgdown_github_pages()
to give a default pkgdown siteusethis::use_testthat()