-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
107 changed files
with
4,737 additions
and
869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
source("renv/activate.R") | ||
local({ | ||
options( | ||
pkgType = "both" | ||
) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,5 +42,6 @@ vignettes/*.pdf | |
|
||
# Other | ||
docs/ | ||
from_docx/ | ||
css/ | ||
_bookdown_files/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Updating `renv` or the `docker` machinery | ||
|
||
These instructions are for admins only. | ||
|
||
Making changes to `renv.lock`: | ||
|
||
- create a new branch `docker-renv-update` | ||
- adding a new package: add the package name to the `DESCRIPTION` file, install the package and snapshot it | ||
- after an upgrade of R x.y to x.z: [see tutorial website](https://inbo.github.io/tutorials/tutorials/r_renv_update/#updating-r-and-packages) | ||
- add, commit and push `renv.lock` (potentially also `DESCRIPTION` and other files altered by `renv`), make a Pull Request | ||
- ask for a review | ||
- wait until docker succesfully built message appears before merging | ||
|
||
Making changes to `docker` or `dockerfile` (and possibly also `renv.lock`): | ||
|
||
- create a new branch `docker-update` | ||
- make changes and add, commit, push them | ||
- ask for a review | ||
- wait until docker succesfully built message appears before merging | ||
|
||
Whenever the above branches are merged to main, a git tag `docker-<sha-1>` will be automatically added via GHA. | ||
Here, <sha-1> refers to the SHA-1 identifier of the merge commit. | ||
|
||
`dockerhub` is configured in such a way that the docker image will be built when the branchname starts with `docker-<name>`. | ||
Docker will then add a docker tag to this image called `dev-<name>`. | ||
This means that for every commit to a `docker-<name>` branch, the docker image will be rebuilt. | ||
This allows to test if the image can be built. | ||
There will be at most two test images: `dev-renv-update` or `dev-update`. | ||
When a git tag `docker-<sha-1>` appears on the main branch, the docker image will built and receive a dockerhub tag `latest`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.