Package Details: r-v8 4.3.0-4

Git Clone URL: (read-only, click to copy)
Package Base: r-v8
Description: Embedded JavaScript and WebAssembly Engine for R
Upstream URL:
Licenses: MIT
Submitter: dviktor
Maintainer: BioArchLinuxBot (malacology)
Last Packager: malacology
Votes: 0
Popularity: 0.000000
First Submitted: 2020-07-09 12:52 (UTC)
Last Updated: 2023-05-17 14:49 (UTC)

Latest Comments

peippo commented on 2023-05-09 06:41 (UTC)

+1 on @pekkarr's comment. This comes into play as soon as you use the (now fairly common) aurutils, and probably affects other aur helpers, also.

pekkarr commented on 2023-04-09 17:59 (UTC)

Could you change the prepare function to not overwrite the source archive? It's problematic to modify it, because it prevents rebuilds as the sha256sums won't match the archive after running prepare once.

R CMD INSTALL can install directly from the extracted and patched directory, so there's no need to compress it again. The following patch demonstrates this:

diff --git a/PKGBUILD b/PKGBUILD
index ec8d581..fb67370 100644
@@ -31,16 +31,16 @@ prepare() {
   # build with system nodejs
   sed -i '11,12d' ${_pkgname}/configure
   sed -i '11i PKG_LIBS="-lnode"\nPKG_CFLAGS="-I/usr/include/node"' ${_pkgname}/configure
-  tar cvfz ${_pkgname}_${pkgver}.tar.gz ${_pkgname}

 build() {
-  R CMD INSTALL ${_pkgname}_${pkgver}.tar.gz -l "${srcdir}"
+  mkdir -p build
+  R CMD INSTALL ${_pkgname} -l build

 package() {
   install -dm0755 "${pkgdir}/usr/lib/R/library"
-  cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
+  cp -a --no-preserve=ownership "build/${_pkgname}" "${pkgdir}/usr/lib/R/library"
   install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
 # vim:set ts=2 sw=2 et:

dviktor commented on 2022-01-10 20:40 (UTC)

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

japhir commented on 2020-10-26 15:29 (UTC)

The dependency v8>=6 doesn't seem to recognize that my v8-r package version 8.8.166-1 is higher than 6. Changing the dependency to v8 and makepkg -si works to install this.

levitsky commented on 2020-10-20 12:15 (UTC)

The package fails to install for me with the following error:

PKGBUILD linked from the comments on that issue worked for me: (