1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-16 22:25:55 +02:00

gnu: r-readr: Move to (gnu packages cran).

* gnu/packages/statistics.scm (r-readr): Move from here...
* gnu/packages/cran.scm (r-readr): ...to here.

Change-Id: I981d285d495221d140e4aa9e535dfc93d16c7799
This commit is contained in:
Ricardo Wurmus
2026-02-16 16:49:26 +01:00
committed by Andreas Enge
parent 17848f9f50
commit 95e6194508
2 changed files with 57 additions and 57 deletions
+57
View File
@@ -6829,6 +6829,63 @@ supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict,
ldap, and also supports cookies, redirects, authentication, etc.")
(license license:bsd-3)))
(define-public r-readr
(package
(name "r-readr")
(version "2.1.6")
(source (origin
(method url-fetch)
(uri (cran-uri "readr" version))
(sha256
(base32
"1na60ma6aa37yz7h939hi42fz8p5szaq41gabnp4hd25n2iknx4x"))))
(build-system r-build-system)
(properties
'((updater-extra-native-inputs . ("r-stringi"))))
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'disable-bad-tests
(lambda _
;; XXX This fails with the latest update to vroom.
(substitute* "tests/testthat/test-write.R"
((".*Can change the escape behavior for quotes.*" m)
(string-append m "skip('skip');\n")))))
(add-before 'check 'set-timezone
(lambda* (#:key inputs #:allow-other-keys)
;; Two tests would fail without this.
(setenv "TZ" "UTC+1")
(setenv "TZDIR"
(search-input-directory inputs
"share/zoneinfo")))))))
(propagated-inputs
(list r-cli
r-clipr
r-cpp11
r-crayon
r-hms
r-lifecycle
r-r6
r-rlang
r-tibble
r-tzdb
r-vroom))
(native-inputs
(list r-dplyr
r-knitr
r-spelling
r-stringi
r-testthat
r-withr
tzdata-for-tests))
(home-page "https://github.com/hadley/readr")
(synopsis "Read tabular data")
(description
"This package provides functions to read flat or tabular text files from
disk (or a connection).")
(license license:gpl2+)))
(define-public r-reshape2
(package
(name "r-reshape2")
-57
View File
@@ -1766,63 +1766,6 @@ collation, and NAMESPACE files.")
informative error messages when it's not available.")
(license license:expat)))
(define-public r-readr
(package
(name "r-readr")
(version "2.1.6")
(source (origin
(method url-fetch)
(uri (cran-uri "readr" version))
(sha256
(base32
"1na60ma6aa37yz7h939hi42fz8p5szaq41gabnp4hd25n2iknx4x"))))
(build-system r-build-system)
(properties
'((updater-extra-native-inputs . ("r-stringi"))))
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'disable-bad-tests
(lambda _
;; XXX This fails with the latest update to vroom.
(substitute* "tests/testthat/test-write.R"
((".*Can change the escape behavior for quotes.*" m)
(string-append m "skip('skip');\n")))))
(add-before 'check 'set-timezone
(lambda* (#:key inputs #:allow-other-keys)
;; Two tests would fail without this.
(setenv "TZ" "UTC+1")
(setenv "TZDIR"
(search-input-directory inputs
"share/zoneinfo")))))))
(propagated-inputs
(list r-cli
r-clipr
r-cpp11
r-crayon
r-hms
r-lifecycle
r-r6
r-rlang
r-tibble
r-tzdb
r-vroom))
(native-inputs
(list r-dplyr
r-knitr
r-spelling
r-stringi
r-testthat
r-withr
tzdata-for-tests))
(home-page "https://github.com/hadley/readr")
(synopsis "Read tabular data")
(description
"This package provides functions to read flat or tabular text files from
disk (or a connection).")
(license license:gpl2+)))
(define-public r-rprojroot
(package
(name "r-rprojroot")