-
Notifications
You must be signed in to change notification settings - Fork 3
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
Write R-specific tutorials for CI #32
Comments
🙌 I also wonder what, if any, use the new GitHub actions can be to this end. |
Some related resources:
|
@alistaire47 thanks for the In general, I really really like the pattern of pushing CI logic into scripts in a folder like Here are a few such scripts that I've found valuable.
|
I still think there is value in breaking it down into small and basic operations. When Jim Hester, Craig Citro, and I wrote the first version of So these days I mostly build simple custom Docker containers based on Rocker and plug those in. I am still mostly with Travis, but by being based on Docker it should move easily to to Azure, GH Actions, GitLab, ... all of which can take Docker. |
I don't have any experience making Sphinx docs on my own and don't know how much control there is, but FWIW but I find pkgdown sites way easier to navigate than most Python packages' Sphinx docs. |
+1; I think the consistent structure of pkgdown plays a big role in its effectiveness. I do think there's room to make it easier to nest pkgdown sites inside of larger sites, though. ROpenSci has an approach (as does updoc, for that matter), but navigating back and forth is pretty clunky; it'd be much nicer to have clearer top-level nav regardless of where you are. |
Talking with @ataustin, we agreed that when it comes to CI (Travis, Appveyor, Jenkins, etc.), people (myself still included) tend to copy other people's code and treat it as magic incantations they want to work but not touch, because it'll probably break.
There are already tools like
usethis::use_travis()
to get people started, but it would be really useful to build some R-specific docs for how you can tweak your CI to do useful things (updating a pkgdown site, running R CMD check on multiple versions of R, rebuilding docs with roxygen, ???). Maybe a bookdown site with chapters contributed by anyone with ideas would be a logical format?I know a little on the subject, but I know at least @jameslamb and @angela-li (1) have done some cool CI stuff.
The text was updated successfully, but these errors were encountered: