Coder Social home page Coder Social logo

drat's People

Contributors

dfalster avatar eddelbuettel avatar richfitz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

drat's Issues

install dependencies needed to build

@richfitz really enjoying your scripts here, which are rather nicer than what I have in ropensci/packages. It would be nice if the scripts attempted to install the dependencies if they were not available. This wouldn't be fail-safe of course (e.g. with any non-CRAN hosted dependencies, but of course install_github doesn't handle that either), but it would facilitate those cases where you're installing from the Github page of some third-party package that decides to tack on an additional dependency that isn't available in the local build system.

I was just calling install_github before attempting to build the package for this reason, but clearly that's an inefficient hack since it pulls down the repos again. Curious if you had a better solution in mind that would accomplish the same thing.

automated builds with CI

Trying to puzzle out the best way to automate drat builds over CI. Perhaps something like a nightly build on circle CI would work.

Yihui takes a somewhat different route with xran and has packages build and update their repo versions individually as part of their travis checks, but this means adding encrypted credentials to every travis file which is a bit of a pain.

Of course sometimes it's nice that the drat repo contains a more intentionally-released/stable version.

Builds failing

Drat builds are now failing. First fail is with rrqueue, but there will likely be more once we progress further through the list

Error in call_system(file.path(R.home("bin"), "R"), c("--vanilla", "CMD",  :
  Running command:
  '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD build rrqueue
had status 1
Program output:
--------------------------------------------------------------------------------
* checking for file ‘rrqueue/DESCRIPTION’ ... OK
* preparing ‘rrqueue’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
      -----------------------------------
ERROR: dependencies ‘RedisAPI’, ‘RedisHeartbeat’ are not available for package ‘rrqueue’
* removing ‘/private/var/folders/_q/vq6sxzjx64b5yb1_zjbh7xzm0000gp/T/Rtmp6de2qb/Rinsteb0e438d8928/rrqueue’
      -----------------------------------
ERROR: package installation failed

@richfitz has been developing the rrqueue idea further elsewhere at mrc-ide/rrq so probably best to just remove from here?

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.