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

Add r-polysat version 1.7-3 #11384

Merged
merged 1 commit into from
Oct 17, 2018
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
8 changes: 8 additions & 0 deletions recipes/r-polysat/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# R refuses to build packages that mark themselves as Priority: Recommended
mv DESCRIPTION DESCRIPTION.old
grep -v '^Priority: ' DESCRIPTION.old > DESCRIPTION

$R CMD INSTALL --build .

42 changes: 42 additions & 0 deletions recipes/r-polysat/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{% set version = '1.7-3' %}

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

source:
url: https://cran.r-project.org/src/contrib/polysat_{{ version }}.tar.gz
sha256: df7ae3ecf034678870a778a53d732674165bf909bae15ea7fa0ddbbb6566bf94

build:
number: 0

# This is required to make R link correctly on Linux.
rpaths:
- lib/R/lib/
- lib/

requirements:
build:
- {{ compiler('c') }}

host:
- libgfortran-ng # work around bug in r-base with Rcpp
- r-base
- r-rcpp

run:
- libgfortran-ng # work around bug in r-base with Rcpp
- r-base
- r-rcpp

test:
commands:
- $R -e "library('polysat')"

about:
home: https://cran.r-project.org/web/packages/polysat/index.html
license: GPL (>= 2)
summary: 'A collection of tools to handle microsatellite data of any ploidy (and samples of
mixed ploidy) where allele copy number is not known in partially heterozygous genotypes.'