Package Details: r-withr 2.5.0-1

Git Clone URL: (read-only, click to copy)
Package Base: r-withr
Description: Run Code 'With' Temporarily Modified Global State
Upstream URL:
Licenses: MIT
Submitter: greyltc
Maintainer: greyltc (peippo)
Last Packager: peippo
Votes: 2
Popularity: 0.000005
First Submitted: 2019-02-09 13:26 (UTC)
Last Updated: 2022-03-13 17:06 (UTC)

Dependencies (8)

Sources (1)

Latest Comments

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

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>

pkgdesc="Run Code 'With' Temporarily Modified Global State"
license=(GPL2 GPL3)
optdepends=(r-covr r-dbi r-knitr r-rmarkdown r-rsqlite r-testthat)

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"