Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Bioconductor ebseq #26

Merged
merged 4 commits into from
Jul 31, 2023
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
13 changes: 13 additions & 0 deletions recipes/r-testthat/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/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 .

# Add more build steps here, if they are necessary.

# See
# http://docs.continuum.io/conda/build.html
# for a list of environment variables that are set during the build process.
42 changes: 42 additions & 0 deletions recipes/r-testthat/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This file created by conda-build 2.0.7
# meta.yaml template originally from:
# /opt/recipe, last modified Sat Jun 3 21:05:01 2017
# ------------------------------------------------

package:
name: r-testthat
version: 1.0.2
source:
fn: testthat_1.0.2.tar.gz
md5: 6c6a90c8db860292df5784a70e07b8dc
url:
- https://cran.r-project.org/src/contrib/testthat_1.0.2.tar.gz
- https://cran.r-project.org/src/contrib/Archive/testthat/testthat_1.0.2.tar.gz
build:
number: '1'
rpaths:
- lib/R/lib/
- lib/
requirements:
build:
- gcc
- 'r-base >=4.1,<4.2'
- r-crayon
- r-digest
- r-magrittr
- r-praise
- r-r6
run:
- 'r-base >=4.1,<4.2'
- r-crayon
- r-digest
- r-magrittr
- r-praise
- r-r6
test:
commands:
- $R -e "library('testthat')"
about:
home: https://github.com/hadley/testthat
license: MIT + file LICENSE
summary: A unit testing system designed to be fun, flexible and easy to set up.
51 changes: 51 additions & 0 deletions recipes/r-testthat/meta.yaml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
package:
name: r-testthat
# Note that conda versions cannot contain -, so any -'s in the version have
# been replaced with _'s.
version: "1.0.2"

source:
fn: testthat_1.0.2.tar.gz
url:
- https://cran.r-project.org/src/contrib/testthat_1.0.2.tar.gz
- https://cran.r-project.org/src/contrib/Archive/testthat/testthat_1.0.2.tar.gz
md5: 6c6a90c8db860292df5784a70e07b8dc

build:
number: 1

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

# Suggests: devtools, withr, covr
requirements:
build:
- gcc # [not win]
- r-base
- r-crayon
- r-digest
- r-magrittr
- r-praise
- r-r6

run:
- libgcc # [not win]
- r-base
- r-crayon
- r-digest
- r-magrittr
- r-praise
- r-r6

test:
commands:
# You can put additional test commands to be run here.
- $R -e "library('testthat')" # [not win]
- "\"%R%\" -e \"library('testthat')\"" # [win]

about:
home: https://github.com/hadley/testthat
license: MIT + file LICENSE
summary: A unit testing system designed to be fun, flexible and easy to set up.