gnu: r-htmltools: Update to 0.4.0.

* gnu/packages/cran.scm (r-htmltools): Update to 0.4.0.
[arguments]: Remove field.
[propagated-inputs]: Add r-rlang.
This commit is contained in:
Ricardo Wurmus 2019-10-06 23:04:11 +02:00
parent 33651044c6
commit 82acc94fbf
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 4 additions and 17 deletions

View File

@ -525,31 +525,18 @@ directory.")
(define-public r-htmltools (define-public r-htmltools
(package (package
(name "r-htmltools") (name "r-htmltools")
(version "0.3.6") (version "0.4.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (cran-uri "htmltools" version)) (uri (cran-uri "htmltools" version))
(sha256 (sha256
(base32 (base32
"18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4")))) "06l17d8jkf438yk2mchpsp4j90bynnapz3nabh5vkcc324p5a62v"))))
(build-system r-build-system) (build-system r-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
;; See https://github.com/rstudio/htmltools/pull/68
;; 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/html_dependency.R"
(("file.copy\\(from, to, " prefix)
(string-append prefix
"copy.mode = FALSE, ")))
#t)))))
(propagated-inputs (propagated-inputs
`(("r-digest" ,r-digest) `(("r-digest" ,r-digest)
("r-rcpp" ,r-rcpp))) ("r-rcpp" ,r-rcpp)
("r-rlang" ,r-rlang)))
(home-page "https://cran.r-project.org/web/packages/htmltools") (home-page "https://cran.r-project.org/web/packages/htmltools")
(synopsis "R tools for HTML") (synopsis "R tools for HTML")
(description (description