Skip to content

Commit 6e0e6a0

Browse files
Update r-sys (emscripten-forge#2008)
1 parent ab5a4cc commit 6e0e6a0

File tree

1 file changed

+18
-21
lines changed

1 file changed

+18
-21
lines changed

recipes/recipes_emscripten/r-sys/recipe.yaml

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,41 @@ context:
33
name: r-sys
44
r_base_version: 4.4.2
55

6+
package:
7+
name: ${{ name }}
8+
version: ${{ version }}
9+
610
source:
711
url:
812
- https://cran.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz
913
- https://cloud.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz
1014
sha256: 051e7332e3074db826efef9059067721864f9d70adc55bbcae3a72e5ae83913a
1115

1216
build:
13-
number: 0
14-
script: $R CMD INSTALL $R_ARGS --no-byte-compile .
17+
number: 1
18+
script: $R CMD INSTALL $R_ARGS .
1519

16-
outputs:
17-
- package:
18-
name: ${{ name }}
19-
version: ${{ version }}
20+
requirements:
2021
build:
21-
files:
22-
- lib/R/library/${{ name[2:] }}/*
23-
requirements:
24-
build:
25-
- cross-r-base >= ${{ r_base_version }}
26-
- ${{ compiler('c') }}
27-
host:
28-
- r-base >= ${{ r_base_version }}
29-
run:
30-
- r-base >= ${{ r_base_version }}
22+
- cross-r-base_${{ target_platform }}
23+
- ${{ compiler('c') }}
24+
host:
25+
- r-base >= ${{ r_base_version }}
26+
run:
27+
- r-base >= ${{ r_base_version }}
3128

32-
tests:
33-
- package_contents:
34-
lib:
35-
- R/library/${{ name[2:] }}/libs/${{ name[2:] }}.so
29+
tests:
30+
- package_contents:
31+
lib:
32+
- R/library/${{ name[2:] }}/libs/${{ name[2:] }}.so
3633

3734
about:
3835
homepage: https://jeroen.r-universe.dev/sys
3936
repository: https://github.com/jeroen/sys/
4037
license: MIT
4138
license_family: MIT
4239
license_file: LICENSE
43-
summary: Powerful replacements for base::system2
40+
summary: Powerful and Reliable Tools for Running System Commands in R
4441
description: |
4542
Drop-in replacements for the base system2() function with fine control and
4643
consistent behavior across platforms. Supports clean interruption, timeout,

0 commit comments

Comments
 (0)