thebioengineer / dockyard Goto Github PK
View Code? Open in Web Editor NEWTools for building and working with docker containers in R
License: GNU General Public License v3.0
Tools for building and working with docker containers in R
License: GNU General Public License v3.0
Hi, I found your package from the rockerverse paper. Nice work!
One thing though: running docker typically requires sudo on Unix-based OSes, including Linux and Mac. I'll make a PR for this.
> list_images()
WARNING: Error loading config file: /home/hongo/.docker/config.json: stat /home/hongo/.docker/config.json: permission denied
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/json: dial unix /var/run/docker.sock: connect: permission denied
Error in gregexpr(pattern = "\\s\\s\\w", header)[[1]] :
subscript out of bounds
In addition: Warning message:
running command 'docker image ls ' had status 1
Just as a matter of design: convenience functions like run
, install
, copy_from_url
etc are good to have, but also highly generic. Because of this, there's a good chance that they will collide with exported functions in other packages. In fact update
already collides with the function from stats.
Instead of S3, perhaps consider using R6 to define your dockerfile class. Then you can expose these functions as class methods without having to worry about namespace collisions.
How it would look:
shiny_dockerfile <- Dockerfile$
new()$
from("rocker/r-ver:devel")$
update()$
install("...")$
...
instead of magrittr pipes, you use method chaining, which is basically the same idea expressed in OOP syntax.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.