-
Notifications
You must be signed in to change notification settings - Fork 7
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
usethis-style internal package to setup pkg workflow #6
Comments
I love the pkgname! |
A few notes to myself after thinking about this. The main function could look like create_usc_package <- function(path, usc_github = TRUE, bioconductor = FALSE) {
{check if has access to uscbiostats repo, otherwise use user's GitHub}
{do a bunch of usethis stuff to set up packge, git, repo, README, roxygen rmd, etc}
{post issue template}
{open project}
} Related to #4, if we do a blogdown site, we could also have a set of functions to streamline posts based on the PR helper functions in usethis create_usc_post <- function(title, author, date) {
{usethis pr functions to fork and open project}
{create new Rmd file using a template with guidelines on posting about a package}
}
usc_post_push <- function() {
{submit PR with post to main repo}
} |
It is a great name indeed. :-) (And a good idea.)
… On Jul 8, 2019, at 3:18 PM, George G. Vega Yon ***@***.***> wrote:
I love the pkgname!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#6?email_source=notifications&email_token=AB3YRLUJY2YOAD5SH7OHRLLP6O4KFA5CNFSM4H674NJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZOQKWA#issuecomment-509412696>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AB3YRLUJGNALWR7JJWXFYYLP6O4KFANCNFSM4H674NJQ>.
|
I set up the ymlthis Travis to automatically deploy a pkgdown site to GitHub pages; the |
Dude, this is 404! Yes, that works great. I recently did the same with ergmito: before_deploy: Rscript -e 'remotes::install_cran("pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github()'
skip_cleanup: true
on:
branch: master
condition: $TRAVIS_OS_NAME = linux I did had to make sure that the site was only deployed on the master branch on linux :). |
Oops, we moved it to |
It might be worth thinking about developing an internal package to implement many of the best practices we have here.
usethis
covers a lot of it but this could wrap a few functions as well as add a few specialty workflows, like a function that automatically adds https://github.com/USCbiostats/software-dev/blob/master/templates/r-package.md to the repo's issue. If feasible, it might be a good place to put wrapper functions for connecting to HPC etc.Plus we can finally make a USC ggplot2 theme ;)
package name idea: uscthis
The text was updated successfully, but these errors were encountered: