Package Details: r-withr 3.0.0-2

Git Clone URL: https://aur.archlinux.org/r-withr.git (read-only, click to copy)
Package Base: r-withr
Description: Lightweight Well-Known Geometry Parsing
Upstream URL: https://cran.r-project.org/package=withr
Licenses: MIT
Submitter: greyltc
Maintainer: greyltc (peippo)
Last Packager: peippo
Votes: 3
Popularity: 0.001160
First Submitted: 2019-02-09 13:26 (UTC)
Last Updated: 2024-01-17 13:57 (UTC)

Dependencies (8)

Sources (1)

Latest Comments

peippo commented on 2024-01-17 13:58 (UTC)

That was by mistake, indeed, thanks for spotting!

pekkarr commented on 2024-01-17 13:39 (UTC)

In the 3.0.0-1 update the checkdepends were uncommented. Was this intentional? It reintroduced the dependency cycle between r-withr and r-testthat.

pekkarr commented on 2023-03-23 16:44 (UTC)

This package has a semi-cyclical dependency: r-withr checkdepends on r-testthat, which depends on r-withr.

dviktor commented on 2021-12-08 18:28 (UTC)

I'm leaving maintenance and support for this package in favor of new repository. You can install pre-built packages from my repo

<deleted-account> commented on 2021-01-20 11:02 (UTC)

2.4.0 is out, but the source code link doesnt work. Github also says that the latest version is 2.3.0, even though CRAN says it's 2.4.0. As a result, the package is broken. The archive has to be used instead for 2.3.0

Fixed PKGBUILD for 2.3.0:

# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Grey Christoforo <first name at last name dot net>

_cranname=withr
_cranver=2.3.0
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Run Code 'With' Temporarily Modified Global State"
arch=(any)
url="https://cran.r-project.org/package=${_cranname}"
license=(GPL2 GPL3)
depends=('r>=3.2.0')
optdepends=(r-covr r-dbi r-knitr r-rmarkdown r-rsqlite r-testthat)
source=("https://cran.r-project.org/src/contrib/Archive/${_cranname}/${_cranname}_${_cranver}.tar.gz")
sha256sums=('2cc03c9947d424717e94f301a0ab7d97eb2079eea5c6a0a3cdf2da32aedc67a0')

build() {
  cd "${srcdir}"

  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir}
}

package() {
  cd "${srcdir}"

  install -dm0755 "${pkgdir}/usr/lib/R/library"
  cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
}