-
-
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 #26304 from aspencage/aspen/r-crossdes
Adding r-crossdes
- Loading branch information
Showing
3 changed files
with
71 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,66 @@ | ||
{% set version = '1.1-2' %} | ||
{% set posix = 'm2-' if win else '' %} | ||
{% set native = 'm2w64-' if win else '' %} | ||
|
||
package: | ||
name: r-crossdes | ||
version: {{ version|replace("-", "_") }} | ||
|
||
source: | ||
url: | ||
- {{ cran_mirror }}/src/contrib/crossdes_{{ version }}.tar.gz | ||
- {{ cran_mirror }}/src/contrib/Archive/crossdes/crossdes_{{ version }}.tar.gz | ||
sha256: 5e65e760bf22fc07036c69ceb462dddb97605cae0e8e3cdac503d43a50938959 | ||
|
||
build: | ||
merge_build_host: True # [win] | ||
number: 0 | ||
noarch: generic | ||
rpaths: | ||
- lib/R/lib/ | ||
- lib/ | ||
|
||
requirements: | ||
build: | ||
- {{ posix }}zip # [win] | ||
- cross-r-base {{ r_base }} # [build_platform != target_platform] | ||
host: | ||
- r-base | ||
- r-algdesign | ||
- r-gtools | ||
run: | ||
- r-base | ||
- r-algdesign | ||
- r-gtools | ||
|
||
test: | ||
commands: | ||
- $R -e "library('crossdes')" # [not win] | ||
- "\"%R%\" -e \"library('crossdes')\"" # [win] | ||
|
||
about: | ||
home: https://CRAN.R-project.org/package=crossdes | ||
license: GPL-2.0-only | ||
summary: Contains functions for the construction of carryover balanced crossover designs. In | ||
addition contains functions to check given designs for balance. | ||
license_family: GPL2 | ||
license_file: | ||
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2' | ||
|
||
extra: | ||
recipe-maintainers: | ||
- conda-forge/r | ||
- aspencage | ||
# Package: crossdes | ||
# Date: 2022-04-04 | ||
# Title: Construction of Crossover Designs | ||
# Version: 1.1-2 | ||
# Author: Martin Oliver Sailer | ||
# Depends: AlgDesign, gtools | ||
# Description: Contains functions for the construction of carryover balanced crossover designs. In addition contains functions to check given designs for balance. | ||
# Maintainer: Bjoern Bornkamp <[email protected]> | ||
# License: GPL-2 | ||
# NeedsCompilation: no | ||
# Packaged: 2022-04-04 18:57:03 UTC; bjoern | ||
# Repository: CRAN | ||
# Date/Publication: 2022-04-04 21:50:02 UTC |