Skip to content

Commit

Permalink
Add r-toastui.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrueffer committed Apr 5, 2024
1 parent c942eaa commit d21f609
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/r-toastui/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"%R%" CMD INSTALL --build . %R_ARGS%
IF %ERRORLEVEL% NEQ 0 exit /B 1
3 changes: 3 additions & 0 deletions recipes/r-toastui/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
export DISABLE_AUTOBREW=1
${R} CMD INSTALL --build . ${R_ARGS}
63 changes: 63 additions & 0 deletions recipes/r-toastui/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{% set version = '0.3.3' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

package:
name: r-toastui
version: {{ version|replace("-", "_") }}

source:
url:
- {{ cran_mirror }}/src/contrib/toastui_{{ version }}.tar.gz
- {{ cran_mirror }}/src/contrib/Archive/toastui/toastui_{{ version }}.tar.gz
sha256: b79b8a71e09f4f0276ab8268430d1daa532b119532b1fd84a8d07ebd991ad4d4

build:
merge_build_host: True # [win]
number: 0
noarch: generic
rpaths:
- lib/R/lib/
- lib/

requirements:
build:
- {{ posix }}zip # [win]
- cross-r-base {{ r_base }} # [build_platform != target_platform]
host:
- r-base
- r-htmltools
- r-htmlwidgets
- r-magrittr
- r-phosphoricons
- r-rlang
- r-shiny >=1.1.0
- r-shinywidgets
run:
- r-base
- r-htmltools
- r-htmlwidgets
- r-magrittr
- r-phosphoricons
- r-rlang
- r-shiny >=1.1.0
- r-shinywidgets

test:
commands:
- $R -e "library('toastui')" # [not win]
- "\"%R%\" -e \"library('toastui')\"" # [win]

about:
home: https://dreamrs.github.io/toastui/
license: MIT
summary: Create interactive tables, calendars and charts with 'TOAST UI' <https://ui.toast.com/>
libraries to integrate in 'shiny' applications or 'rmarkdown' 'HTML' documents.
license_family: MIT
license_file:
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT'
- LICENSE

extra:
recipe-maintainers:
- conda-forge/r

0 comments on commit d21f609

Please sign in to comment.