Archived
1
0
Fork 0

gnu: r-tweenr: Build reproducibly.

* gnu/packages/cran.scm (r-tweenr)[arguments]: Add phase 'build-reproducibly
to avoid embedding random time difference.
This commit is contained in:
Ricardo Wurmus 2022-08-15 10:59:45 +02:00
parent f6709ee234
commit 2e88164023
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -19060,6 +19060,15 @@ packages with Rcpp.")
(base32
"17znizh4yabh2zs9mzyr0sl6p0pw49961i61br7cl1b7v9sza18q"))))
(build-system r-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'build-reproducibly
(lambda _
(substitute* "R/aaa.R"
(("BASEDATETIME <- Sys.time.*")
"BASEDATETIME <- structure(0, class = c(\"POSIXct\", \"POSIXt\"))\n")))))))
(propagated-inputs
(list r-farver r-magrittr r-rcpp r-rlang))
(home-page "https://github.com/thomasp85/tweenr")