Skip to content

Commit 882ac78

Browse files
committed
Merge branch 'master' of https://github.com/RcppCore/RcppEigen
2 parents 2e8889d + b6731b3 commit 882ac78

File tree

545 files changed

+99780
-30243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

545 files changed

+99780
-30243
lines changed

.Rbuildignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,12 @@ NEWS.org
44
vignettes/jss.bst
55
.travis.yml
66
debian
7+
^.*\.Rproj$
8+
^\.Rproj\.user$
9+
.*\.tar\.gz$
10+
^patches
11+
^.editorconfig$
12+
^eigen-?\.?\.?
13+
^\.github
14+
^\.codecov.yml
15+
^\.covrignore

.codecov.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
coverage:
2+
precision: 1
3+
4+
comment: false
5+
6+
ignore:
7+
- "inst/include/Eigen/"
8+
- "inst/include/unsupported/Eigen/"
9+
10+
codecov:
11+
token: 0b726434-b483-4a82-9cfe-e8312f3b3e9b

.covrignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
inst/include/Eigen/*
2+
inst/include/unsupported/Eigen/*

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
# Matches multiple files with brace expansion notation
13+
# 4 space indentation
14+
[*.{c,cpp,h,hpp,R,r}]
15+
indent_style = space
16+
indent_size = 4
17+
18+
# Tab indentation (no size specified)
19+
[Makefile]
20+
indent_style = tab
21+
22+
[README.md]
23+
trim_trailing_whitespace = false

.github/workflows/ci.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Run CI for R using https://eddelbuettel.github.io/r-ci/
2+
3+
name: ci
4+
5+
on:
6+
push:
7+
pull_request:
8+
9+
env:
10+
USE_BSPM: "true"
11+
_R_CHECK_FORCE_SUGGESTS_: "false"
12+
13+
jobs:
14+
ci:
15+
strategy:
16+
matrix:
17+
include:
18+
#- {os: macOS-latest}
19+
- {os: ubuntu-latest}
20+
21+
runs-on: ${{ matrix.os }}
22+
23+
steps:
24+
- uses: actions/checkout@v2
25+
26+
- name: Bootstrap
27+
run: |
28+
curl -OLs https://eddelbuettel.github.io/r-ci/run.sh
29+
chmod 0755 run.sh
30+
./run.sh bootstrap
31+
32+
- name: Dependencies
33+
run: ./run.sh install_all
34+
35+
- name: Test
36+
run: ./run.sh run_tests
37+
38+
- name: Coverage
39+
if: ${{ matrix.os == 'ubuntu-latest' }}
40+
run: ./run.sh coverage

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
.Ruserdata
5+
src/*.o
6+
src/*.so
7+
src/*.dll

.travis.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,38 @@
1-
# Sample .travis.yml for R projects.
2-
#
3-
# See https://github.com/craigcitro/r-travis
4-
# https://github.com/eddelbuettel/r-travis/
1+
# Run Travis CI for R using https://eddelbuettel.github.io/r-travis/
52

63
language: c
4+
sudo: required
5+
dist: focal
6+
7+
jobs:
8+
include:
9+
- name: linux
10+
os: linux
11+
#- name: macOS
12+
# os: osx
713

814
env:
915
global:
10-
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
11-
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
12-
13-
script:
14-
- ./travis-tool.sh run_tests
16+
- USE_BSPM="true"
17+
- _R_CHECK_FORCE_SUGGESTS_="false"
1518

1619
before_install:
17-
- curl -OL http://raw.github.com/eddelbuettel/r-travis/master/scripts/travis-tool.sh
18-
- chmod 755 ./travis-tool.sh
19-
- ./travis-tool.sh bootstrap
20-
- sudo add-apt-repository -y ppa:edd/misc
21-
- sudo apt-get update -q
20+
- curl -OLs https://eddelbuettel.github.io/r-ci/run.sh && chmod 0755 run.sh
21+
- ./run.sh bootstrap
2222

2323
install:
24-
- ./travis-tool.sh install_aptget r-cran-rcpp r-cran-matrix r-cran-inline r-cran-runit r-cran-pkgkitten
25-
# Note: if Rcpp from Github is needed, use following line and remove Rcpp from previous line
26-
# - ./travis-tool.sh install_github RcppCore/Rcpp
24+
- ./run.sh install_all
25+
26+
script:
27+
- ./run.sh run_tests
2728

2829
after_failure:
29-
- ./travis-tool.sh dump_logs
30+
- ./run.sh dump_logs
31+
32+
#after_success:
33+
# - ./run.sh coverage
3034

3135
notifications:
3236
email:
3337
on_success: change
3438
on_failure: change
35-

0 commit comments

Comments
 (0)