Skip to content

Commit

Permalink
Fix Travis Errors
Browse files Browse the repository at this point in the history
Point Travis to KentonWhite account

Install gfortran

Looks like upgrade to gcc7 no longer installers fortran

Tavis install r-base-dev

Looks to be a better solution:
https://stackoverflow.com/questions/6302209/building-r-package-getting-error-ld-cannot-find-lgfortran

Install suggests packages from binaries

Speeds up the testing process
Prevent failing when packages can't be installed

Fixed small type in binaries list

Moved to container based projects

Use copmiler defaults for R-travis
  • Loading branch information
KentonWhite committed Apr 20, 2018
1 parent 1a12153 commit 6e85acc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
language: r
sudo: required
sudo: false
cache: packages
warnings_are_errors: true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- unixodbc-dev
- r-cran-rodbc
before_install: |
mkdir ~/.R
cat <<EOF > ~/.R/Makevars
CXX=g++-4.9
CXX1X=g++-4.9
CXX1XSTD=-std=c++11
r_github_packages:
- johnmyleswhite/log4r
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ProjectTemplate [![Travis-CI build status](https://travis-ci.org/johnmyleswhite/ProjectTemplate.png?branch=master)](https://travis-ci.org/johnmyleswhite/ProjectTemplate)
# ProjectTemplate [![Travis-CI build status](https://travis-ci.org/KentonWhite/ProjectTemplate.png?branch=master)](https://travis-ci.org/KentonWhite/ProjectTemplate)

The ProjectTemplate package lets you automatically build a directory for a new R project with a standardized subdirectory structure. Using this structure, ProjectTemplate automates data and package loading. The hope is that standardized data loading, automatic importing of best practice packages, integrated unit testing and useful nudges towards keeping a cleanly organized codebase will improve the quality of R coding.

Expand Down

0 comments on commit 6e85acc

Please sign in to comment.