File tree Expand file tree Collapse file tree 3 files changed +73
-0
lines changed
Expand file tree Collapse file tree 3 files changed +73
-0
lines changed Original file line number Diff line number Diff line change 1+ " %R% " CMD INSTALL --build .
2+ IF %ERRORLEVEL% NEQ 0 exit 1
Original file line number Diff line number Diff line change 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/shinyTree
10+ mv * $PREFIX /lib/R/library/shinyTree
11+ fi
Original file line number Diff line number Diff line change 1+ {% set version = '0.2.6' %}
2+
3+ {% set posix = 'm2-' if win else '' %}
4+ {% set native = 'm2w64-' if win else '' %}
5+
6+ package :
7+ name : r-shinytree
8+ version : {{ version|replace("-", "_") }}
9+
10+ source :
11+ fn : shinyTree_{{ version }}.tar.gz
12+ url :
13+ - {{ cran_mirror }}/src/contrib/shinyTree_{{ version }}.tar.gz
14+ - {{ cran_mirror }}/src/contrib/Archive/shinyTree/shinyTree_{{ version }}.tar.gz
15+ sha256 : d278405c3e7ef31064367b9b165bbde900ecb472e0ed7c5d91ee572d37b786e7
16+
17+ build :
18+ merge_build_host : True # [win]
19+ number : 0
20+ rpaths :
21+ - lib/R/lib/
22+ - lib/
23+
24+ # Suggests: testthat
25+ requirements :
26+ build :
27+ - {{posix}}zip # [win]
28+
29+ host :
30+ - r-base
31+ - r-jsonlite
32+ - r-shiny >=0.9.0
33+
34+ run :
35+ - r-base
36+ - r-jsonlite
37+ - r-shiny >=0.9.0
38+
39+ test :
40+ commands :
41+ - $R -e "library('shinyTree')" # [not win]
42+ - " \" %R%\" -e \" library('shinyTree')\" " # [win]
43+
44+ about :
45+ home : https://CRAN.R-project.org/package=shinyTree
46+ license : MIT
47+ summary : Exposes bindings to jsTree -- a JavaScript library that supports interactive trees
48+ -- to enable a rich, editable trees in Shiny.
49+ license_family : MIT
50+
51+ extra :
52+ recipe-maintainers :
53+ - dpryan79
54+ - MathiasHaudgaard
55+ - FrodePedersen
56+ - ArneKr
57+ - johanneskoester
58+ - bgruening
59+ - daler
60+ - jdblischak
You can’t perform that action at this time.
0 commit comments