blob: 65a39095eac6484860ae2f17c3a0cf8a10745daf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Alex Branham <branham@utexas.edu>
_pkgname=lava
_pkgver=1.8.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Latent Variable Models"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
r-cli
r-future.apply
r-numderiv
r-progressr
r-squarem
)
optdepends=(
r-data.table
r-ellipse
r-fields
r-geepack
r-graph
r-igraph
r-knitr
r-lavasearch2
r-lme4
r-mets
r-optimx
r-polycor
r-quantreg
r-rgl
r-rgraphviz
r-rmarkdown
r-targeted
r-testthat
r-visnetwork
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('d09dd78ac2364d14c2b8931bd6bdd574')
b2sums=('ca05d1940685327de7d8055875705ab3d1d7991253a6d3ed869aeee4473bb89d86e762eca5ff62c44dfc283d6e356210b7c3b9f342ae9e15c3f08338cf32e263')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|