* Clean out some lint
+{% set version = '0.10.11' %}
+
+{% set posix = 'm2-' if win else '' %}
+{% set native = 'm2w64-' if win else '' %}
+
package:
name: r-rmysql
- version: 0.10.11
+ version: {{ version|replace("-", "_") }}
source:
- fn: RMySQL_0.10.11.tar.gz
- url: http://cran.r-project.org/src/contrib/RMySQL_0.10.11.tar.gz
+ fn: RMySQL_{{ version }}.tar.gz
+ url: https://cran.r-project.org/src/contrib/RMySQL_{{ version }}.tar.gz
sha256: DA405E38D08BB728586C2B9C969F222B0B83FE1DF33AD9308EBA820B8F03EA88
build:
@@ -18,5 +23,12 @@ requirements:
- r
- r-dbi
+test:
+ commands:
+ - $R -e "library('RMySQL')" # [not win]
+ - "\"%R%\" -e \"library('RMySQL')\"" # [win]
+
about:
+ home: https://cran.r-project.org/web/packages/RMySQL/index.html
license: GPL-2
+ summary: "A 'DBI' interface to 'MySQL' / 'MariaDB'"
