aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-07-12gnu: r-scatterpie: Update to 0.2.1....* gnu/packages/cran.scm (r-scatterpie): Update to 0.2.1. Ricardo Wurmus
2023-07-12gnu: r-aws: Update to 2.5-3....* gnu/packages/cran.scm (r-aws): Update to 2.5-3. Ricardo Wurmus
2023-07-12gnu: r-kutils: Update to 1.72....* gnu/packages/cran.scm (r-kutils): Update to 1.72. Ricardo Wurmus
2023-07-12gnu: r-stanheaders: Update to 2.26.27....* gnu/packages/cran.scm (r-stanheaders): Update to 2.26.27. Ricardo Wurmus
2023-07-12gnu: r-torch: Update to 0.11.0....* gnu/packages/cran.scm (r-torch): Update to 0.11.0. Ricardo Wurmus
2023-07-12gnu: r-gdina: Update to 2.9.4....* gnu/packages/cran.scm (r-gdina): Update to 2.9.4. Ricardo Wurmus
2023-07-12gnu: r-r-huge: Update to 0.10.0....* gnu/packages/cran.scm (r-r-huge): Update to 0.10.0. Ricardo Wurmus
2023-07-12gnu: r-mda: Update to 0.5-4....* gnu/packages/cran.scm (r-mda): Update to 0.5-4. Ricardo Wurmus
2023-07-12gnu: r-pmcmrplus: Update to 1.9.7....* gnu/packages/cran.scm (r-pmcmrplus): Update to 1.9.7. [native-inputs]: Add r-rmarkdown. Ricardo Wurmus
2023-07-12gnu: r-desolve: Update to 1.36....* gnu/packages/cran.scm (r-desolve): Update to 1.36. Ricardo Wurmus
2023-07-12gnu: r-uwot: Update to 0.1.16....* gnu/packages/cran.scm (r-uwot): Update to 0.1.16. Ricardo Wurmus
2023-07-12gnu: r-styler: Update to 1.10.1....* gnu/packages/cran.scm (r-styler): Update to 1.10.1. Ricardo Wurmus
2023-07-12gnu: r-arrow: Update to 12.0.1....* gnu/packages/cran.scm (r-arrow): Update to 12.0.1. Ricardo Wurmus
2023-07-12gnu: r-ggfun: Update to 0.1.1....* gnu/packages/cran.scm (r-ggfun): Update to 0.1.1. Ricardo Wurmus
2023-07-12gnu: r-ggplotify: Update to 0.1.1....* gnu/packages/cran.scm (r-ggplotify): Update to 0.1.1. Ricardo Wurmus
2023-07-12gnu: r-polspline: Update to 1.1.23....* gnu/packages/cran.scm (r-polspline): Update to 1.1.23. Ricardo Wurmus
2023-07-12gnu: r-spdata: Update to 2.3.0....* gnu/packages/cran.scm (r-spdata): Update to 2.3.0. Ricardo Wurmus
2023-07-12gnu: r-remacor: Update to 0.0.16....* gnu/packages/cran.scm (r-remacor): Update to 0.0.16. [propagated-inputs]: Remove r-clustergeneration and r-runit; add r-envstats, r-rcpp, and r-rcpparmadillo. Ricardo Wurmus
2023-07-12gnu: r-future: Update to 1.33.0....* gnu/packages/cran.scm (r-future): Update to 1.33.0. Ricardo Wurmus
2023-07-12gnu: r-gargle: Update to 1.5.1....* gnu/packages/cran.scm (r-gargle): Update to 1.5.1. Ricardo Wurmus
2023-07-12gnu: r-kohonen: Update to 3.0.12....* gnu/packages/cran.scm (r-kohonen): Update to 3.0.12. Ricardo Wurmus
2023-07-12gnu: r-admisc: Update to 0.33....* gnu/packages/cran.scm (r-admisc): Update to 0.33. Ricardo Wurmus
2023-07-12gnu: r-biocmanager: Update to 1.30.21....* gnu/packages/cran.scm (r-biocmanager): Update to 1.30.21. Ricardo Wurmus
2023-07-12gnu: r-rcppannoy: Update to 0.0.21....* gnu/packages/cran.scm (r-rcppannoy): Update to 0.0.21. Ricardo Wurmus
2023-07-12gnu: r-usethis: Update to 2.2.2....* gnu/packages/cran.scm (r-usethis): Update to 2.2.2. Ricardo Wurmus
2023-07-12gnu: r-ggeffects: Update to 1.2.3....* gnu/packages/cran.scm (r-ggeffects): Update to 1.2.3. Ricardo Wurmus
2023-07-12gnu: r-emmeans: Update to 1.8.7....* gnu/packages/cran.scm (r-emmeans): Update to 1.8.7. Ricardo Wurmus
2023-07-12gnu: r-multcomp: Update to 1.4-25....* gnu/packages/cran.scm (r-multcomp): Update to 1.4-25. Ricardo Wurmus
2023-07-12gnu: r-targets: Update to 1.2.0....* gnu/packages/cran.scm (r-targets): Update to 1.2.0. Ricardo Wurmus
2023-07-12gnu: r-tarchetypes: Update to 0.7.7....* gnu/packages/cran.scm (r-tarchetypes): Update to 0.7.7. Ricardo Wurmus
2023-07-12gnu: r-raster: Update to 3.6-23....* gnu/packages/cran.scm (r-raster): Update to 3.6-23. Ricardo Wurmus
2023-07-12gnu: r-labelled: Update to 2.12.0....* gnu/packages/cran.scm (r-labelled): Update to 2.12.0. Ricardo Wurmus
2023-07-12gnu: r-qualv: Update to 0.3-5....* gnu/packages/cran.scm (r-qualv): Update to 0.3-5. Ricardo Wurmus
2023-07-12gnu: r-proc: Update to 1.18.4....* gnu/packages/cran.scm (r-proc): Update to 1.18.4. Ricardo Wurmus
2023-07-12gnu: r-golem: Update to 0.4.1....* gnu/packages/cran.scm (r-golem): Update to 0.4.1. Ricardo Wurmus
2023-07-12gnu: r-flextable: Update to 0.9.2....* gnu/packages/cran.scm (r-flextable): Update to 0.9.2. Ricardo Wurmus
2023-07-12gnu: r-insight: Update to 0.19.3....* gnu/packages/cran.scm (r-insight): Update to 0.19.3. Ricardo Wurmus
2023-07-12gnu: r-reticulate: Update to 1.30....* gnu/packages/cran.scm (r-reticulate): Update to 1.30. [propagated-inputs]: Add r-rlang. Ricardo Wurmus
2023-07-12gnu: r-renv: Update to 1.0.0....* gnu/packages/cran.scm (r-renv): Update to 1.0.0. Ricardo Wurmus
2023-07-12gnu: r-sitar: Update to 1.4.0....* gnu/packages/cran.scm (r-sitar): Update to 1.4.0. Ricardo Wurmus
2023-07-12gnu: r-cubature: Update to 2.1.0....* gnu/packages/cran.scm (r-cubature): Update to 2.1.0. Ricardo Wurmus
2023-07-12gnu: r-quantmod: Update to 0.4.23....* gnu/packages/cran.scm (r-quantmod): Update to 0.4.23. Ricardo Wurmus
2023-07-12gnu: r-vctrs: Update to 0.6.3....* gnu/packages/cran.scm (r-vctrs): Update to 0.6.3. Ricardo Wurmus
2023-07-12gnu: r-webshot: Update to 0.5.5....* gnu/packages/cran.scm (r-webshot): Update to 0.5.5. Ricardo Wurmus
2023-07-12gnu: r-processx: Update to 3.8.2....* gnu/packages/cran.scm (r-processx): Update to 3.8.2. Ricardo Wurmus
2023-07-12gnu: r-gss: Update to 2.2-5....* gnu/packages/cran.scm (r-gss): Update to 2.2-5. Ricardo Wurmus
2023-07-12gnu: r-mice: Update to 3.16.0....* gnu/packages/cran.scm (r-mice): Update to 3.16.0. [propagated-inputs]: Add r-glmnet, r-mitml, r-nnet, and r-rpart. Ricardo Wurmus
2023-07-12gnu: r-pan: Update to 1.8....* gnu/packages/cran.scm (r-pan): Update to 1.8. Ricardo Wurmus
2023-07-12gnu: r-broom: Update to 1.0.5....* gnu/packages/cran.scm (r-broom): Update to 1.0.5. Ricardo Wurmus
2023-07-12gnu: r-psych: Update to 2.3.6....* gnu/packages/cran.scm (r-psych): Update to 2.3.6. Ricardo Wurmus
efix) (sexp-or-nothing " (crypto-devices ~S)" store-crypto-devices)) "") (sexp-or-nothing " (locale ~S)" locale) (sexp-or-nothing " (bootloader-name ~a)" bootloader-name) (sexp-or-nothing " (bootloader-menu-entries ~S)" bootloader-menu-entries))) (let ((str (generate-boot-parameters))) (call-with-input-string str read-boot-parameters))) (test-begin "boot-parameters") ;; XXX: <warning: unrecognized boot parameters at '#f'> (test-assert "read, construction, mandatory fields" (let-syntax ((test-read-boot-parameters (syntax-rules () ((_ args ...) (guard (c ((formatted-message? c) #f)) (test-read-boot-parameters args ...)))))) (not (or (test-read-boot-parameters #:version #false) (test-read-boot-parameters #:version 'false) (test-read-boot-parameters #:version -1) (test-read-boot-parameters #:version "0") (test-read-boot-parameters #:root-device #false) (test-read-boot-parameters #:kernel #false) (test-read-boot-parameters #:label #false))))) (test-assert "read, construction, optional fields" (and (test-read-boot-parameters #:bootloader-name #false) (test-read-boot-parameters #:bootloader-menu-entries #false) (test-read-boot-parameters #:kernel-arguments #false) (test-read-boot-parameters #:with-store #false) (test-read-boot-parameters #:store-device #false) (test-read-boot-parameters #:store-device 'false) (test-read-boot-parameters #:store-crypto-devices #false) (test-read-boot-parameters #:store-mount-point #false) (test-read-boot-parameters #:store-directory-prefix #false) (test-read-boot-parameters #:multiboot-modules #false) (test-read-boot-parameters #:locale #false) (test-read-boot-parameters #:bootloader-name #false #:kernel-arguments #false #:with-store #false #:locale #false))) (test-equal "read, default equality" %grub-boot-parameters (test-read-boot-parameters)) (test-equal "read, root-device, label" (file-system-label "my-root") (boot-parameters-root-device (test-read-boot-parameters #:root-device '(file-system-label "my-root")))) (test-equal "read, root-device, /dev node" "/dev/sda2" (boot-parameters-root-device (test-read-boot-parameters #:root-device "/dev/sda2"))) (test-equal "read, kernel, only store path" %default-kernel (boot-parameters-kernel (test-read-boot-parameters #:kernel %default-kernel-path))) (test-equal "read, kernel, full-path" %default-kernel (boot-parameters-kernel (test-read-boot-parameters #:kernel %default-kernel))) (test-assert "read, construction, missing initrd" (not (boot-parameters-initrd (test-read-boot-parameters #:initrd #false)))) (test-equal "read, initrd, old format" "/a/b" (boot-parameters-initrd (test-read-boot-parameters #:initrd (list 'string-append "/a" "/b")))) ;; Compatibility reasons specified in gnu/system.scm. (test-eq "read, bootloader-name, default value" 'grub (boot-parameters-bootloader-name (test-read-boot-parameters #:bootloader-name #false))) (test-eq "read, bootloader-menu-entries, default value" '() (boot-parameters-bootloader-menu-entries (test-read-boot-parameters #:bootloader-menu-entries #false))) (test-eq "read, kernel-arguments, default value" '() (boot-parameters-kernel-arguments (test-read-boot-parameters #:kernel-arguments #false))) (test-assert "read, store-device, filter /dev" (not (boot-parameters-store-device (test-read-boot-parameters #:store-device "/dev/sda3")))) (test-assert "read, no-store, filter /dev from root" (not (boot-parameters-store-device (test-read-boot-parameters #:root-device "/dev/sda3" #:with-store #false)))) (test-assert "read, no store-device, filter /dev from root" (not (boot-parameters-store-device (test-read-boot-parameters #:root-device "/dev/sda3" #:store-device #false)))) (test-assert "read, store-device #false, filter /dev from root" (not (boot-parameters-store-device (test-read-boot-parameters #:root-device "/dev/sda3" #:store-device 'false)))) (test-equal "read, store-device, label (legacy)" (file-system-label "my-store") (boot-parameters-store-device (test-read-boot-parameters #:store-device "my-store"))) (test-equal "read, store-device, from root" %default-root-device (boot-parameters-store-device (test-read-boot-parameters #:with-store #false))) (test-equal "read, no store-mount-point, default" %root-path (boot-parameters-store-mount-point (test-read-boot-parameters #:store-mount-point #false))) (test-equal "read, no store, default store-mount-point" %root-path (boot-parameters-store-mount-point (test-read-boot-parameters #:with-store #false))) (test-equal "read, store-crypto-devices, default" '() (boot-parameters-store-crypto-devices (test-read-boot-parameters #:store-crypto-devices #false))) ;; XXX: <warning: unrecognized crypto-devices #f at '#f'> (test-equal "read, store-crypto-devices, false" '() (boot-parameters-store-crypto-devices (test-read-boot-parameters #:store-crypto-devices 'false))) ;; XXX: <warning: unrecognized crypto-device "bad" at '#f'> (test-equal "read, store-crypto-devices, string" '() (boot-parameters-store-crypto-devices (test-read-boot-parameters #:store-crypto-devices "bad"))) ;; For whitebox testing (define operating-system-boot-parameters (@@ (gnu system) operating-system-boot-parameters)) (test-equal "from os, locale" %default-locale (boot-parameters-locale (operating-system-boot-parameters %default-operating-system %default-root-device))) (test-equal "from os, store-directory-prefix" %default-store-directory-prefix (boot-parameters-store-directory-prefix (operating-system-boot-parameters %default-operating-system %default-root-device))) (define %uuid-menu-entry (menu-entry (label "test") (device (uuid "6d5b13d4-6092-46d0-8be4-073dc07413cc")) (linux "/boot/bzImage") (initrd "/boot/initrd.cpio.gz"))) (define %file-system-label-menu-entry (menu-entry (label "test") (device (file-system-label "test-label")) (linux "/boot/bzImage") (initrd "/boot/initrd.cpio.gz"))) (test-equal "menu-entry roundtrip, uuid" %uuid-menu-entry (sexp->menu-entry (menu-entry->sexp %uuid-menu-entry))) (test-equal "menu-entry roundtrip, file-system-label" %file-system-label-menu-entry (sexp->menu-entry (menu-entry->sexp %file-system-label-menu-entry))) (test-end "boot-parameters")