Giter VIP home page Giter VIP logo

Comments (6)

MatthiasHinz avatar MatthiasHinz commented on May 26, 2024

Initial build failed because of missing unknown pipe-operator.
Solution: added magrittr to packages suggests and to the initial vignette

from containerit.

MatthiasHinz avatar MatthiasHinz commented on May 26, 2024

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.

MatthiasHinz avatar MatthiasHinz commented on May 26, 2024

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.

nuest avatar nuest commented on May 26, 2024

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.

MatthiasHinz avatar MatthiasHinz commented on May 26, 2024

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.

nuest avatar nuest commented on May 26, 2024

The vignette works, ist just must be updated when new features are complete.

from containerit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.