diff --git a/recipes/r-rbeta2009/bld.bat b/recipes/r-rbeta2009/bld.bat new file mode 100644 index 0000000000000..01bc5eadf1152 --- /dev/null +++ b/recipes/r-rbeta2009/bld.bat @@ -0,0 +1,2 @@ +"%R%" CMD INSTALL --build . %R_ARGS% +IF %ERRORLEVEL% NEQ 0 exit /B 1 diff --git a/recipes/r-rbeta2009/build.sh b/recipes/r-rbeta2009/build.sh new file mode 100644 index 0000000000000..b8d2635525637 --- /dev/null +++ b/recipes/r-rbeta2009/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash +export DISABLE_AUTOBREW=1 +${R} CMD INSTALL --build . ${R_ARGS} diff --git a/recipes/r-rbeta2009/meta.yaml b/recipes/r-rbeta2009/meta.yaml new file mode 100644 index 0000000000000..14be3c87979b2 --- /dev/null +++ b/recipes/r-rbeta2009/meta.yaml @@ -0,0 +1,75 @@ +{% set version = '1.0' %} +{% set posix = 'm2-' if win else '' %} +{% set native = 'm2w64-' if win else '' %} + +package: + name: r-rbeta2009 + version: {{ version|replace("-", "_") }} + +source: + url: + - {{ cran_mirror }}/src/contrib/rBeta2009_{{ version }}.tar.gz + - {{ cran_mirror }}/src/contrib/Archive/rBeta2009/rBeta2009_{{ version }}.tar.gz + sha256: d8be1df85ff880a2849013b0c4ab80138b1ae32273e803a9196a25db2ced5f52 + +build: + merge_build_host: True # [win] + number: 0 + rpaths: + - lib/R/lib/ + - lib/ + missing_dso_whitelist: + - '*/R.dll' # [win] + - '*/Rblas.dll' # [win] + - '*/Rlapack.dll' # [win] + +requirements: + build: + - cross-r-base {{ r_base }} # [build_platform != target_platform] + - {{ compiler('c') }} # [not win] + - {{ stdlib("c") }} # [not win] + - {{ compiler('m2w64_c') }} # [win] + - {{ stdlib("m2w64_c") }} # [win] + - {{ compiler('cxx') }} # [not win] + - {{ compiler('m2w64_cxx') }} # [win] + - {{ posix }}filesystem # [win] + - {{ posix }}make + - {{ posix }}sed # [win] + - {{ posix }}coreutils # [win] + - {{ posix }}zip # [win] + host: + - r-base + run: + - r-base + +test: + commands: + - $R -e "library('rBeta2009')" # [not win] + - "\"%R%\" -e \"library('rBeta2009')\"" # [win] + +about: + home: https://CRAN.R-project.org/package=rBeta2009 + license: GPL-2.0-only + summary: The package contains functions to generate random numbers from the beta distribution + and random vectors from the Dirichlet distribution. + license_family: GPL2 + license_file: + - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2' + +extra: + recipe-maintainers: + - conda-forge/r + +# Package: rBeta2009 +# Type: Package +# Title: The Beta Random Number and Dirichlet Random Vector Generating Functions +# Version: 1.0 +# Date: 2012-02-25 +# Author: Ching-Wei Cheng, Ying-Chao Hung, Narayanaswamy Balakrishnan +# Maintainer: Ching-Wei Cheng +# Description: The package contains functions to generate random numbers from the beta distribution and random vectors from the Dirichlet distribution. +# License: GPL-2 +# LazyLoad: yes +# Packaged: 2012-03-01 09:14:15 UTC; Cheng +# Repository: CRAN +# Date/Publication: 2012-03-01 09:33:12