Skip to content

Commit 85b09db

Browse files
committed
Actually add files
1 parent 3f96aad commit 85b09db

File tree

3 files changed

+77
-0
lines changed

3 files changed

+77
-0
lines changed

recipes/r-rdpack/bld.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"%R%" CMD INSTALL --build .
2+
IF %ERRORLEVEL% NEQ 0 exit 1

recipes/r-rdpack/build.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
if [[ $target_platform =~ linux.* ]] || [[ $target_platform == win-32 ]] || [[ $target_platform == win-64 ]] || [[ $target_platform == osx-64 ]]; then
4+
export DISABLE_AUTOBREW=1
5+
mv DESCRIPTION DESCRIPTION.old
6+
grep -v '^Priority: ' DESCRIPTION.old > DESCRIPTION
7+
$R CMD INSTALL --build .
8+
else
9+
mkdir -p $PREFIX/lib/R/library/Rdpack
10+
mv * $PREFIX/lib/R/library/Rdpack
11+
fi

recipes/r-rdpack/meta.yaml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{% set version = '0.10-1' %}
2+
3+
{% set posix = 'm2-' if win else '' %}
4+
{% set native = 'm2w64-' if win else '' %}
5+
6+
package:
7+
name: r-rdpack
8+
version: {{ version|replace("-", "_") }}
9+
10+
source:
11+
fn: Rdpack_{{ version }}.tar.gz
12+
url:
13+
- {{ cran_mirror }}/src/contrib/Rdpack_{{ version }}.tar.gz
14+
- {{ cran_mirror }}/src/contrib/Archive/Rdpack/Rdpack_{{ version }}.tar.gz
15+
sha256: 5b01a737679a7abbd8abcd7d82629a99dcd13c8a00d4f821209b148810b7722d
16+
17+
build:
18+
merge_build_host: True # [win]
19+
number: 0
20+
rpaths:
21+
- lib/R/lib/
22+
- lib/
23+
24+
# Suggests: rstudioapi, rprojroot
25+
requirements:
26+
build:
27+
- {{posix}}zip # [win]
28+
29+
host:
30+
- r-base
31+
- r-bibtex >=0.4.0
32+
- r-gbrd
33+
34+
run:
35+
- r-base
36+
- r-bibtex >=0.4.0
37+
- r-gbrd
38+
39+
test:
40+
commands:
41+
- $R -e "library('Rdpack')" # [not win]
42+
- "\"%R%\" -e \"library('Rdpack')\"" # [win]
43+
44+
about:
45+
home: https://github.com/GeoBosh/Rdpack
46+
license: GPL (>= 2)
47+
summary: Functions for manipulation of R documentation objects, including functions reprompt()
48+
and ereprompt() for updating 'Rd' documentation for functions, methods and classes;
49+
'Rd' macros for citations and import of references from 'bibtex' files for use in
50+
'Rd' files and 'roxygen2' comments; 'Rd' macros for evaluating and inserting snippets
51+
of 'R' code and the results of its evaluation or creating graphics on the fly; and
52+
many functions for manipulation of references and Rd files.
53+
license_family: GPL3
54+
55+
extra:
56+
recipe-maintainers:
57+
- dpryan79
58+
- MathiasHaudgaard
59+
- FrodePedersen
60+
- ArneKr
61+
- johanneskoester
62+
- bgruening
63+
- daler
64+
- jdblischak

0 commit comments

Comments
 (0)