-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27377 from mfansler/r-rbeta2009
adds `r-rbeta2009`
- Loading branch information
Showing
3 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <aks43725@gmail.com> | ||
# 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 |