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 gggrid recipe (CRAN package) #27979

Merged
merged 2 commits into from
Oct 30, 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-gggrid/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-gggrid/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}
73 changes: 73 additions & 0 deletions recipes/r-gggrid/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{% set version = '0.2-0' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

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

source:
url:
- {{ cran_mirror }}/src/contrib/gggrid_{{ version }}.tar.gz
- {{ cran_mirror }}/src/contrib/Archive/gggrid/gggrid_{{ version }}.tar.gz
sha256: 287adddd5dcb2fdc1d78c56bf56f6bc15c8333b3b26df9d8b522db8b4bd4153d

build:
merge_build_host: True # [win]
number: 0
noarch: generic
rpaths:
- lib/R/lib/
- lib/
missing_dso_whitelist:
- '*/R.dll' # [win]
- '*/Rblas.dll' # [win]
- '*/Rlapack.dll' # [win]

requirements:
build:
- {{ posix }}zip # [win]
- cross-r-base {{ r_base }} # [build_platform != target_platform]
host:
- r-base
- r-ggplot2
run:
- r-base
- r-ggplot2

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

about:
home: https://github.com/pmur002/gggrid,https://stattech.wordpress.fos.auckland.ac.nz/2021/05/31/2021-01-accessing-grid-from-ggplot2/
license: GPL-3.0-only
summary: An extension of 'ggplot2' that makes it easy to add raw 'grid' output, such as customised
annotations, to a 'ggplot2' plot.
license_family: GPL3
license_file:
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

extra:
recipe-maintainers:
- conda-forge/r
- GiulioCentorame

# Package: gggrid
# Type: Package
# Title: Draw with 'grid' in 'ggplot2'
# Version: 0.2-0
# Authors@R: c(person("Paul", "Murrell", email = "[email protected]", role = c("aut", "cre")))
# Maintainer: Paul Murrell <[email protected]>
# Description: An extension of 'ggplot2' that makes it easy to add raw 'grid' output, such as customised annotations, to a 'ggplot2' plot.
# Depends: grid, ggplot2
# Suggests: knitr, rmarkdown, vwline
# URL: https://github.com/pmur002/gggrid,https://stattech.wordpress.fos.auckland.ac.nz/2021/05/31/2021-01-accessing-grid-from-ggplot2/
# VignetteBuilder: knitr
# License: GPL-3
# NeedsCompilation: no
# Packaged: 2022-01-11 00:16:54 UTC; pmur002
# Author: Paul Murrell [aut, cre]
# Repository: CRAN
# Date/Publication: 2022-01-11 09:12:45 UTC
Loading