Package Details: r-scales 1.3.0-1

Git Clone URL: https://aur.archlinux.org/r-scales.git (read-only, click to copy)
Package Base: r-scales
Description: Scale Functions for Visualization
Upstream URL: https://cran.r-project.org/package=scales
Licenses: MIT
Submitter: portaloffreedom
Maintainer: greyltc (peippo)
Last Packager: peippo
Votes: 3
Popularity: 0.056712
First Submitted: 2018-06-11 10:55 (UTC)
Last Updated: 2023-11-29 11:40 (UTC)

Latest Comments

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

Further maintenance and support for this package has been moved there. You can install pre-built packages from my repo

dviktor commented on 2020-01-31 16:45 (UTC)

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,28 @@
# Maintainer: wagnerflo <florian@wagner-flo.net>
+
 _cranname=scales
-_cranver=1.0.0
-pkgname=r-$_cranname
-pkgver=${_cranver}
-pkgrel=3
-pkgdesc="Tools for Splitting, Applying and Combining Data"
-url="http://cran.r-project.org/web/packages/${_cranname}/index.html"
-arch=('i686' 'x86_64')
-license=('MIT')
-depends=('r>=3.1' 'r-rcolorbrewer' 'r-plyr'
-             'r-munsell>=0.5' 'r-labeling' 'r-rcpp' 'r-r6' 'r-viridislite')
-optdepends=('r-dichromat')
-provides=("r-cran-${_cranname}")
-conflicts=("r-cran-${_cranname}")
-replaces=("r-cran-${_cranname}")
-source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
-sha256sums=('0c1f4a14edd336a404da34a3cc71a6a9d0ca2040ba19360c41a79f36e06ca30c')
+_cranver=1.1.0
+pkgname=r-${_cranname,,}
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="Scale Functions for Visualization"
+arch=(any)
+url="https://cran.r-project.org/package=${_cranname}"
+license=(MIT)
+depends=('r>=3.2' 'r-farver>=2.0.0' r-labeling 'r-munsell>=0.5' r-r6 r-rcolorbrewer r-viridislite r-lifecycle)
+optdepends=(r-bit64 r-covr r-dichromat r-hms r-testthat r-ggplot2)
+source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+md5sums=('875fcbd3bf93934e076c7c877b8c5f05')
+
+build() {
+  cd "${srcdir}"
+
+  R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir}
+}

 package() {
-    mkdir -p ${pkgdir}/usr/lib/R/library
-    cd ${srcdir}
-    R CMD INSTALL ${_cranname} -l ${pkgdir}/usr/lib/R/library
+  cd "${srcdir}"
+
+  install -dm0755 "${pkgdir}/usr/lib/R/library"
+  cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
 }

hexadecagram commented on 2020-01-17 04:59 (UTC)

r-lifecycle installs clean but r-farver needs to be added to AUR.

hexadecagram commented on 2020-01-17 04:57 (UTC)

Trying to build 1.1.0 manually gives the following:

ERROR: dependencies ‘farver’, ‘lifecycle’ are not available for package ‘scales’

greyltc commented on 2019-02-09 11:27 (UTC)

the dependencies listed here don't exist and are wrong. r-dichromat should be an optdepend

clintval commented on 2018-06-10 20:36 (UTC)

r-cran-viridislite has been moved to r-viridislite

<deleted-account> commented on 2018-05-30 14:24 (UTC)

I have uploaded the dependencies as e.g. r-munsell rather than r-cran-munsell, if you want to update the depends.

clintval commented on 2017-12-29 04:55 (UTC) (edited on 2017-12-29 05:28 (UTC) by clintval)

I have created the AUR dependencies for 0.5.0 at:

r-cran-viridislite