Comments (6)
Initial build failed because of missing unknown pipe-operator.
Solution: added magrittr to packages suggests and to the initial vignette
from containerit.
Second build failed because of the missing method, docker_build.
"Fehler: Verarbeitung der Vignette 'basic.Rmd' mit folgender Diagnose fehlgeschlagen:
konnte Funktion "docker_build" nicht finden"
The method is not implemented in harbor (yet). We could either implement the method ourself or use googleComputeEngineR as a dependency (replaces harbor at the moment, because it is available on CRAN).
---> For now, I added googleComputeEngineR to package suggests and changed the vignette
from containerit.
Code part from the vignette doesn't look logical to me. Docker_build is building an image from a Dockerfile and expects a path to the dockerfolder and a name of the new image. 'container' seems to be misleading as a name here.
What kind of object shall method 'dockerfile' return? Easiest would be the path to the Dockerfile.
container <- dockerfile(sessionInfo(), ls())
docker_build(container) %>% docker_run(localhost)
image <- docker_build(container)
from containerit.
In the case you mentioned I expected dockerfile(..)
to return an R object resembling a Dockerfile
, so you could also do something like write(x = dockerfile(sessionInfo()), file = "./Dockerfile")
.
dockerfile(..)
could take a path as an argument (default Dockerfile
) though.
from containerit.
Basic vignette builds now locally, provided that the pipeline commented out:
#docker_build(container) %>% docker_run(localhost)
#image <- docker_build(container)
#con <- docker_run(image)
edited checklist
from containerit.
The vignette works, ist just must be updated when new features are complete.
from containerit.
Related Issues (20)
- File not found using CMD_RScript to run the R script on start-up HOT 1
- E: Repository 'http://cdn-fastly.deb.debian.org/debian testing InRelease' changed its 'Codename' value from 'buster' to 'bullseye' HOT 1
- Evaluate dockerfiler for creation of Dockerfile
- Custom COPY additions not exported HOT 3
- Fix installed package detection for plumber image
- dockerfile adding a make depedency on Windows vs not on OSX HOT 3
- Compare remotes::install_version(..) with versions::install.versions(..)
- Add support for Alpine base images
- Add option to use hadley/requirements instead of document execution
- Add support for renv HOT 2
- Evaluate rstudio/r-system-requirements
- Re-use output parameters of R Markdown headers as part of CMD_Render
- Typos in containerit.Rmd HOT 8
- Add option to use attachment for finding dependencies
- Reticulate and python dependencies
- Create a target factory / integration with the targetopia
- Try out system requirements function from package remotes
- Switch tests to r-ci
- DESCRIPTION without Depends
- Sysreqs calls are too many if lots of deps HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from containerit.