https://github.com/davidski/tidyrisk-docker
⚖🐋Rocker-based Docker Containers for Tidyrisk
https://github.com/davidski/tidyrisk-docker
colector docker evaluator r rstats tidyrisk
Last synced: about 1 month ago
JSON representation
⚖🐋Rocker-based Docker Containers for Tidyrisk
- Host: GitHub
- URL: https://github.com/davidski/tidyrisk-docker
- Owner: davidski
- License: mit
- Created: 2017-12-19T04:58:54.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T06:02:46.000Z (almost 2 years ago)
- Last Synced: 2025-02-18T02:42:00.193Z (about 2 months ago)
- Topics: colector, docker, evaluator, r, rstats, tidyrisk
- Language: Shell
- Homepage: https://tidyrisk.org
- Size: 85.9 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - davidski/tidyrisk-docker - ⚖🐋Rocker-based Docker Containers for Tidyrisk (Shell)
README
[](https://travis-ci.org/davidski/tidyrisk-docker)
[](https://opensource.org/licenses/MIT)Visit [tidyrisk.org](https://tidyrisk.org) for more about Tidyrisk.
## Introduction
An all-in-one setup for running [evaluator](https://evaluator.tidyrisk.org).
Based upon the [rocker](https://hub.docker.com/r/rocker/rstudio/) RStudio
image, this allows users to have a known working installation of Evaluator and
all of its dependencies without having to manage a local installation.## How to Use
### Interactive Use
1. Install Docker (free community editions for MacOS, Windows, Linux, and
several cloud providers are all available via the
[Docker Store](https://store.docker.com/search?type=edition&offering=community)).
2. `docker run -d -p 8787:8787 tidyrisk/evaluator:latest`.
3. Navigate with a local web browser to http://localhost:8787.
4. Login to RStudio with the user `rstudio` and the password `rstudio`.### Simplified Analysis Flow
1. `docker run --rm -v "$(pwd)/evaluator":/data tidyrisk/evaluator:latest create_templates`.
2. Edit the templates in the `evaluator/inputs` subdirectory on your host system.
3. `docker run --rm -v "$(pwd)/evaluator":/data tidyrisk/evaluator:latest run_analysis`.
4. Consume the reports and analysis in the `evaluator/results` directory on your host system.### Data Storage
You can share data between your local host and the evaluator instance by
mounting volumes to the container's `/home/rstudio` directory.To store data in a pre-existing `data` subdirectory in your host's current
working directory, use the following command:> `docker run -d -p 8787:8787 -v $(pwd)/data:/home/rstudio tidyrisk/evaluator:latest`
## See Also
* [tidyrisk](https://tidyrisk.org) - For information on the tidyrisk family.
* [Rocker Wiki](https://github.com/rocker-org/rocker/wiki/Using-the-RStudio-image) - For additional
options on running and configuring the Dockerized RStudio instance.### Alternative Images
| Image Name | Description | Size |
|------------|-------------|------|
| `evaluator` | Evaluator | [](https://microbadger.com/images/tidyrisk/evaluator) |
| `collector` | **Not yet built** A container with the collector package pre-installed. | [](https://microbadger.com/images/tidyrisk/collector) |
| `tidyrisk` | **Not yet built** A combined collector & evaluator image. | [](https://microbadger.com/images/tidyrisk/tidyrisk) |
| `evaluator-noLD` | **Not yet built** Evaluator installed with r-devel without long double support. This is an internal container used for testing tidyrisk prior to CRAN release. | [](https://microbadger.com/images/tidyrisk/evaluator) |NoLD tests are executed using the Rdevel instance via:
```bash
RD CMD build .
RD CMD check --as-cran evaluator*
```## Contributing
This project is governed by a [Code of Conduct](./CODE_OF_CONDUCT.md). By
participating in this project you agree to abide by these terms.## License
The [MIT License](LICENSE) applies.