Code Monkey home page Code Monkey logo

bindertools's Introduction

bindertools

Project Status: Abandoned

This repository has been archived. The former README is now in README-NOT.md.

bindertools's People

Contributors

felixleungsc avatar maelle avatar milesmcbain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

milesmcbain

bindertools's Issues

prevent reading over install.R

make sure that the recursive reading of .R files doesn't look for the packages listed in a previously formed install.R file. @MilesMcBain we'd just need to make the 'install.R' file an exception to the R_files line in binder_installR, right?

  R_files <- dir(directory, 
                 full.names = TRUE,
                 pattern = "\\.(rmd|r)$" , 
                 recursive = TRUE, 
                 ignore.case = TRUE)

install.R with no packages of certain type

if there are no packages in one of the lists, remove that line from the install.R -- currently it includes the github install step even without any packages and then errors.

print dockerfile

Nice work!

Just wondering if it possible to also output a dockerfile, so that there is the option of running the analysis on a docker container instead of on binder?

That would give a backup in case binder doesn't continue at some point

older versions of R

If this is being done retroactively for an older project does binder need to be told to use an older base r version in their docker? If so, how do we add this functionality?

base packages

Tried out build_binder for one of my projects, and it got a bit confused with the base packages I had explicitly called. Will need to remove them from the lib_list since they won't need to be in the CRAN or github installs lists.

Nicer error if package is not installed?

If a package is not installed locally the error is a bit ugly:

> bindertools::build_binder()
Runtime file created.
Error: $ operator is invalid for atomic vectors
In addition: Warning message:
In utils::packageDescription(package_name) :
  no package 'checkmate' was found

This is unlikely to happen with something you have been actively working on, but could easily happen if you just cloned or pulled changes from a collaborator.

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.