opam-version: "2.0"
synopsis: "Objective Caml bindings for the R interpreter"
description: """

OCaml-R is a library that can be used to construct R values in memory,
convert them to OCaml values, and build clean wrappers to R
functions. It provide a simple means to develop bindings to any R
package."""
maintainer: ["philippe.veber@gmail.com"]
authors: ["Guillaume Yzyquel" "Maxence Guesdon" "Philippe Veber"]
license: "GPL3"
tags: ["R" "statistics"]
homepage: "https://github.com/pveber/ocaml-r/"
doc: "https://pveber.github.io/ocaml-r/ocaml-r/index.html"
bug-reports: "https://github.com/pveber/ocaml-r/issues"
depends: [
  "ocaml" {>= "4.08"}
  "base" {build & >= "v0.14"}
  "conf-r" {build}
  "conf-r-mathlib" {build}
  "dune" {>= "2.5"}
  "stdio" {>= "v0.14" & build}
  "alcotest" {with-test}
]
build: [
  ["dune" "subst"] {pinned}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/pveber/ocaml-r.git"
x-commit-hash: "888680d5ecc2eb3d4aeb87c52cf48a0990a038d5"
url {
  src:
    "https://github.com/pveber/ocaml-r/releases/download/v0.4.0/ocaml-r-v0.4.0.tbz"
  checksum: [
    "sha256=12629a334c28908343a590785e69e086ddf899bb8a0e61b31a9b2e4e36ce3baa"
    "sha512=b39d8a286652f4d7bdcae37f44d9d1844e0de41491dfb44ac7443fabdfb4e0d14467b9a4f612bac1ca8252d0f0075654925f4e491792a60cdb045added7b7c59"
  ]
}
