Skip to content

Commit

Permalink
Add r package pophelper (#13133)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanraaum committed Jan 18, 2019
1 parent a4c5683 commit 34cd61e
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/r-pophelper/build.sh
@@ -0,0 +1,2 @@
#!/bin/bash
$R CMD INSTALL --build .
79 changes: 79 additions & 0 deletions recipes/r-pophelper/meta.yaml
@@ -0,0 +1,79 @@
{% set version = '2.2.7' %}

{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

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

source:

url: https://github.com/royfrancis/pophelper/archive/v2.2.7.1.tar.gz
sha256: a936dc7f0162b4a889f8514c2c71e7014871d39c2622f2800e433744d8dcd559

build:
number: 0
rpaths:
- lib/R/lib/
- lib/

# Suggests: knitr, testthat
requirements:
build:
- {{posix}}git

host:
- r-base
- r-cairo
- r-ggplot2
- r-gridextra
- r-gtable
- r-tidyr

run:
- r-base
- r-cairo
- r-ggplot2
- r-gridextra
- r-gtable
- r-tidyr

test:
commands:
- $R -e "library('pophelper')" # [not win]

about:
home: https://github.com/royfrancis/pophelper
license: GPL-3
summary: A set of useful functions for processing admixture proportion files from the population
structure analysis softwares STRUCTURE, TESS, ADMIXTURE, BAPS, fastSTRUCTURE etc.
The package contains functions to read runs, tabulate runs, summarise runs, plot
runs, estimate K using Evanno method, export clumpp files, export distruct files
and generate barplots.
license_family: GPL3
license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

# The original CRAN metadata for this package was:

# Package: pophelper
# Type: Package
# Title: Tabulate, analyse and visualise admixture proportions from STRUCTURE, TESS, BAPS, ADMIXTURE and tab-delimited q-matrices files
# Version: 2.2.7
# Date: 2018-05-23
# Author: Roy Mathew Francis
# Authors@R: person("Roy", "Francis", email = "roy.m.francis@outlook.com",role = c("aut", "cre"))
# Maintainer: Roy Mathew Francis <roy.m.francis@outlook.com>
# Description: A set of useful functions for processing admixture proportion files from the population structure analysis softwares STRUCTURE, TESS, ADMIXTURE, BAPS, fastSTRUCTURE etc. The package contains functions to read runs, tabulate runs, summarise runs, plot runs, estimate K using Evanno method, export clumpp files, export distruct files and generate barplots.
# URL: https://github.com/royfrancis/pophelper
# Depends: R(>= 3.4.0), Cairo, ggplot2
# Imports: grid, gridExtra, gtable, tidyr
# Suggests: knitr, testthat
# License: GPL-3
# Encoding: UTF-8
# VignetteBuilder: knitr
# RoxygenNote: 6.0.1

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml

0 comments on commit 34cd61e

Please sign in to comment.