Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds r-rbeta2009 #27377

Merged
merged 2 commits into from
Aug 24, 2024
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-rbeta2009/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-rbeta2009/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}
75 changes: 75 additions & 0 deletions recipes/r-rbeta2009/meta.yaml
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