bcgovr
bcgovr copied to clipboard
An R package to automate set up and sharing of R projects in bcgov GitHub following bcgov guidelines
https://github.com/github/renaming/blob/main/rename-default-branch-dialog.png
The bcgov github policies now require a compliance audit file; it would be handy to have a template accessible via {bcgovr}. Thanks!
This quoted line below assumes that the user has named their default branch on GitHub "master", which isn't always the case. Especially with the @repomountie bot guidelines on master and...
Good writeup here: https://www.tidyverse.org/blog/2020/04/self-cleaning-test-fixtures/
- [ ] rename `LICENSE` to `LICENSE.md`, add to `.Rbuildignore` - [ ] remove reference to `file LICENSE` in `DESCRIPTION` As per [recent submission of bcdata to CRAN](https://github.com/bcgov/bcdata/issues/114#issuecomment-548042161)
With this, a user should be able to run `bcgovr::use_bcgov_pkgdown()`, (optionally) customize `_pkgdown.yml`, then run `pkgdown::build_site()` and have a bcgov-themed pkgdown site ready to go.
Instead of rolling our own and/or using unexported `usethis` functions.
`use_apache_licence()` should automatically populate the README.md or README.Rmd with the licence badge. ``` [](https://opensource.org/licenses/Apache-2.0) ```
We currently have workarounds for a couple of issues/bugs in usethis: - [ ] `create_from_bcgov_github()` [has this](https://github.com/bcgov/bcgovr/blob/devel/R/create.R#L185-L205) and `use_bcgov_github()` [has this](https://github.com/bcgov/bcgovr/blob/devel/R/use.R#L205-L217), both of which should be able to be removed...