-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathR-units.yaml
57 lines (50 loc) · 1 KB
/
R-units.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package:
name: R-units
version: "0.8.7"
epoch: 0
description: Measurement Units for R Vectors
copyright:
- license: GPL-2.0-or-later
dependencies:
runtime:
- R
- Rcpp
- udunits
environment:
contents:
packages:
- R
- R-dev
- Rcpp
- busybox
- udunits-dev
var-transforms:
- from: ${{package.version}}
match: ^(.+)\.(\d+)$
replace: $1-$2
to: mangled-package-version
pipeline:
- uses: git-checkout
with:
repository: https://github.com/cran/units
tag: ${{vars.mangled-package-version}}
expected-commit: c26f6d1f3910716b3fae684c4022ce3f59c945ab
- uses: R/build
with:
package: units
version: ${{vars.mangled-package-version}}
- uses: strip
test:
pipeline:
- runs: |
Rscript -e 'library(units)'
update:
enabled: true
ignore-regex-patterns:
- 'R-.*'
version-transform:
- match: ^(.+)\-(\d+)$
replace: $1.$2
github:
identifier: cran/units
use-tag: true