guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: r-rmarkdown: Remove phase "copy-files-without-mode".


From: Ricardo Wurmus
Subject: 02/02: gnu: r-rmarkdown: Remove phase "copy-files-without-mode".
Date: Thu, 10 Nov 2016 17:49:58 +0000 (UTC)

rekado pushed a commit to branch master
in repository guix.

commit b8deffe2b27434ae33bca1b56f1e54c106aa0616
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Nov 10 18:45:31 2016 +0100

    gnu: r-rmarkdown: Remove phase "copy-files-without-mode".
    
    This phase is no longer needed as upstream has merged the fix in the
    current release.
    
    * gnu/packages/statistics.scm (r-rmarkdown)[arguments]: Remove build
    phase "copy-files-without-mode".
---
 gnu/packages/statistics.scm |   14 --------------
 1 file changed, 14 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 4ad19b9..80ce15d 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2153,20 +2153,6 @@ encoder/decoder, round-off-error-free sum and cumsum, 
etc.")
             "1czvkaz1ji3jyj6qrvbswisqs9d05ljqc4vjkfdrf6hygix7azd0"))))
     (properties `((upstream-name . "rmarkdown")))
     (build-system r-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         ;; See https://github.com/rstudio/rmarkdown/pull/800
-         ;; The resource files are in the store and have mode 444.  After
-         ;; copying the files R fails to remove them again because it doesn't
-         ;; have write access to them.
-         (add-after 'unpack 'copy-files-without-mode
-           (lambda _
-             (substitute* "R/render.R"
-               (("file.copy\\(from = from," prefix)
-                (string-append prefix
-                               " copy.mode = FALSE, ")))
-             #t)))))
     (propagated-inputs
      `(("r-catools" ,r-catools)
        ("r-evaluate" ,r-evaluate)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]