Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions recipes/r-tinkr/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-tinkr/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}
72 changes: 72 additions & 0 deletions recipes/r-tinkr/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{% set version = '0.2.0' %}
{% set posix = 'm2-' if win else '' %}

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

source:
url:
- {{ cran_mirror }}/src/contrib/tinkr_{{ version }}.tar.gz
- {{ cran_mirror }}/src/contrib/Archive/tinkr/tinkr_{{ version }}.tar.gz
sha256: f8b7823e4b97822b576660c2535fdf753e249120067f8394695ef10714a91e19

build:
number: 0
noarch: generic
rpaths:
- lib/R/lib/
- lib/
missing_dso_whitelist:
- '*/R.dll' # [win]
- '*/Rblas.dll' # [win]
- '*/Rlapack.dll' # [win]

requirements:
build:
- {{ posix }}zip # [win]
- cross-r-base {{ r_base }} # [build_platform != target_platform]
host:
- r-base
- r-r6
- r-commonmark >=1.6
- r-glue
- r-magrittr
- r-purrr
- r-xml2
- r-xslt
- r-yaml
run:
- r-base
- r-r6
- r-commonmark >=1.6
- r-glue
- r-magrittr
- r-purrr
- r-xml2
- r-xslt
- r-yaml

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

about:
home: https://docs.ropensci.org/tinkr/, https://github.com/ropensci/tinkr
license: GPL-3.0-or-later
summary: Parsing '(R)Markdown' files with numerous regular expressions can be fraught with
peril, but it does not have to be this way. Converting '(R)Markdown' files to 'XML'
using the 'commonmark' package allows in-memory editing via of 'markdown' elements
via 'XPath' through the extensible 'R6' class called 'yarn'. These modified 'XML'
representations can be written to '(R)Markdown' documents via an 'xslt' stylesheet
which implements an extended version of 'GitHub'-flavoured 'markdown' so that you
can tinker to your hearts content.
license_family: GPL3
license_file:
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

extra:
recipe-maintainers:
- conda-forge/r
- matthewfeickert
Comment on lines +69 to +72
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.