Skip to content

Commit 285e6b3

Browse files
Add r-stringi (emscripten-forge#1499)
1 parent e2f85aa commit 285e6b3

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
context:
2+
version: 1.8.4
3+
name: r-stringi
4+
r_base_version: 4.4.2
5+
6+
source:
7+
url:
8+
- https://cran.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz
9+
- https://cloud.r-project.org/src/contrib/${{ name[2:] }}_${{ version }}.tar.gz
10+
sha256: c219f8f64d1a2bfd4ca9528452d44d30db1899af14f4b9ef248412443bc669f3
11+
12+
build:
13+
number: 0
14+
script: $R CMD INSTALL $R_ARGS --no-byte-compile .
15+
16+
outputs:
17+
- package:
18+
name: ${{ name }}
19+
version: ${{ version }}
20+
build:
21+
files:
22+
- lib/R/library/${{ name[2:] }}/*
23+
requirements:
24+
build:
25+
- cross-r-base >= ${{ r_base_version }}
26+
- ${{ compiler('cxx') }}
27+
host:
28+
- r-base >= ${{ r_base_version }}
29+
run:
30+
- r-base >= ${{ r_base_version }}
31+
32+
tests:
33+
- package_contents:
34+
lib:
35+
- R/library/${{ name[2:] }}/libs/${{ name[2:] }}.so
36+
37+
about:
38+
homepage: https://tidyr.tidyverse.org
39+
repository: https://github.com/gagolews/stringi
40+
license_family: OTHER # FOSS
41+
license_file: LICENSE
42+
summary: |
43+
Fast and portable character string processing in R (with the Unicode ICU)
44+
description: |
45+
Fast, correct, consistent, portable, as well as convenient character string/
46+
text processing in every locale and any native encoding. Owing to the use of
47+
the ICU (International Components for Unicode) library, the package provides
48+
R users with platform-independent functions known to Java, Perl, Python,
49+
PHP, and Ruby programmers. Available features include: pattern searching,
50+
random string generation, case mapping, string transliteration,
51+
concatenation, Unicode normalization, date-time formatting and parsing,
52+
and many more.
53+
54+
extra:
55+
recipe-maintainers:
56+
- IsabelParedes

0 commit comments

Comments
 (0)