none
How to use checkpoint and a MRAN snapshot as CRAN mirror with travis-ci? RRS feed

  • Question

  • I'd like to use checkpoint to set the versions of packages that get used when my package is built on Travis-CI.

    I'm looking for advice on getting either of these working:

    1. Travis using the local files (i.e. stored in the github repo of my pkg) of the packages that my package depends on. For example, if I use checkpoint to download the sources of the packages and store them in a directory with my package, how can I get Travis to install the packages from that local location, rather than from CRAN? or,

    2. Travis use the MRAN snapshot URL to download the packages archived on a specific date, as set in the URL. 

    I've been experimenting with various options in the .travis.yml file in this test package: https://github.com/benmarwick/checkpointtest

    So far everything has resulted in an error (https://travis-ci.org/benmarwick/checkpointtest), often this is the error message:

    W: Failed to fetch https://mran.revolutionanalytics.com//bin/linux/ubuntu/precise/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

    How can I get Travis-CI to be aware of the checkpoint package, and not contact CRAN to download dependencies? 


    • Edited by Ben Marwick Saturday, September 3, 2016 11:24 PM
    Saturday, September 3, 2016 11:23 PM

All replies