(define-module (guix-cran packages r)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system r)
  #:use-module ((guix licenses)
                #:prefix license:)
  #:use-module (gnu packages gcc)
  #:use-module (gnu packages statistics)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages cran)
  #:use-module (gnu packages java)
  #:use-module (gnu packages spreadsheet)
  #:use-module (gnu packages image)
  #:use-module (gnu packages bioconductor)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages machine-learning)
  #:use-module (gnu packages maths)
  #:use-module (gnu packages web)
  #:use-module (gnu packages cmake)
  #:use-module (gnu packages backup)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages haskell-xyz)
  #:use-module (gnu packages algebra)
  #:use-module (gnu packages tcl)
  #:use-module (gnu packages python)
  #:use-module (gnu packages prolog)
  #:use-module (gnu packages c)
  #:use-module (gnu packages geo)
  #:use-module (gnu packages python-science)
  #:use-module (gnu packages multiprecision)
  #:use-module (gnu packages databases)
  #:use-module (gnu packages pcre)
  #:use-module (gnu packages documentation)
  #:use-module (guix-cran packages z)
  #:use-module (guix-cran packages y)
  #:use-module (guix-cran packages x)
  #:use-module (guix-cran packages w)
  #:use-module (guix-cran packages v)
  #:use-module (guix-cran packages u)
  #:use-module (guix-cran packages t)
  #:use-module (guix-cran packages s)
  #:use-module (guix-cran packages q)
  #:use-module (guix-cran packages p)
  #:use-module (guix-cran packages o)
  #:use-module (guix-cran packages n)
  #:use-module (guix-cran packages m)
  #:use-module (guix-cran packages l)
  #:use-module (guix-cran packages k)
  #:use-module (guix-cran packages j)
  #:use-module (guix-cran packages i)
  #:use-module (guix-cran packages h)
  #:use-module (guix-cran packages g)
  #:use-module (guix-cran packages f)
  #:use-module (guix-cran packages e)
  #:use-module (guix-cran packages d)
  #:use-module (guix-cran packages c)
  #:use-module (guix-cran packages b)
  #:use-module (guix-cran packages a))

(define-public r-rzooroh
  (package
    (name "r-rzooroh")
    (version "0.3.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RZooRoH" version))
       (sha256
        (base32 "02sz2hgddgws4qwwvqgcd470r7ffyzs88r90mnhjl3889a5ixkml"))))
    (properties `((upstream-name . "RZooRoH")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcolorbrewer r-iterators r-foreach r-doparallel
                             r-data-table))
    (native-inputs (list r-knitr gfortran))
    (home-page "https://cran.r-project.org/package=RZooRoH")
    (synopsis
     "Partitioning of Individual Autozygosity into Multiple Homozygous-by-Descent Classes")
    (description
     "This package provides functions to identify Homozygous-by-Descent (HBD) segments
associated with runs of homozygosity (ROH) and to estimate individual
autozygosity (or inbreeding coefficient).  HBD segments and autozygosity are
assigned to multiple HBD classes with a model-based approach relying on a
mixture of exponential distributions.  The rate of the exponential distribution
is distinct for each HBD class and defines the expected length of the HBD
segments.  These HBD classes are therefore related to the age of the segments
(longer segments and smaller rates for recent autozygosity / recent common
ancestor).  The functions allow to estimate the parameters of the model (rates
of the exponential distributions, mixing proportions), to estimate global and
local autozygosity probabilities and to identify HBD segments with the Viterbi
decoding.  The method is fully described in Druet and Gautier (2017)
<doi:10.1111/mec.14324>.")
    (license license:gpl3)))

(define-public r-rzmq
  (package
    (name "r-rzmq")
    (version "0.9.14")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rzmq" version))
       (sha256
        (base32 "1ngyjlr30lfab7q2z9dw1q7jhagjn29z6jilld0k6i97rpl6kagc"))))
    (properties `((upstream-name . "rzmq")))
    (build-system r-build-system)
    (inputs (list zlib))
    (native-inputs (list pkg-config))
    (home-page "https://cran.r-project.org/package=rzmq")
    (synopsis "R Bindings for 'ZeroMQ'")
    (description
     "Interface to the @code{ZeroMQ} lightweight messaging kernel (see
<https://zeromq.org/> for more information).")
    (license license:gpl3)))

(define-public r-rzigzag
  (package
    (name "r-rzigzag")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RZigZag" version))
       (sha256
        (base32 "1civ8qrk5y95775vzkd2m5arqczgan584r632ixy4q76nd5wa8zc"))))
    (properties `((upstream-name . "RZigZag")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp))
    (home-page "https://cran.r-project.org/package=RZigZag")
    (synopsis "Zig-Zag Sampler")
    (description
     "This package implements the Zig-Zag algorithm (Bierkens, Fearnhead, Roberts,
2016) <@code{arXiv:1607.03188>} applied and Bouncy Particle Sampler
<@code{arXiv:1510.02451>} for a Gaussian target and Student distribution.")
    (license license:gpl2+)))

(define-public r-rzentra
  (package
    (name "r-rzentra")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rzentra" version))
       (sha256
        (base32 "1knp1616ck64wgf3r80s1nywdnljc1r9fjvgg531j0fxir04aqkl"))))
    (properties `((upstream-name . "rzentra")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr
                             r-magrittr
                             r-lubridate
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-data-table))
    (home-page "https://cran.r-project.org/package=rzentra")
    (synopsis "Client for the 'ZENTRA Cloud' API")
    (description
     "This package provides functionality to read settings, statuses and readings of
weather stations from the ZENTRA Cloud API
<https://zentracloud.com/api/v1/guide#APIGuidelines>.")
    (license license:gpl3)))

(define-public r-rzabbix
  (package
    (name "r-rzabbix")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RZabbix" version))
       (sha256
        (base32 "0c5803chpzvp7dk9pjfx5f0nqynb76ywakz04ah2nw07ypvcyjyr"))))
    (properties `((upstream-name . "RZabbix")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (home-page "https://cran.r-project.org/package=RZabbix")
    (synopsis "R Module for Working with the 'Zabbix API'")
    (description
     "R interface to the Zabbix API data
<https://www.zabbix.com/documentation/3.0/manual/api/reference>.  Enables easy
and direct communication with Zabbix API from R'.")
    (license license:gpl2)))

(define-public r-rywaasb
  (package
    (name "r-rywaasb")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rYWAASB" version))
       (sha256
        (base32 "1672h1c48m71sjyhk2hdmmnl8z864dryw5y852qijacyck7726hs"))))
    (properties `((upstream-name . "rYWAASB")))
    (build-system r-build-system)
    (propagated-inputs (list r-mathjaxr r-lifecycle r-ggplot2 r-factominer
                             r-factoextra))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/abeyran/rYWAASB")
    (synopsis "Simultaneous Selection by Trait and WAASB Index")
    (description
     "This tool proposes a new ranking algorithm that utilizes a \"Y*WAASB\" biplot
generated by the metan'.  The aim of the current package is to effectively
distinguish the top-ranked genotypes in MET (Multi-Environmental Trials).  For a
detailed explanation of the process of obtaining \"WAASB\", \"WAASBY\" indices, and
a \"Y*WAASB\" biplot, refer to the manual included in this package as well as the
study by Olivoto & LÃºcio (2020) <doi:10.1111/2041-210X.13384>.  In this
context, \"WAASB\" refers to the \"Weighted Average of Absolute Scores\" provided by
Olivoto et al. (2019) <doi:10.2134/agronj2019.03.0220>, which quantifies the
stability of genotypes across different environments using linear mixed-effect
models.  To run the package, you need to extract the \"WAASB\" and \"WAASBY\"
coefficients using the metan and apply them.  This tool utilizes PCA (Principal
Component Analysis) and differentiates the entries which may be genotypes,
hybrids, varieties, etc using \"WAASB\", \"WAASBY\", and a combination of the
specified trait and WAASB index.")
    (license license:gpl3)))

(define-public r-rytstat
  (package
    (name "r-rytstat")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rytstat" version))
       (sha256
        (base32 "0fm5aa4dbr8g1zsmqsjasy1vkvpb4ss7nyl73rb7fn5zdlm6cvim"))))
    (properties `((upstream-name . "rytstat")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-tidyr
                             r-stringr
                             r-snakecase
                             r-rlang
                             r-pbapply
                             r-httr
                             r-gargle
                             r-dplyr
                             r-cli))
    (home-page "https://selesnow.github.io/rytstat/docs/")
    (synopsis "Work with 'YouTube API'")
    (description
     "Provide function for get data from @code{YouTube} Data API
<https://developers.google.com/youtube/v3/docs/>, @code{YouTube} Analytics API
<https://developers.google.com/youtube/analytics/reference/> and @code{YouTube}
Reporting API <https://developers.google.com/youtube/reporting/v1/reports>.")
    (license license:expat)))

(define-public r-ryoutheria
  (package
    (name "r-ryoutheria")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rYoutheria" version))
       (sha256
        (base32 "1r63ggy4knwzxnpjkmsn7zwmwfaznm8mmxl7r9ph10wz4sblgygl"))))
    (properties `((upstream-name . "rYoutheria")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjsonio r-reshape2 r-rcurl r-plyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/BiologicalRecordsCentre/rYoutheria")
    (synopsis "Access to the YouTheria Mammal Trait Database")
    (description
     "This package provides a programmatic interface to web-services of
@code{YouTheria}. @code{YouTheria} is an online database of mammalian trait data
<http://www.utheria.org/>.")
    (license license:expat)))

(define-public r-rym
  (package
    (name "r-rym")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rym" version))
       (sha256
        (base32 "135h9lmyrpnkc4q5kdcpbr96glc0a9bah01sm4qakzdcb6zsxsh1"))))
    (properties `((upstream-name . "rym")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-purrr r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://selesnow.github.io/rym/")
    (synopsis "R Interface to Yandex Metrica API")
    (description
     "Allows work with Management API for load counters, segments, filters, user
permissions and goals list from Yandex Metrica, Reporting API allows you to get
information about the statistics of site visits and other data without using the
web interface, Logs API allows to receive non-aggregated data and Compatible
with Google Analytics Core Reporting API v3 allows receive information about
site traffic and other data using field names from Google Analytics Core
API.	For more information see official documents
<https://yandex.ru/dev/metrika/doc/api2/concept/about-docpage>.")
    (license license:gpl2)))

(define-public r-ryandextranslate
  (package
    (name "r-ryandextranslate")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RYandexTranslate" version))
       (sha256
        (base32 "0qrv5mnnkn5fs7vx6i74z46s0qj9f98km5bizgj00832qyrq8q1s"))))
    (properties `((upstream-name . "RYandexTranslate")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl r-jsonlite r-httr))
    (home-page "https://github.com/mukul13/RYandexTranslate")
    (synopsis "R Interface to Yandex Translate API")
    (description
     "Yandex Translate (https://translate.yandex.com/) is a statistical machine
translation system.  The system translates separate words, complete texts, and
webpages.  This package can be used to detect language from text and to
translate it to supported target language.  For more info:
https://tech.yandex.com/translate/doc/dg/concepts/About-docpage/ .")
    (license license:expat)))

(define-public r-ryandexdirect
  (package
    (name "r-ryandexdirect")
    (version "3.6.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ryandexdirect" version))
       (sha256
        (base32 "03k4z32wgc2rkmz4lj89s3w7w9ywwbdbkqm2nfapl5q45pz6wwzz"))))
    (properties `((upstream-name . "ryandexdirect")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-tidyr
                             r-stringr
                             r-readr
                             r-purrr
                             r-magrittr
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-data-table
                             r-bitops))
    (native-inputs (list r-knitr))
    (home-page "https://selesnow.github.io/ryandexdirect/")
    (synopsis "Load Data From 'Yandex Direct'")
    (description
     "Load data from Yandex Direct API V5
<https://yandex.ru/dev/direct/doc/dg/concepts/about-docpage> into R. Provide
function for load lists of campaings, ads, keywords and other objects from
Yandex Direct account.  Also you can load statistic from API Reports Service
<https://yandex.ru/dev/direct/doc/reports/reports-docpage>.  And allows keyword
bids management.")
    (license license:gpl2)))

(define-public r-ryacas0
  (package
    (name "r-ryacas0")
    (version "0.4.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Ryacas0" version))
       (sha256
        (base32 "0xjpsn3n3x0v37qqypb86vr45fc9cd5dc8n7szzcf87nxa8k5imb"))))
    (properties `((upstream-name . "Ryacas0")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-settings r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/r-cas/ryacas0")
    (synopsis "Legacy 'Ryacas' (Interface to 'Yacas' Computer Algebra System)")
    (description
     "This package provides a legacy version of Ryacas', an interface to the yacas
computer algebra system (<http://www.yacas.org/>).")
    (license license:gpl2)))

(define-public r-ryacas
  (package
    (name "r-ryacas")
    (version "1.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Ryacas" version))
       (sha256
        (base32 "1g43rm492is2rkhjn7dv40qdmx70321sp2z7cigqfh6ffwcgbz9y"))))
    (properties `((upstream-name . "Ryacas")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-magrittr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/r-cas/ryacas")
    (synopsis "R Interface to the 'Yacas' Computer Algebra System")
    (description
     "Interface to the yacas computer algebra system (<http://www.yacas.org/>).")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rxylib
  (package
    (name "r-rxylib")
    (version "0.2.14")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rxylib" version))
       (sha256
        (base32 "0g9rrn9xjwscq0k8cd4zwx1vdbgajbc493gk0mibpjg8lcvmc53k"))))
    (properties `((upstream-name . "rxylib")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (home-page "https://r-lum.github.io/rxylib/")
    (synopsis "Import XY-Data into R")
    (description
     "This package provides access to the xylib C library for to import xy data from
powder diffraction, spectroscopy and other experimental methods.")
    (license (list license:gpl3 license:lgpl2.1))))

(define-public r-rxshrink
  (package
    (name "r-rxshrink")
    (version "2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RXshrink" version))
       (sha256
        (base32 "0w4x850a8pklb3ih22h0cfkajxjpd3drvjmjk37k51vfgpdfyqvd"))))
    (properties `((upstream-name . "RXshrink")))
    (build-system r-build-system)
    (propagated-inputs (list r-lars r-ellipse))
    (home-page "https://www.R-project.org")
    (synopsis
     "Maximum Likelihood Shrinkage using Generalized Ridge or Least Angle Regression")
    (description
     "This package provides functions are provided to calculate and display ridge
TRACE Diagnostics for a variety of alternative Shrinkage Paths.  While all
methods focus on Maximum Likelihood estimation of unknown true effects under
normal distribution-theory, some estimates are modified to be Unbiased or to
have \"Correct Range\" when estimating either [1] the noncentrality of the F-ratio
for testing that true Beta coefficients are Zeros or [2] the \"relative\" MSE Risk
(i.e.  MSE divided by true sigma-square, where the \"relative\" variance of OLS is
known.) The eff.ridge() function implements the \"Efficient Shrinkage Path\"
introduced in Obenchain (2022) <Open Statistics>.  This \"p-Parameter\"
Shrinkage-Path always passes through the vector of regression coefficient
estimates Most-Likely to achieve the overall Optimal Variance-Bias Trade-Off and
is the shortest Path with this property.  Functions eff.aug() and eff.biv()
augment the calculations made by eff.ridge() to provide plots of the bivariate
confidence ellipses corresponding to any of the p*(p-1) possible ordered pairs
of shrunken regression coefficients.  Functions for plotting TRACE Diagnostics
now have more options.")
    (license license:gpl2)))

(define-public r-rxseq
  (package
    (name "r-rxseq")
    (version "0.99.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rxSeq" version))
       (sha256
        (base32 "0g0n2pzbssz61psghjp1vrlspgph4s39x1k1zhcz7ivdn5pjb2nx"))))
    (properties `((upstream-name . "rxSeq")))
    (build-system r-build-system)
    (propagated-inputs (list r-vgam r-numderiv r-mass))
    (home-page "https://cran.r-project.org/package=rxSeq")
    (synopsis "Combined Total and Allele Specific Reads Sequencing Study")
    (description
     "Analysis of combined total and allele specific reads from the reciprocal cross
study with RNA-seq data.")
    (license license:gpl2+)))

(define-public r-rxode2ll
  (package
    (name "r-rxode2ll")
    (version "2.0.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rxode2ll" version))
       (sha256
        (base32 "0fj5lbs67g1adjywfnav88rsj0sy3lwwf4gyimdh89rbm1glrrs3"))))
    (properties `((upstream-name . "rxode2ll")))
    (build-system r-build-system)
    (propagated-inputs (list r-stanheaders
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-checkmate
                             r-bh))
    (home-page "https://nlmixr2.github.io/rxode2ll/")
    (synopsis "Log-Likelihood Functions for 'rxode2'")
    (description
     "This package provides the log-likelihoods with gradients from stan (Carpenter et
al (2015), <@code{arXiv:1509.07164>}) needed for generalized log-likelihood
estimation in nlmixr2 (Fidler et al (2019) <doi:10.1002/psp4.12445>).  This is
split of to reduce computational burden of recompiling rxode2 (Wang, Hallow and
James (2016) <doi:10.1002/psp4.12052>) which runs the nlmixr2 models during
estimation.")
    (license license:gpl3+)))

(define-public r-rxode2
  (package
    (name "r-rxode2")
    (version "3.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rxode2" version))
       (sha256
        (base32 "0nspvz7l1dppkwvljzp9ka0pz5yd7p51h7r0lhz9xrmsx3ylrr6j"))))
    (properties `((upstream-name . "rxode2")))
    (build-system r-build-system)
    (propagated-inputs (list r-sys
                             r-stanheaders
                             r-sitmo
                             r-rxode2ll
                             r-rex
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpparmadillo
                             r-rcpp
                             r-qs
                             r-precisesums
                             r-memoise
                             r-magrittr
                             r-lotri
                             r-inline
                             r-ggplot2
                             r-dparser
                             r-data-table
                             r-cli
                             r-checkmate
                             r-bh
                             r-backports))
    (native-inputs (list r-knitr gfortran))
    (home-page "https://nlmixr2.github.io/rxode2/")
    (synopsis "Facilities for Simulating from ODE-Based Models")
    (description
     "Facilities for running simulations from ordinary differential equation ('ODE')
models, such as pharmacometrics and other compartmental models.  A compilation
manager translates the ODE model into C, compiles it, and dynamically loads the
object code into R for improved computational efficiency.  An event table object
facilitates the specification of complex dosing regimens (optional) and sampling
schedules.  NB: The use of this package requires both C and Fortran compilers,
for details on their use with R please see Section 6.3, Appendix A, and Appendix
D in the \"R Administration and Installation\" manual.  Also the code is mostly
released under GPL. The VODE and LSODA are in the public domain.  The
information is available in the inst/COPYRIGHTS.")
    (license license:gpl3+)))

(define-public r-rxnsim
  (package
    (name "r-rxnsim")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RxnSim" version))
       (sha256
        (base32 "1cpbrqr5gx84ny0kk7y5h5awynf5mvwsavyfmg5gg539xh55pnkk"))))
    (properties `((upstream-name . "RxnSim")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjava r-rcdk r-fingerprint r-data-table))
    (home-page "https://cran.r-project.org/package=RxnSim")
    (synopsis "Functions to Compute Chemical and Chemical Reaction Similarity")
    (description
     "This package provides methods to compute chemical similarity between two or more
reactions and molecules.  Allows masking of chemical substructures for weighted
similarity computations.  Uses packages @code{rCDK} and fingerprint for
cheminformatics functionality.  Methods for reaction similarity and
sub-structure masking are as described in: Giri et al. (2015)
<doi:10.1093/bioinformatics/btv416>.")
    (license license:gpl3)))

(define-public r-rxkcd
  (package
    (name "r-rxkcd")
    (version "1.9.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RXKCD" version))
       (sha256
        (base32 "1yk12ic6kdbwc44ppag2yfnga7xjmifkglhvcw93vc3qg469mm15"))))
    (properties `((upstream-name . "RXKCD")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjsonio r-png r-plyr r-jpeg))
    (home-page "https://cran.r-project.org/package=RXKCD")
    (synopsis "Get XKCD Comic from R")
    (description
     "Visualize your favorite XKCD comic strip directly from R. XKCD
<https://xkcd.com> web comic content is provided under the Creative Commons
Attribution-@code{NonCommercial} 2.5 License.")
    (license license:gpl2)))

(define-public r-rwunderground
  (package
    (name "r-rwunderground")
    (version "0.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwunderground" version))
       (sha256
        (base32 "02p26gkicd5v511kb04p1h3wxj57r7j5vr97n3ibywc6ivz7nqxa"))))
    (properties `((upstream-name . "rwunderground")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-lubridate r-httr r-dplyr r-countrycode))
    (home-page "https://github.com/ALShum/rwunderground")
    (synopsis "R Interface to Weather Underground API")
    (description
     "This package provides tools for getting historical weather information and
forecasts from wunderground.com.  Historical weather and forecast data includes,
but is not limited to, temperature, humidity, windchill, wind speed, dew point,
heat index.  Additionally, the weather underground weather API also includes
information on sunrise/sunset, tidal conditions, satellite/webcam imagery,
weather alerts, hurricane alerts and historical high/low temperatures.")
    (license license:gpl2+)))

(define-public r-rwty
  (package
    (name "r-rwty")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwty" version))
       (sha256
        (base32 "0p0bpq5dk8vjqx8ry364xhaq3rgxa49planapggicg7by2mhaacc"))))
    (properties `((upstream-name . "rwty")))
    (build-system r-build-system)
    (propagated-inputs (list r-viridis
                             r-reshape2
                             r-plyr
                             r-phangorn
                             r-ggplot2
                             r-ggdendro
                             r-ggally
                             r-coda
                             r-ape))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rwty")
    (synopsis "R We There Yet? Visualizing MCMC Convergence in Phylogenetics")
    (description
     "This package implements various tests, visualizations, and metrics for
diagnosing convergence of MCMC chains in phylogenetics.  It implements and
automates many of the functions of the AWTY package in the R environment.")
    (license license:gpl2)))

(define-public r-rwtss
  (package
    (name "r-rwtss")
    (version "0.9.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rwtss" version))
       (sha256
        (base32 "0lxjzznigk4i8lzga88m0i6x2j5c5q79rvs5knd762ycfxwlmx6w"))))
    (properties `((upstream-name . "Rwtss")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-tibble
                             r-stringr
                             r-reshape2
                             r-purrr
                             r-magrittr
                             r-lubridate
                             r-jsonlite
                             r-httr
                             r-ggplot2
                             r-geosphere
                             r-dplyr
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/e-sensing/Rwtss/")
    (synopsis "Client for Web Time-Series Service")
    (description
     "Allows remote access to satellite image time series provided by the web time
series service (WTSS) available at servers such as
<https://brazildatacube.dpi.inpe.br/wtss/>.  The functions include listing the
data sets available in WTSS servers, describing the contents of a data set, and
retrieving a time series based on spatial location and temporal filters.")
    (license license:gpl3)))

(define-public r-rwstats
  (package
    (name "r-rwstats")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwstats" version))
       (sha256
        (base32 "10jj2lkilysz7mmysblj6l4jjc560rqsps0ivkvyr7caj8gfhdlb"))))
    (properties `((upstream-name . "rwstats")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rwstats")
    (synopsis "Chinese Character Frequency in Real World")
    (description
     "It contains Chinese character frequency data based on news data from 2017 to
2019.  Source of these news include Sina, China daily and Tencent.")
    (license license:cc0)))

(define-public r-rwsearch
  (package
    (name "r-rwsearch")
    (version "5.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWsearch" version))
       (sha256
        (base32 "046z49yrsm1rsqvz3xf0fb3qy53xdzm95qs9q24pgzyz5s4rjm8f"))))
    (properties `((upstream-name . "RWsearch")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-sos
                             r-sig
                             r-networkd3
                             r-latexpdf
                             r-brew))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RWsearch")
    (synopsis
     "Lazy Search in R Packages, Task Views, CRAN, the Web. All-in-One Download")
    (description
     "Search by keywords in R packages, task views, CRAN, the web and display the
results in the console or in txt, html or pdf files.  Download the package
documentation (html index, README, NEWS, pdf manual, vignettes, source code,
binaries) with a single instruction.  Visualize the package dependencies and
CRAN checks.  Compare the package versions, unload and install the packages and
their dependencies in a safe order.  Explore CRAN archives.  Use the above
functions for task view maintenance.  Access web search engines from the console
thanks to 80+ bookmarks.  All functions accept standard and non-standard
evaluation.")
    (license license:gpl2)))

(define-public r-rworldxtra
  (package
    (name "r-rworldxtra")
    (version "1.01")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rworldxtra" version))
       (sha256
        (base32 "183z01h316wf1r4vjvjhbj7cg4xarn4b8qbmnn5y7nrrdndzi163"))))
    (properties `((upstream-name . "rworldxtra")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp))
    (home-page "https://cran.r-project.org/package=rworldxtra")
    (synopsis "Country boundaries at high resolution")
    (description
     "High resolution vector country boundaries derived from Natural Earth data, can
be plotted in rworldmap.")
    (license license:gpl2+)))

(define-public r-rworkflows
  (package
    (name "r-rworkflows")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rworkflows" version))
       (sha256
        (base32 "1gl223swngk3v5q3s0drv245nxj8bbbxyhmawzj7n8da7y4a3pwx"))))
    (properties `((upstream-name . "rworkflows")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml
                             r-renv
                             r-here
                             r-desc
                             r-data-table
                             r-biocmanager
                             r-badger))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/neurogenomics/rworkflows")
    (synopsis "Test, Document, Containerise, and Deploy R Packages")
    (description
     "Reproducibility is essential to the progress of research, yet achieving it
remains elusive even in computational fields.  Continuous Integration (CI)
platforms offer a powerful way to launch automated workflows to check and
document code, but often require considerable time, effort, and technical
expertise to setup.  We therefore developed the rworkflows suite to make robust
CI workflows easy and freely accessible to all R package developers.  rworkflows
consists of 1) a CRAN/Bioconductor-compatible R package template, 2) an R
package to quickly implement a standardised workflow, and 3) a centrally
maintained @code{GitHub} Action.")
    (license license:gpl3)))

(define-public r-rwofost
  (package
    (name "r-rwofost")
    (version "0.8-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rwofost" version))
       (sha256
        (base32 "1x6ia49xrdqcxilq12g47gd00smm5jdrq7xavndd3dcnvl1nqk1y"))))
    (properties `((upstream-name . "Rwofost")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-meteor))
    (home-page "https://CRAN.R-project.org/package=Rwofost")
    (synopsis "WOFOST Crop Growth Simulation Model")
    (description
     "An implementation of the WOFOST (\"World Food Studies\") crop growth model.
WOFOST is a dynamic simulation model that uses daily weather data, and crop,
soil and management parameters to simulate crop growth and development.  See De
Wit et al. (2019) <doi:10.1016/j.agsy.2018.06.018> for a recent review of the
history and use of the model.")
    (license license:gpl3+)))

(define-public r-rwnn
  (package
    (name "r-rwnn")
    (version "0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWNN" version))
       (sha256
        (base32 "1xr2p98rx2q6l4jfhm99xbhzmi0sgnysh8gd8ddvg9g1122vz7aw"))))
    (properties `((upstream-name . "RWNN")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-randtoolbox r-quadprog))
    (home-page "https://cran.r-project.org/package=RWNN")
    (synopsis "Random Weight Neural Networks")
    (description
     "Creation, estimation, and prediction of random weight neural networks (RWNN),
Schmidt et al. (1992) <doi:10.1109/ICPR.1992.201708>, including popular variants
like extreme learning machines, Huang et al. (2006)
<doi:10.1016/j.neucom.2005.12.126>, sparse RWNN, Zhang et al. (2019)
<doi:10.1016/j.neunet.2019.01.007>, and deep RWNN, HenrÃ­quez et al. (2018)
<doi:10.1109/IJCNN.2018.8489703>.  It further allows for the creation of
ensemble RWNNs like bagging RWNN, Sui et al. (2021)
<doi:10.1109/ECCE47101.2021.9595113>, boosting RWNN, stacking RWNN, and ensemble
deep RWNN, Shi et al. (2021) <doi:10.1016/j.patcog.2021.107978>.")
    (license license:expat)))

(define-public r-rwmisc
  (package
    (name "r-rwmisc")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWmisc" version))
       (sha256
        (base32 "0wf593g8aif081v8vyqcffrzaffh1ifbba7mwmj4mnwcksballvw"))))
    (properties `((upstream-name . "RWmisc")))
    (build-system r-build-system)
    (propagated-inputs (list r-units r-sp r-sf r-raster))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jayrobwilliams/RWmisc")
    (synopsis "Miscellaneous Spatial Functions")
    (description
     "This package contains convenience functions for working with spatial data across
multiple UTM zones, raster-vector operations common in the analysis of conflict
data, and converting degrees, minutes, and seconds latitude and longitude
coordinates to decimal degrees.")
    (license license:gpl3+)))

(define-public r-rwisp
  (package
    (name "r-rwisp")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwisp" version))
       (sha256
        (base32 "0wxc2zzfgqnygx6q7b0gjb04vphdl8x1idfp5pz33apwv2192viw"))))
    (properties `((upstream-name . "rwisp")))
    (build-system r-build-system)
    (home-page "https://github.com/dioubernardo/rwisp")
    (synopsis "WISP Multiple Criteria Sorting Method")
    (description
     "Implementation of the Integrated Simple Weighted Sum Product Method (WISP), a
multiple criteria sorting method create by Dragisa Stanujkic (2021)
<doi:10.1109/TEM.2021.3075783>.")
    (license license:gpl3+)))

(define-public r-rwishart
  (package
    (name "r-rwishart")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rWishart" version))
       (sha256
        (base32 "0wzijc454mrvmggb7a5jqwjbmk0kzr4bmy0iwniz5cn343pr1rri"))))
    (properties `((upstream-name . "rWishart")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix r-mass r-lazyeval))
    (home-page "https://rwishart.bearstatistics.com")
    (synopsis "Random Wishart Matrix Generation")
    (description
     "An expansion of R's stats random wishart matrix generation.  This package allows
the user to generate singular, Uhlig and Harald (1994)
<doi:10.1214/aos/1176325375>, and pseudo wishart, Diaz-Garcia, et al.(1997)
<doi:10.1006/jmva.1997.1689>, matrices.  In addition the user can generate
wishart matrices with fractional degrees of freedom, Adhikari (2008)
<doi:10.1061/(ASCE)0733-9399(2008)134:12(1029)>, commonly used in volatility
modeling.  Users can also use this package to create random covariance matrices.")
    (license license:gpl2)))

(define-public r-rwinedt
  (package
    (name "r-rwinedt")
    (version "2.0-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWinEdt" version))
       (sha256
        (base32 "09b7ziqrai6wyp2ldpm6x9ad27ydmb28slv1p78vr04irwwfn7mj"))))
    (properties `((upstream-name . "RWinEdt")))
    (build-system r-build-system)
    (home-page "http://www.winedt.com/")
    (synopsis "R Interface to 'WinEdt'")
    (description
     "This package provides a plug in for using @code{WinEdt} as an editor for R.")
    (license license:gpl2)))

(define-public r-rwildbook
  (package
    (name "r-rwildbook")
    (version "0.9.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWildbook" version))
       (sha256
        (base32 "1pznzmv8n33hhj61h07fha1gzafcx705n8323cnz3mx6ziijfh28"))))
    (properties `((upstream-name . "RWildbook")))
    (build-system r-build-system)
    (propagated-inputs (list r-marked r-jsonlite r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RWildbook")
    (synopsis
     "Interface for the 'Wildbook' Wildlife Data Management Framework")
    (description
     "This package provides an interface with the Wildbook mark-recapture ecological
database framework.  It helps users to pull data from the Wildbook framework and
format data for further analysis with mark-recapture applications like Program
MARK (which can be accessed via the RMark package in R').  Further information
on the Wildbook framework is available at: <http://www.wildbook.org/doku.php>.")
    (license license:gpl2+)))

(define-public r-rwiener
  (package
    (name "r-rwiener")
    (version "1.3-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWiener" version))
       (sha256
        (base32 "0afrgflyfjv4jqm04had74zz4cs934zwvyxaan1r4qpg383kibpq"))))
    (properties `((upstream-name . "RWiener")))
    (build-system r-build-system)
    (home-page "https://github.com/yeagle/RWiener")
    (synopsis "Wiener Process Distribution Functions")
    (description
     "This package provides Wiener process distribution functions, namely the Wiener
first passage time density, CDF, quantile and random functions.  Additionally
supplies a modelling function (wdm) and further methods for the resulting
object.")
    (license license:gpl2+)))

(define-public r-rwicc
  (package
    (name "r-rwicc")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwicc" version))
       (sha256
        (base32 "14jyc0qq6rxrmwvwdm59axib72q347s6ra8j1h97p75ah59kxndr"))))
    (properties `((upstream-name . "rwicc")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales
                             r-pryr
                             r-magrittr
                             r-lubridate
                             r-ggplot2
                             r-dplyr
                             r-biglm
                             r-arm))
    (native-inputs (list r-knitr))
    (home-page "https://d-morrison.github.io/rwicc/")
    (synopsis "Regression with Interval-Censored Covariates")
    (description
     "This package provides functions to simulate and analyze data for a regression
model with an interval censored covariate, as described in Morrison et al.
(2021) <doi:10.1111/biom.13472>.")
    (license license:expat)))

(define-public r-rwhois
  (package
    (name "r-rwhois")
    (version "1.0.16")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rwhois" version))
       (sha256
        (base32 "0sp8grvx3n1675h38l9jnrl1c0wg2010claav21nadwqlvl71g07"))))
    (properties `((upstream-name . "Rwhois")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr))
    (home-page "https://cran.r-project.org/package=Rwhois")
    (synopsis "WHOIS Server Querying")
    (description "Queries data from WHOIS servers.")
    (license license:expat)))

(define-public r-rwhatsapp
  (package
    (name "r-rwhatsapp")
    (version "0.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwhatsapp" version))
       (sha256
        (base32 "004d0cigay7bz754lrxjdwp1xsclc23wh03dlzyby900xcdizxk7"))))
    (properties `((upstream-name . "rwhatsapp")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-stringi))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/JBGruber/rwhatsapp")
    (synopsis "Import and Handling for 'WhatsApp' Chat Logs")
    (description
     "This package provides a straightforward, easy-to-use and robust parsing package
which aims to digest history files from the popular messenger service
@code{WhatsApp} in all locales and from all devices.")
    (license license:gpl3)))

(define-public r-rwgraph
  (package
    (name "r-rwgraph")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWgraph" version))
       (sha256
        (base32 "0hjwfpx90ixmxxhyd19bdkaljhrjrm4vv6fq40sddr4hwpsmlyky"))))
    (properties `((upstream-name . "RWgraph")))
    (build-system r-build-system)
    (propagated-inputs (list r-igraph))
    (home-page "https://cran.r-project.org/package=RWgraph")
    (synopsis "Random Walks on Graphs Representing a Transactional Network")
    (description
     "Random walk functions to extract new variables based on clients transactional
behaviour.  For more details, see Eddin et al. (2021)
<@code{arXiv:2112.07508v3>} and Oliveira et al. (2021)
<@code{arXiv:2102.05373v2>}.")
    (license license:gpl2+)))

(define-public r-rwfec
  (package
    (name "r-rwfec")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwfec" version))
       (sha256
        (base32 "0wmalfms59zi8jdn2s2qbcdckfkifl9vg19hzx4389mm5gk6qsbh"))))
    (properties `((upstream-name . "rwfec")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=rwfec")
    (synopsis "R Wireless, Forward Error Correction")
    (description
     "Communications simulation package supporting forward error correction.")
    (license license:gpl2+)))

(define-public r-rwekajars
  (package
    (name "r-rwekajars")
    (version "3.9.3-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWekajars" version))
       (sha256
        (base32 "06nsylv65z9hxym1b6qnwllh306bq5phsgr0qn4nyr5im8cv1rhn"))))
    (properties `((upstream-name . "RWekajars")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava))
    (home-page "https://cran.r-project.org/package=RWekajars")
    (synopsis "R/Weka Interface Jars")
    (description "External jars required for package RWeka'.")
    (license license:gpl2)))

(define-public r-rweka
  (package
    (name "r-rweka")
    (version "0.4-46")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWeka" version))
       (sha256
        (base32 "0rsbz7ck7z4bjk9qrwrr4nq30b1iv3kwkkwx9jcrph832xw5a1b6"))))
    (properties `((upstream-name . "RWeka")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rwekajars r-rjava))
    (home-page "https://cran.r-project.org/package=RWeka")
    (synopsis "R/Weka Interface")
    (description
     "An R interface to Weka (Version 3.9.3).  Weka is a collection of machine
learning algorithms for data mining tasks written in Java, containing tools for
data pre-processing, classification, regression, clustering, association rules,
and visualization.  Package RWeka contains the interface code, the Weka jar is
in a separate package RWekajars'.  For more information on Weka see
<https://www.cs.waikato.ac.nz/ml/weka/>.")
    (license license:gpl2)))

(define-public r-rwebstat
  (package
    (name "r-rwebstat")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwebstat" version))
       (sha256
        (base32 "1vc6m260rglfc8vzyip1rzw5ymrr8lbls8kwmmx1bnppjkl7l2lm"))))
    (properties `((upstream-name . "rwebstat")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-readr
                             r-jsonlite
                             r-httr
                             r-getpass
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://developer.webstat.banque-france.fr")
    (synopsis "Download Data from the Webstat API")
    (description
     "Access the Webstat API, download data and metadata from more than 35000 time
series from the Banque de France statistics web portal.  Access requires a free
client ID easily available from the API portal
<https://developer.webstat.banque-france.fr/>.")
    (license license:gpl3)))

(define-public r-rweaveextra
  (package
    (name "r-rweaveextra")
    (version "1.1-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RweaveExtra" version))
       (sha256
        (base32 "0w2ih5v1xa8v3z2xqy8mvl1f36jdrb56mpnvijgk3cbwk317dg9i"))))
    (properties `((upstream-name . "RweaveExtra")))
    (build-system r-build-system)
    (home-page "https://gitlab.com/vigou3/rweaveextra")
    (synopsis "Sweave Drivers with Extra Tricks Up their Sleeve")
    (description
     "Weave and tangle drivers for Sweave extending the standard drivers.
@code{RweaveExtraLatex} and @code{RtangleExtra} provide options to completely
ignore code chunks on weaving, tangling, or both.  Chunks ignored on weaving are
not parsed, yet are written out verbatim on tangling.  Chunks ignored on
tangling may be evaluated as usual on weaving, but are completely left out of
the tangled scripts.  The driver @code{RtangleExtra} also provides an option to
specify the extension of the file name (or remove it entirely) when splitting is
selected on tangling.")
    (license license:gpl2+)))

(define-public r-rwdataplyr
  (package
    (name "r-rwdataplyr")
    (version "0.6.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RWDataPlyr" version))
       (sha256
        (base32 "1jjra885339n6kpqz28rn9byy4md4s0k47m6ll4a6srd4hsf3ni3"))))
    (properties `((upstream-name . "RWDataPlyr")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-tidyr
                             r-tibble
                             r-rcpp
                             r-feather
                             r-dplyr
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/BoulderCodeHub/RWDataPlyr")
    (synopsis "Read and Manipulate Data from 'RiverWare'")
    (description
     "This package provides a tool to read and manipulate data generated from
@code{RiverWare'(TM}) <http://www.riverware.org/> simulations. @code{RiverWare}
and @code{RiverSMART} generate data in \"rdf\", \"csv\", and \"nc\" format.  This
package provides an interface to read, aggregate, and summarize data from one or
more simulations in a dplyr pipeline.")
    (license license:cc0)))

(define-public r-rwcvp
  (package
    (name "r-rwcvp")
    (version "1.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rWCVP" version))
       (sha256
        (base32 "1qs3h66m2nw44iry5jlczwd00s79669vrk8k1crdh7vgvhnf5r4y"))))
    (properties `((upstream-name . "rWCVP")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-sf
                             r-rmarkdown
                             r-rlang
                             r-recordlinkage
                             r-purrr
                             r-phonics
                             r-magrittr
                             r-htmltools
                             r-gt
                             r-ggplot2
                             r-dplyr
                             r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/matildabrown/rWCVP")
    (synopsis
     "Generating Summaries, Reports and Plots from the World Checklist of Vascular Plants")
    (description
     "This package provides a companion to the World Checklist of Vascular Plants
(WCVP).  It includes functions to generate maps and species lists, as well as
match names to the WCVP. For more details and to cite the package, see: Brown
M.J.M., Walker B.E., Black N., Govaerts R., Ondo I., Turner R., Nic Lughadha E.
(in press). \"@code{rWCVP}: A companion R package to the World Checklist of
Vascular Plants\".  New Phytologist.")
    (license license:gpl3+)))

(define-public r-rwclust
  (package
    (name "r-rwclust")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rwclust" version))
       (sha256
        (base32 "0c7q2i9n22sqj3wq9m0j49y5h14848myjbixrdkic8lvv91dm438"))))
    (properties `((upstream-name . "Rwclust")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rwclust")
    (synopsis "Random Walk Clustering on Weighted Graphs")
    (description
     "This package implements the random walk clustering algorithm for weighted graphs
as found in Harel and Koren (2001)
<https://link.springer.com/chapter/10.1007/3-540-45294-X_3>.")
    (license license:expat)))

(define-public r-rwc
  (package
    (name "r-rwc")
    (version "1.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwc" version))
       (sha256
        (base32 "1qhgkbkp4nz0wq5c4x8232xiszpiyzcdklfgvpnx4cbp3bbfdi4g"))))
    (properties `((upstream-name . "rwc")))
    (build-system r-build-system)
    (propagated-inputs (list r-raster r-mvtnorm r-matrix r-mass))
    (home-page "https://cran.r-project.org/package=rwc")
    (synopsis "Random Walk Covariance Models")
    (description
     "Code to facilitate simulation and inference when connectivity is defined by
underlying random walks.  Methods for spatially-correlated pairwise distance
data are especially considered.  This provides core code to conduct analyses
similar to that in Hanks and Hooten (2013) <doi:10.1080/01621459.2012.724647>.")
    (license license:gpl2)))

(define-public r-rwavelet
  (package
    (name "r-rwavelet")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwavelet" version))
       (sha256
        (base32 "092c1h1xyyi2fwg99dgbn1b22cgf8mliizjpc2z7dnravznprr94"))))
    (properties `((upstream-name . "rwavelet")))
    (build-system r-build-system)
    (propagated-inputs (list r-signal))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/fabnavarro/rwavelet")
    (synopsis "Wavelet Analysis")
    (description
     "Perform wavelet analysis (orthogonal,translation invariant, tensorial, 1-2-3d
transforms, thresholding, block thresholding, linear,...) with applications to
data compression or denoising/regression.  The core of the code is a port of
MATLAB Wavelab toolbox written by D. Donoho, A. Maleki and M. Shahram
(<https://statweb.stanford.edu/~wavelab/>).")
    (license license:lgpl2.0+)))

(define-public r-rwave
  (package
    (name "r-rwave")
    (version "2.6-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rwave" version))
       (sha256
        (base32 "1r72kcc5f9k38ks39nh9x1y7k1kxrbyv7lywqpsy7wknnddzg7kc"))))
    (properties `((upstream-name . "Rwave")))
    (build-system r-build-system)
    (home-page "https://carmona.princeton.edu/TFbook/tfbook.html")
    (synopsis "Time-Frequency Analysis of 1-D Signals")
    (description
     "This package provides a set of R functions which provide an environment for the
Time-Frequency analysis of 1-D signals (and especially for the wavelet and Gabor
transforms of noisy signals).  It was originally written for Splus by Rene
Carmona, Bruno Torresani, and Wen L. Hwang, first at the University of
California at Irvine and then at Princeton University.  Credit should also be
given to Andrea Wang whose functions on the dyadic wavelet transform are
included.  Rwave is based on the book: \"Practical Time-Frequency Analysis: Gabor
and Wavelet Transforms with an Implementation in S\", by Rene Carmona, Wen L.
Hwang and Bruno Torresani (1998, @code{eBook} ISBN:978008053942), Academic
Press.")
    (license license:gpl2+)))

(define-public r-rwarrior
  (package
    (name "r-rwarrior")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwarrior" version))
       (sha256
        (base32 "1s92qy57n92qwlf51hr6v5k2gip5f9jz9q4kpgb3vjql6nykrp4v"))))
    (properties `((upstream-name . "rwarrior")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-stringr
                             r-r6
                             r-glue
                             r-dplyr
                             r-cli
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rwarrior")
    (synopsis "R Warrior - An AI Programming Game")
    (description
     "This package provides a port of Ruby Warrior.  Teaches R programming in a fun
and interactive way.")
    (license license:expat)))

(define-public r-rwalkr
  (package
    (name "r-rwalkr")
    (version "0.5.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwalkr" version))
       (sha256
        (base32 "1k17wdf4hgk5rii5jh6r5gl17n82zzx1mjfj8bb3n56lf7yr2zhm"))))
    (properties `((upstream-name . "rwalkr")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-progress r-httr r-hms r-dplyr))
    (home-page "https://pkg.earo.me/rwalkr/")
    (synopsis "API to Melbourne Pedestrian Data")
    (description
     "This package provides API to Melbourne pedestrian and weather data
<https://data.melbourne.vic.gov.au> in tidy data form.")
    (license license:expat)))

(define-public r-rwa
  (package
    (name "r-rwa")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rwa" version))
       (sha256
        (base32 "11irb6ayr1a1rbmhc9zqwyb1vjfc0fq7imji0lfa30zplwgf1mqh"))))
    (properties `((upstream-name . "rwa")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-magrittr r-ggplot2 r-dplyr))
    (home-page "https://github.com/martinctc/rwa")
    (synopsis "Perform a Relative Weights Analysis")
    (description
     "Perform a Relative Weights Analysis (RWA) (a.k.a.  Key Drivers Analysis) as per
the method described in Tonidandel & @code{LeBreton} (2015)
<DOI:10.1007/s10869-014-9351-z>, with its original roots in Johnson (2000)
<DOI:10.1207/S15327906MBR3501_1>.  In essence, RWA decomposes the total variance
predicted in a regression model into weights that accurately reflect the
proportional contribution of the predictor variables, which addresses the issue
of multi-collinearity.  In typical scenarios, RWA returns similar results to
Shapley regression, but with a significant advantage on computational
performance.")
    (license license:gpl3)))

(define-public r-rvmf
  (package
    (name "r-rvmf")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvMF" version))
       (sha256
        (base32 "0mlmkax5f86zpr1r81xvzcq874i18smh9af19jdkb70skg92jafs"))))
    (properties `((upstream-name . "rvMF")))
    (build-system r-build-system)
    (propagated-inputs (list r-scmodels r-rfast r-rcpp r-bessel))
    (home-page "https://github.com/seungwoo-stat/rvMF")
    (synopsis
     "Fast Generation of von Mises-Fisher Distributed Pseudo-Random Vectors")
    (description
     "Generates pseudo-random vectors that follow an arbitrary von Mises-Fisher
distribution on a sphere.  This method is fast and efficient when generating a
large number of pseudo-random vectors.  Functions to generate random variates
and compute density for the distribution of an inner product between von
Mises-Fisher random vector and its mean direction are also provided.  Details
are in Kang and Oh (2024) <doi:10.1007/s11222-024-10419-3>.")
    (license license:gpl3+)))

(define-public r-rvmethod
  (package
    (name "r-rvmethod")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvmethod" version))
       (sha256
        (base32 "1g2d5pvz5s1sj2kalxaz7nb8874m4113ly809zbimngi1lhg8zi1"))))
    (properties `((upstream-name . "rvmethod")))
    (build-system r-build-system)
    (propagated-inputs (list r-locfit r-assertthat))
    (home-page "https://cran.r-project.org/package=rvmethod")
    (synopsis "Radial Velocity Method for Detecting Exoplanets")
    (description
     "Has various functions designed to implement the Hermite-Gaussian Radial Velocity
(HGRV) estimation approach of Holzer et al. (2020) <@code{arXiv:2005.14083>},
which is a particular application of the radial velocity method for detecting
exoplanets.  The overall approach consists of four sequential steps, each of
which has a function in this package: (1) estimate the template spectrum with
the function estimate_template(), (2) find absorption features in the estimated
template with the function findabsorptionfeatures(), (3) fit Gaussians to the
absorption features with the function Gaussfit(), (4) apply the HGRV with simple
linear regression by calling the function hgrv().  This package is meant to be
open source.  But please cite the paper Holzer et al. (2020)
<@code{arXiv:2005.14083>} when publishing results that use this package.")
    (license license:gpl3)))

(define-public r-rvkstat
  (package
    (name "r-rvkstat")
    (version "3.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvkstat" version))
       (sha256
        (base32 "0nk6bx04jnm55k5323w1n4zg7qgds6c53fvdz329kqfsrmpj4wgq"))))
    (properties `((upstream-name . "rvkstat")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-lgr
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (home-page "https://selesnow.github.io/rvkstat/")
    (synopsis "R Interface to API 'vk.com'")
    (description
     "Load data from vk.com api about your communiti users and views, ads performance,
post on user wall and etc.	For more information see API Documentation
<https://vk.com/dev/first_guide>.")
    (license license:gpl2)))

(define-public r-rvisidata
  (package
    (name "r-rvisidata")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvisidata" version))
       (sha256
        (base32 "0y65g4lhgjpaqkap1g07dxiaax8rypbb50bg9r5akqy2x2p9sjrg"))))
    (properties `((upstream-name . "rvisidata")))
    (build-system r-build-system)
    (inputs (list visidata))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/paulklemm/rvisidata")
    (synopsis
     "Wrapper for 'Visidata', an Interactive Multitool for Tabular Data")
    (description
     "Open any data frame with visidata', a terminal-based spreadsheet application
<https://www.visidata.org>.")
    (license license:expat)))

(define-public r-rvipkg
  (package
    (name "r-rvipkg")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RVIpkg" version))
       (sha256
        (base32 "0s3fjagbd24cgymsfsjd0940kzyvla2cybsr0387q7l93lfr3rmd"))))
    (properties `((upstream-name . "RVIpkg")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RVIpkg")
    (synopsis "Regional Vulnerability Index")
    (description
     "The Regional Vulnerability Index (RVI), a statistical measure of brain
structural abnormality, quantifies an individual's similarity to the expected
pattern (effect size) of deficits in schizophrenia (Kochunov P, Fan F, Ryan MC,
et al. (2020) <doi:10.1002/hbm.25045>).")
    (license license:gpl2+)))

(define-public r-rvinecopulib
  (package
    (name "r-rvinecopulib")
    (version "0.6.3.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvinecopulib" version))
       (sha256
        (base32 "0cmzijh03mbl3b3x8gin3vzgc52yrxmai45dxw5a6zrfal3x15fz"))))
    (properties `((upstream-name . "rvinecopulib")))
    (build-system r-build-system)
    (propagated-inputs (list r-wdm
                             r-rcppthread
                             r-rcppeigen
                             r-rcpp
                             r-lattice
                             r-kde1d
                             r-bh
                             r-assertthat))
    (home-page "https://cran.r-project.org/package=rvinecopulib")
    (synopsis "High Performance Algorithms for Vine Copula Modeling")
    (description
     "This package provides an interface to vinecopulib', a C++ library for vine
copula modeling.  The rvinecopulib package implements the core features of the
popular @code{VineCopula} package, in particular inference algorithms for both
vine copula and bivariate copula models.  Advantages over @code{VineCopula} are
a sleeker and more modern API, improved performances, especially in high
dimensions, nonparametric and multi-parameter families, and the ability to model
discrete variables.  The rvinecopulib package includes vinecopulib as
header-only C++ library (currently version 0.6.2).  Thus users do not need to
install vinecopulib itself in order to use rvinecopulib'.  Since their initial
releases, vinecopulib is licensed under the MIT License, and rvinecopulib is
licensed under the GNU GPL version 3.")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rvif
  (package
    (name "r-rvif")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvif" version))
       (sha256
        (base32 "0aqzh8n889avbjdf4244h4a5y5a6w9hxxgm15ygxvysrw5rjb37f"))))
    (properties `((upstream-name . "rvif")))
    (build-system r-build-system)
    (propagated-inputs (list r-multicoll))
    (home-page "http://colldetreat.r-forge.r-project.org/")
    (synopsis
     "Collinearity Detection using Redefined Variance Inflation Factor and Graphical Methods")
    (description
     "The detection of troubling approximate collinearity in a multiple linear
regression model is a classical problem in Econometrics.  The objective of this
package is to detect it using the variance inflation factor redefined and the
scatterplot between the variance inflation factor and the coefficient of
variation.  For more details see SalmerÃ³n R., GarcÃ­a C.B. and GarcÃ­a J.
(2018) <doi:10.1080/00949655.2018.1463376>, SalmerÃ³n, R., RodrÃ­guez, A. and
GarcÃ­a C. (2020) <doi:10.1007/s00180-019-00922-x>, SalmerÃ³n, R., GarcÃ­a, C.B,
RodrÃ­guez, A. and GarcÃ­a, C. \"Limitations in Detecting Multicollinearity due
to Scaling Issues in the mcvis Package\" (2022, to appear in The R Journal) and
SalmerÃ³n, R., GarcÃ­a, C.B, GarcÃ­a J. (2023, working paper)
<@code{arXiv:2005.02245>}.")
    (license license:gpl2+)))

(define-public r-rviewgraph
  (package
    (name "r-rviewgraph")
    (version "1.4.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rviewgraph" version))
       (sha256
        (base32 "161fdvk1gn5mz15shkd2w0yv0y9bp5rzyrmg43yl7h75csfl7l8g"))))
    (properties `((upstream-name . "rviewgraph")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rviewgraph")
    (synopsis "Animated Graph Layout Viewer")
    (description
     "This package provides Java graphical user interfaces for viewing, manipulating
and plotting graphs.  Graphs may be directed or undirected.")
    (license license:gpl2)))

(define-public r-rviennacl
  (package
    (name "r-rviennacl")
    (version "1.7.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RViennaCL" version))
       (sha256
        (base32 "0lh23g8zyd50p6hnl4dfmzrsg48y74g2h7dism9j2n1pfd9p9k5d"))))
    (properties `((upstream-name . "RViennaCL")))
    (build-system r-build-system)
    (home-page "http://github.com/cdeterman/RViennaCL")
    (synopsis "'ViennaCL' C++ Header Files")
    (description
     "@code{ViennaCL} is a free open-source linear algebra library for computations on
many-core architectures (GPUs, MIC) and multi-core CPUs.  The library is written
in C++ and supports CUDA', @code{OpenCL}', and @code{OpenMP} (including switches
at runtime).  I have placed these libraries in this package as a more efficient
distribution system for CRAN. The idea is that you can write a package that
depends on the @code{ViennaCL} library and yet you do not need to distribute a
copy of this code with your package.")
    (license license:gpl3)))

(define-public r-rvhpdt
  (package
    (name "r-rvhpdt")
    (version "4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvHPDT" version))
       (sha256
        (base32 "0a6mzb714cvgwgam7429wzv0r28yl2aqhfsx7wjpw265ys8qyw1h"))))
    (properties `((upstream-name . "rvHPDT")))
    (build-system r-build-system)
    (propagated-inputs (list r-gtools))
    (home-page "https://cran.r-project.org/package=rvHPDT")
    (synopsis
     "Calling Haplotype-Based and Variant-Based Pedigree Disequilibrium Test for Rare Variants in Pedigrees")
    (description
     "To detecting rare variants for binary traits using general pedigrees, the
pedigree disequilibrium tests are proposed by collapsing rare
haplotypes/variants with/without weights.  To run the test, MERLIN is needed in
Linux for haplotyping.")
    (license license:gpl2+)))

(define-public r-rvg
  (package
    (name "r-rvg")
    (version "0.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvg" version))
       (sha256
        (base32 "0s173s4bxi44s4j30y804vffsccir74jx2awsv0r45g1007w6mx0"))))
    (properties `((upstream-name . "rvg")))
    (build-system r-build-system)
    (inputs (list zlib libpng))
    (propagated-inputs (list r-xml2 r-rlang r-rcpp r-officer r-gdtools))
    (home-page "https://ardata-fr.github.io/officeverse/")
    (synopsis "R Graphics Devices for 'Office' Vector Graphics Output")
    (description
     "Vector Graphics devices for Microsoft @code{PowerPoint} and Microsoft Excel'.
Functions extending package officer are provided to embed @code{DrawingML}
graphics into Microsoft @code{PowerPoint} presentations and Microsoft Excel
workbooks.")
    (license license:gpl3)))

(define-public r-rvertnet
  (package
    (name "r-rvertnet")
    (version "0.8.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvertnet" version))
       (sha256
        (base32 "06khqs7p9zvrvx573i2afiigwc1msba8xdpja8bm8h1nyfcni0mi"))))
    (properties `((upstream-name . "rvertnet")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-maps
                             r-jsonlite
                             r-ggplot2
                             r-dplyr
                             r-crul))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ropensci/rvertnet")
    (synopsis "Search 'Vertnet', a 'Database' of Vertebrate Specimen Records")
    (description
     "Retrieve, map and summarize data from the @code{VertNet.org} archives
(<https://vertnet.org/>).  Functions allow searching by many parameters,
including taxonomic names, places, and dates.  In addition, there is an
interface for conducting spatially delimited searches, and another for
requesting large datasets via email.")
    (license license:expat)))

(define-public r-rverbalexpressions
  (package
    (name "r-rverbalexpressions")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RVerbalExpressions" version))
       (sha256
        (base32 "13spwmhkkyl0y0nfay3lrhn4ygj809is9gjs2i5rm0hma61zhicf"))))
    (properties `((upstream-name . "RVerbalExpressions")))
    (build-system r-build-system)
    (propagated-inputs (list r-magrittr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/VerbalExpressions/RVerbalExpressions")
    (synopsis "Create Regular Expressions Easily")
    (description
     "Build regular expressions using grammar and functionality inspired by
<https://github.com/@code{VerbalExpressions>}.  Usage of the %>% is encouraged
to build expressions in a chain-like fashion.")
    (license license:expat)))

(define-public r-rveg
  (package
    (name "r-rveg")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rveg" version))
       (sha256
        (base32 "0avnsbddsls55q9c2cbfy103yxrkay7812a2wfij27y9s7p66v3x"))))
    (properties `((upstream-name . "Rveg")))
    (build-system r-build-system)
    (propagated-inputs (list r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://plant-ecology-lab-czu.com/rveg/")
    (synopsis "Digitization of Phytosociological RelevÃ©s")
    (description
     "Simple and fast tool for transforming phytosociological vegetation data into
digital form for the following analysis.  Danihelka, Chrtek, and Kaplan (2012,
ISSN:00327786).  Hennekens, and SchaminÃ©e (2001) <doi:10.2307/3237010>.  TichÃ½
(2002) <doi:10.1111/j.1654-1103.2002.tb02069.x>.  Wickham, FranÃ§ois, Henry,
MÃ¼ller (2022) <https://CRAN.R-project.org/package=dplyr>.")
    (license license:gpl3+)))

(define-public r-rvec
  (package
    (name "r-rvec")
    (version "0.0.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvec" version))
       (sha256
        (base32 "0m30jyzrbywlbhqc6k2178fmq7z6169qwr8pckijnx63al3qsyxn"))))
    (properties `((upstream-name . "rvec")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-tidyselect
                             r-tibble
                             r-rlang
                             r-matrixstats
                             r-glue
                             r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://bayesiandemography.github.io/rvec/")
    (synopsis "Vector Representing a Random Variable")
    (description
     "Random vectors, called rvecs.  An rvec holds multiple draws, but tries to behave
like a standard R vector, including working well in data frames.  Rvecs are
useful for working with output from a simulation or a Bayesian analysis.")
    (license license:expat)))

(define-public r-rvcompare
  (package
    (name "r-rvcompare")
    (version "0.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RVCompare" version))
       (sha256
        (base32 "0dqz0c3idy9nzb9mlmlnyq05zql0nca1na7qxbgk136g4spbr1n3"))))
    (properties `((upstream-name . "RVCompare")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-pracma r-ggplot2))
    (home-page "https://cran.r-project.org/package=RVCompare")
    (synopsis "Compare Real Valued Random Variables")
    (description
     "This package provides a framework with tools to compare two random variables via
stochastic dominance.  See the README.md at
<https://github.com/@code{EtorArza/RVCompare>} for a quick start guide.  It can
compute the Cp and Cd of two probability distributions and the Cumulative
Difference Plot as explained in E. Arza (2022)
<doi:10.1080/10618600.2022.2084405>.  Uses bootstrap or DKW-bounds to compute
the confidence bands of the cumulative distributions.  These two methods are
described in B. Efron. (1979) <doi:10.1214/aos/1176344552> and P. Massart (1990)
<doi:10.1214/aop/1176990746>.")
    (license license:cc0)))

(define-public r-rvalues
  (package
    (name "r-rvalues")
    (version "0.7.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rvalues" version))
       (sha256
        (base32 "0vgizlm5g6mnzvwsprgg0wj0k2y3nc8zn1bqdaw58py92mqpvj1d"))))
    (properties `((upstream-name . "rvalues")))
    (build-system r-build-system)
    (home-page "https://doi.org/10.1111/rssb.12131")
    (synopsis "R-Values for Ranking in High-Dimensional Settings")
    (description
     "This package provides a collection of functions for computing \"r-values\" from
various kinds of user input such as MCMC output or a list of effect size
estimates and associated standard errors.  Given a large collection of
measurement units, the r-value, r, of a particular unit is a reported percentile
that may be interpreted as the smallest percentile at which the unit should be
placed in the top r-fraction of units.")
    (license license:gpl2)))

(define-public r-rvaidememoire
  (package
    (name "r-rvaidememoire")
    (version "0.9-83-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RVAideMemoire" version))
       (sha256
        (base32 "1ix6v1m4h1wffvgmzhrzdgj5268z54bnd02wqivrjf32pi7s9vn5"))))
    (properties `((upstream-name . "RVAideMemoire")))
    (build-system r-build-system)
    (propagated-inputs (list r-vegan
                             r-pspearman
                             r-pls
                             r-nnet
                             r-mass
                             r-lme4
                             r-factominer
                             r-car
                             r-boot
                             r-ade4))
    (home-page "https://cran.r-project.org/package=RVAideMemoire")
    (synopsis "Testing and Plotting Procedures for Biostatistics")
    (description
     "This package contains miscellaneous functions useful in biostatistics, mostly
univariate and multivariate testing procedures with a special emphasis on
permutation tests.  Many functions intend to simplify user's life by shortening
existing procedures or by implementing plotting functions that can be used with
as many methods from different packages as possible.")
    (license license:gpl2)))

(define-public r-rva
  (package
    (name "r-rva")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RVA" version))
       (sha256
        (base32 "1a0av2vhqnkc4w76q5dhds0p12icmkkxyr1d04rsd83srwkwh4fb"))))
    (properties `((upstream-name . "RVA")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-purrr
                             r-plotly
                             r-org-hs-eg-db
                             r-msigdbr
                             r-haven
                             r-gseabase
                             r-gridextra
                             r-ggpubr
                             r-ggplot2
                             r-edger
                             r-dplyr
                             r-data-table
                             r-complexheatmap
                             r-clusterprofiler
                             r-circlize))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/THERMOSTATS/RVA")
    (synopsis "RNAseq Visualization Automation")
    (description
     "Automate downstream visualization & pathway analysis in RNAseq analysis.  RVA is
a collection of functions that efficiently visualize RNAseq differential
expression analysis result from summary statistics tables.  It also utilize the
Fisher's exact test to evaluate gene set or pathway enrichment in a convenient
and efficient manner.")
    (license license:gpl2)))

(define-public r-rutledge
  (package
    (name "r-rutledge")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rutledge" version))
       (sha256
        (base32 "1f1hgss5spc3jw1j5636mgxhrkcqwkgb335aihliivpqix744hr3"))))
    (properties `((upstream-name . "rutledge")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble))
    (home-page "https://github.com/ramiromagno/rutledge")
    (synopsis "Real-Time PCR Data Sets by Rutledge et al. (2004)")
    (description
     "Real-time quantitative polymerase chain reaction (@code{qPCR}) data by Rutledge
et al. (2004) <doi:10.1093/nar/gnh177> in tidy format.  The data comprises a
six-point, ten-fold dilution series, repeated in five independent runs, for two
different amplicons.  In each run, each standard concentration is replicated
four times.  For the original raw data file see the Supplementary Data section:
<https://academic.oup.com/nar/article/32/22/e178/2375678#supplementary-data>.")
    (license (license:fsdg-compatible "CC BY 4.0"))))

(define-public r-rutifier
  (package
    (name "r-rutifier")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rutifier" version))
       (sha256
        (base32 "045pr8apd105azs1glpwqrbamglqddxfpml9yrfrlaivz3fjd9l8"))))
    (properties `((upstream-name . "rutifier")))
    (build-system r-build-system)
    (propagated-inputs (list r-r-utils))
    (home-page "https://cran.r-project.org/package=rutifier")
    (synopsis "Chilean Rol Unico Tributario")
    (description
     "This package provides a RUT (Rol Unico Tributario) is an unique and personal
identification number implemented in Chile to identify citizens and taxpayers.
Rutifier allows to validate if a RUT exist or not and change between the
different formats a RUT can have.")
    (license license:expat)))

(define-public r-rust
  (package
    (name "r-rust")
    (version "1.4.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rust" version))
       (sha256
        (base32 "069zybqgmf1mnhw9g6kr7ypm0r9ghlw9kndqigvwgzqwfmqj62c9"))))
    (properties `((upstream-name . "rust")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://paulnorthrop.github.io/rust/")
    (synopsis "Ratio-of-Uniforms Simulation with Transformation")
    (description
     "Uses the generalized ratio-of-uniforms (RU) method to simulate from univariate
and (low-dimensional) multivariate continuous distributions.  The user specifies
the log-density, up to an additive constant.  The RU algorithm is applied after
relocation of mode of the density to zero, and the user can choose a tuning
parameter r.  For details see Wakefield, Gelfand and Smith (1991)
<DOI:10.1007/BF01889987>, Efficient generation of random variates via the
ratio-of-uniforms method, Statistics and Computing (1991) 1, 129-133.  A Box-Cox
variable transformation can be used to make the input density suitable for the
RU method and to improve efficiency.  In the multivariate case rotation of axes
can also be used to improve efficiency.  From version 1.2.0 the Rcpp package
<https://cran.r-project.org/package=Rcpp> can be used to improve efficiency.")
    (license license:gpl2+)))

(define-public r-rusquant
  (package
    (name "r-rusquant")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rusquant" version))
       (sha256
        (base32 "1573sbzv2zy1k0bqqillwr2lzvy05kbv6qvil9dhwahjcn38x6j6"))))
    (properties `((upstream-name . "rusquant")))
    (build-system r-build-system)
    (propagated-inputs (list r-xts
                             r-xml
                             r-stringr
                             r-rvest
                             r-quantmod
                             r-jsonlite
                             r-jose
                             r-httr
                             r-data-table
                             r-base64enc))
    (home-page "https://rusquant.ru")
    (synopsis "Quantitative Trading Framework")
    (description
     "Collection of functions to retrieve financial data from various sources,
including brokerage and exchange platforms, financial websites, and data
providers.  Includes functions to retrieve account information, portfolio
information, and place/cancel orders from different brokers.  Additionally,
allows users to download historical data such as earnings, dividends, stock
splits.")
    (license license:gpl3)))

(define-public r-rusk
  (package
    (name "r-rusk")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rusk" version))
       (sha256
        (base32 "0a6vbcnfzlfq9fmibiy0cwcfix65qhxq4f7wc7d53riga82s00lk"))))
    (properties `((upstream-name . "rusk")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-shiny
                             r-reshape2
                             r-ggplot2
                             r-ggforce
                             r-dplyr))
    (home-page "https://github.com/ThinkR-open/rusk")
    (synopsis
     "Beautiful Graphical Representation of Multiplication Tables on a Modular Circle")
    (description
     "By placing on a circle 10 points numbered from 1 to 10, and connecting them by a
straight line to the point corresponding to its multiplication by 2. (1 must be
connected to 1 * 2 = 2, point 2 must be set to 2 * 2 = 4, point 3 to 3 * 2 = 6
and so on).  You will obtain an amazing geometric figure that complicates and
beautifies itself by varying the number of points and the multiplication table
you use.")
    (license license:gpl3)))

(define-public r-rush
  (package
    (name "r-rush")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rush" version))
       (sha256
        (base32 "1lq1yikhykxa70ypn7y2s3njj0b8vnazjd24766sq4bgmyp60fdj"))))
    (properties `((upstream-name . "rush")))
    (build-system r-build-system)
    (propagated-inputs (list r-uuid
                             r-redux
                             r-r6
                             r-processx
                             r-mlr3misc
                             r-lgr
                             r-jsonlite
                             r-data-table
                             r-checkmate))
    (home-page "https://github.com/mlr-org/rush")
    (synopsis "Rapid Parallel and Distributed Computing")
    (description
     "Parallel computing with a network of local and remote workers.  Fast exchange of
results between the workers through a Redis database.  Key features include task
queues, local caching, and sophisticated error handling.")
    (license license:expat)))

(define-public r-runuran
  (package
    (name "r-runuran")
    (version "0.40")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Runuran" version))
       (sha256
        (base32 "1ws0za51p3w9ky8f763b0x82iil21cd01w4334jb2daxjhl58071"))))
    (properties `((upstream-name . "Runuran")))
    (build-system r-build-system)
    (home-page "https://github.com/unuran/Runuran/")
    (synopsis "R Interface to the 'UNU.RAN' Random Variate Generators")
    (description
     "Interface to the UNU.RAN library for Universal Non-Uniform RANdom variate
generators.  Thus it allows to build non-uniform random number generators from
quite arbitrary distributions.  In particular, it provides an algorithm for fast
numerical inversion for distribution with given density function.  In addition,
the package contains densities, distribution functions and quantiles from a
couple of distributions.")
    (license license:gpl2+)))

(define-public r-runstats
  (package
    (name "r-runstats")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "runstats" version))
       (sha256
        (base32 "0n9348af60j8a2mwgbafabspb4nm45ry92zlzmynja06zyx8lb2d"))))
    (properties `((upstream-name . "runstats")))
    (build-system r-build-system)
    (propagated-inputs (list r-fftwtools))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/martakarass/runstats")
    (synopsis "Fast Computation of Running Statistics for Time Series")
    (description
     "This package provides methods for fast computation of running sample statistics
for time series.  These include: (1) mean, (2) standard deviation, and (3)
variance over a fixed-length window of time-series, (4) correlation, (5)
covariance, and (6) Euclidean distance (L2 norm) between short-time pattern and
time-series.  Implemented methods utilize Convolution Theorem to compute
convolutions via Fast Fourier Transform (FFT).")
    (license license:gpl3)))

(define-public r-runonce
  (package
    (name "r-runonce")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "runonce" version))
       (sha256
        (base32 "04lmzw9ldc3b6zdc7sr3mrfiam24372j11l5p1y9i2zjb9rxk1nn"))))
    (properties `((upstream-name . "runonce")))
    (build-system r-build-system)
    (propagated-inputs (list r-urltools r-bigassertr))
    (home-page "https://github.com/privefl/runonce")
    (synopsis "Run Once and Save Result")
    (description
     "Package runonce helps automating the saving of long-running code to help running
the same code multiple times.  If you run some long-running code once, it saves
the result in a file on disk.  Then, if the result already exists, i.e.  if the
code has already been run and its output has already been saved, it just reads
the result from the stored file instead of running the code again.")
    (license license:gpl3)))

(define-public r-runner
  (package
    (name "r-runner")
    (version "0.4.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "runner" version))
       (sha256
        (base32 "0vhqjnwcx3z3i74p26divx6palx1rwvk4jpqn64jrqlzaw9qich4"))))
    (properties `((upstream-name . "runner")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=runner")
    (synopsis "Running Operations for Vectors")
    (description
     "Lightweight library for rolling windows operations.  Package enables full
control over the window length, window lag and a time indices.  With a runner
one can apply any R function on a rolling windows.  The package eases work with
equally and unequally spaced time series.")
    (license license:gpl2+)))

(define-public r-runmcmcbtadjust
  (package
    (name "r-runmcmcbtadjust")
    (version "1.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "runMCMCbtadjust" version))
       (sha256
        (base32 "1gplz947hschc5kwm5rd70hvs4d582cs4m7mvlsxhh536xrdf3j2"))))
    (properties `((upstream-name . "runMCMCbtadjust")))
    (build-system r-build-system)
    (propagated-inputs (list r-coda))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=runMCMCbtadjust")
    (synopsis
     "Runs Monte Carlo Markov Chain - With Either 'JAGS', 'nimble' or 'greta' - While Adjusting Burn-in and Thinning Parameters")
    (description
     "The function @code{runMCMC_btadjust}() returns a mcmc.list object which is the
output of a Markov Chain Monte Carlo obtained - from either JAGS', nimble or
greta - after adjusting burn-in and thinning parameters to meet pre-specified
criteria in terms of convergence & effective sample size.  Used with nimble',
@code{runMCMC_btadjust}() allows extra calculations (e.g. information criteria
for model comparison and goodness-of-fit p-values for model diagnosis).")
    (license (license:fsdg-compatible "CECILL-2.1"))))

(define-public r-runjags
  (package
    (name "r-runjags")
    (version "2.2.2-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "runjags" version))
       (sha256
        (base32 "0ks2dw575mmzzjcscbf02zn38ickqgz4pnvdb5p81h100r6nwrbg"))))
    (properties `((upstream-name . "runjags")))
    (build-system r-build-system)
    (propagated-inputs (list r-lattice r-coda))
    (native-inputs (list pkg-config r-knitr))
    (home-page "https://github.com/ku-awdc/runjags")
    (synopsis
     "Interface Utilities, Model Templates, Parallel Computing Methods and Additional Distributions for MCMC Models in JAGS")
    (description
     "User-friendly interface utilities for MCMC models via Just Another Gibbs Sampler
(JAGS), facilitating the use of parallel (or distributed) processors for
multiple chains, automated control of convergence and sample length diagnostics,
and evaluation of the performance of a model using drop-k validation or against
simulated data.  Template model specifications can be generated using a standard
lme4-style formula interface to assist users less familiar with the BUGS syntax.
 A JAGS extension module provides additional distributions including the Pareto
family of distributions, the @code{DuMouchel} prior and the half-Cauchy prior.")
    (license license:gpl2)))

(define-public r-runexp
  (package
    (name "r-runexp")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "runexp" version))
       (sha256
        (base32 "0pcxwz0kpfrcsfalwlcwp81k3dyc9rqm9rba25xkp51bwz5scv64"))))
    (properties `((upstream-name . "runexp")))
    (build-system r-build-system)
    (propagated-inputs (list r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=runexp")
    (synopsis "Softball Run Expectancy using Markov Chains and Simulation")
    (description
     "This package implements two methods of estimating runs scored in a softball
scenario: (1) theoretical expectation using discrete Markov chains and (2)
empirical distribution using multinomial random simulation.  Scores are based on
player-specific input probabilities (out, single, double, triple, walk, and
homerun).  Optional inputs include probability of attempting a steal,
probability of succeeding in an attempted steal, and an indicator of whether a
player is \"fast\" (e.g. the player could stretch home).  These probabilities may
be calculated from common player statistics that are publicly available on
team's webpages.  Scores are evaluated based on a nine-player lineup and may be
used to compare lineups, evaluate base scenarios, and compare the offensive
potential of individual players.  Manuscript forthcoming.  See Bukiet & Harold
(1997) <doi:10.1287/opre.45.1.14> for implementation of discrete Markov chains.")
    (license license:lgpl2.0+)))

(define-public r-runes
  (package
    (name "r-runes")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "runes" version))
       (sha256
        (base32 "1s2vhwya434q70j4aq4qbds8wivscc5cyldr5pch7p41nqj0j7aw"))))
    (properties `((upstream-name . "runes")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=runes")
    (synopsis "Convert Strings to Elder Futhark Runes")
    (description "Convert a string of text characters to Elder Futhark Runes
<https://en.wikipedia.org/wiki/Elder_Futhark>.")
    (license license:expat)))

(define-public r-rundrt
  (package
    (name "r-rundrt")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "runDRT" version))
       (sha256
        (base32 "1q90xismkzdpx7hfsyjpagv3jdj8slmdpdf7f2kbw6lx5mcv4v3x"))))
    (properties `((upstream-name . "runDRT")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=runDRT")
    (synopsis "Run Doubly Ranked Tests")
    (description
     "Doubly ranked tests are nonparametric tests for grouped functional and
multivariate data.  The testing procedure first ranks a matrix (or three
dimensional array) of data by column (if a matrix) or by cell (across the third
dimension if an array).  By default, it calculates a sufficient statistic for
the subject's order within the sample using the observed ranks, taken over the
columns or cells.  Depending on the number of groups, G, the summarized ranks
are then analyzed using either a Wilcoxon Rank Sum test (G = 2) or a
Kruskal-Wallis (G greater than 2).")
    (license license:expat)))

(define-public r-runcharter
  (package
    (name "r-runcharter")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "runcharter" version))
       (sha256
        (base32 "0n4jkgvlbpafjks22fjackazp246c7skphirjsrzkrg169qwdin0"))))
    (properties `((upstream-name . "runcharter")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo r-magrittr r-ggplot2 r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/johnmackintosh/runcharter")
    (synopsis
     "Automatically Plot, Analyse and Revises Limits of Multiple Run Charts")
    (description
     "Plots multiple run charts, finds successive signals of improvement, and revises
medians when each signal occurs.  Finds runs above, below, or on both sides of
the median, and returns a plot and a data.table summarising original medians and
any revisions, for all groups within the supplied data.")
    (license license:gpl3+)))

(define-public r-ruminate
  (package
    (name "r-ruminate")
    (version "0.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ruminate" version))
       (sha256
        (base32 "1i3b5mlg4kcd8hsphax75r046yq180jrbnyr7iylkyilf6dgqyyf"))))
    (properties `((upstream-name . "ruminate")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml
                             r-tidyr
                             r-stringr
                             r-shinywidgets
                             r-shinyace
                             r-shiny
                             r-rxode2
                             r-rlang
                             r-rhandsontable
                             r-plotly
                             r-pknca
                             r-onbrand
                             r-ggplot2
                             r-formods
                             r-flextable
                             r-dt
                             r-dplyr
                             r-digest))
    (native-inputs (list r-knitr))
    (home-page "https://ruminate.ubiquity.tools/")
    (synopsis "Pharmacometrics Data Transformation and Analysis Tool")
    (description
     "Exploration of pharmacometrics data involves both general tools (transformation
and plotting) and specific techniques (non-compartmental analysis).  This kind
of exploration is generally accomplished by utilizing different packages.  The
purpose of ruminate is to create a shiny interface to make these tools more
broadly available while creating reproducible results.")
    (license license:bsd-2)))

(define-public r-rumidas
  (package
    (name "r-rumidas")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rumidas" version))
       (sha256
        (base32 "1y2fahyffdmnybj3hi4826sc7m5q9vvrcbz4xvd9dmm1zpgjqajx"))))
    (properties `((upstream-name . "rumidas")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-tseries
                             r-roll
                             r-rdpack
                             r-maxlik
                             r-lubridate))
    (home-page "https://cran.r-project.org/package=rumidas")
    (synopsis
     "Univariate GARCH-MIDAS, Double-Asymmetric GARCH-MIDAS and MEM-MIDAS")
    (description
     "Adds the MIxing-Data Sampling (MIDAS, Ghysels et al. (2007)
<doi:10.1080/07474930600972467>) components to a variety of GARCH and MEM (Engle
(2002) <doi:10.1002/jae.683>, Engle and Gallo (2006)
<doi:10.1016/j.jeconom.2005.01.018>, and Amendola et al. (2024)
<doi:10.1016/j.seps.2023.101764>) models, with the aim of predicting the
volatility with additional low-frequency (that is, MIDAS) terms.  The estimation
takes place through simple functions, which provide in-sample and (if present)
and out-of-sample evaluations.  rumidas also offers a summary tool, which
synthesizes the main information of the estimated model.  There is also the
possibility of generating one-step-ahead and multi-step-ahead forecasts.")
    (license license:gpl3)))

(define-public r-rum
  (package
    (name "r-rum")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rUM" version))
       (sha256
        (base32 "1x9waiyxq5jgi6ggd078wfzgq29adawfs7jn4m5qj4wba7sddq2m"))))
    (properties `((upstream-name . "rUM")))
    (build-system r-build-system)
    (propagated-inputs (list r-usethis
                             r-tidyverse
                             r-tidymodels
                             r-table1
                             r-stringr
                             r-roxygen2
                             r-rmarkdown
                             r-rlang
                             r-rio
                             r-quarto
                             r-here
                             r-gtsummary
                             r-glue
                             r-conflicted
                             r-bookdown))
    (native-inputs (list r-knitr))
    (home-page "https://raymondbalise.github.io/rUM/")
    (synopsis "R Templates from the University of Miami")
    (description
     "This holds some r markdown and quarto templates and a template to create a
research project in \"R Studio\".")
    (license license:expat)))

(define-public r-rules
  (package
    (name "r-rules")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rules" version))
       (sha256
        (base32 "1y9872akqsb1lm9hyj698dxakd53yxhbanv4z2yb43g84s5bsscl"))))
    (properties `((upstream-name . "rules")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-rlang
                             r-purrr
                             r-parsnip
                             r-generics
                             r-dplyr
                             r-dials))
    (home-page "https://github.com/tidymodels/rules")
    (synopsis "Model Wrappers for Rule-Based Models")
    (description
     "Bindings for additional models for use with the parsnip package.  Models include
prediction rule ensembles (Friedman and Popescu, 2008) <doi:10.1214/07-AOAS148>,
C5.0 rules (Quinlan, 1992 ISBN: 1558602380), and Cubist (Kuhn and Johnson, 2013)
<doi:10.1007/978-1-4614-6849-3>.")
    (license license:expat)))

(define-public r-ruler
  (package
    (name "r-ruler")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ruler" version))
       (sha256
        (base32 "0k6xvb06cqiinvkpbmylzm0r11h52yay6k70jfmz2c0g5rb6bj4r"))))
    (properties `((upstream-name . "ruler")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-rlang
                             r-purrr
                             r-magrittr
                             r-keyholder
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://echasnovski.github.io/ruler/")
    (synopsis "Tidy Data Validation Reports")
    (description
     "This package provides tools for creating data validation pipelines and tidy
reports.  This package offers a framework for exploring and validating data
frame like objects using dplyr grammar of data manipulation.")
    (license license:expat)))

(define-public r-ruin
  (package
    (name "r-ruin")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ruin" version))
       (sha256
        (base32 "124xs1c2mjfy6z0bp83rwkqw2y73g77xwn3q4yd2xw0v2frnpvpz"))))
    (properties `((upstream-name . "ruin")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "http://github.com/irudnyts/ruin")
    (synopsis "Simulation of Various Risk Processes")
    (description
     "This package provides a (not yet exhaustive) collection of common models of risk
processes in actuarial science, represented as formal S4 classes.  Each class
(risk model) has a simulator of its path, and a plotting function.  Further, a
Monte-Carlo estimator of a ruin probability for a finite time is implemented,
using a parallel computation.  Currently, the package extends two classical risk
models Cramer-Lundberg and Sparre Andersen models by including capital
injections, that are positive jumps (see Breuer L. and Badescu A.L. (2014)
<doi:10.1080/03461238.2011.636969>).  The intent of the package is to provide a
user-friendly interface for ruin processes simulators, as well as a solid and
extensible structure for future extensions.")
    (license license:gpl3)))

(define-public r-ruimtehol
  (package
    (name "r-ruimtehol")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ruimtehol" version))
       (sha256
        (base32 "1fjyrcqb1hv86xwdq5zds8gdgnvcv1nnbh5j7mf17870miy0vzln"))))
    (properties `((upstream-name . "ruimtehol")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (home-page "https://github.com/bnosac/ruimtehol")
    (synopsis "Learn Text 'Embeddings' with 'Starspace'")
    (description
     "Wraps the @code{StarSpace} library
<https://github.com/facebookresearch/@code{StarSpace>} allowing users to
calculate word, sentence, article, document, webpage, link and entity
embeddings'.  By using the embeddings', you can perform text based multi-label
classification, find similarities between texts and categories, do
collaborative-filtering based recommendation as well as content-based
recommendation, find out relations between entities, calculate graph embeddings
as well as perform semi-supervised learning and multi-task learning on plain
text.  The techniques are explained in detail in the paper: @code{StarSpace}:
Embed All The Things! by Wu et al. (2017), available at
<@code{arXiv:1709.03856>}.")
    (license (license:fsdg-compatible "MPL-2.0"))))

(define-public r-ruijter
  (package
    (name "r-ruijter")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ruijter" version))
       (sha256
        (base32 "0gdpl32acwq8cjsv04s5p6rwc1v3x59p4knm4qlzlgmv5dsvil64"))))
    (properties `((upstream-name . "ruijter")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble))
    (home-page "https://github.com/ramiromagno/ruijter")
    (synopsis "Technical Data Sets by Ruijter et al. (2013)")
    (description
     "The real-time quantitative polymerase chain reaction (@code{qPCR}) technical
data sets by Ruijter et al. (2013) <doi:10.1016/j.ymeth.2012.08.011>: (i) the
four-point 10-fold dilution series; (ii) 380 replicates; and (iii) the
competimer data set.  These three data sets can be used to benchmark @code{qPCR}
methods.  Original data set is available at
<https://medischebiologie.nl/wp-content/uploads/2019/02/qpcrdatamethods.zip>.
This package fixes incorrect annotations in the original data sets.")
    (license (license:fsdg-compatible "CC BY 4.0"))))

(define-public r-rugarch
  (package
    (name "r-rugarch")
    (version "1.5-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rugarch" version))
       (sha256
        (base32 "150rw7hyfxcrrhpnwjq5zqk54jrqkj8pjzm65nb5077qjicd7yf0"))))
    (properties `((upstream-name . "rugarch")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-spd
                             r-skewhyperbolic
                             r-rsolnp
                             r-rcpparmadillo
                             r-rcpp
                             r-numderiv
                             r-nloptr
                             r-ks
                             r-fracdiff
                             r-chron))
    (home-page "http://www.unstarched.net")
    (synopsis "Univariate GARCH Models")
    (description
     "ARFIMA, in-mean, external regressors and various GARCH flavors, with methods for
fit, forecast, simulation, inference and plotting.")
    (license license:gpl3)))

(define-public r-rucrdtw
  (package
    (name "r-rucrdtw")
    (version "0.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rucrdtw" version))
       (sha256
        (base32 "0qa6jw6g8ax5l2js09px4chy4n0ibvprj0ygdh3iwf1pbskw3kma"))))
    (properties `((upstream-name . "rucrdtw")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/pboesu/rucrdtw")
    (synopsis "R Bindings for the UCR Suite")
    (description
     "R bindings for functions from the UCR Suite by Rakthanmanon et al. (2012)
<DOI:10.1145/2339530.2339576>, which enables ultrafast subsequence search for a
best match under Dynamic Time Warping and Euclidean Distance.")
    (license (license:fsdg-compatible "Apache License"))))

(define-public r-rucm
  (package
    (name "r-rucm")
    (version "0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rucm" version))
       (sha256
        (base32 "1n6axmxss08f2jf5impvyamyhpbha13lvrk7pplxl0mrrrl5g0n8"))))
    (properties `((upstream-name . "rucm")))
    (build-system r-build-system)
    (propagated-inputs (list r-kfas))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rucm")
    (synopsis "Implementation of Unobserved Components Model (UCM)")
    (description
     "Unobserved Components Models (introduced in Harvey, A. (1989), Forecasting,
structural time series models and the Kalman filter, Cambridge New York:
Cambridge University Press) decomposes a time series into components such as
trend, seasonal, cycle, and the regression effects due to predictor series which
captures the salient features of the series to predict its behavior.")
    (license license:gpl2+)))

(define-public r-rubias
  (package
    (name "r-rubias")
    (version "0.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rubias" version))
       (sha256
        (base32 "1b36w3mqfazv62zb542b3c4h2xwjrjqx1azxhl0daw57x2lfh01b"))))
    (properties `((upstream-name . "rubias")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-readr
                             r-rcppparallel
                             r-rcpp
                             r-magrittr
                             r-gtools
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rubias")
    (synopsis
     "Bayesian Inference from the Conditional Genetic Stock Identification Model")
    (description
     "This package implements Bayesian inference for the conditional genetic stock
identification model.  It allows inference of mixed fisheries and also
simulation of mixtures to predict accuracy.  A full description of the
underlying methods is available in a recently published article in the Canadian
Journal of Fisheries and Aquatic Sciences: <doi:10.1139/cjfas-2018-0016>.")
    (license license:cc0)))

(define-public r-rtypeform
  (package
    (name "r-rtypeform")
    (version "2.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtypeform" version))
       (sha256
        (base32 "02qnsw2nd3fnyr0gbmx3690b78k899dxf04g4bqpjlg9y38g1cnr"))))
    (properties `((upstream-name . "rtypeform")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-rlang
                             r-purrr
                             r-lubridate
                             r-jsonlite
                             r-httr
                             r-glue
                             r-dplyr
                             r-assertthat))
    (home-page "https://github.com/csgillespie/rtypeform")
    (synopsis "Interface to 'typeform' Results")
    (description
     "An R interface to the typeform <https://typeform.com> application program
interface.  Also provides functions for downloading your results.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rtype
  (package
    (name "r-rtype")
    (version "0.1-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtype" version))
       (sha256
        (base32 "0wjf359w7gb1nrhbxknzg7qdys0hdn6alv07rd9wm6zynnn1vwxy"))))
    (properties `((upstream-name . "rtype")))
    (build-system r-build-system)
    (home-page "http://renkun.me/rtype")
    (synopsis "strong type system for R")
    (description
     "This package provides a strong type system for R which supports symbol
declaration and assignment with type checking and condition checking.")
    (license license:expat)))

(define-public r-rtwobitlib
  (package
    (name "r-rtwobitlib")
    (version "0.3.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rtwobitlib" version))
       (sha256
        (base32 "0mww366wpa7r4wfm6i03nh5y9z2vdsdl36ry2h8njj8w8h2wd80c"))))
    (properties `((upstream-name . "Rtwobitlib")))
    (build-system r-build-system)
    (inputs (list openssl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/hpages/Rtwobitlib")
    (synopsis "'2bit' 'C' Library")
    (description
     "This package provides a trimmed down copy of the \"kent-core source tree\" turned
into a C library for manipulation of .2bit files.  See
<https://genome.ucsc.edu/FAQ/FAQformat.html#format7> for a quick overview of the
2bit format.  The \"kent-core source tree\" can be found here:
<https://github.com/@code{ucscGenomeBrowser/kent-core/>}.  Only the .c and .h
files from the source tree that are related to manipulation of .2bit files were
kept.  Note that the package is primarily useful to developers of other R
packages who wish to use the 2bit C library in their own C'/'C++ code.")
    (license license:expat)))

(define-public r-rtwig
  (package
    (name "r-rtwig")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTwig" version))
       (sha256
        (base32 "1v8xm7xnla335aijwbr3nmkx8ayf2p0d3qln47xh9smr2vrm88b4"))))
    (properties `((upstream-name . "rTwig")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidytable
                             r-rmatio
                             r-rlang
                             r-rgl
                             r-rdpack
                             r-rcppsimdjson
                             r-rcpp
                             r-r-matlab
                             r-progressr
                             r-igraph
                             r-geometry
                             r-future
                             r-foreach
                             r-dofuture
                             r-colourvalues
                             r-cobs))
    (native-inputs (list r-knitr))
    (home-page "https://aidanmorales.github.io/rTwig/")
    (synopsis "Realistic Quantitative Structure Models")
    (description
     "Real Twig is a method to correct branch overestimation in quantitative structure
models.  Overestimated cylinders are correctly tapered using measured twig
diameters of corresponding tree species.  Supported quantitative structure
modeling software includes @code{TreeQSM}', @code{SimpleForest} and Treegraph'.
Also included is a novel database of twig diameters and tools for fractal
analysis of point clouds.")
    (license license:gpl3+)))

(define-public r-rtwalk
  (package
    (name "r-rtwalk")
    (version "1.8.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rtwalk" version))
       (sha256
        (base32 "0zxf66lsfq8by40flv34xzd5yy0wa1ah9li1d0h7f0yh9nbwhxl5"))))
    (properties `((upstream-name . "Rtwalk")))
    (build-system r-build-system)
    (home-page "http://www.cimat.mx/~jac/twalk/")
    (synopsis "The R Implementation of the 't-walk' MCMC Algorithm")
    (description
     "The t-walk is a general-purpose MCMC sampler for arbitrary continuous
distributions that requires no tuning.")
    (license license:gpl3)))

(define-public r-rtumblr
  (package
    (name "r-rtumblr")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rtumblr" version))
       (sha256
        (base32 "19vl079icyh615ac8wxw810dfqlj3c1lpr0gjkkc030jpl2g0yzr"))))
    (properties `((upstream-name . "Rtumblr")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-httr r-dplyr))
    (home-page "https://github.com/schochastics/Rtumblr/")
    (synopsis "Collecting and Analyzing 'Tumblr' Data")
    (description
     "An implementation of calls designed to collect Tumblr data via its Application
Program Interfaces (API), which can be found at the following URL:
<https://www.tumblr.com/docs/en/api/v2>.")
    (license license:expat)))

(define-public r-rttwebclient
  (package
    (name "r-rttwebclient")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTTWebClient" version))
       (sha256
        (base32 "1d4dmw7z90nih9bzajlyqgqvpfmpkxwyhw0w56q396kvw8k644cp"))))
    (properties `((upstream-name . "RTTWebClient")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-jsonlite
                             r-httr
                             r-digest
                             r-data-table
                             r-base64enc))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RTTWebClient")
    (synopsis "Web Client to 'TickTrader'")
    (description
     "R Web Client to @code{TickTrader} platform.  Provides you access to
@code{TickTrader} platform through Web API
<https://ttlivewebapi.fxopen.net:8443/api/doc/index>.")
    (license license:gpl2)))

(define-public r-rtsplot
  (package
    (name "r-rtsplot")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtsplot" version))
       (sha256
        (base32 "1vryh0s1mz9h9ksf5n27vvrdbsjk8yvizd31cnj4grz71v4c1dh1"))))
    (properties `((upstream-name . "rtsplot")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo r-xts r-rcolorbrewer r-quantmod))
    (home-page "https://bitbucket.org/rtsvizteam/rtsplot")
    (synopsis "Time Series Plot")
    (description
     "This package provides a fast and elegant time series visualization package.  In
addition to the standard R plot types, this package supports candle sticks,
open-high-low-close, and volume plots.  Useful for visualizing any time series
data, e.g., stock prices and technical indicators.")
    (license license:expat)))

(define-public r-rtson
  (package
    (name "r-rtson")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtson" version))
       (sha256
        (base32 "1gwvk7nmq9bz90jy1zh7lhr735iw804pmwxykdpaigcsnxk7zx03"))))
    (properties `((upstream-name . "rtson")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6))
    (home-page "https://github.com/tercen/TSON")
    (synopsis "Typed JSON")
    (description
     "TSON, short for Typed JSON, is a binary-encoded serialization of JSON like
document that support @code{JavaScript} typed data
(https://github.com/tercen/TSON).")
    (license (license:fsdg-compatible "Apache License Version 2.0"))))

(define-public r-rtseva
  (package
    (name "r-rtseva")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RtsEva" version))
       (sha256
        (base32 "0bnpplsyc4k4gs5gh2hxr4597xqsfpd9kvkfhp7s802xby4hqnia"))))
    (properties `((upstream-name . "RtsEva")))
    (build-system r-build-system)
    (propagated-inputs (list r-xts
                             r-tsibble
                             r-texmex
                             r-scales
                             r-rlang
                             r-pracma
                             r-pot
                             r-moments
                             r-lubridate
                             r-ggplot2
                             r-evd
                             r-dplyr
                             r-changepoint))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/r-lib/devtools")
    (synopsis "Performs the Transformed-Stationary Extreme Values Analysis")
    (description
     "Adaptation of the Matlab @code{tsEVA} toolbox developed by Lorenzo Mentaschi
available here: <https://github.com/menta78/@code{tsEva>}.  It contains an
implementation of the Transformed-Stationary (TS) methodology for non-stationary
extreme value Analysis (EVA) as described in Mentaschi et al. (2016)
<doi:10.5194/hess-20-3527-2016>.  In synthesis this approach consists in: (i)
transforming a non-stationary time series into a stationary one to which the
stationary extreme value theory can be applied; and (ii) reverse-transforming
the result into a non-stationary extreme value distribution. @code{RtsEva}
offers several options for trend estimation (mean, extremes, seasonal) and
contains multiple plotting functions displaying different aspects of the
non-stationarity of extremes.")
    (license license:gpl3+)))

(define-public r-rtsdata
  (package
    (name "r-rtsdata")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtsdata" version))
       (sha256
        (base32 "0djw6qp6jdkz4r0j5dzjql2rhap4syl7psdglgd9razv5vzqmn6c"))))
    (properties `((upstream-name . "rtsdata")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-quantmod
                             r-quandl
                             r-mongolite
                             r-data-table
                             r-curl
                             r-brotli
                             r-anytime))
    (home-page "https://bitbucket.org/rtsvizteam/rtsdata")
    (synopsis "R Time Series Intelligent Data Storage")
    (description
     "This package provides a tool that allows to download and save historical time
series data for future use offline.  The intelligent updating functionality will
only download the new available information; thus, saving you time and Internet
bandwidth.  It will only re-download the full data-set if any inconsistencies
are detected.  This package supports following data provides: Yahoo
(finance.yahoo.com), FRED (fred.stlouisfed.org), Quandl (data.nasdaq.com),
@code{AlphaVantage} (www.alphavantage.co), Tiingo (www.tiingo.com).")
    (license license:expat)))

(define-public r-rtsa
  (package
    (name "r-rtsa")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTSA" version))
       (sha256
        (base32 "1fkr374y7pjv99g2b0cdcr5qhfjnjwl52p39w4fvw7iv4ahvvxs1"))))
    (properties `((upstream-name . "RTSA")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales r-rcpp r-metafor r-ggplot2))
    (native-inputs (list r-knitr r-bookdown))
    (home-page "https://github.com/AnneLyng/RTSA")
    (synopsis
     "'Trial Sequential Analysis' for Error Control and Inference in Sequential Meta-Analyses")
    (description
     "Frequentist sequential meta-analysis based on Trial Sequential Analysis (TSA) in
programmed in Java by the Copenhagen Trial Unit (CTU).  The primary function is
the calculation of group sequential designs for meta-analysis to be used for
planning and analysis of both prospective and retrospective sequential
meta-analyses to preserve type-I-error control under sequential testing.  RTSA
includes tools for sample size and trial size calculation for meta-analysis and
core meta-analyses methods such as fixed-effect and random-effects models and
forest plots.  TSA is described in Wetterslev et.  al (2008)
<doi:10.1016/j.jclinepi.2007.03.013>.  The methods for deriving the group
sequential designs are based on Jennison and Turnbull (1999,
ISBN:9780849303166).")
    (license license:gpl2+)))

(define-public r-rts2
  (package
    (name "r-rts2")
    (version "0.7.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rts2" version))
       (sha256
        (base32 "1kbnw6s71y7arafcvwrbr67nplvxcyqnhdawl1i526qmf7cfvz6x"))))
    (properties `((upstream-name . "rts2")))
    (build-system r-build-system)
    (propagated-inputs (list r-stanheaders
                             r-sparsechol
                             r-sf
                             r-rstantools
                             r-rstan
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-r6
                             r-lubridate
                             r-glmmrbase
                             r-bh))
    (home-page "https://cran.r-project.org/package=rts2")
    (synopsis "Real-Time Disease Surveillance")
    (description
     "Supports modelling real-time case data to facilitate the real-time surveillance
of infectious diseases and other point phenomena.  The package provides
automated computational grid generation over an area of interest with methods to
map covariates between geographies, model fitting including spatially aggregated
case counts, and predictions and visualisation.  Both Bayesian and maximum
likelihood methods are provided.  Log-Gaussian Cox Processes are described by
Diggle et al. (2013) <doi:10.1214/13-STS441> and we provide both the low-rank
approximation for Gaussian processes described by Solin and SÃ¤rkkÃ¤ (2020)
<doi:10.1007/s11222-019-09886-w> and Riutort-Mayol et al (2023)
<doi:10.1007/s11222-022-10167-2> and the nearest neighbour Gaussian process
described by Datta et al (2016) <doi:10.1080/01621459.2015.1044091>.  cmdstanr
can be downloaded at <https://mc-stan.org/cmdstanr/>.")
    (license license:cc-by-sa4.0)))

(define-public r-rts
  (package
    (name "r-rts")
    (version "1.1-14")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rts" version))
       (sha256
        (base32 "07rnpn8bz9r7p6xymzmbynrg2xq8wfpzh50j7i578v6rmyhm2fl8"))))
    (properties `((upstream-name . "rts")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo r-xts r-terra r-rcurl r-raster))
    (native-inputs (list r-r-rsp))
    (home-page "https://r-gis.net/")
    (synopsis "Raster Time Series Analysis")
    (description
     "This framework aims to provide classes and methods for manipulating and
processing of raster time series data (e.g. a time series of satellite images).")
    (license license:gpl3+)))

(define-public r-rtry
  (package
    (name "r-rtry")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtry" version))
       (sha256
        (base32 "00a9sm08il7g0hq62jxsfib8952wdlkrhlrljnxahmaixghn7hww"))))
    (properties `((upstream-name . "rtry")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-magrittr
                             r-jsonlite
                             r-dplyr
                             r-data-table
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/MPI-BGC-Functional-Biogeography/rtry")
    (synopsis "Preprocessing Plant Trait Data")
    (description
     "Designed to support the application of plant trait data providing easy
applicable functions for the basic steps of data preprocessing, e.g. data
import, data exploration, selection of columns and rows, excluding trait data
according to different attributes, geocoding, long- to wide-table
transformation, and data export.  rtry was initially developed as part of the
TRY R project to preprocess trait data received via the TRY database.")
    (license (license:fsdg-compatible "CC BY 4.0"))))

(define-public r-rtropical
  (package
    (name "r-rtropical")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rtropical" version))
       (sha256
        (base32 "1r4585z1fna9s8whaq1w0drndg9cpqmrmqylj3m2ahfppb0xr3ic"))))
    (properties `((upstream-name . "Rtropical")))
    (build-system r-build-system)
    (propagated-inputs (list r-rfast
                             r-rcppalgos
                             r-lpsolveapi
                             r-lpsolve
                             r-caret
                             r-ape))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/HoujieWang/Rtropical")
    (synopsis
     "Data Analysis Tools over Space of Phylogenetic Trees Using Tropical Geometry")
    (description
     "Process phylogenetic trees with tropical support vector machine and principal
component analysis defined with tropical geometry.  Details about tropical
support vector machine are available in : Tang, X., Wang, H. & Yoshida, R.
(2020) <@code{arXiv:2003.00677>}.  Details about tropical principle component
analysis are available in : Page, R., Yoshida, R. & Zhang L. (2020)
<doi:10.1093/bioinformatics/btaa564> and Yoshida, R., Zhang, L. & Zhang, X.
(2019) <doi:10.1007/s11538-018-0493-4>.")
    (license license:gpl3)))

(define-public r-rtrng
  (package
    (name "r-rtrng")
    (version "4.23.1-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTRNG" version))
       (sha256
        (base32 "0rba3dxy97r75mxfn8rxrk2081my79la2m5m9h5ms2z5px07llqd"))))
    (properties `((upstream-name . "rTRNG")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppparallel r-rcpp))
    (native-inputs (list r-r-rsp r-knitr))
    (home-page "https://github.com/miraisolutions/rTRNG#readme")
    (synopsis "Advanced and Parallel Random Number Generation via 'TRNG'")
    (description
     "Embeds sources and headers from Tina's Random Number Generator ('TRNG') C++
library.  Exposes some functionality for easier access, testing and benchmarking
into R. Provides examples of how to use parallel RNG with @code{RcppParallel}'.
The methods and techniques behind TRNG are illustrated in the package vignettes
and examples.  Full documentation is available in Bauke (2021)
<https://github.com/rabauke/trng4/blob/v4.23.1/doc/trng.pdf>.")
    (license license:gpl3)))

(define-public r-rtriplexcwflux
  (package
    (name "r-rtriplexcwflux")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTRIPLEXCWFlux" version))
       (sha256
        (base32 "0gliwrbwynxm0ldnvpqs8yl6k63y54kr4ggx21zsvjbqbxs2q4v3"))))
    (properties `((upstream-name . "rTRIPLEXCWFlux")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ShulanSun/rTRIPLEX_CW_Flux")
    (synopsis "Carbon-Water Coupled Model")
    (description
     "This package provides a carbon-water coupled model (TRIPLEX-CW-Flux) is based on
two well-established models, TRIPLEX-Flux model and PenmanâMonteith model,
integrates soil water and water vapor pressure deficits into the stomata
conductance submodule to estimate net ecosystem production and
evapotranspiration in forest
ecosystems.<https://github.com/@code{ShulanSun/rTRIPLEX_CW_Flux>}.")
    (license license:expat)))

(define-public r-rtrim
  (package
    (name "r-rtrim")
    (version "2.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtrim" version))
       (sha256
        (base32 "14i81rd4iyych1yrqf3y1b3nf5hrpfjfdb4xync2v4mqqrhx0cmx"))))
    (properties `((upstream-name . "rtrim")))
    (build-system r-build-system)
    (native-inputs (list r-r-rsp r-knitr))
    (home-page "https://github.com/SNStatComp/rtrim")
    (synopsis "Trends and Indices for Monitoring Data")
    (description
     "The TRIM model is widely used for estimating growth and decline of animal
populations based on (possibly sparsely available) count data.  The current
package is a reimplementation of the original TRIM software developed at
Statistics Netherlands by Jeroen Pannekoek.  See
<https://www.cbs.nl/en-gb/society/nature-and-environment/indices-and-trends%2d%2dtrim%2d%2d>
for more information about TRIM.")
    (license (license:fsdg-compatible "EUPL"))))

(define-public r-rtriangle
  (package
    (name "r-rtriangle")
    (version "1.6-0.14")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTriangle" version))
       (sha256
        (base32 "04x7xyyrh2hz556iv133iynf0vy17g8m4bli9jb6b1inrq6bdg9v"))))
    (properties `((upstream-name . "RTriangle")))
    (build-system r-build-system)
    (home-page "https://github.com/davidcsterratt/RTriangle")
    (synopsis
     "Triangle - A 2D Quality Mesh Generator and Delaunay Triangulator")
    (description
     "This is a port of Jonathan Shewchuk's Triangle library to R. From his
description: \"Triangle generates exact Delaunay triangulations, constrained
Delaunay triangulations, conforming Delaunay triangulations, Voronoi diagrams,
and high-quality triangular meshes.  The latter can be generated with no small
or large angles, and are thus suitable for finite element analysis.\".")
    (license (license:fsdg-compatible "CC BY-NC-SA 4.0"))))

(define-public r-rtrends
  (package
    (name "r-rtrends")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtrends" version))
       (sha256
        (base32 "04xdggf36m294drb9z8khdjr6fgsg4bwkb4mmbbvqfzjpq4mq4y1"))))
    (properties `((upstream-name . "rtrends")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-lubridate r-dplyr))
    (home-page "https://cran.r-project.org/package=rtrends")
    (synopsis "Analyze Download Logs from the CRAN RStudio Mirror")
    (description
     "Analyze download logs from the CRAN RStudio mirror (<http://cran.rstudio.com/>).
 This CRAN mirror is the default one used in RStudio.  The available data is the
result of parsed and anonymised raw log data from that CRAN mirror.")
    (license license:gpl2)))

(define-public r-rtrend
  (package
    (name "r-rtrend")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtrend" version))
       (sha256
        (base32 "03spmnqbydwfv0nx0rmp6pj67y8vxaqwaj2c76jrrk5qmjvpjkc1"))))
    (properties `((upstream-name . "rtrend")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra
                             r-rcpparmadillo
                             r-rcpp
                             r-plyr
                             r-matrixstats
                             r-magrittr
                             r-lubridate
                             r-fftwtools
                             r-boot))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rpkgs/rtrend")
    (synopsis "Trend Estimating Tools")
    (description
     "The traditional linear regression trend, Modified Mann-Kendall (MK)
non-parameter trend and bootstrap trend are included in this package.  Linear
regression trend is rewritten by .lm.fit'.  MK trend is rewritten by Rcpp'.
Finally, those functions are about 10 times faster than previous version in R.
Reference: Hamed, K. H., & Rao, A. R. (1998).  A modified Mann-Kendall trend
test for autocorrelated data.  Journal of hydrology, 204(1-4), 182-196.
<doi:10.1016/S0022-1694(97)00125-X>.")
    (license license:expat)))

(define-public r-rtrek
  (package
    (name "r-rtrek")
    (version "0.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtrek" version))
       (sha256
        (base32 "0hc58h2g3xldlcqlns43xf01sj09lmb7wnjlngsg6dr31z59xbk2"))))
    (properties `((upstream-name . "rtrek")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-tidyr
                             r-tibble
                             r-rvest
                             r-purrr
                             r-png
                             r-memoise
                             r-jsonlite
                             r-jpeg
                             r-ggplot2
                             r-dplyr
                             r-downloader))
    (home-page "https://github.com/leonawicz/rtrek")
    (synopsis "Data Analysis Relating to Star Trek")
    (description
     "This package provides datasets related to the Star Trek fictional universe and
functions for working with the data.  The package also provides access to real
world datasets based on the televised series and other related licensed media
productions.  It interfaces with the Star Trek API (STAPI) (<http://stapi.co/>),
Memory Alpha (<https://memory-alpha.fandom.com/wiki/Portal:Main>), and Memory
Beta (<https://memory-beta.fandom.com/wiki/Main_Page>) to retrieve data,
metadata and other information relating to Star Trek.  It also contains several
local datasets covering a variety of topics.  The package also provides
functions for working with data from other Star Trek-related R data packages
containing larger datasets not stored in rtrek'.")
    (license license:expat)))

(define-public r-rtransferentropy
  (package
    (name "r-rtransferentropy")
    (version "0.2.21")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTransferEntropy" version))
       (sha256
        (base32 "05n97mwaxjika81bwwbx6vrsshdcd8h0n28iji2q7qwkk0746imd"))))
    (properties `((upstream-name . "RTransferEntropy")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-future-apply r-future))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/BZPaper/RTransferEntropy")
    (synopsis
     "Measuring Information Flow Between Time Series with Shannon and Renyi Transfer Entropy")
    (description
     "Measuring information flow between time series with Shannon and RÃ©nyi transfer
entropy.  See also Dimpfl and Peter (2013) <doi:10.1515/snde-2012-0044> and
Dimpfl and Peter (2014) <doi:10.1016/j.intfin.2014.03.004> for theory and
applications to financial time series.  Additional references can be found in
the theory part of the vignette.")
    (license license:gpl3)))

(define-public r-rtrack
  (package
    (name "r-rtrack")
    (version "2.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rtrack" version))
       (sha256
        (base32 "0aq4487vj0c9hcq1vgqcyjr3pzyjx4w008x8lrhimjvsqxd5vngd"))))
    (properties `((upstream-name . "Rtrack")))
    (build-system r-build-system)
    (propagated-inputs (list r-zip
                             r-terra
                             r-stringi
                             r-scales
                             r-rjson
                             r-readxl
                             r-rcurl
                             r-randomforest
                             r-pbapply
                             r-openxlsx
                             r-kernsmooth
                             r-hmisc
                             r-crayon))
    (home-page "https://rupertoverall.net/Rtrack/")
    (synopsis "Spatial Navigation Strategy Analysis")
    (description
     "This package provides a toolkit for the analysis of paths from spatial tracking
experiments and calculation of goal-finding strategies.  This package is
centered on an approach using machine learning for path classification.")
    (license license:gpl3)))

(define-public r-rtpcr
  (package
    (name "r-rtpcr")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtpcr" version))
       (sha256
        (base32 "17jbwyi19h5x9sbn14rgpbp2c23qi4w3jxdsvscrbhfrmckwfj90"))))
    (properties `((upstream-name . "rtpcr")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-reshape2
                             r-purrr
                             r-multcompview
                             r-multcomp
                             r-lmertest
                             r-ggplot2
                             r-emmeans
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/mirzaghaderi/rtpcr")
    (synopsis "qPCR Data Analysis")
    (description
     "Various methods are employed for statistical analysis and graphical presentation
of real-time PCR (quantitative PCR or @code{qPCR}) data.  rtpcr handles
amplification efficiency calculation, statistical analysis and graphical
representation of real-time PCR data based on up to two reference genes.  By
accounting for amplification efficiency values, rtpcr was developed using a
general calculation method described by Ganger et al. (2017)
<doi:10.1186/s12859-017-1949-5> and Taylor et al. (2019)
<doi:10.1016/j.tibtech.2018.12.002>, covering both the Livak and Pfaffl methods.
 Based on the experimental conditions, the functions of the rtpcr package use
t-test (for experiments with a two-level factor), analysis of variance (ANOVA),
analysis of covariance (ANCOVA) or analysis of repeated measure data to
calculate the fold change (FC, Delta Delta Ct method) or relative expression
(RE, Delta Ct method).  The functions further provide standard errors and
confidence intervals for means, apply statistical mean comparisons and present
significance.  To facilitate function application, different data sets were used
as examples and the outputs were explained.  ârtpcrâ package also provides
bar plots using various controlling arguments.  The rtpcr package is
user-friendly and easy to work with and provides an applicable resource for
analyzing real-time PCR data.")
    (license license:gpl3)))

(define-public r-rtpc
  (package
    (name "r-rtpc")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTPC" version))
       (sha256
        (base32 "17ycj1cf7azlxi3mn8lpwji194c3awbhky7l03v4yj1wim0r0mss"))))
    (properties `((upstream-name . "rTPC")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/padpadpadpad/rTPC")
    (synopsis "Fitting and Analysing Thermal Performance Curves")
    (description
     "Helps to fit thermal performance curves (TPCs). @code{rTPC} contains 26 model
formulations previously used to fit TPCs and has helper functions to set
sensible start parameters, upper and lower parameter limits and estimate
parameters useful in downstream analyses, such as cardinal temperatures, maximum
rate and optimum temperature.  See Padfield et al. (2021)
<doi:10.1111/2041-210X.13585>.")
    (license license:gpl3)))

(define-public r-rtorch
  (package
    (name "r-rtorch")
    (version "0.4.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTorch" version))
       (sha256
        (base32 "03a9vls09mgd77xm1q1h1pqw4q026rdibbjr218706h4iqphrqm7"))))
    (properties `((upstream-name . "rTorch")))
    (build-system r-build-system)
    (inputs (list python-pytorch))
    (propagated-inputs (list r-rstudioapi r-reticulate r-jsonlite))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/f0nzie/rTorch")
    (synopsis "R Bindings to 'PyTorch'")
    (description
     "R implementation and interface of the Machine Learning platform @code{PyTorch}
<https://pytorch.org/> developed in Python'.  It requires a conda environment
with torch and torchvision Python packages to provide @code{PyTorch} functions,
methods and classes.  The key object in @code{PyTorch} is the tensor which is in
essence a multidimensional array.  These tensors are fairly flexible in
performing calculations in CPUs as well as GPUs to accelerate tensor operations.")
    (license license:expat)))

(define-public r-rtop
  (package
    (name "r-rtop")
    (version "0.6-9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtop" version))
       (sha256
        (base32 "0ksvjyrcyygv68sp8ygnh2fd1vpp1vf10xviclnlm2rm829hjmr1"))))
    (properties `((upstream-name . "rtop")))
    (build-system r-build-system)
    (propagated-inputs (list r-units r-sp r-sf r-gstat))
    (native-inputs (list gfortran))
    (home-page "https://cran.r-project.org/package=rtop")
    (synopsis "Interpolation of Data with Variable Spatial Support")
    (description
     "Data with irregular spatial support, such as runoff related data or data from
administrative units, can with rtop be interpolated to locations without
observations with the top-kriging method.  A description of the package is given
by SkÃ¸ien et al (2014) <doi:10.1016/j.cageo.2014.02.009>.")
    (license license:gpl2+)))

(define-public r-rtoot
  (package
    (name "r-rtoot")
    (version "0.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtoot" version))
       (sha256
        (base32 "0zil9zkmgwmncw1q4nxrnz93bmjg0lfa34qbrf6a5yj63x4dmwar"))))
    (properties `((upstream-name . "rtoot")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-curl
                             r-clipr))
    (native-inputs (list r-knitr))
    (home-page "https://gesistsa.github.io/rtoot/")
    (synopsis "Collecting and Analyzing Mastodon Data")
    (description
     "An implementation of calls designed to collect and organize Mastodon data via
its Application Program Interfaces (API), which can be found at the following
URL: <https://docs.joinmastodon.org/>.")
    (license license:expat)))

(define-public r-rtodoist
  (package
    (name "r-rtodoist")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtodoist" version))
       (sha256
        (base32 "12lh14ps4snlyykhc65nvn8ipic8is8ssmgcx73snmifhrzxgdyb"))))
    (properties `((upstream-name . "rtodoist")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr
                             r-magrittr
                             r-keyring
                             r-httr
                             r-glue
                             r-getpass
                             r-dplyr
                             r-digest))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ThinkR-open/rtodoist")
    (synopsis "Create and Manage Todolist using 'Todoist.com' API")
    (description
     "Allows you to interact with the API of the \"Todoist\" platform.  Todoist
<https://todoist.com/> provides an online task manager service for teams.")
    (license license:expat)))

(define-public r-rtnmin
  (package
    (name "r-rtnmin")
    (version "2016-7.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rtnmin" version))
       (sha256
        (base32 "0f8ii87v29v61b93hx2yxdppp3nvgnl5imp80sbb4bjsdg0mf989"))))
    (properties `((upstream-name . "Rtnmin")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=Rtnmin")
    (synopsis "Truncated Newton Function Minimization with Bounds Constraints")
    (description
     "Truncated Newton function minimization with bounds constraints based on the
Matlab'/'Octave codes of Stephen Nash.")
    (license license:gpl2+)))

(define-public r-rtms
  (package
    (name "r-rtms")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtms" version))
       (sha256
        (base32 "0zqa386i37wlicwriahmjmx39q4pqyx92p8v895w8s1nssma8nnh"))))
    (properties `((upstream-name . "rtms")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2))
    (home-page "https://cran.r-project.org/package=rtms")
    (synopsis "R Toolkit for Mass Spectrometry")
    (description
     "Quickly imports, processes, analyzes, and visualizes mass-spectrometric data.
Includes functions for easily extracting specific data and measurements from
large (multi-gigabyte) raw Bruker data files, as well as a set of S3 object
classes for manipulating and measuring mass spectrometric peaks and plotting
peaks and spectra using the ggplot2 package.")
    (license license:gpl3+)))

(define-public r-rtmpt
  (package
    (name "r-rtmpt")
    (version "2.0-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtmpt" version))
       (sha256
        (base32 "0isd7vwr1qbyzym0awmgb38fiix8v8r46ckl0d24q0hqls3aydz5"))))
    (properties `((upstream-name . "rtmpt")))
    (build-system r-build-system)
    (inputs (list gsl))
    (propagated-inputs (list r-truncnorm
                             r-stringr
                             r-ryacas
                             r-loo
                             r-data-table
                             r-coda))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rtmpt")
    (synopsis "Fitting (Exponential/Diffusion) RT-MPT Models")
    (description
     "Fit (exponential or diffusion) response-time extended multinomial processing
tree (RT-MPT) models by Klauer and	Kellen (2018) <doi:10.1016/j.jmp.2017.12.003>
and Klauer, Hartmann, and Meyer-Grant (submitted).  The RT-MPT class not only
incorporate	frequencies like traditional multinomial processing tree (MPT)
models, but also latencies.  This enables it	to estimate process completion
times and encoding plus motor execution times next to the process
probabilities	of traditional MPTs.  rtmpt is a hierarchical Bayesian framework
and posterior samples are sampled using a Metropolis-within-Gibbs sampler (for
exponential RT-MPTs) or Hamiltonian-within-Gibbs sampler (for diffusion
RT-MPTs).")
    (license license:gpl2+)))

(define-public r-rtmb
  (package
    (name "r-rtmb")
    (version "1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTMB" version))
       (sha256
        (base32 "1d9b8rxx9nj7psjcsvsv51lyik6cki3dqm996yhjysycd8ncpfx7"))))
    (properties `((upstream-name . "RTMB")))
    (build-system r-build-system)
    (propagated-inputs (list r-tmb r-rcppeigen r-rcpp r-matrix r-mass))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://github.com/kaskr/RTMB")
    (synopsis "'R' Bindings for 'TMB'")
    (description
     "Native R interface to TMB (Template Model Builder) so models can be written
entirely in R rather than C++'.  Automatic differentiation, to any order, is
available for a rich subset of R features, including linear algebra for dense
and sparse matrices, complex arithmetic, Fast Fourier Transform, probability
distributions and special functions.  RTMB provides easy access to model fitting
and validation following the principles of Kristensen, K., Nielsen, A., Berg, C.
W., Skaug, H., & Bell, B. M. (2016) <DOI:10.18637/jss.v070.i05> and Thygesen,
U.H., Albertsen, C.M., Berg, C.W. et al. (2017) <DOI:10.1007/s10651-017-0372-4>.")
    (license license:gpl2+)))

(define-public r-rtlsdeep
  (package
    (name "r-rtlsdeep")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTLsDeep" version))
       (sha256
        (base32 "1hkhshpcfdrv7df8lawsgmbrfkmbasd1jc4dddz6yzc21fkg136p"))))
    (properties `((upstream-name . "rTLsDeep")))
    (build-system r-build-system)
    (propagated-inputs (list r-tensorflow
                             r-sf
                             r-rgl
                             r-reticulate
                             r-matrixstats
                             r-lidr
                             r-keras
                             r-ggplot2
                             r-caret))
    (home-page "https://github.com/carlos-alberto-silva/rTLsDeep")
    (synopsis "Post-Hurricane Damage Severity Classification from TLS and AI")
    (description
     "Terrestrial laser scanning (TLS) data processing and post-hurricane damage
severity classification at the individual tree level usingÂ deepÂ Learning.
Further details were published in Klauberg et al. (2023)
<doi:10.3390/rs15041165>.")
    (license license:gpl3)))

(define-public r-rtlr
  (package
    (name "r-rtlr")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtlr" version))
       (sha256
        (base32 "1jvm45kkz6gfwnhaxy06snh1r3qc4ayrb84mi2zy2n2axhb2lvng"))))
    (properties `((upstream-name . "rtlr")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-lifecycle))
    (home-page "https://github.com/matanhakim/rtlr")
    (synopsis "Print Right-to-Left Languages Correctly")
    (description
     "Convenience functions to make some common tasks with right-to-left string
printing easier, more convenient and with no need to remember long Unicode
characters.  Specifically helpful for right-to-left languages such as Arabic,
Persian and Hebrew.")
    (license license:expat)))

(define-public r-rtlknitr
  (package
    (name "r-rtlknitr")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTLknitr" version))
       (sha256
        (base32 "125sx7gy8gnyhz15cjrmqwrh32w3nd49d8qwg0grj3q12v03i8ca"))))
    (properties `((upstream-name . "RTLknitr")))
    (build-system r-build-system)
    (propagated-inputs (list r-magrittr r-knitr r-gt r-bookdown))
    (home-page "https://github.com/FoadEsmaeili5/RTLknitr")
    (synopsis "Right to Left Dynamic Documents Using 'knitr'")
    (description
     "Provide seamless support for right-to-left (RTL) languages, such as Persian and
Arabic, in R Markdown documents and @code{LaTeX} output.  It includes functions
and hooks that enable easy integration of RTL language content, allowing users
to create documents that adhere to RTL writing conventions.  For in-depth
insights into dynamic documents and the knitr package, consider referring to
Xie, Y (2014) <ISBN: 978-1-482-20353-0>.")
    (license license:gpl2+)))

(define-public r-rtl
  (package
    (name "r-rtl")
    (version "1.3.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTL" version))
       (sha256
        (base32 "0ajdrwg8g68imwj21l9mh8q9n1xc00d8lxw60p6vnb39m730d8vg"))))
    (properties `((upstream-name . "RTL")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-ttr
                             r-tsibble
                             r-timetk
                             r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-readr
                             r-rcpp
                             r-purrr
                             r-plotly
                             r-performanceanalytics
                             r-magrittr
                             r-lubridate
                             r-lifecycle
                             r-jsonlite
                             r-httr
                             r-glue
                             r-ggplot2
                             r-dplyr))
    (home-page "https://github.com/risktoollib/RTL")
    (synopsis "Risk Tool Library - Trading, Risk, 'Analytics' for Commodities")
    (description
     "This package provides a toolkit for Commodities analytics', risk management and
trading professionals.  Includes functions for API calls to
<https://commodities.morningstar.com/#/>, <https://developer.genscape.com/>, and
<https://www.bankofcanada.ca/valet/docs>.")
    (license license:expat)))

(define-public r-rtkore
  (package
    (name "r-rtkore")
    (version "1.6.12")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtkore" version))
       (sha256
        (base32 "10mwa5m6papd6a3vx7zb36fy93wjkhzyxgcvi3i88lslh5hsccnm"))))
    (properties `((upstream-name . "rtkore")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-inline))
    (home-page "http://www.stkpp.org")
    (synopsis "'STK++' Core Library Integration to 'R' using 'Rcpp'")
    (description
     "STK++ <http://www.stkpp.org> is a collection of C++ classes for statistics,
clustering, linear algebra, arrays (with an Eigen'-like API), regression,
dimension reduction, etc.  The integration of the library to R is using Rcpp'.
The rtkore package includes the header files from the STK++ core library.  All
files contain only template classes and/or inline functions.  STK++ is licensed
under the GNU LGPL version 2 or later.  rtkore (the stkpp integration into R')
is licensed under the GNU GPL version 2 or later.  See file LICENSE.note for
details.")
    (license license:gpl2+)))

(define-public r-rtk
  (package
    (name "r-rtk")
    (version "0.2.6.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtk" version))
       (sha256
        (base32 "1xafmp5y5p8fnsh16wj8n08x69v2hawnsvsy7g4dcz1i5xkhyc0m"))))
    (properties `((upstream-name . "rtk")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=rtk")
    (synopsis "Rarefaction Tool Kit")
    (description "Rarefy data, calculate diversity and plot the results.")
    (license license:gpl2+)))

(define-public r-rtist
  (package
    (name "r-rtist")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtist" version))
       (sha256
        (base32 "0p4jlz0z0nbvmixdrym6nqagz2i28zbsijcj785rd6wiy72d2hg5"))))
    (properties `((upstream-name . "rtist")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rtist")
    (synopsis "Color Palette Generator")
    (description "Color palettes from famous artists and paintings.")
    (license license:expat)))

(define-public r-rtip
  (package
    (name "r-rtip")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtip" version))
       (sha256
        (base32 "0lfny8nvgnf90xsmgmr32nzjbw8117m4vw7d0bc3xm4pzpnymjdq"))))
    (properties `((upstream-name . "rtip")))
    (build-system r-build-system)
    (propagated-inputs (list r-rootsolve r-plyr r-mvtnorm r-ggplot2 r-boot))
    (home-page "https://cran.r-project.org/package=rtip")
    (synopsis
     "Inequality, Welfare and Poverty Indices and Curves using the EU-SILC Data")
    (description
     "R tools to measure and compare inequality, welfare and poverty using the EU
statistics on income and living conditions surveys.")
    (license license:gpl3)))

(define-public r-rtika
  (package
    (name "r-rtika")
    (version "2.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtika" version))
       (sha256
        (base32 "11m4czs6wiybdcck3b4s6nzm47zf029mdik7n013yihvxp4q6rbs"))))
    (properties `((upstream-name . "rtika")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-sys r-digest r-curl r-backports))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rtika/")
    (synopsis "R Interface to 'Apache Tika'")
    (description
     "Extract text or metadata from over a thousand file types, using Apache Tika
<https://tika.apache.org/>.  Get either plain text or structured XHTML content.")
    (license (list license:asl2.0
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rtiger
  (package
    (name "r-rtiger")
    (version "2.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTIGER" version))
       (sha256
        (base32 "08gs26wv6jnd4rzdhb87as26aslgqs128x1ip8h9nmr3l9mwg5fq"))))
    (properties `((upstream-name . "RTIGER")))
    (build-system r-build-system)
    (propagated-inputs (list r-tailrank
                             r-reshape2
                             r-qpdf
                             r-juliacall
                             r-iranges
                             r-ggplot2
                             r-genomicranges
                             r-genomeinfodb
                             r-extradistr
                             r-e1071))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RTIGER")
    (synopsis "HMM-Based Model for Genotyping and Cross-Over Identification")
    (description
     "Our method integrates information from all sequenced samples, thus avoiding loss
of alleles due to low coverage.  Moreover, it increases the statistical power to
uncover sequencing or alignment errors <doi:10.1093/plphys/kiad191>.")
    (license license:gpl2+)))

(define-public r-rties
  (package
    (name "r-rties")
    (version "5.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rties" version))
       (sha256
        (base32 "1mxgzrlf41hhawab2664az151fmmhm8ivnnimmzm538yliilc0b7"))))
    (properties `((upstream-name . "rties")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-plyr
                             r-nnet
                             r-nlme
                             r-mclust
                             r-mass
                             r-lme4
                             r-lattice
                             r-interactions
                             r-gridextra
                             r-ggplot2
                             r-dplyr
                             r-desolve
                             r-desctools
                             r-datacombine))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rties")
    (synopsis "Modeling Interpersonal Dynamics")
    (description
     "The name of this package grew out of our research on temporal interpersonal
emotion systems (TIES), hence rties'.  It provides tools for using a set of
models to investigate temporal processes in bivariate (e.g., dyadic) systems.
The general approach is to model, one dyad at a time, the dynamics of a variable
that is assessed repeatedly from both partners, extract the parameter estimates
for each dyad, and then use those parameter estimates as input to a latent
profile analysis to extract groups of dyads with qualitatively distinct
dynamics.  Finally, the profile memberships can be used to either predict, or be
predicted by, another variable of interest.  Currently, 2 models are supported:
1) inertia-coordination, and 2) a coupled-oscillator.  Extended documentation is
provided in vignettes.  Theoretical background can be found in Butler (2011)
<doi:10.1177/1088868311411164> and Butler & Barnard (2019)
<doi:10.1097/PSY.0000000000000703>.")
    (license license:gpl3)))

(define-public r-rtide
  (package
    (name "r-rtide")
    (version "0.0.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtide" version))
       (sha256
        (base32 "0911i51sy3pgqcx5al3nf18ncmwafl1xdxhj46j8rmblzqz2iras"))))
    (properties `((upstream-name . "rtide")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-dttr2 r-chk r-abind))
    (home-page "https://github.com/poissonconsulting/rtide")
    (synopsis "Tide Heights")
    (description
     "Calculates tide heights based on tide station harmonics.  It includes the
harmonics data for 637 US stations.  The harmonics data was converted from
<https://github.com/poissonconsulting/rtide/blob/main/data-raw/harmonics-dwf-20151227-free.tar.bz2>,
NOAA web site data processed by David Flater for XTide'.  The code to calculate
tide heights from the harmonics is based on XTide'.")
    (license license:gpl3)))

(define-public r-rtiddlywiki
  (package
    (name "r-rtiddlywiki")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtiddlywiki" version))
       (sha256
        (base32 "1nipbly7b6gn49rwy6mrbg1bnh437qyayxrnskixc0fifzln43xl"))))
    (properties `((upstream-name . "rtiddlywiki")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-settings
                             r-rmarkdown
                             r-jsonlite
                             r-httr
                             r-bookdown))
    (native-inputs (list r-knitr))
    (home-page "https://rtiddlywiki.bangyou.me/")
    (synopsis "R Interface for 'TiddlyWiki'")
    (description
     "@code{TiddlyWiki} is a unique non-linear notebook for capturing, organising and
sharing complex information.  rtiddlywiki is a R interface of @code{TiddlyWiki}
<https://tiddlywiki.com> to create new tiddler from Rmarkdown file, and then put
into a local @code{TiddlyWiki} node.js server if it is available.")
    (license license:expat)))

(define-public r-rticulate
  (package
    (name "r-rticulate")
    (version "1.7.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rticulate" version))
       (sha256
        (base32 "0h22ixngz4nw85s79ssanms9ysvx0kgp0srq2nvyfk4mm7g4hfi7"))))
    (properties `((upstream-name . "rticulate")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tidymv
                             r-tibble
                             r-rlang
                             r-readr
                             r-purrr
                             r-mgcv
                             r-magrittr
                             r-glue
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/stefanocoretta/rticulate")
    (synopsis "Ultrasound Tongue Imaging")
    (description
     "This package provides a tool for processing Articulate Assistant Advancedâ¢
(AAA) export files and plot tongue contour data from any system.")
    (license license:expat)))

(define-public r-rthingsboard
  (package
    (name "r-rthingsboard")
    (version "0.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rthingsboard" version))
       (sha256
        (base32 "165yx215vmsx3r5zqzh0awf5jzznxsapq49c3q5qrhcircbnjfcg"))))
    (properties `((upstream-name . "Rthingsboard")))
    (build-system r-build-system)
    (propagated-inputs (list r-logger r-httr r-dplyr))
    (home-page "https://ddorch.github.io/Rthingsboard/")
    (synopsis "'ThingsBoard' API")
    (description
     "The goal of Rthingsboard is to provide interaction with the API of
@code{ThingsBoard} (<https://thingsboard.io/>), an open-source @code{IoT}
platform for device management, data collection, processing and visualization.")
    (license license:agpl3)))

(define-public r-rtgstat
  (package
    (name "r-rtgstat")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtgstat" version))
       (sha256
        (base32 "1alvs2gd0kp11vlnk6ql2hk6fm1mn5wdkm6p9c8amb1n6i3c097x"))))
    (properties `((upstream-name . "rtgstat")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-snakecase
                             r-purrr
                             r-httr2
                             r-dplyr
                             r-cli))
    (home-page "https://selesnow.github.io/rtgstat/")
    (synopsis "Client for 'TGStat API'")
    (description
     "Allow function for using TGStat Stat API and TGStat Search API', for more
details see <https://api.tgstat.ru/docs/ru/start/intro.html>.  TGStat provide
telegram channel analytics data.")
    (license license:expat)))

(define-public r-rtg
  (package
    (name "r-rtg")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTG" version))
       (sha256
        (base32 "00kdibqi54f6f3zjmmmjyrxh3kg91qvzi5pzwapx86fij8x188jb"))))
    (properties `((upstream-name . "rTG")))
    (build-system r-build-system)
    (propagated-inputs (list r-minpack-lm
                             r-mgcv
                             r-magrittr
                             r-knitr
                             r-ggplot2
                             r-dplyr
                             r-brnn))
    (home-page "https://github.com/jernejjevsenak/rTG")
    (synopsis "Methods to Analyse Seasonal Radial Tree Growth Data")
    (description
     "This package provides methods for comparing different regression algorithms for
describing the temporal dynamics of secondary tree growth (xylem and phloem).
Users can compare the accuracy of the most common fitting methods usually used
to analyse xylem and phloem data, i.e., Gompertz function, Double Gompertz
function, General Additive Models (GAMs); and an algorithm newly introduced to
the field, i.e., Bayesian Regularised Neural Networks (brnn).  The core function
of the package is XPSgrowth(), while the results can be interpreted using
implemented generic S3 methods, such as plot() and summary().")
    (license license:gpl3)))

(define-public r-rtfa
  (package
    (name "r-rtfa")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTFA" version))
       (sha256
        (base32 "09vpyxqmzvkmznwgrm5d1y1rk7j5a2hnjmkczzg0bzij1c8bqkhn"))))
    (properties `((upstream-name . "RTFA")))
    (build-system r-build-system)
    (propagated-inputs (list r-tensor r-rtensor))
    (home-page "https://cran.r-project.org/package=RTFA")
    (synopsis "Robust Factor Analysis for Tensor Time Series")
    (description
     "Tensor Factor Models (TFM) are appealing dimension reduction tools for
high-order tensor time series, and have wide applications in economics, finance
and medical imaging.  We propose an one-step projection estimator by minimizing
the least-square loss function, and further propose a robust estimator with an
iterative weighted projection technique by utilizing the Huber loss function.
The methods are discussed in Barigozzi et al. (2022) <@code{arXiv:2206.09800>},
and Barigozzi et al. (2023) <@code{arXiv:2303.18163>}.")
    (license license:gpl2+)))

(define-public r-rtf
  (package
    (name "r-rtf")
    (version "0.4-14.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtf" version))
       (sha256
        (base32 "032ff0yavqmd2d9svgwkmvxwh0cxjbac6pj48v4cshi898f02rhh"))))
    (properties `((upstream-name . "rtf")))
    (build-system r-build-system)
    (propagated-inputs (list r-r-oo r-r-methodss3))
    (home-page "https://github.com/schaffman5/rtf")
    (synopsis "Rich Text Format (RTF) Output")
    (description
     "This package provides a set of R functions to output Rich Text Format (RTF)
files with high resolution tables and graphics that may be edited with a
standard word processor such as Microsoft Word.")
    (license license:gpl2+)))

(define-public r-rtexttools
  (package
    (name "r-rtexttools")
    (version "1.4.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTextTools" version))
       (sha256
        (base32 "0fxjviqc36k06rn8xzbi8ylzzj9zgf3zsp6xv0kssakss1a45lzz"))))
    (properties `((upstream-name . "RTextTools")))
    (build-system r-build-system)
    (propagated-inputs (list r-tree
                             r-tm
                             r-tau
                             r-sparsem
                             r-randomforest
                             r-nnet
                             r-ipred
                             r-glmnet
                             r-e1071
                             r-catools))
    (home-page "http://www.rtexttools.com/")
    (synopsis "Automatic Text Classification via Supervised Learning")
    (description
     "This package provides a machine learning package for automatic text
classification that makes it simple for novice users to get started with machine
learning, while allowing experienced users to easily experiment with different
settings and algorithm combinations.  The package includes eight algorithms for
ensemble classification (svm, slda, boosting, bagging, random forests, glmnet,
decision trees, neural networks), comprehensive analytics, and thorough
documentation.")
    (license license:gpl3)))

(define-public r-rtern
  (package
    (name "r-rtern")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtern" version))
       (sha256
        (base32 "0i9493f3rykhjxwbvydz6aikzkwfphq3dyc8jw0fzw057zd24cgb"))))
    (properties `((upstream-name . "rtern")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang))
    (home-page "https://github.com/grddavies/rtern")
    (synopsis "Ternary Conditional Operator for R")
    (description
     "This package provides a small language extension for succinct conditional
assignment using `?` and `:`, emulating the conditional ternary operator syntax
using in C, Java, @code{JavaScript} and other languages.")
    (license license:expat)))

(define-public r-rtephra
  (package
    (name "r-rtephra")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTephra" version))
       (sha256
        (base32 "045f2sp2j4hiwa9k1vs6cxr59x1yr34jq1z2crasxflsxbwa3xz8"))))
    (properties `((upstream-name . "rTephra")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rTephra")
    (synopsis "Tephra Transport Modeling")
    (description
     "Models and displays tephra transport through custom (windy, turbulent,
heterogeneous) atmosphere over custom topography.  Includes a Lagrangian
(particle-tracking) tephra transport model and a function to save snapshots of
model as png files.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rtensor2
  (package
    (name "r-rtensor2")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTensor2" version))
       (sha256
        (base32 "0bangmph2hmk50gx21dkky0b22aimh168bndbp7a0s5vg2m49ijz"))))
    (properties `((upstream-name . "rTensor2")))
    (build-system r-build-system)
    (propagated-inputs (list r-wavethresh
                             r-rtensor
                             r-raster
                             r-png
                             r-matrixcalc
                             r-matrix
                             r-gsignal))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rTensor2")
    (synopsis "MultiLinear Algebra")
    (description
     "This package provides a set of tools for basic tensor operators.  A tensor in
the context of data analysis in a multidimensional array.  The tools in this
package rely on using any discrete transformation (e.g. Fast Fourier Transform
(FFT)).  Standard tools included are the Eigenvalue decomposition of a tensor,
the QR decomposition and LU decomposition.  Other functionality includes the
inverse of a tensor and the transpose of a symmetric tensor.  Functionality in
the package is outlined in Kernfeld et al. (2015)
<https://www.sciencedirect.com/science/article/pii/S0024379515004358>.")
    (license license:gpl3)))

(define-public r-rtensor
  (package
    (name "r-rtensor")
    (version "1.4.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTensor" version))
       (sha256
        (base32 "1ks4rwaish24sg5gc2jkfdqfq6h8gh9f3wdxk3dxjgpwjqwijz8f"))))
    (properties `((upstream-name . "rTensor")))
    (build-system r-build-system)
    (home-page "https://github.com/rikenbit/rTensor")
    (synopsis "Tools for Tensor Analysis and Decomposition")
    (description
     "This package provides a set of tools for creation, manipulation, and modeling of
tensors with arbitrary number of modes.  A tensor in the context of data
analysis is a multidimensional array. @code{rTensor} does this by providing a S4
class Tensor that wraps around the base array class. @code{rTensor} provides
common tensor operations as methods, including matrix unfolding,
summing/averaging across modes, calculating the Frobenius norm, and taking the
inner product between two tensors.  Familiar array operations are overloaded,
such as index subsetting via [ and element-wise operations. @code{rTensor} also
implements various tensor decomposition, including CP, GLRAM, MPCA, PVD, and
Tucker.  For tensors with 3 modes, @code{rTensor} also implements transpose,
t-product, and t-SVD, as defined in Kilmer et al. (2013).  Some auxiliary
functions include the Khatri-Rao product, Kronecker product, and the Hadamard
product for a list of matrices.")
    (license license:gpl2+)))

(define-public r-rtemps
  (package
    (name "r-rtemps")
    (version "0.8.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtemps" version))
       (sha256
        (base32 "1x64j13g1lv0s7yy1b4453l7xnscgf079hkgkp8dv9c38g0mfx98"))))
    (properties `((upstream-name . "rtemps")))
    (build-system r-build-system)
    (propagated-inputs (list r-xfun
                             r-rmarkdown
                             r-knitr
                             r-ggplot2
                             r-dt
                             r-bookdown))
    (home-page "https://github.com/bblodfon/rtemps")
    (synopsis "R Templates for Reproducible Data Analyses")
    (description
     "This package provides a collection of R Markdown templates for nicely
structured, reproducible data analyses in R. The templates have embedded
examples on how to write citations, footnotes, equations and use colored
message/info boxes, how to cross-reference different parts/sections in the
report, provide a nice table of contents (toc) with a References section and
proper R session information as well as examples using DT tables and ggplot2
graphs.  The bookdown Lite template theme supports code folding.")
    (license license:expat)))

(define-public r-rtematres
  (package
    (name "r-rtematres")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtematres" version))
       (sha256
        (base32 "1d0vrprvnlk4hl2dbc6px9xn9kx9d1qvlqxd798hzda6qg5wwvf2"))))
    (properties `((upstream-name . "rtematres")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml r-rcurl r-plyr r-gdata))
    (home-page "https://github.com/cpfaff/rtematres")
    (synopsis "The rtematres API package")
    (description
     "Exploit controlled vocabularies organized on tematres servers.")
    (license license:gpl3)))

(define-public r-rtdists
  (package
    (name "r-rtdists")
    (version "0.11-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtdists" version))
       (sha256
        (base32 "1v8yhyvliw3dm3ciwxxaa9spfw05wp334l7gmvgv20mab2kjxkwp"))))
    (properties `((upstream-name . "rtdists")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-msm r-gsl r-evd))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rtdists/rtdists/")
    (synopsis "Response Time Distributions")
    (description
     "This package provides response time distributions (density/PDF, distribution
function/CDF, quantile function, and random generation): (a) Ratcliff diffusion
model (Ratcliff & @code{McKoon}, 2008, <doi:10.1162/neco.2008.12-06-420>) based
on C code by Andreas and Jochen Voss and (b) linear ballistic accumulator (LBA;
Brown & Heathcote, 2008, <doi:10.1016/j.cogpsych.2007.12.002>) with different
distributions underlying the drift rate.")
    (license license:gpl3+)))

(define-public r-rtde
  (package
    (name "r-rtde")
    (version "0.2-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTDE" version))
       (sha256
        (base32 "1hf5jr071wzj5ms5s2a5cbwr32iycx8h1wlnbmd6p9biljawbpwd"))))
    (properties `((upstream-name . "RTDE")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RTDE")
    (synopsis "Robust Tail Dependence Estimation")
    (description
     "Robust tail dependence estimation for bivariate models.  This package is based
on two papers by the authors:'Robust and bias-corrected estimation of the
coefficient of tail dependence and Robust and bias-corrected estimation of
probabilities of extreme failure sets'.  This work was supported by a research
grant (VKR023480) from VILLUM FONDEN and an international project for scientific
cooperation (PICS-6416).")
    (license license:gpl2+)))

(define-public r-rtd
  (package
    (name "r-rtd")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTD" version))
       (sha256
        (base32 "0zsv62hx1y9q5a6rd8ri91ff64671b84jr3f88h0q4yni2mribhr"))))
    (properties `((upstream-name . "RTD")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-uuid
                             r-urltools
                             r-readr
                             r-rcppmsgpack
                             r-purrr
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (home-page "https://github.com/treasure-data/RTD")
    (synopsis "Simple TD API Client")
    (description
     "Upload R data.frame to Arm Treasure Data, see <https://www.treasuredata.com/>.
You can execute database or table handling for resources on Arm Treasure Data.")
    (license (list license:asl2.0
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rtcrbcrr
  (package
    (name "r-rtcrbcrr")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTCRBCRr" version))
       (sha256
        (base32 "0k4blxbnyzgfgcvn59zw8fnw6avhgbmbgkk6a1ycpz1jijy1sn2z"))))
    (properties `((upstream-name . "rTCRBCRr")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect r-tidyr r-readr r-magrittr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rTCRBCRr")
    (synopsis "Repertoire Analysis of the Detected Clonotype")
    (description
     "The TRUST4 or @code{MiXCR} is used to identify the clonotypes.  The goal of
@code{rTCRBCRr} is to process the results from these clonotyping tools, and
analyze the clonotype repertoire metrics based on chain names and IGH isotypes.
The manuscript is still under preparation for publication for now.  The
references describing the methods in this package will be added later.")
    (license license:expat)))

(define-public r-rtcc
  (package
    (name "r-rtcc")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTCC" version))
       (sha256
        (base32 "0bnm0qwikbbpq3i5q5fwmsgi8fn7w0xk993ngpiqbrf5my3h93kc"))))
    (properties `((upstream-name . "RTCC")))
    (build-system r-build-system)
    (propagated-inputs (list r-vegan r-testthat r-rcpp r-matrixstats))
    (home-page "https://cran.r-project.org/package=RTCC")
    (synopsis "Detecting Trait Clustering in Environmental Gradients")
    (description
     "The Randomized Trait Community Clustering method (Triado-Margarit et al., 2019,
<doi:10.1038/s41396-019-0454-4>) is a statistical approach which allows to
determine whether if an observed trait clustering pattern is related to an
increasing environmental constrain.  The method 1) determines whether exists or
not a trait clustering on the sampled communities and 2) assess if the observed
clustering signal is related or not to an increasing environmental constrain
along an environmental gradient.  Also, when the effect of the environmental
gradient is not linear, allows to determine consistent thresholds on the
community assembly based on trait-values.")
    (license license:gpl3)))

(define-public r-rtaxometrics
  (package
    (name "r-rtaxometrics")
    (version "3.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RTaxometrics" version))
       (sha256
        (base32 "0f87r45lnygxxlwjq04q08ams7llnjlrfyavx81fbl2g26yp988l"))))
    (properties `((upstream-name . "RTaxometrics")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RTaxometrics")
    (synopsis "Taxometric Analysis")
    (description
     "We provide functions to perform taxometric analyses.  This package contains 46
functions, but only 5 should be called directly by users. @code{CheckData}()
should be run prior to any taxometric analysis to ensure that the data are
appropriate for taxometric analysis. @code{RunTaxometrics}() performs taxometric
analyses for a sample of data. @code{RunCCFIProfile}() performs a series of
taxometric analyses to generate a CCFI profile. @code{CreateData}() generates a
sample of categorical or dimensional data. @code{ClassifyCases}() assigns cases
to groups using the base-rate classification method.")
    (license license:expat)))

(define-public r-rtauchen
  (package
    (name "r-rtauchen")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rtauchen" version))
       (sha256
        (base32 "09282k6qsjxgm26682npfjymmbx5g8flcc44awmkjl2k4fa1q9ha"))))
    (properties `((upstream-name . "Rtauchen")))
    (build-system r-build-system)
    (home-page "https://github.com/davidzarruk/Rtauchen")
    (synopsis "Discretization of AR(1) Processes")
    (description
     "Discretize AR(1) process following Tauchen (1986)
<http://www.sciencedirect.com/science/article/pii/0165176586901680>.  A discrete
Markov chain that approximates in the sense of weak convergence a
continuous-valued univariate Autoregressive process of first order is generated.
 It is a popular method used in economics and in finance.")
    (license license:gpl2+)))

(define-public r-rtape
  (package
    (name "r-rtape")
    (version "2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtape" version))
       (sha256
        (base32 "0q7rs7pc1k1kayr734lvh367j5qig2nnq5mgak1wbpimhl7z3wm7"))))
    (properties `((upstream-name . "rtape")))
    (build-system r-build-system)
    (home-page "http://mbq.me/rtape")
    (synopsis
     "Manage and manipulate large collections of R objects stored as tape-like files")
    (description
     "Storing huge data in RData format causes problems because of the necessity to
load the whole file to the memory in order to access and manipulate objects
inside such file; rtape is a simple solution to this problem.  The package
contains several wrappers of R built-in serialize/unserialize mechanism allowing
user to quickly append objects to a tape-like file and later iterate over them
requiring only one copy of each stored object to reside in memory a time.")
    (license license:gpl2)))

(define-public r-rtapas
  (package
    (name "r-rtapas")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rtapas" version))
       (sha256
        (base32 "0vcd3zbrckmszj1w8jrjybym0y4dfaljajdr48fbx0x52cqly865"))))
    (properties `((upstream-name . "Rtapas")))
    (build-system r-build-system)
    (propagated-inputs (list r-vegan
                             r-stringr
                             r-phytools
                             r-parallelly
                             r-paco
                             r-distory
                             r-ape))
    (home-page "https://cran.r-project.org/package=Rtapas")
    (synopsis "Random Tanglegram Partitions")
    (description
     "Applies a given global-fit method to random partial tanglegrams of a fixed size
to identify the associations, terminals, and nodes that maximize phylogenetic
(in)congruence.  It also includes functions to compute more easily the
confidence intervals of classification metrics and plot results, reducing
computational time.  See Llaberia-Robledillo et al., (2023)
<doi:10.1093/sysbio/syad016>.")
    (license license:expat)))

(define-public r-rtabulator
  (package
    (name "r-rtabulator")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtabulator" version))
       (sha256
        (base32 "0z2l8zxhx12pyhffz4x3n5glmg4ikjm1ijmq8dwwz0y7k3j82wri"))))
    (properties `((upstream-name . "rtabulator")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-shiny
                             r-readr
                             r-purrr
                             r-htmlwidgets
                             r-htmltools
                             r-glue))
    (native-inputs (list esbuild))
    (home-page "https://cran.r-project.org/package=rtabulator")
    (synopsis "R Bindings for 'Tabulator JS'")
    (description
     "This package provides R bindings for Tabulator JS <https://tabulator.info/>.
Makes it a breeze to create highly customizable interactive tables in rmarkdown
documents and shiny applications.  It includes filtering, grouping, editing,
input validation, history recording, column formatters, packaged themes and
more.")
    (license license:expat)))

(define-public r-rtables
  (package
    (name "r-rtables")
    (version "0.6.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rtables" version))
       (sha256
        (base32 "1kjzxj5rgcpzyr86sq375j4hy322lfw6cnid7hfyxzwirmhzi684"))))
    (properties `((upstream-name . "rtables")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringi
                             r-magrittr
                             r-lifecycle
                             r-htmltools
                             r-formatters
                             r-checkmate))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://github.com/insightsengineering/rtables")
    (synopsis "Reporting Tables")
    (description
     "Reporting tables often have structure that goes beyond simple rectangular data.
The rtables package provides a framework for declaring complex multi-level
tabulations and then applying them to data.  This framework models both
tabulation and the resulting tables as hierarchical, tree-like objects which
support sibling sub-tables, arbitrary splitting or grouping of data in row and
column dimensions, cells containing multiple values, and the concept of
contextual summary computations.  A convenient pipe-able interface is provided
for declaring table layouts and the corresponding computations, and then
applying them to data.")
    (license (list license:asl2.0
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rtableicc
  (package
    (name "r-rtableicc")
    (version "1.0.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rTableICC" version))
       (sha256
        (base32 "110jcrry258mw6dskv1p3pz5h9161y2dk3m8xl92ycvjfnxxzcbx"))))
    (properties `((upstream-name . "rTableICC")))
    (build-system r-build-system)
    (propagated-inputs (list r-partitions r-aster))
    (home-page "https://cran.r-project.org/package=rTableICC")
    (synopsis "Random Generation of Contingency Tables")
    (description
     "This package contains functions for random generation of R x C and 2 x 2 x K
contingency tables.  In addition to the generation of contingency tables over
predetermined intraclass-correlated clusters, it is possible to generate
contingency tables without intraclass correlations under product multinomial,
multinomial, and Poisson sampling plans.  It also consists of a function for
generation of random data from a given discrete probability distribution
function.  See Demirhan (2016)
<https://journal.r-project.org/archive/2016-1/demirhan.pdf> for more
information.")
    (license license:gpl3)))

(define-public r-rt3
  (package
    (name "r-rt3")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rt3" version))
       (sha256
        (base32 "1fqbymkz4csavkxrs26glzrh0kw3qy9x5smgddgda9a1dxh9ljkm"))))
    (properties `((upstream-name . "rt3")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rt3")
    (synopsis "Tic-Tac-Toe Package for R")
    (description "Play the classic game of tic-tac-toe (naughts and crosses).")
    (license license:expat)))

(define-public r-rt-test
  (package
    (name "r-rt-test")
    (version "1.18.7.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rt.test" version))
       (sha256
        (base32 "0ywkdjvfzmrmmsfkz4jbhwzbzv7wivx80xy8wr92dch1862h6ias"))))
    (properties `((upstream-name . "rt.test")))
    (build-system r-build-system)
    (home-page "https://github.com/statpnu/R-package")
    (synopsis "Robustified t-Test")
    (description
     "This package performs one-sample t-test based on robustified statistics using
median/MAD (TA) and Hodges-Lehmann/Shamos (TB).  For more details, see Park and
Wang (2018)<@code{arXiv:1807.02215>}.  This work was partially supported by the
National Research Foundation of Korea (NRF) grant funded by the Korea government
(No.  NRF-2017R1A2B4004169).")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rt
  (package
    (name "r-rt")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rt" version))
       (sha256
        (base32 "1wwx3pjwsqvar25cddc4090vcngir81a7n9yiv4q8i47h58xmc2g"))))
    (properties `((upstream-name . "rt")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/nceas/rt")
    (synopsis "Interface to the 'Request Tracker' API")
    (description
     "This package provides a programmatic interface to the Request Tracker (RT) HTTP
API <https://rt-wiki.bestpractical.com/wiki/REST>.  RT is a popular ticket
tracking system.")
    (license license:expat)))

(define-public r-rsyslog
  (package
    (name "r-rsyslog")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsyslog" version))
       (sha256
        (base32 "1wslqvc8d49qz13vixfb8pqinb5p1k0w297wvflslhfkk5rx98x4"))))
    (properties `((upstream-name . "rsyslog")))
    (build-system r-build-system)
    (home-page "https://github.com/atheriel/rsyslog")
    (synopsis "Interface to the 'syslog' System Logger")
    (description
     "This package provides functions to write messages to the syslog system logger
API, available on all POSIX'-compatible operating systems.  Features include
tagging messages with a priority level and application type, as well as masking
(hiding) messages below a given priority level.")
    (license license:gpl2+)))

(define-public r-rsyntax
  (package
    (name "r-rsyntax")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsyntax" version))
       (sha256
        (base32 "0bmi0qc535scdzrdr9sxnigby5ynw9dk95f99p55plc506z3pfya"))))
    (properties `((upstream-name . "rsyntax")))
    (build-system r-build-system)
    (propagated-inputs (list r-tokenbrowser
                             r-tidyselect
                             r-stringi
                             r-rlang
                             r-png
                             r-magrittr
                             r-igraph
                             r-digest
                             r-data-table
                             r-base64enc))
    (home-page "https://cran.r-project.org/package=rsyntax")
    (synopsis
     "Extract Semantic Relations from Text by Querying and Reshaping Syntax")
    (description
     "Various functions for querying and reshaping dependency trees, as for instance
created with the spacyr or udpipe packages.  This enables the automatic
extraction of useful semantic relations from texts, such as quotes (who said
what) and clauses (who did what).  Method proposed in Van Atteveldt et al.
(2017) <doi:10.1017/pan.2016.12>.")
    (license license:gpl3)))

(define-public r-rsyncrosim
  (package
    (name "r-rsyncrosim")
    (version "2.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsyncrosim" version))
       (sha256
        (base32 "0s5nprv5nij08d5ha55q71j4lqbybk2g70n2sb5g88dlcq71xfqm"))))
    (properties `((upstream-name . "rsyncrosim")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-terra r-rsqlite r-gtools r-dbi))
    (home-page "https://syncrosim.github.io/rsyncrosim/")
    (synopsis "The R Interface to 'SyncroSim'")
    (description
     "@code{SyncroSim} is a generalized framework for managing scenario-based datasets
(<https://syncrosim.com/>).  rsyncrosim provides an interface to
@code{SyncroSim}'.  Simulation models can be added to @code{SyncroSim} in order
to transform these datasets, taking advantage of general features such as
defining scenarios of model inputs, running Monte Carlo simulations, and
summarizing model outputs.  rsyncrosim requires @code{SyncroSim} 2.3.5 or higher
(API documentation: <https://docs.syncrosim.com/>).")
    (license license:expat)))

(define-public r-rsymphony
  (package
    (name "r-rsymphony")
    (version "0.1-33")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rsymphony" version))
       (sha256
        (base32 "1y2jcpzi8zn6rxwmp3gxyyk8nq204ri8vv6p4552hb55nnvqvc8s"))))
    (properties `((upstream-name . "Rsymphony")))
    (build-system r-build-system)
    (inputs (list zlib))
    (native-inputs (list pkg-config))
    (home-page "https://R-Forge.R-project.org/projects/rsymphony")
    (synopsis "SYMPHONY in R")
    (description
     "An R interface to the SYMPHONY solver for mixed-integer linear programs.")
    (license (license:fsdg-compatible "EPL"))))

(define-public r-rswipl
  (package
    (name "r-rswipl")
    (version "9.3.12")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rswipl" version))
       (sha256
        (base32 "1r6jzkpynj9g9rzll6dkqc9y7czc7zgmymb78pm9x9c07yrhr7cl"))))
    (properties `((upstream-name . "rswipl")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (inputs (list zlib
                  pandoc
                  zstd
                  zlib
                  xz
                  lz4
                  expat
                  libarchive
                  cmake))
    (propagated-inputs (list r-rcpp))
    (native-inputs (list pkg-config esbuild))
    (home-page "https://github.com/mgondan/rswipl")
    (synopsis "Embed 'SWI'-'Prolog'")
    (description
     "Interface to SWI'-'Prolog', <https://www.swi-prolog.org/>.  This package is
normally not loaded directly, please refer to package rolog instead.  The
purpose of this package is to provide the Prolog runtime on systems that do not
have a software installation of SWI'-'Prolog'.")
    (license (license:fsdg-compatible "FreeBSD"))))

(define-public r-rsvddpd
  (package
    (name "r-rsvddpd")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsvddpd" version))
       (sha256
        (base32 "0p2cpv3ipkvl27zhncpcyxp6lqw54ncdnxyk659qc24l0fqbw7dc"))))
    (properties `((upstream-name . "rsvddpd")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-matrixstats r-mass))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/subroy13/rsvddpd")
    (synopsis
     "Robust Singular Value Decomposition using Density Power Divergence")
    (description
     "Computing singular value decomposition with robustness is a challenging task.
This package provides an implementation of computing robust SVD using density
power divergence (<@code{arXiv:2109.10680>}).  It combines the idea of
robustness and efficiency in estimation based on a tuning parameter.  It also
provides utility functions to simulate various scenarios to compare performances
of different algorithms.")
    (license license:expat)))

(define-public r-rsurveycto
  (package
    (name "r-rsurveycto")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsurveycto" version))
       (sha256
        (base32 "1s2slc7wlbrsvw0jnsimchypn6f8jmcs8fkc12a0f02lalgm21qn"))))
    (properties `((upstream-name . "rsurveycto")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-vctrs
                             r-rlang
                             r-readxl
                             r-lifecycle
                             r-jsonlite
                             r-httr
                             r-glue
                             r-data-table
                             r-curl
                             r-cli
                             r-checkmate))
    (home-page "https://agency-fund.github.io/rsurveycto/")
    (synopsis "Interact with Data on 'SurveyCTO'")
    (description
     "@code{SurveyCTO} is a platform for mobile data collection in offline settings.
The rsurveycto R package uses the @code{SurveyCTO} REST API
<https://docs.surveycto.com/05-exporting-and-publishing-data/05-api-access/01.api-access.html>
to read datasets and forms from a @code{SurveyCTO} server into R as data.table's
and to download file attachments.  The package also has limited support to write
datasets to a server.")
    (license license:expat)))

(define-public r-rsurveillance
  (package
    (name "r-rsurveillance")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSurveillance" version))
       (sha256
        (base32 "02jbm9xl2jg9cgq53i1cvj1rivhprgd07k1rxsayzrskvbmvyjpd"))))
    (properties `((upstream-name . "RSurveillance")))
    (build-system r-build-system)
    (propagated-inputs (list r-mc2d r-epitools r-epir))
    (home-page "https://github.com/roStats/RSurveillance")
    (synopsis "Design and Analysis of Disease Surveillance Activities")
    (description
     "This package provides a range of functions for the design and analysis of
disease surveillance activities.  These functions were originally developed for
animal health surveillance activities but can be equally applied to aquatic
animal, wildlife, plant and human health surveillance activities.  Utilities are
included for sample size calculation and analysis of representative surveys for
disease freedom, risk-based studies for disease freedom and for prevalence
estimation.  This package is based on Cameron A., Conraths F., Frohlich A.,
Schauer B., Schulz K., Sergeant E., Sonnenburg J., Staubach C. (2015).  R
package of functions for risk-based surveillance.  Deliverable 6.24, WP 6 -
Decision making tools for implementing risk-based surveillance, Grant Number no.
 310806, RISKSUR
(<https://www.fp7-risksur.eu/sites/default/files/documents/Deliverables/RISKSUR_%28310806%29_D6.24.pdf>).
 Many of the RSurveillance functions are incorporated into the epitools website:
Sergeant, ESG, 2019.  Epitools epidemiological calculators.  Ausvet Pty Ltd.
Available at: <http://epitools.ausvet.com.au>.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rsurv
  (package
    (name "r-rsurv")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsurv" version))
       (sha256
        (base32 "1xin45sc6zlap0w2ydq0ji4w3kz4ksvhark7vgim6vb1d1zv3py0"))))
    (properties `((upstream-name . "rsurv")))
    (build-system r-build-system)
    (propagated-inputs (list r-stabledist r-rdpack r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/fndemarqui/rsurv")
    (synopsis "Random Generation of Survival Data")
    (description
     "Random generation of survival data from a wide range of regression models,
including accelerated failure time (AFT), proportional hazards (PH),
proportional odds (PO), accelerated hazard (AH), Yang and Prentice (YP), and
extended hazard (EH) models.  The package rsurv also stands out by its ability
to generate survival data from an unlimited number of baseline distributions
provided that an implementation of the quantile function of the chosen baseline
distribution is available in R. Another nice feature of the package rsurv lies
in the fact that linear predictors are specified via a formula-based approach,
facilitating the inclusion of categorical variables and interaction terms.  The
functions implemented in the package rsurv can also be employed to simulate
survival data with more complex structures, such as survival data with different
types of censoring mechanisms, survival data with cure fraction, survival data
with random effects (frailties), multivariate survival data, and competing risks
survival data.  Details about the R package rsurv can be found in Demarqui
(2024) <doi:10.48550/@code{arXiv.2406.01750>}.")
    (license license:gpl3+)))

(define-public r-rsurrogate
  (package
    (name "r-rsurrogate")
    (version "3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rsurrogate" version))
       (sha256
        (base32 "0xl3hgl09zcign5q6424wlmg93r0s73gvj0ak5q75dajyv0knz3y"))))
    (properties `((upstream-name . "Rsurrogate")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-matrix))
    (home-page "https://cran.r-project.org/package=Rsurrogate")
    (synopsis
     "Robust Estimation of the Proportion of Treatment Effect Explained by Surrogate Marker Information")
    (description
     "This package provides functions to estimate the proportion of treatment effect
on the primary outcome that is explained by the treatment effect on the
surrogate marker.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rsurface
  (package
    (name "r-rsurface")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsurface" version))
       (sha256
        (base32 "1pymbgvr72nqd66wap5wrcizzx2k9bfr6vkxv6dkvjmi8q7jl2gv"))))
    (properties `((upstream-name . "rsurface")))
    (build-system r-build-system)
    (propagated-inputs (list r-rsm r-plotly))
    (home-page "https://cran.r-project.org/package=rsurface")
    (synopsis
     "Design of Rotatable Central Composite Experiments and Response Surface Analysis")
    (description
     "This package produces tables with the level of replication (number of
replicates) and the experimental uncoded values of the quantitative factors to
be used for rotatable Central Composite Design (CCD) experimentation and a 2-D
contour plot of the corresponding variance of the predicted response according
to Mead et al. (2012) <doi:10.1017/CBO9781139020879> design_ccd(), and analyzes
CCD data with response surface methodology ccd_analysis().  A rotatable CCD
provides values of the variance of the predicted response that are
concentrically distributed around the average treatment combination used in the
experimentation, which with uniform precision (implied by the use of several
replicates at the average treatment combination) improves greatly the search and
finding of an optimum response.  These properties of a rotatable CCD represent
undeniable advantages over the classical factorial design, as discussed by
Panneton et al. (1999) <doi:10.13031/2013.13267> and Mead et al. (2012)
<doi:10.1017/CBO9781139020879.018> among others.")
    (license license:expat)))

(define-public r-rsubgroup
  (package
    (name "r-rsubgroup")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsubgroup" version))
       (sha256
        (base32 "16glxyv6aja7j0vfjccfi8w84wzm2ajfl62l0g5vpl73j7cs6gnk"))))
    (properties `((upstream-name . "rsubgroup")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava r-foreign))
    (home-page "https://rsubgroup.org")
    (synopsis "Subgroup Discovery and Analytics")
    (description
     "This package provides a collection of efficient and effective tools and
algorithms for subgroup discovery and analytics.  The package integrates an R
interface to the org.vikamine.kernel library of the VIKAMINE system
<http://www.vikamine.org> implementing subgroup discovery, pattern mining and
analytics in Java.")
    (license license:gpl3+)))

(define-public r-rstudio-prefs
  (package
    (name "r-rstudio-prefs")
    (version "0.1.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rstudio.prefs" version))
       (sha256
        (base32 "1q8c6x8pdizkwyk8llqz11imvsacyi670yvzarg79843w7xvj76d"))))
    (properties `((upstream-name . "rstudio.prefs")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-rvest
                             r-rstudioapi
                             r-rlang
                             r-rappdirs
                             r-purrr
                             r-jsonlite
                             r-fs
                             r-dplyr
                             r-cli))
    (home-page "https://github.com/ddsjoberg/rstudio.prefs")
    (synopsis "Set 'RStudio' Preferences")
    (description
     "As of RStudio v1.3, the preferences in the Global Options dialog (and a number
of other preferences that arenât) are now saved in simple, plain-text JSON
files.  This package provides an interface for working with these RStudio JSON
preference files to easily make modifications without using the point-and-click
option menus.  This is particularly helpful when working on teams to ensure a
unified experience across machines and utilizing settings for best practices.")
    (license license:gpl3+)))

(define-public r-rstream
  (package
    (name "r-rstream")
    (version "1.3.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rstream" version))
       (sha256
        (base32 "1ilkndp0jb4p91jmf3f47054sx9wzgk55vic2qlh59vs43mvs99i"))))
    (properties `((upstream-name . "rstream")))
    (build-system r-build-system)
    (home-page "https://statmath.wu.ac.at/arvag/")
    (synopsis "Streams of Random Numbers")
    (description
     "Unified object oriented interface for multiple independent streams of random
numbers from different sources.")
    (license license:gpl2)))

(define-public r-rstrava
  (package
    (name "r-rstrava")
    (version "1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rStrava" version))
       (sha256
        (base32 "1kn2x208iyz235zf64r2wz4jqgas5srzzjf6gpckqh8dkc6s234f"))))
    (properties `((upstream-name . "rStrava")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-xml
                             r-tidyterra
                             r-tidyr
                             r-tibble
                             r-rvest
                             r-rcurl
                             r-purrr
                             r-maptiles
                             r-magrittr
                             r-httr
                             r-googleway
                             r-ggspatial
                             r-ggplot2
                             r-geosphere
                             r-dplyr))
    (home-page "https://cran.r-project.org/package=rStrava")
    (synopsis "Access the 'Strava' API")
    (description
     "This package provides functions to access data from the Strava v3 API
<https://developers.strava.com/>.")
    (license license:cc0)))

(define-public r-rstoolbox
  (package
    (name "r-rstoolbox")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RStoolbox" version))
       (sha256
        (base32 "1haf2pi1jzlzh077gfanby5g4lp1djz01qcdinxiq0dgs98anrl8"))))
    (properties `((upstream-name . "RStoolbox")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-tidyr
                             r-terra
                             r-sf
                             r-reshape2
                             r-rcpparmadillo
                             r-rcpp
                             r-magrittr
                             r-lifecycle
                             r-ggplot2
                             r-exactextractr
                             r-dplyr
                             r-caret))
    (home-page "https://bleutner.github.io/RStoolbox/")
    (synopsis "Remote Sensing Data Analysis")
    (description
     "Toolbox for remote sensing image processing and analysis such as calculating
spectral indexes, principal component transformation, unsupervised and
supervised classification or fractional cover analyses.")
    (license license:gpl3+)))

(define-public r-rstiefel
  (package
    (name "r-rstiefel")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rstiefel" version))
       (sha256
        (base32 "063nj6k2qzc5wd1dk6m6ld16sk2vlfa8ic86gc4qkqsla8l82fgg"))))
    (properties `((upstream-name . "rstiefel")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rstiefel")
    (synopsis
     "Random Orthonormal Matrix Generation and Optimization on the Stiefel Manifold")
    (description
     "Simulation of random orthonormal matrices from linear and quadratic exponential
family distributions on the Stiefel manifold.  The most general type of
distribution covered is the matrix-variate Bingham-von Mises-Fisher
distribution.  Most of the simulation methods are presented in Hoff(2009)
\"Simulation of the Matrix Bingham-von Mises-Fisher Distribution, With
Applications to Multivariate and Relational Data\" <doi:10.1198/jcgs.2009.07177>.
 The package also includes functions for optimization on the Stiefel manifold
based on algorithms described in Wen and Yin (2013) \"A feasible method for
optimization with orthogonality constraints\" <doi:10.1007/s10107-012-0584-1>.")
    (license license:gpl3)))

(define-public r-rstg
  (package
    (name "r-rstg")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rstg" version))
       (sha256
        (base32 "1rghac9sjld03rw1sbq2r7rs2fzf3a2xikjb47cfdnk1r73ziysf"))))
    (properties `((upstream-name . "Rstg")))
    (build-system r-build-system)
    (propagated-inputs (list r-reticulate))
    (home-page "https://cran.r-project.org/package=Rstg")
    (synopsis "STG : Feature Selection using STochastic Gates")
    (description
     "STG is a method for feature selection in neural network.  The procedure is based
on probabilistic relaxation of the l0 norm of features, or the count of the
number of selected features.  The framework simultaneously learns either a
nonlinear regression or classification function while selecting a small subset
of features.  Read more: Yamada et al. (2020)
<https://proceedings.mlr.press/v119/yamada20a.html>.")
    (license license:expat)))

(define-public r-rstatscn
  (package
    (name "r-rstatscn")
    (version "1.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rstatscn" version))
       (sha256
        (base32 "07w7ixq1faq7mif2ksxcgl8n6ali9h0wx0nb2yz4kbdgvz68r7b9"))))
    (properties `((upstream-name . "rstatscn")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (home-page "http://www.bagualu.net/")
    (synopsis "R Interface for China National Data")
    (description
     "R interface for china national data <http://data.stats.gov.cn/>, some convenient
functions for accessing the national data are provided.")
    (license license:asl2.0)))

(define-public r-rstata
  (package
    (name "r-rstata")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RStata" version))
       (sha256
        (base32 "1wx6cz4567xkfplybmbwmw25snhlaxn48yi620cv6p5xqv458yp7"))))
    (properties `((upstream-name . "RStata")))
    (build-system r-build-system)
    (propagated-inputs (list r-foreign))
    (home-page "http://github.com/lbraglia/RStata")
    (synopsis "Bit of Glue Between R and Stata")
    (description
     "This package provides a simple R -> Stata interface allowing the user to execute
Stata commands (both inline and from a .do file) from R.")
    (license license:gpl3)))

(define-public r-rstanemax
  (package
    (name "r-rstanemax")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rstanemax" version))
       (sha256
        (base32 "0n15dw6bz7g5j5dng32zna1r4p4ywkmspc82q1b3lcg3zbjmda3f"))))
    (properties `((upstream-name . "rstanemax")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stanheaders
                             r-rstantools
                             r-rstan
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-purrr
                             r-magrittr
                             r-ggplot2
                             r-dplyr
                             r-bh))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/yoshidk6/rstanemax")
    (synopsis "Emax Model Analysis with 'Stan'")
    (description
     "Perform sigmoidal Emax model fit using Stan in a formula notation, without
writing Stan model code.")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rstanbdp
  (package
    (name "r-rstanbdp")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rstanbdp" version))
       (sha256
        (base32 "1cd411qjw3qc9klihxya75r948ii3i2gpy0yjab6b2ci19fwcy6a"))))
    (properties `((upstream-name . "rstanbdp")))
    (build-system r-build-system)
    (propagated-inputs (list r-stanheaders
                             r-rstantools
                             r-rstan
                             r-rrcov
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-mixtools
                             r-kernsmooth
                             r-bh
                             r-bayestestr))
    (home-page "https://cran.r-project.org/package=rstanbdp")
    (synopsis "Bayesian Deming Regression for Method Comparison")
    (description
     "Regression methods to quantify the relation between two measurement methods are
provided by this package.  The focus is on a Bayesian Deming regressions family.
 With a Bayesian method the Deming regression can be run in a traditional
fashion or can be run in a robust way just decreasing the degree of freedom d.f.
 of the sampling distribution.  With d.f. = 1 an extremely robust Cauchy
distribution can be sampled.  Moreover, models for dealing with heteroscedastic
data are also provided.  For reference see G. Pioda (2024)
<https://piodag.github.io/bd1/>.")
    (license license:gpl3+)))

(define-public r-rstackdeque
  (package
    (name "r-rstackdeque")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rstackdeque" version))
       (sha256
        (base32 "0i1qqbfj0yrqbkad8bqc1qlxmyxpn7zycbnq83cdmfbilcmi87ql"))))
    (properties `((upstream-name . "rstackdeque")))
    (build-system r-build-system)
    (home-page "https://github.com/oneilsh/rstackdeque")
    (synopsis "Persistent Fast Amortized Stack and Queue Data Structures")
    (description
     "This package provides fast, persistent (side-effect-free) stack, queue and deque
(double-ended-queue) data structures.  While deques include a superset of
functionality provided by queues, in these implementations queues are more
efficient in some specialized situations.  See the documentation for rstack,
rdeque, and rpqueue for details.")
    (license license:expat)))

(define-public r-rstack
  (package
    (name "r-rstack")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rstack" version))
       (sha256
        (base32 "070wnq0h68kknjlkdas1pi1j1mc1q5dpmz9hffnldy9rk8igvbix"))))
    (properties `((upstream-name . "rstack")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6))
    (home-page "https://github.com/gaborcsardi/rstack#readme")
    (synopsis "Stack Data Type as an 'R6' Class")
    (description
     "An extremely simple stack data type, implemented with R6 classes.  The size of
the stack increases as needed, and the amortized time complexity is O(1).  The
stack may contain arbitrary objects.")
    (license license:expat)))

(define-public r-rstac
  (package
    (name "r-rstac")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rstac" version))
       (sha256
        (base32 "024av3pl9xgd45fr7lxd2y09nbgkjs0rp0rl91lgsvzvgr5qc8q6"))))
    (properties `((upstream-name . "rstac")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf
                             r-png
                             r-magrittr
                             r-jsonlite
                             r-jpeg
                             r-httr
                             r-crayon))
    (home-page "https://brazil-data-cube.github.io/rstac/")
    (synopsis "Client Library for SpatioTemporal Asset Catalog")
    (description
     "This package provides functions to access, search and download spacetime earth
observation data via @code{SpatioTemporal} Asset Catalog (STAC).  This package
supports the version 1.0.0 (and older) of the STAC specification
(<https://github.com/radiantearth/stac-spec>).  For further details see Simoes
et al. (2021) <doi:10.1109/IGARSS47720.2021.9553518>.")
    (license license:expat)))

(define-public r-rssthemes
  (package
    (name "r-rssthemes")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSSthemes" version))
       (sha256
        (base32 "091ch7fb3ndhjyk31igaafcsip207ycb7xkl4x114s06da0p521d"))))
    (properties `((upstream-name . "RSSthemes")))
    (build-system r-build-system)
    (propagated-inputs (list r-sysfonts r-showtext r-purrr r-ggplot2))
    (home-page "https://github.com/nrennie/RSSthemes")
    (synopsis "RSS Palettes and Themes")
    (description
     "Defines colour palettes and themes for Royal Statistical Society (RSS)
publications, including Significance magazine.  Palettes and themes are
supported in both base R and ggplot2 graphics, and are intended to be used by
authors submitting to RSS publications.")
    (license (license:fsdg-compatible "CC BY 4.0"))))

(define-public r-rsstest
  (package
    (name "r-rsstest")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSStest" version))
       (sha256
        (base32 "1pywk326hycq9qm6hslircn8xb8irj3ava2aga20fp0n1jxnr8vi"))))
    (properties `((upstream-name . "RSStest")))
    (build-system r-build-system)
    (propagated-inputs (list r-huxtable))
    (home-page "https://cran.r-project.org/package=RSStest")
    (synopsis "Testing the Equality of Two Means Using RSS and MRSS")
    (description
     "Testing the equality of two means using Ranked Set Sampling and Median Ranked
Set Sampling are provided under normal distribution.  Data generation functions
are also given RSS and MRSS. Also, data generation functions are given under
imperfect ranking data for Ranked Set Sampling and Median Ranked Set Sampling.
Ozdemir Y.A., Ebegil M., & Gokpinar F. (2019), <doi:10.1007/s40995-018-0558-0>
Ozdemir Y.A., Ebegil M., & Gokpinar F. (2017),
<doi:10.1080/03610918.2016.1263736>.")
    (license license:gpl2)))

(define-public r-rssop
  (package
    (name "r-rssop")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSSOP" version))
       (sha256
        (base32 "119xrxpaf68qdb2kj2pbaja6im2nbxsgibb1bnlpnc3fcxkmqcsf"))))
    (properties `((upstream-name . "RSSOP")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RSSOP")
    (synopsis
     "Simulation of Supply Reservoir Systems using Standard Operation Policy")
    (description
     "Reservoir Systems Standard Operation Policy.  A system for simulation of supply
reservoirs.  It proposes functionalities for plotting and evaluation of supply
reservoirs systems.")
    (license license:gpl2)))

(define-public r-rssl
  (package
    (name "r-rssl")
    (version "0.9.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSSL" version))
       (sha256
        (base32 "1am8xv0v5b2z87y8i7m1s41aq55fx30pdnhna5dj87fql5faydqx"))))
    (properties `((upstream-name . "RSSL")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-scales
                             r-reshape2
                             r-rcpparmadillo
                             r-rcpp
                             r-quadprog
                             r-matrix
                             r-mass
                             r-kernlab
                             r-ggplot2
                             r-dplyr
                             r-cluster))
    (home-page "https://github.com/jkrijthe/RSSL")
    (synopsis
     "Implementations of Semi-Supervised Learning Approaches for Classification")
    (description
     "This package provides a collection of implementations of semi-supervised
classifiers and methods to evaluate their performance.  The package includes
implementations of, among others, Implicitly Constrained Learning, Moment
Constrained Learning, the Transductive SVM, Manifold regularization, Maximum
Contrastive Pessimistic Likelihood estimation, S4VM and @code{WellSVM}.")
    (license license:gpl2+)))

(define-public r-rssimulx
  (package
    (name "r-rssimulx")
    (version "2024.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RsSimulx" version))
       (sha256
        (base32 "1y0vzzn6a5z8379q807lpv4dsmnrqng5llk7zkwy5n7p06xvly7i"))))
    (properties `((upstream-name . "RsSimulx")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-gridextra r-ggplot2))
    (home-page "https://cran.r-project.org/package=RsSimulx")
    (synopsis "Extension of 'lixoftConnectors' for 'Simulx'")
    (description
     "This package provides useful tools which supplement the use of Simulx software
and R connectors ('Monolix Suite').  Simulx is an easy, efficient and flexible
application for clinical trial simulations.  You need Simulx software to be
installed in order to use @code{RsSimulx} package.  Among others tasks,
@code{RsSimulx} provides the same functions as package @code{mlxR} does with a
compatibility with Simulx software.")
    (license license:bsd-2)))

(define-public r-rssampling
  (package
    (name "r-rssampling")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSSampling" version))
       (sha256
        (base32 "0p10l7qmksx4ysz1jb84f9nbqzig8wxhwy33yk8hq29nb5i4c9ik"))))
    (properties `((upstream-name . "RSSampling")))
    (build-system r-build-system)
    (propagated-inputs (list r-learnbayes))
    (home-page "https://cran.r-project.org/package=RSSampling")
    (synopsis "Ranked Set Sampling")
    (description
     "Ranked set sampling (RSS) is introduced as an advanced method for data
collection which is substantial for the statistical and methodological analysis
in scientific studies by @code{McIntyre} (1952) (reprinted in 2005)
<doi:10.1198/000313005X54180>.  This package introduces the first package that
implements the RSS and its modified versions for sampling.  With RSSampling',
the researchers can sample with basic RSS and the modified versions, namely,
Median RSS, Extreme RSS, Percentile RSS, Balanced groups RSS, Double RSS, L-RSS,
Truncation-based RSS, Robust extreme RSS. The RSSampling also allows imperfect
ranking using an auxiliary variable (concomitant) which is widely used in the
real life applications.  Applicants can also use this package for parametric and
nonparametric inference such as mean, median and variance estimation, regression
analysis and some distribution-free tests where the the samples are obtained via
basic RSS.")
    (license license:gpl2)))

(define-public r-rssa
  (package
    (name "r-rssa")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rssa" version))
       (sha256
        (base32 "16f3nyh46kvvqaym0s4ngqxg3b1snp7bmyhnfz5krjwhq371d4fr"))))
    (properties `((upstream-name . "Rssa")))
    (build-system r-build-system)
    (inputs (list fftw))
    (propagated-inputs (list r-svd r-lattice r-forecast))
    (home-page "https://github.com/asl/rssa")
    (synopsis "Collection of Methods for Singular Spectrum Analysis")
    (description
     "This package provides methods and tools for Singular Spectrum Analysis including
decomposition, forecasting and gap-filling for univariate and multivariate time
series.  General description of the methods with many examples can be found in
the book Golyandina (2018, <doi:10.1007/978-3-662-57380-8>).  See
citation(\"Rssa\") for details.")
    (license license:gpl2+)))

(define-public r-rsrd
  (package
    (name "r-rsrd")
    (version "0.1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSRD" version))
       (sha256
        (base32 "1srvv49xxkq2nx7fvbn3d2hr4v6ypkxgz6ms1l89zgd0ypdgmypa"))))
    (properties `((upstream-name . "rSRD")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-stringr
                             r-rlang
                             r-rcpp
                             r-janitor
                             r-gplots
                             r-ggrepel
                             r-ggplot2
                             r-dplyr))
    (home-page "https://cran.r-project.org/package=rSRD")
    (synopsis "Sum of Ranking Differences Statistical Test")
    (description
     "We provide an implementation for Sum of Ranking Differences (SRD), a novel
statistical test introduced by HÃ©berger (2010)
<doi:10.1016/j.trac.2009.09.009>.  The test allows the comparison of different
solutions through a reference by first performing a rank transformation on the
input, then calculating and comparing the distances between the solutions and
the reference - the latter is measured in the L1 norm.  The reference can be an
external benchmark (e.g. an established gold standard) or can be aggregated from
the data.  The calculated distances, called SRD scores, are validated in two
ways, see HÃ©berger and KollÃ¡r-Hunek (2011) <doi:10.1002/cem.1320>.  A
randomization test (also called permutation test) compares the SRD scores of the
solutions to the SRD scores of randomly generated rankings.  The second
validation option is cross-validation that checks whether the rankings generated
from the solutions come from the same distribution or not.  For a detailed
analysis about the cross-validation process see Sziklai, Baranyi and HÃ©berger
(2021) <@code{arXiv:2105.11939>}.  The package offers a wide array of features
related to SRD including the computation of the SRD scores, validation options,
input preprocessing and plotting tools.")
    (license license:gpl3)))

(define-public r-rsquaredmi
  (package
    (name "r-rsquaredmi")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSquaredMI" version))
       (sha256
        (base32 "0wvyad08014zsh1q0csna185x96p5kixasm9zw5knd0bsnp18sba"))))
    (properties `((upstream-name . "RSquaredMI")))
    (build-system r-build-system)
    (propagated-inputs (list r-mice r-matrixstats r-lm-beta r-altr2))
    (home-page "https://github.com/karchjd/RsquaredMI")
    (synopsis "R-Squared with Multiply Imputed Data")
    (description
     "This package provides R-squared values and standardized regression coefficients
for linear models applied to multiply imputed datasets as obtained by mice'.
Confidence intervals, zero-order correlations, and alternative adjusted
R-squared estimates are also available.  The methods are described in Van Ginkel
and Karch (2024) <doi:10.1111/bmsp.12344> and in Van Ginkel (2020)
<doi:10.1007/s11336-020-09696-4>.")
    (license license:agpl3+)))

(define-public r-rsqmed
  (package
    (name "r-rsqmed")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RsqMed" version))
       (sha256
        (base32 "10iszj6mgpvrg1lqm4k0bk27vz0jcdkaswm4wjjq8zffra34czkj"))))
    (properties `((upstream-name . "RsqMed")))
    (build-system r-build-system)
    (propagated-inputs (list r-sis r-gmmat))
    (home-page "https://cran.r-project.org/package=RsqMed")
    (synopsis
     "Total Mediation Effect Size Measure for High-Dimensional Mediators")
    (description
     "An implementation of calculating the R-squared measure as a total mediation
effect size measure and its confidence interval for moderate- or
high-dimensional mediator models.  It gives an option to filter out
non-mediators using variable selection methods.  The original R package is
directly related to the paper Yang et al (2021) \"Estimation of mediation effect
for high-dimensional omics mediators with application to the Framingham Heart
Study\" <doi:10.1101/774877>.  The new version contains a choice of using
cross-fitting, which is computationally faster.  The details of the
cross-fitting method are available in the paper Xu et al (2023) \"Speeding up
interval estimation for R2-based mediation effect of high-dimensional mediators
via cross-fitting\" <doi:10.1101/2023.02.06.527391>.")
    (license license:gpl3)))

(define-public r-rsqlparser
  (package
    (name "r-rsqlparser")
    (version "1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSqlParser" version))
       (sha256
        (base32 "0q5wa7bq7m94xx8hcf9p29v5vvkrqzygs3v6yy5xl6jgvshvscvi"))))
    (properties `((upstream-name . "RSqlParser")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-stringi))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RSqlParser")
    (synopsis "Parse 'SQL' Statements")
    (description
     "Parser for SQL statements.  Currently, it supports parsing of only SELECT
statements.")
    (license license:gpl2)))

(define-public r-rsql
  (package
    (name "r-rsql")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSQL" version))
       (sha256
        (base32 "1k0s32lcfr2ari7jrkspmzf9ygpz4h737yigz3lkwj5k2r9ls2ax"))))
    (properties `((upstream-name . "RSQL")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6 r-lgr r-dbi))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rOpenStats/RSQL")
    (synopsis
     "Database Agnostic Package to Generate and Process 'SQL' Queries in R")
    (description
     "Allows the user to generate and execute select, insert, update and delete SQL
queries the underlying database without having to explicitly write SQL code.")
    (license license:expat)))

(define-public r-rsprite2
  (package
    (name "r-rsprite2")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsprite2" version))
       (sha256
        (base32 "1j1v9d5h2p9574zsl8gi4lkmq1yblklmpd40fd19bw1p67fqhpm0"))))
    (properties `((upstream-name . "rsprite2")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-checkmate))
    (home-page "https://lukaswallrich.github.io/rsprite2/")
    (synopsis
     "Identify Distributions that Match Reported Sample Parameters (SPRITE)")
    (description
     "The SPRITE algorithm creates possible distributions of discrete responses based
on reported sample parameters, such as mean, standard deviation and range
(Heathers et al., 2018, <doi:10.7287/peerj.preprints.26968v1>).  This package
implements it, drawing heavily on the code for Nick Brown's @code{rSPRITE} Shiny
app <https://shiny.ieis.tue.nl/sprite/>.  In addition, it supports the modeling
of distributions based on multi-item (Likert-type) scales and the use of
restrictions on the frequency of particular responses.")
    (license license:expat)))

(define-public r-rsppfp
  (package
    (name "r-rsppfp")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsppfp" version))
       (sha256
        (base32 "123yv54i58xj4wx9n08qp50mm4l271fm1zhzimrxx22wn2bg8zy5"))))
    (properties `((upstream-name . "rsppfp")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-igraph
                             r-foreach
                             r-dplyr
                             r-doparallel))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/melvidoni/rsppfp")
    (synopsis "R's Shortest Path Problem with Forbidden Subpaths")
    (description
     "An implementation of functionalities to transform directed graphs that are bound
to a set of known forbidden paths.  There are several transformations, following
the rules provided by Villeneuve and Desaulniers (2005) <doi:
10.1016/j.ejor.2004.01.032>, and Hsu et al. (2009) <doi:
10.1007/978-3-642-03095-6_60>.  The resulting graph is generated in a data-frame
format.  See rsppfp website for more information, documentation an examples.")
    (license license:gpl3)))

(define-public r-rspotify
  (package
    (name "r-rspotify")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rspotify" version))
       (sha256
        (base32 "1q8ajjx5ghlgxgch9gifvhi2gmsi0ph8pygwrb9jrd3ijahlw5k4"))))
    (properties `((upstream-name . "Rspotify")))
    (build-system r-build-system)
    (propagated-inputs (list r-plyr r-magrittr r-jsonlite r-httr r-dplyr))
    (home-page "https://cran.r-project.org/package=Rspotify")
    (synopsis "Access to Spotify API")
    (description "This package provides an interface to the Spotify API
<https://developer.spotify.com/documentation/web-api/>.")
    (license license:gpl2)))

(define-public r-rspm
  (package
    (name "r-rspm")
    (version "0.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rspm" version))
       (sha256
        (base32 "0jr4zqz0jw8i5zvp8sf5irsz08sbcs8d8jdvqlda9ajv42qmqhna"))))
    (properties `((upstream-name . "rspm")))
    (build-system r-build-system)
    (home-page "https://cran4linux.github.io/rspm/")
    (synopsis "'RStudio' Package Manager")
    (description
     "Enables binary package installations on Linux distributions.  Provides access to
RStudio public repositories at <https://packagemanager.posit.co>, and
transparent management of system requirements without administrative privileges.
 Currently supported distributions are @code{CentOS} / RHEL 7-9, and several
RHEL derivatives ('Rocky Linux', @code{AlmaLinux}', Oracle Linux', and Amazon
Linux'), @code{openSUSE} / SLES 15.4-5, Debian 11-12, and Ubuntu LTS 20-22.")
    (license (list license:gpl2 license:gpl3 license:expat))))

(define-public r-rspiro
  (package
    (name "r-rspiro")
    (version "0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rspiro" version))
       (sha256
        (base32 "0vwbgrgdgvj52y290rh70c1hwfi1sa915qpss400r5405j8sgvkw"))))
    (properties `((upstream-name . "rspiro")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rspiro")
    (synopsis "Implementation of Spirometry Equations")
    (description
     "Implementation of various spirometry equations in R, currently the GLI-2012
(Global Lung Initiative; Quanjer et al.  2012 <doi:10.1183/09031936.00080312>),
the race-neutral GLI global 2022 (Global Lung Initiative; Bowerman et al.  2023
<doi:10.1164/rccm.202205-0963OC>), the NHANES3 (National Health and Nutrition
Examination Survey; Hankinson et al.  1999 <doi:10.1164/ajrccm.159.1.9712108>)
and the JRS 2014 (Japanese Respiratory Society; Kubota et al.  2014
<doi:10.1016/j.resinv.2014.03.003>) equations.  Also the GLI-2017 diffusing
capacity equations <doi:10.1183/13993003.00010-2017> are implemented.  Contains
user-friendly functions to calculate predicted and LLN (Lower Limit of Normal)
values for different spirometric parameters such as FEV1 (Forced Expiratory
Volume in 1 second), FVC (Forced Vital Capacity), etc, and to convert absolute
spirometry measurements to percent (%) predicted and z-scores.")
    (license license:gpl2+)))

(define-public r-rspincalc
  (package
    (name "r-rspincalc")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSpincalc" version))
       (sha256
        (base32 "09fjwfz1bzpbca1bpzxj18ki8wh9mrr5h6k75sc97cyhlixqd37s"))))
    (properties `((upstream-name . "RSpincalc")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RSpincalc")
    (synopsis
     "Conversion Between Attitude Representations of DCM, Euler Angles, Quaternions, and Euler Vectors")
    (description
     "Conversion between attitude representations: DCM, Euler angles, Quaternions, and
Euler vectors.  Plus conversion between 2 Euler angle set types (xyx, yzy, zxz,
xzx, yxy, zyz, xyz, yzx, zxy, xzy, yxz, zyx).  Fully vectorized code, with
warnings/errors for Euler angles (singularity, out of range, invalid angle
order), DCM (orthogonality, not proper, exceeded tolerance to unity determinant)
and Euler vectors(not unity).  Also quaternion and other useful functions.
Based on @code{SpinCalc} by John Fuller and @code{SpinConv} by Paolo de Leva.")
    (license license:gpl3+)))

(define-public r-rspectral
  (package
    (name "r-rspectral")
    (version "1.0.0.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSpectral" version))
       (sha256
        (base32 "12fgyjlk4a6gm2ccjw4mh47ccln2i7iklqammmk8y20i3hd3mh6x"))))
    (properties `((upstream-name . "rSpectral")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-rcpparmadillo r-rcpp r-igraph r-graph))
    (home-page "https://github.com/cmclean5/rSpectral")
    (synopsis "Spectral Modularity Clustering")
    (description
     "This package implements the network clustering algorithm described in Newman
(2006) <doi:10.1103/@code{PhysRevE.74.036104>}.  The complete iterative
algorithm comprises of two steps.  In the first step, the network is expressed
in terms of its leading eigenvalue and eigenvector and recursively partition
into two communities.  Partitioning occurs if the maximum positive eigenvalue is
greater than the tolerance (10e-5) for the current partition, and if it results
in a positive contribution to the Modularity.  Given an initial separation using
the leading eigen step, @code{rSpectral} then continues to maximise for the
change in Modularity using a fine-tuning step - or variate thereof.  The first
stage here is to find the node which, when moved from one community to another,
gives the maximum change in Modularity.  This nodeâs community is then fixed
and we repeat the process until all nodes have been moved.  The whole process is
repeated from this new state until the change in the Modularity, between the new
and old state, is less than the predefined tolerance.  A slight variant of the
fine-tuning step, which can improve speed of the calculation, is also provided.
Instead of moving each node into each community in turn, we only consider moves
of neighbouring nodes, found in different communities, to the community of the
current node of interest.  The two steps process is repeatedly applied to each
new community found, subdivided each community into two new communities, until
we are unable to find any division that results in a positive change in
Modularity.")
    (license license:gpl2)))

(define-public r-rspde
  (package
    (name "r-rspde")
    (version "2.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSPDE" version))
       (sha256
        (base32 "1l03rd8knh9mws1fbagspvpyli1sdgijslc0axwwbfjqxcpqg6yq"))))
    (properties `((upstream-name . "rSPDE")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix r-lifecycle r-fmesher r-broom))
    (native-inputs (list r-knitr))
    (home-page "https://davidbolin.github.io/rSPDE/")
    (synopsis
     "Rational Approximations of Fractional Stochastic Partial Differential Equations")
    (description
     "This package provides functions that compute rational approximations of
fractional elliptic stochastic partial differential equations.  The package also
contains functions for common statistical usage of these approximations.  The
main references for @code{rSPDE} are Bolin, Simas and Xiong (2023)
<doi:10.1080/10618600.2023.2231051> for the covariance-based method and Bolin
and Kirchner (2020) <doi:10.1080/10618600.2019.1665537> for the operator-based
rational approximation.  These can be generated by the citation function in R.")
    (license (list license:gpl3+
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rspc
  (package
    (name "r-rspc")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rspc" version))
       (sha256
        (base32 "1cnzqpnh009wfs51dc4id9q3giaa8b6dc75b1lhzpwcvw0cxcy4y"))))
    (properties `((upstream-name . "Rspc")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rspc")
    (synopsis "Nelson Rules for Control Charts")
    (description
     "Implementation of Nelson rules for control charts in R'.  The Rspc implements
some Statistical Process Control methods, namely Levey-Jennings type of I
(individuals) chart, Shewhart C (count) chart and Nelson rules (as described in
Montgomery, D. C. (2013) Introduction to statistical quality control.  Hoboken,
NJ: Wiley.).  Typical workflow is taking the time series, specify the control
limits, and list of Nelson rules you want to evaluate.  There are several
options how to modify the rules (one sided limits, numerical parameters of
rules, etc.).  Package is also capable of calculating the control limits from
the data (so far only for i-chart and c-chart are implemented).")
    (license license:gpl3)))

(define-public r-rsparkling
  (package
    (name "r-rsparkling")
    (version "0.2.19")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsparkling" version))
       (sha256
        (base32 "1rb43lslhlg8jpniirzch8gnl86x6d3shcfp9fpxm0qd3fqrlm6z"))))
    (properties `((upstream-name . "rsparkling")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-sparklyr r-h2o))
    (home-page "https://github.com/h2oai/sparkling-water/tree/master/r")
    (synopsis "R Interface for H2O Sparkling Water")
    (description
     "An extension package for sparklyr that provides an R interface to H2O Sparkling
Water machine learning library (see <https://github.com/h2oai/sparkling-water>
for more information).")
    (license (list license:asl2.0
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rsparcs
  (package
    (name "r-rsparcs")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSPARCS" version))
       (sha256
        (base32 "1693i1jnk2py46d1cngi8gqv8bq3i0fc7invliyv6lfpshwbi388"))))
    (properties `((upstream-name . "rSPARCS")))
    (build-system r-build-system)
    (propagated-inputs (list r-tigris
                             r-sp
                             r-sf
                             r-raster
                             r-plyr
                             r-geosphere
                             r-dplyr
                             r-data-table))
    (home-page "https://cran.r-project.org/package=rSPARCS")
    (synopsis "Sites, Population, and Records Cleaning Skills")
    (description
     "Data cleaning including 1) generating datasets for time-series and
case-crossover analyses based on raw hospital records, 2) linking individuals to
an areal map, 3) picking out cases living within a buffer of certain size
surrounding a site, etc.  For more information, please refer to Zhang W,etc.
(2018) <doi:10.1016/j.envpol.2018.08.030>.")
    (license license:gpl3)))

(define-public r-rspa
  (package
    (name "r-rspa")
    (version "0.2.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rspa" version))
       (sha256
        (base32 "0cl00y9xy5iwmx003zja7b21db5sib7izs8qgmp6731w68bvdj2q"))))
    (properties `((upstream-name . "rspa")))
    (build-system r-build-system)
    (propagated-inputs (list r-validate r-lintools))
    (home-page "https://github.com/markvanderloo/rspa")
    (synopsis "Adapt Numerical Records to Fit (in)Equality Restrictions")
    (description
     "Minimally adjust the values of numerical records in a data.frame, such that each
record satisfies a predefined set of equality and/or inequality constraints.
The constraints can be defined using the validate package.  The core algorithms
have recently been moved to the lintools package, refer to lintools for a more
basic interface and access to a version of the algorithm that works with sparse
matrices.")
    (license license:gpl3)))

(define-public r-rsp
  (package
    (name "r-rsp")
    (version "0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSP" version))
       (sha256
        (base32 "126lag0i2k4fwlr7gnc9jfn63pyi6d6gzzmypyr6jk666pwsk5f6"))))
    (properties `((upstream-name . "RSP")))
    (build-system r-build-system)
    (propagated-inputs (list r-xlsx
                             r-shinywidgets
                             r-shinythemes
                             r-shinyjs
                             r-shinyitemanalysis
                             r-shinycustomloader
                             r-shinybs
                             r-shiny
                             r-semplot
                             r-scales
                             r-rstudioapi
                             r-rjava
                             r-psych
                             r-polycor
                             r-plyr
                             r-mvn
                             r-mirt
                             r-metrics
                             r-ltm
                             r-lavaan
                             r-igraph
                             r-hornpa
                             r-gt
                             r-gparotation
                             r-ggplot2
                             r-foreign
                             r-dt
                             r-catr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RSP")
    (synopsis "'shiny' Applications for Statistical and Psychometric Analysis")
    (description
     "Toolbox with shiny applications for widely used psychometric methods.  Those
methods include following analysis: Item analysis, item response theory
calibration, principal component analysis, confirmatory factor analysis -
structural equation modeling, generating simulated data.  References: Chalmers
(2012, <doi:10.18637/jss.v048.i06>); Revelle (2022,
<https://CRAN.R-project.org/package=psych Version = 2.2.9.>); Rosseel (2012,
<doi:10.18637/jss.v048.i02>); Magis & Raiche (2012,
<doi:10.18637/jss.v048.i08>); Magis & Barrada (2017,
<doi:10.18637/jss.v076.c01>).")
    (license license:gpl3)))

(define-public r-rsomoclu
  (package
    (name "r-rsomoclu")
    (version "1.7.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rsomoclu" version))
       (sha256
        (base32 "1jbi4nib0a749k7vkqzhdb5l2jipxq9k8vi5x7i06qns8sb3ajil"))))
    (properties `((upstream-name . "Rsomoclu")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-kohonen))
    (home-page "https://peterwittek.github.io/somoclu/")
    (synopsis "Somoclu")
    (description
     "Somoclu is a massively parallel implementation of self-organizing maps.  It
exploits multicore CPUs and it can be accelerated by CUDA. The topology of the
map can be planar or toroid and the grid of neurons can be rectangular or
hexagonal .  Details refer to (Peter Wittek, et al (2017))
<doi:10.18637/jss.v078.i09>.")
    (license license:gpl3)))

(define-public r-rsolr
  (package
    (name "r-rsolr")
    (version "0.0.13")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsolr" version))
       (sha256
        (base32 "1pky70f4w44xaz57ricq40c950l443q693h0wfvk684wcvgnga0s"))))
    (properties `((upstream-name . "rsolr")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-s4vectors
                             r-rjson
                             r-restfulr
                             r-rcurl
                             r-graph
                             r-biocgenerics))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rsolr")
    (synopsis "R to Solr Interface")
    (description
     "This package provides a comprehensive R API for querying Apache Solr databases.
A Solr core is represented as a data frame or list that supports Solr-side
filtering, sorting, transformation and aggregation, all through the familiar
base R API. Queries are processed lazily, i.e., a query is only sent to the
database when the data are required.")
    (license license:asl2.0)))

(define-public r-rsoi
  (package
    (name "r-rsoi")
    (version "0.5.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsoi" version))
       (sha256
        (base32 "0x22mh27bsjrpc90dss59ycib6qlpvk9vb9p07fxlk6b68vdfi06"))))
    (properties `((upstream-name . "rsoi")))
    (build-system r-build-system)
    (propagated-inputs (list r-memoise r-curl))
    (home-page "https://github.com/boshek/rsoi/")
    (synopsis
     "Import Various Northern and Southern Hemisphere Climate Indices")
    (description
     "Downloads Southern Oscillation Index, Oceanic Nino Index, North Pacific Gyre
Oscillation data, North Atlantic Oscillation and Arctic Oscillation.  Data
sources are described in the help files for each function.")
    (license license:gpl3)))

(define-public r-rsocrata
  (package
    (name "r-rsocrata")
    (version "1.7.15-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSocrata" version))
       (sha256
        (base32 "0afsmliwcsza7r46b1d6126s0gkpkk2mlj6bw83ix8cswlfg8xzk"))))
    (properties `((upstream-name . "RSocrata")))
    (build-system r-build-system)
    (propagated-inputs (list r-plyr r-mime r-jsonlite r-httr))
    (home-page "https://github.com/Chicago/RSocrata")
    (synopsis "Download or Upload 'Socrata' Data Sets")
    (description
     "This package provides easier interaction with Socrata open data portals
<https://dev.socrata.com>.  Users can provide a Socrata data set resource URL,
or a Socrata Open Data API (SODA) web query, or a Socrata \"human-friendly\" URL,
returns an R data frame.  Converts dates to POSIX format and manages throttling
by Socrata'.  Users can upload data to Socrata portals directly from R.")
    (license license:expat)))

(define-public r-rsocialwatcher
  (package
    (name "r-rsocialwatcher")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsocialwatcher" version))
       (sha256
        (base32 "1ch8n35pa325ihgkld8j8mrgn631r9m1b10r68a08ydj1nxrjv9z"))))
    (properties `((upstream-name . "rsocialwatcher")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-splitstackshape
                             r-sf
                             r-purrr
                             r-lubridate
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-curl))
    (home-page "https://worldbank.github.io/rsocialwatcher/")
    (synopsis "'Facebook Marketing API' Social Watcher")
    (description
     "Facilitates querying data from the âFacebook Marketing API', particularly for
social science research <https://developers.facebook.com/docs/marketing-apis/>.
Data from the Facebook Marketing API has been used for a variety of social
science applications, such as for poverty estimation (Marty and Duhaut (2024)
<doi:10.1038/s41598-023-49564-6>), disease surveillance (Araujo et al. (2017)
<doi:10.48550/@code{arXiv.1705.04045>}), and measuring migration (Alexander,
Polimis, and Zagheni (2020) <doi:10.1007/s11113-020-09599-3>).  The package
facilitates querying the number of Facebook daily/monthly active users for
multiple location types (e.g., from around a specific coordinate to an
administrative region) and for a number of attribute types (e.g., interests,
behaviors, education level, etc).  The package supports making complex queries
within one API call and making multiple API calls across different locations
and/or parameters.")
    (license license:expat)))

(define-public r-rsnns
  (package
    (name "r-rsnns")
    (version "0.4-17")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSNNS" version))
       (sha256
        (base32 "1z2slc2gxr3w7m1ybyd69axx1gi4fadjlkg066gf12b86bbmfia2"))))
    (properties `((upstream-name . "RSNNS")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/cbergmeir/RSNNS")
    (synopsis
     "Neural Networks using the Stuttgart Neural Network Simulator (SNNS)")
    (description
     "The Stuttgart Neural Network Simulator (SNNS) is a library containing many
standard implementations of neural networks.  This package wraps the SNNS
functionality to make it available from within R. Using the RSNNS low-level
interface, all of the algorithmic functionality and flexibility of SNNS can be
accessed.  Furthermore, the package contains a convenient high-level interface,
so that the most common neural network topologies and learning algorithms
integrate seamlessly into R.")
    (license (list license:lgpl2.0+
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rsnell
  (package
    (name "r-rsnell")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsnell" version))
       (sha256
        (base32 "0syz4d761sfka7ykg574sdzp3gi781m6xzz2m1d0yfmb1hl2d2xz"))))
    (properties `((upstream-name . "rsnell")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect r-tidyr r-tibble r-dplyr))
    (home-page "https://github.com/pfpetrowski/rsnell")
    (synopsis "Snell Scoring")
    (description
     "The Snell scoring procedure, implemented in R. This procedure was first
described by E.J Snell (1964) <doi:10.2307/2528498> and was later used by Tong
et al (1977) <doi:10.4141/cjas77-001> in dairy.")
    (license license:expat)))

(define-public r-rsmlx
  (package
    (name "r-rsmlx")
    (version "2024.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rsmlx" version))
       (sha256
        (base32 "1y4pgyk0njvlgbxm0hncxjjkrfb1b10c5k7hdy4zmryz3421677j"))))
    (properties `((upstream-name . "Rsmlx")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-tidyr r-mass r-gridextra r-ggplot2 r-dplyr))
    (home-page "https://monolix.lixoft.com/rsmlx/")
    (synopsis "R Speaks 'Monolix'")
    (description
     "This package provides methods for model building and model evaluation of mixed
effects models using Monolix <https://monolix.lixoft.com>.  Monolix is a
software tool for nonlinear mixed effects modeling that must have been installed
in order to use Rsmlx'.  Among other tasks, Rsmlx provides a powerful tool for
automatic PK model building, performs statistical tests for model assessment,
bootstrap simulation and likelihood profiling for computing confidence
intervals.  Rsmlx also proposes several automatic covariate search methods for
mixed effects models.")
    (license license:bsd-2)))

(define-public r-rsmatrix
  (package
    (name "r-rsmatrix")
    (version "0.2.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsmatrix" version))
       (sha256
        (base32 "1yc9zhfpzadlk39z7lzxd26qmg9hq24c32md7bkny6yyrhy857sn"))))
    (properties `((upstream-name . "rsmatrix")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix))
    (native-inputs (list r-knitr))
    (home-page "https://marberts.github.io/rsmatrix/")
    (synopsis "Matrices for Repeat-Sales Price Indexes")
    (description
     "Calculate the matrices in Shiller (1991, <doi:10.1016/S1051-1377(05)80028-2>)
that serve as the foundation for many repeat-sales price indexes.")
    (license license:expat)))

(define-public r-rsmatch
  (package
    (name "r-rsmatch")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsmatch" version))
       (sha256
        (base32 "0fncr8gakhldnvlzyv2sb2cqz3ninnwa353l8vvxvy122lnjlwbz"))))
    (properties `((upstream-name . "rsmatch")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix r-mass r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://skent259.github.io/rsmatch/")
    (synopsis "Matching Methods for Time-Varying Observational Studies")
    (description
     "This package implements popular methods for matching in time-varying
observational studies.  Matching is difficult in this scenario because
participants can be treated at different times which may have an influence on
the outcomes.  The core methods include: \"Balanced Risk Set Matching\" from Li,
Propert, and Rosenbaum (2011) <doi:10.1198/016214501753208573> and \"Propensity
Score Matching with Time-Dependent Covariates\" from Lu (2005)
<doi:10.1111/j.1541-0420.2005.00356.x>.  Some functions use the Gurobi
optimization back-end to improve the optimization problem speed; the gurobi R
package and associated software can be downloaded from <https://www.gurobi.com>
after obtaining a license.")
    (license license:expat)))

(define-public r-rsmartlyio
  (package
    (name "r-rsmartlyio")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSmartlyIO" version))
       (sha256
        (base32 "02zswadv65a5p5q9rr12f819mh7jjqk8xj1kc1c0wqvr8dgz7fx9"))))
    (properties `((upstream-name . "RSmartlyIO")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl))
    (home-page "https://github.com/rstats-lab/RSmartlyIO")
    (synopsis
     "Loading Facebook and Instagram Advertising Data from 'Smartly.io'")
    (description
     "Aims at loading Facebook and Instagram advertising data from Smartly.io into R.
Smartly.io is an online advertising service that enables advertisers to display
commercial ads on social media networks (see <http://www.smartly.io/> for more
information).  The package offers an interface to query the Smartly.io API and
loads data directly into R for further data processing and data analysis.")
    (license license:expat)))

(define-public r-rsmalltelescopes
  (package
    (name "r-rsmalltelescopes")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSmallTelescopes" version))
       (sha256
        (base32 "16c0pfq9qp0c9b7aljp753iilk3dys14h77anwps8xg7j2lizvbh"))))
    (properties `((upstream-name . "RSmallTelescopes")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RSmallTelescopes")
    (synopsis "Empirical Small Telescopes Analysis")
    (description
     "We provide functions to perform an empirical small telescopes analysis.  This
package contains 2 functions, @code{SmallTelescopes}() and
@code{EstimatePower}().  Users only need to call @code{SmallTelescopes}() to
conduct the analysis.  For more information on small telescopes analysis see Uri
Simonsohn (2015) <doi:10.1177/0956797614567341>.")
    (license license:expat)))

(define-public r-rsm
  (package
    (name "r-rsm")
    (version "2.10.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsm" version))
       (sha256
        (base32 "064gsbaxg9s1f8aq7lb1s9kdd0s0qca95905i8zqbwvpaim1w6q0"))))
    (properties `((upstream-name . "rsm")))
    (build-system r-build-system)
    (propagated-inputs (list r-estimability))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rvlenth/rsm")
    (synopsis "Response-Surface Analysis")
    (description
     "This package provides functions to generate response-surface designs, fit first-
and second-order response-surface models, make surface plots, obtain the path of
steepest ascent, and do canonical analysis.  A good reference on these methods
is Chapter 10 of Wu, C-F J and Hamada, M (2009) \"Experiments: Planning,
Analysis, and Parameter Design Optimization\" ISBN 978-0-471-69946-0.  An early
version of the package is documented in Journal of Statistical Software
<doi:10.18637/jss.v032.i07>.")
    (license license:gpl2+)))

(define-public r-rslp
  (package
    (name "r-rslp")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rslp" version))
       (sha256
        (base32 "186k1gngirqhvhii4ysq77wjf5gf75c7gya73minb0pfg9fn16l7"))))
    (properties `((upstream-name . "rslp")))
    (build-system r-build-system)
    (propagated-inputs (list r-tokenizers r-stringr r-stringi r-plyr
                             r-magrittr))
    (home-page "https://github.com/dfalbel/rslp")
    (synopsis "Stemming Algorithm for the Portuguese Language")
    (description
     "This package implements the \"Stemming Algorithm for the Portuguese Language\"
<DOI:10.1109/SPIRE.2001.10024>.")
    (license license:expat)))

(define-public r-rskey
  (package
    (name "r-rskey")
    (version "0.4.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rskey" version))
       (sha256
        (base32 "1la3apypp1kk425r753vqwm3nk9zmynp9gix6db0ckkssw0fjxpw"))))
    (properties `((upstream-name . "rskey")))
    (build-system r-build-system)
    (propagated-inputs (list r-rstudioapi r-berryfunctions))
    (home-page "https://cran.r-project.org/package=rskey")
    (synopsis "Create Custom 'Rstudio' Keyboard Shortcuts")
    (description
     "Create custom keyboard shortcuts to examine code selected in the Rstudio editor.
 F3 can for example yield str(selection) and F7 open the source code of CRAN and
base package functions on github'.")
    (license license:gpl2+)))

(define-public r-rskc
  (package
    (name "r-rskc")
    (version "2.4.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSKC" version))
       (sha256
        (base32 "0r9gpwhzscb6rbba3dg13p78pvskahgvsd59biag0shyii3xvwpm"))))
    (properties `((upstream-name . "RSKC")))
    (build-system r-build-system)
    (propagated-inputs (list r-flexclust))
    (home-page "https://cran.r-project.org/package=RSKC")
    (synopsis "Robust Sparse K-Means")
    (description
     "This RSKC package contains a function RSKC which runs the robust sparse K-means
clustering algorithm.")
    (license license:gpl2+)))

(define-public r-rsizebiased
  (package
    (name "r-rsizebiased")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSizeBiased" version))
       (sha256
        (base32 "0qh1f9998c62cph590mszbwh12mpbvcnvffmxw4mib6wd4dgl723"))))
    (properties `((upstream-name . "RSizeBiased")))
    (build-system r-build-system)
    (propagated-inputs (list r-pracma))
    (home-page "https://cran.r-project.org/package=RSizeBiased")
    (synopsis "Hypothesis Testing Based on R-Size Biased Samples")
    (description
     "This package provides functions and examples for testing hypothesis about the
population mean and variance on samples drawn by r-size biased sampling schemes.")
    (license license:gpl2+)))

(define-public r-rsinaica
  (package
    (name "r-rsinaica")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsinaica" version))
       (sha256
        (base32 "00fnz0afa635zbkphc92wbwzarxa5dnvxy2g4gry43zykq1m3wgd"))))
    (properties `((upstream-name . "rsinaica")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-lubridate r-jsonlite r-httr r-dplyr))
    (home-page "https://hoyodesmog.diegovalle.net/rsinaica/")
    (synopsis "Download Data from Mexico's Air Quality Information System")
    (description
     "Easy-to-use functions for downloading air quality data from the Mexican National
Air Quality Information System (SINAICA).  Allows you to query pollution and
meteorological parameters from more than a hundred monitoring stations located
throughout Mexico.  See <https://sinaica.inecc.gob.mx> for more information.")
    (license license:expat)))

(define-public r-rsimsum
  (package
    (name "r-rsimsum")
    (version "0.13.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsimsum" version))
       (sha256
        (base32 "1crxqx3vhnwrjwr556dw6qq9789jgccvv9z2bbqi003h7w483q5k"))))
    (properties `((upstream-name . "rsimsum")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales
                             r-rlang
                             r-lifecycle
                             r-knitr
                             r-ggridges
                             r-ggplot2
                             r-generics
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://ellessenne.github.io/rsimsum/")
    (synopsis "Analysis of Simulation Studies Including Monte Carlo Error")
    (description
     "Summarise results from simulation studies and compute Monte Carlo standard
errors of commonly used summary statistics.  This package is modelled on the
simsum user-written command in Stata (White I.R., 2010
<https://www.stata-journal.com/article.html?article=st0200>), further extending
it with additional performance measures and functionality.")
    (license license:gpl3+)))

(define-public r-rsimmosaic
  (package
    (name "r-rsimmosaic")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RsimMosaic" version))
       (sha256
        (base32 "0jlzrs9xxlpazvq3iw8znk0bd00bzlry7bgxsxq7xl23akizj0ji"))))
    (properties `((upstream-name . "RsimMosaic")))
    (build-system r-build-system)
    (propagated-inputs (list r-rann r-jpeg r-fields))
    (home-page "https://cran.r-project.org/package=RsimMosaic")
    (synopsis "R Simple Image Mosaic Creation Library")
    (description
     "This package provides a way to transform an image into a mosaic composed from a
set of smaller images (tiles).  It also contains a simple function for creating
the tiles from a folder of images directly through R, without the need of any
external code.  At this moment only the JPEG format is supported, either as
input (image and tiles) or output (mosaic transformed image).")
    (license license:gpl2+)))

(define-public r-rsiena
  (package
    (name "r-rsiena")
    (version "1.4.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSiena" version))
       (sha256
        (base32 "0hvjd0f80p5icrzd4qa01349pkc5884l2p00m580aqiigri49d1q"))))
    (properties `((upstream-name . "RSiena")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable r-matrix r-mass r-lattice))
    (home-page "https://www.stats.ox.ac.uk/~snijders/siena/")
    (synopsis
     "Siena - Simulation Investigation for Empirical Network Analysis")
    (description
     "The main purpose of this package is to perform simulation-based estimation of
stochastic actor-oriented models for longitudinal network data collected as
panel data.  Dependent variables can be single or multivariate networks, which
can be directed, non-directed, or two-mode; and associated actor variables.
There are also functions for testing parameters and checking goodness of fit.
An overview of these models is given in Snijders (2017),
<doi:10.1146/annurev-statistics-060116-054035>.")
    (license (list license:gpl2 license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rsides
  (package
    (name "r-rsides")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsides" version))
       (sha256
        (base32 "08vwk7d7p6m38gmnbmx50kb44jhxdxvq6pbm6ym66ifhlxmbigr1"))))
    (properties `((upstream-name . "rsides")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-survival
                             r-rcppeigen
                             r-rcpp
                             r-officer
                             r-foreach
                             r-flextable
                             r-dorng
                             r-doparallel
                             r-bh))
    (home-page "https://cran.r-project.org/package=rsides")
    (synopsis "SIDES-Based Subgroup Search Algorithms")
    (description
     "R implementation of SIDES-based subgroup search algorithms (Lipkovich et al.
(2017) <doi:10.1002/sim.7064>).")
    (license license:gpl2+)))

(define-public r-rsi
  (package
    (name "r-rsi")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsi" version))
       (sha256
        (base32 "1d71nfal751xa5inairgh7qhmm1qfpbnvhz9vhdnzwffwfbdz9m9"))))
    (properties `((upstream-name . "rsi")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-terra
                             r-sf
                             r-rstac
                             r-rlang
                             r-proceduralnames
                             r-lifecycle
                             r-jsonlite
                             r-httr
                             r-glue
                             r-future-apply))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/Permian-Global-Research/rsi")
    (synopsis "Efficiently Retrieve and Process Satellite Imagery")
    (description
     "Downloads spatial data from spatiotemporal asset catalogs ('STAC'), computes
standard spectral indices from the Awesome Spectral Indices project (Montero et
al. (2023) <doi:10.1038/s41597-023-02096-0>) against raster data, and glues the
outputs together into predictor bricks.  Methods focus on interoperability with
the broader spatial ecosystem; function arguments and outputs use classes from
sf and terra', and data downloading functions support complex CQL2 queries using
rstac'.")
    (license (license:fsdg-compatible "Apache License (>= 2)"))))

(define-public r-rshift
  (package
    (name "r-rshift")
    (version "3.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rshift" version))
       (sha256
        (base32 "103sadb3fz6xysxmz1i3zvjawvb8wsdr2632f5m1rqibknjb6l94"))))
    (properties `((upstream-name . "rshift")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-ggplot2 r-dplyr))
    (native-inputs (list r-r-rsp))
    (home-page "https://github.com/alexhroom/rshift")
    (synopsis "Paleoecology Functions for Regime Shift Analysis")
    (description
     "This package contains a variety of functions, based around regime shift analysis
of paleoecological data.  Citations: Rodionov() from Rodionov (2004)
<doi:10.1029/2004GL019448> Lanzante() from Lanzante (1996)
<doi:10.1002/(SICI)1097-0088(199611)16:11%3C1197::AID-JOC89%3E3.0.CO;2-L>
Hellinger_trans from Numerical Ecology, Legendre & Legendre (ISBN 9780444538680)
rolling_autoc from Liu, Gao & Wang (2018) <doi:10.1016/j.scitotenv.2018.06.276>
Sample data sets lake_data & lake_RSI processed from Bush, Silman & Urrego
(2004) <doi:10.1126/science.1090795> Sample data set January_PDO from NOAA:
<https://www.ncei.noaa.gov/access/monitoring/pdo/>.")
    (license license:expat)))

(define-public r-rshape
  (package
    (name "r-rshape")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSHAPE" version))
       (sha256
        (base32 "0z6dizsxlkmaymbd24b1m1i8kmndcf21nxxnyfzq6gvdii7bal4h"))))
    (properties `((upstream-name . "rSHAPE")))
    (build-system r-build-system)
    (propagated-inputs (list r-vgam
                             r-sn
                             r-rsqlite
                             r-foreach
                             r-evd
                             r-doparallel
                             r-dbi
                             r-abind))
    (home-page "https://cran.r-project.org/package=rSHAPE")
    (synopsis "Simulated Haploid Asexual Population Evolution")
    (description
     "In silico experimental evolution offers a cost-and-time effective means to test
evolutionary hypotheses.  Existing evolutionary simulation tools focus on
simulations in a limited experimental framework, and tend to report on only the
results presumed of interest by the tools designer.  The R-package for Simulated
Haploid Asexual Population Evolution ('@code{rSHAPE}') addresses these concerns
by implementing a robust simulation framework that outputs complete population
demographic and genomic information for in silico evolving communities.
Allowing more than 60 parameters to be specified, @code{rSHAPE'	simulates}
evolution across discrete time-steps for an evolving community of haploid
asexual populations with binary state genomes.  These settings are for the
current state of @code{rSHAPE} and future steps will be to increase the breadth
of evolutionary conditions permitted.  At present, most effort was placed into
permitting varied growth models to be simulated (such as constant size,
exponential growth, and logistic growth) as well as various fitness landscape
models to reflect the evolutionary landscape (e.g.: Additive, House of Cards -
Stuart Kauffman and Simon Levin (1987) <doi:10.1016/S0022-5193(87)80029-2>, NK -
Stuart A. Kauffman and Edward D. Weinberger (1989)
<doi:10.1016/S0022-5193(89)80019-0>, Rough Mount Fuji - Neidhart, Johannes and
Szendro, Ivan G and Krug, Joachim (2014) <doi:10.1534/genetics.114.167668>).
This package includes numerous functions though users will only need
@code{defineSHAPE}(), @code{runSHAPE}(), @code{shapeExperiment}() and
@code{summariseExperiment}().  All other functions are called by these main
functions and are likely only to be on interest for someone wishing to develop
@code{rSHAPE}'.  Simulation results will be stored in files which are exported
to the directory referenced by the shape_@code{workDir} option (defaults to
tempdir() but do change this by passing a folderpath argument for @code{workDir}
when calling @code{defineSHAPE}() if you plan to make use of your results beyond
your current session). @code{rSHAPE} will generate numerous replicate
simulations for your defined range of experimental parameters.  The experiment
will be built under the experimental working directory (i.e.: referenced by the
option shape_@code{workDir} set using @code{defineSHAPE}() ) where individual
replicate simulation results will be stored as well as processed results which I
have made in an effort to facilitate analyses by automating collection and
processing of the potentially thousands of files which will be created.  On that
note, @code{rSHAPE} implements a robust and flexible framework with highly
detailed output at the cost of computational efficiency and potentially
requiring significant disk space (generally gigabytes but up to tera-bytes for
very large simulation efforts).  So, while @code{rSHAPE} offers a single
framework in which we can simulate evolution and directly compare the impacts of
a wide range of parameters, it is not as quick to run as other in silico
simulation tools which focus on a single scenario with limited output.  There
you have it, @code{rSHAPE} offers you a less restrictive in silico evolutionary
playground than other tools and I hope you enjoy testing your hypotheses.")
    (license license:gpl3)))

(define-public r-rsghb
  (package
    (name "r-rsghb")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSGHB" version))
       (sha256
        (base32 "16s9iahbcdqykavm5cq8n76hlpfqlljl17xwh0vrz5ac7z4z3rdz"))))
    (properties `((upstream-name . "RSGHB")))
    (build-system r-build-system)
    (propagated-inputs (list r-mcmcpack))
    (home-page "https://github.com/RSGInc/RSGHB")
    (synopsis
     "Functions for Hierarchical Bayesian Estimation: A Flexible Approach")
    (description
     "This package provides functions for estimating models using a Hierarchical
Bayesian (HB) framework.  The flexibility comes in allowing the user to specify
the likelihood function directly instead of assuming predetermined model
structures.  Types of models that can be estimated with this code include the
family of discrete choice models (Multinomial Logit, Mixed Logit, Nested Logit,
Error Components Logit and Latent Class) as well ordered response models like
ordered probit and ordered logit.  In addition, the package allows for
flexibility in specifying parameters as either fixed (non-varying across
individuals) or random with continuous distributions.  Parameter distributions
supported include normal, positive/negative log-normal, positive/negative
censored normal, and the Johnson SB distribution.  Kenneth Train's Matlab and
Gauss code for doing Hierarchical Bayesian estimation has served as the basis
for a few of the functions included in this package.  These Matlab/Gauss
functions have been rewritten to be optimized within R. Considerable code has
been added to increase the flexibility and usability of the code base.  Train's
original Gauss and Matlab code can be found here:
<http://elsa.berkeley.edu/Software/abstracts/train1006mxlhb.html> See Train's
chapter on HB in Discrete Choice with Simulation here:
<http://elsa.berkeley.edu/books/choice2.html>; and his paper on using HB with
non-normal distributions here:
<http://eml.berkeley.edu//~train/trainsonnier.pdf>.  The authors would also like
to thank the invaluable contributions of Stephane Hess and the Choice Modelling
Centre: <https://cmc.leeds.ac.uk/>.")
    (license license:gpl3)))

(define-public r-rsgf
  (package
    (name "r-rsgf")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rsgf" version))
       (sha256
        (base32 "1d2bk20ixnfkzbimvsj56arf7brgkwlyrs80snfn5cnvmwic0h8i"))))
    (properties `((upstream-name . "Rsgf")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-stringi r-png r-ggplot2))
    (home-page "https://cran.r-project.org/package=Rsgf")
    (synopsis "SGF (Smart Game File) File Format Import")
    (description "Import SGF (Smart Game File) into R.")
    (license license:expat)))

(define-public r-rsfar
  (package
    (name "r-rsfar")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rsfar" version))
       (sha256
        (base32 "1xskvvvavkdyjhb99qlii9qc0q1m36mxx6g0ybgwbq26lq4ypq7l"))))
    (properties `((upstream-name . "Rsfar")))
    (build-system r-build-system)
    (propagated-inputs (list r-fda))
    (home-page "https://github.com/haghbinh/Rsfar")
    (synopsis "Seasonal Functional Autoregressive Models")
    (description
     "This is a collection of functions designed for simulating, estimating and
forecasting seasonal functional autoregressive time series of order one.  These
methods are addressed in the manuscript:
<https://www.monash.edu/business/ebs/research/publications/ebs/wp16-2019.pdf>.")
    (license license:gpl2+)))

(define-public r-rsfa
  (package
    (name "r-rsfa")
    (version "1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSFA" version))
       (sha256
        (base32 "17jabv64rgaxs5kx579vjrhcw2k08c6ah6a11cswl8v9h0vjjz8i"))))
    (properties `((upstream-name . "rSFA")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass))
    (home-page "https://cran.r-project.org/package=rSFA")
    (synopsis "Slow Feature Analysis")
    (description
     "Slow Feature Analysis (SFA), ported to R based on matlab implementations of SFA:
SFA toolkit 1.0 by Pietro Berkes and SFA toolkit 2.8 by Wolfgang Konen.")
    (license license:gpl2+)))

(define-public r-rsf
  (package
    (name "r-rsf")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsf" version))
       (sha256
        (base32 "0vlnmqj6if2d8m4frdyarc985s73zapsj74rjv1nv074z422l2ci"))))
    (properties `((upstream-name . "rsf")))
    (build-system r-build-system)
    (propagated-inputs (list r-ymlthis
                             r-yaml
                             r-usethis
                             r-rlang
                             r-renv
                             r-magrittr
                             r-knitr
                             r-here
                             r-gert
                             r-bookdown))
    (home-page "https://github.com/dchiu911/rsf/")
    (synopsis "Report of Statistical Findings in 'bookdown'")
    (description
     "This package provides a report of statistical findings (RSF) project template is
generated using a bookdown format.  YAML fields can be further customized.
Additional helper functions provide extra features to the RSF.")
    (license license:expat)))

(define-public r-rsetse
  (package
    (name "r-rsetse")
    (version "0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsetse" version))
       (sha256
        (base32 "095f37a48l9dhz5s3zri6y1kv74x150wrrxinrh177mi3m63shgr"))))
    (properties `((upstream-name . "rsetse")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-rlang
                             r-purrr
                             r-minpack-lm
                             r-matrix
                             r-magrittr
                             r-igraph
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/JonnoB/rSETSe")
    (synopsis "Strain Elevation Tension Spring Embedding")
    (description
     "An R implementation for the Strain Elevation and Tension embedding algorithm
from Bourne (2020) <doi:10.1007/s41109-020-00329-4>.  The package embeds graphs
and networks using the Strain Elevation and Tension embedding (SETSe) algorithm.
 SETSe represents the network as a physical system, where edges are elastic, and
nodes exert a force either up or down based on node features.  SETSe positions
the nodes vertically such that the tension in the edges of a node is equal and
opposite to the force it exerts for all nodes in the network.  The resultant
structure can then be analysed by looking at the node elevation and the edge
strain and tension.  This algorithm works on weighted and unweighted networks as
well as networks with or without explicit node features.  Edge elasticity can be
created from existing edge weights or kept as a constant.")
    (license license:gpl3)))

(define-public r-rsentiment
  (package
    (name "r-rsentiment")
    (version "2.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSentiment" version))
       (sha256
        (base32 "15d1llzxg1apkwykpb7pic2d5lfj9i9a55hab067wrz2yq5jsyfa"))))
    (properties `((upstream-name . "RSentiment")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-plyr r-opennlp r-nlp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RSentiment")
    (synopsis "Analyse Sentiment of English Sentences")
    (description
     "Analyses sentiment of a sentence in English and assigns score to it.  It can
classify sentences to the following categories of sentiments:- Positive,
Negative, very Positive, very negative, Neutral.  For a vector of sentences, it
counts the number of sentences in each category of sentiment.In calculating the
score, negation and various degrees of adjectives are taken into consideration.
It deals only with English sentences.")
    (license license:gpl2)))

(define-public r-rsem
  (package
    (name "r-rsem")
    (version "0.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsem" version))
       (sha256
        (base32 "1rzfshfmhicpm45xmmsbns1qkb9p7m5mj0nwcnl7arlmlik4jn4p"))))
    (properties `((upstream-name . "rsem")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-lavaan))
    (home-page "https://bigdatalab.nd.edu")
    (synopsis
     "Robust Structural Equation Modeling with Missing Data and Auxiliary Variables")
    (description
     "This package provides a robust procedure is implemented to estimate means and
covariance matrix of multiple variables with missing data using Huber weight and
then to estimate a structural equation model.")
    (license license:gpl2)))

(define-public r-rseis
  (package
    (name "r-rseis")
    (version "4.2-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSEIS" version))
       (sha256
        (base32 "1angs16rm2077cnjq6hs3n7qhdpfljsmv9yf5dm6wsmgbq9h96vs"))))
    (properties `((upstream-name . "RSEIS")))
    (build-system r-build-system)
    (propagated-inputs (list r-rwave r-rpmg))
    (home-page "https://cran.r-project.org/package=RSEIS")
    (synopsis "Seismic Time Series Analysis Tools")
    (description
     "Multiple interactive codes to view and analyze seismic data, via spectrum
analysis, wavelet transforms, particle motion, hodograms.  Includes general
time-series tools, plotting, filtering, interactive display.")
    (license license:gpl2+)))

(define-public r-rseedcalc
  (package
    (name "r-rseedcalc")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rseedcalc" version))
       (sha256
        (base32 "18zmpjv6g8f7pmvqlp6khxyys9kdnq5x4zxwb6gwybsh4jxrymkp"))))
    (properties `((upstream-name . "rseedcalc")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rseedcalc")
    (synopsis
     "Estimating the Proportion of Genetically Modified Seeds in Seedlots via Multinomial Group Testing")
    (description
     "Estimate the percentage of seeds in a seedlot that contain stacks of genetically
modified traits.  Estimates are calculated using a multinomial group testing
model with maximum likelihood estimation of the parameters.")
    (license license:gpl2)))

(define-public r-rsea
  (package
    (name "r-rsea")
    (version "2.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSEA" version))
       (sha256
        (base32 "094immjsmgkhl68aflbai1y15d50wkq2qbrmcs8bj7in17iw5qfq"))))
    (properties `((upstream-name . "rSEA")))
    (build-system r-build-system)
    (propagated-inputs (list r-hommel r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rSEA")
    (synopsis "Simultaneous Enrichment Analysis")
    (description
     "SEA performs simultaneous feature-set testing for (gen)omics data.  It tests the
unified null hypothesis and controls the family-wise error rate for all possible
pathways.  The unified null hypothesis is defined as: \"The proportion of true
features in the set is less than or equal to a threshold.\" Family-wise error
rate control is provided through use of closed testing with Simes test.  There
are some practical functions to play around with the pathways of interest.")
    (license license:gpl2+)))

(define-public r-rse
  (package
    (name "r-rse")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSE" version))
       (sha256
        (base32 "1dvmj1zwkbp1dj9r8kcvbd8rpknfwfdqaqc5gfl82bh823w72099"))))
    (properties `((upstream-name . "RSE")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RSE")
    (synopsis "Number of Newly Discovered Rare Species Estimation")
    (description
     "This package provides a Bayesian-weighted estimator and two unweighted
estimators are developed to estimate the number of newly found rare species in
additional ecological samples.  Among these methods, the Bayesian-weighted
estimator and an unweighted (Chao-derived) estimator are of high accuracy and
recommended for practical applications.  Technical details of the proposed
estimators have been well described in the following paper: Shen TJ, Chen YH
(2018) A Bayesian weighted approach to predicting the number of newly discovered
rare species.  Conservation Biology, In press.")
    (license license:gpl3)))

(define-public r-rsdne
  (package
    (name "r-rsdne")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsdNE" version))
       (sha256
        (base32 "0xjnkg009m51zfwih1rpgwch8bs7vvri0x4skrikzx3nvlszcjh3"))))
    (properties `((upstream-name . "rsdNE")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rsdNE")
    (synopsis "Response Surface Designs with Neighbour Effects (rsdNE)")
    (description
     "Response surface designs with neighbour effects are suitable for experimental
situations where it is expected that the treatment combination administered to
one experimental unit may affect the response on neighboring units as well as
the response on the unit to which it is applied.  Integrating these effects in
the response surface model improves the experiment's precision (Jaggi, S.,
Sarika and Sharma, V.K.
(2010)<http://krishi.icar.gov.in/jspui/handle/123456789/4364>; Verma A., Jaggi
S., Varghese, E.,Varghese, C.,Bhowmik, A., Datta, A. and Hemavathi M.
(2021)<DOI: 10.1080/03610918.2021.1890123>).  This package includes sym(),
asym1(), asym2() functions that generates response surface designs which are
rotatable under a polynomial model of a given order without interaction term
incorporating neighbour effects.")
    (license license:gpl2+)))

(define-public r-rsdmx
  (package
    (name "r-rsdmx")
    (version "0.6-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsdmx" version))
       (sha256
        (base32 "0axy02p6kh67sc1nqp67sa1i2n3r24j1cdd3lczxzfkxms0qznc7"))))
    (properties `((upstream-name . "rsdmx")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml r-r6 r-plyr r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/opensdmx/rsdmx")
    (synopsis "Tools for Reading SDMX Data and Metadata")
    (description
     "Set of classes and methods to read data and metadata documents exchanged through
the Statistical Data and Metadata Exchange (SDMX) framework, currently focusing
on the SDMX XML standard format (SDMX-ML).")
    (license license:gpl2+)))

(define-public r-rsdk
  (package
    (name "r-rsdk")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSDK" version))
       (sha256
        (base32 "1qsidmcb432aliwvcn3y14w538nnac1xp50z7a4vh68kqidwhrxp"))))
    (properties `((upstream-name . "RSDK")))
    (build-system r-build-system)
    (propagated-inputs (list r-testthat r-shinywidgets r-shiny r-keys))
    (home-page "https://cran.r-project.org/package=RSDK")
    (synopsis "Sudoku with R")
    (description
     "This is a sudoku game package with a shiny application for playing .")
    (license license:expat)))

(define-public r-rsdi
  (package
    (name "r-rsdi")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSDI" version))
       (sha256
        (base32 "1rmbxl010n38lrn0z9prn2hzb6afk889gipbahchmcv7f767sdwa"))))
    (properties `((upstream-name . "rSDI")))
    (build-system r-build-system)
    (propagated-inputs (list r-igraph))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ehengirmen/rSDI")
    (synopsis
     "Spatial Dispersion Index (SDI) Family of Metrics for Spatial/Geographic Networks")
    (description
     "Spatial Dispersion Index (SDI) is a generalized measurement index, or rather a
family of indices to evaluate spatial dispersion of movements/flows in a network
in a problem neutral way as described in: Gencer (2023)
<doi:10.1007/s12061-023-09545-8>.  This package computes and optionally
visualizes this index with minimal hassle.")
    (license license:gpl3+)))

(define-public r-rsdepth
  (package
    (name "r-rsdepth")
    (version "0.1-22")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsdepth" version))
       (sha256
        (base32 "067mx424qvl9xskcd5r5i3dp92mwjcc8xpd9kd1y0yjbax0dkcg9"))))
    (properties `((upstream-name . "rsdepth")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rsdepth")
    (synopsis
     "Ray Shooting Depth (i.e. RS Depth) Functions for Bivariate Analysis")
    (description
     "Ray Shooting Depth functions are provided for bivariate analysis.  This mainly
includes functions for computing the bivariate depth as well as RS median.
Drawing functions for depth bags are also provided.")
    (license license:gpl2)))

(define-public r-rsda
  (package
    (name "r-rsda")
    (version "3.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSDA" version))
       (sha256
        (base32 "10dx9ds7i738wydljkfw5jvggixsysbg2674hrw4z4lccgijjmrc"))))
    (properties `((upstream-name . "RSDA")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-xml
                             r-vctrs
                             r-umap
                             r-tidyselect
                             r-tibble
                             r-stringr
                             r-sqldf
                             r-scales
                             r-rpart
                             r-rlang
                             r-rjsonio
                             r-reshape
                             r-randomforest
                             r-randomcolor
                             r-purrr
                             r-princurve
                             r-plotly
                             r-nloptr
                             r-neuralnet
                             r-magrittr
                             r-kknn
                             r-glmnet
                             r-ggrepel
                             r-ggpolypath
                             r-ggplot2
                             r-gbm
                             r-forcats
                             r-factominer
                             r-e1071
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://oldemarrodriguez.com/")
    (synopsis "R to Symbolic Data Analysis")
    (description
     "Symbolic Data Analysis (SDA) was proposed by professor Edwin Diday in 1987, the
main purpose of SDA is to substitute the set of rows (cases) in the data table
for a concept (second order statistical unit).  This package implements, to the
symbolic case, certain techniques of automatic classification, as well as some
linear models.")
    (license license:gpl2+)))

(define-public r-rscorecard
  (package
    (name "r-rscorecard")
    (version "0.29.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rscorecard" version))
       (sha256
        (base32 "0h895yrbgc9xbl7kaxhi0yrykj3px1pzjml9zk67bn5gvam4xmiq"))))
    (properties `((upstream-name . "rscorecard")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-purrr
                             r-lazyeval
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (home-page "https://www.btskinner.io/rscorecard/")
    (synopsis
     "Method to Download Department of Education College Scorecard Data")
    (description
     "This package provides a method to download Department of Education College
Scorecard data using the public API
<https://collegescorecard.ed.gov/data/data-documentation/>.  It is based on the
dplyr model of piped commands to select and filter data in a single chained
function call.  An API key from the U.S. Department of Education is required.")
    (license license:expat)))

(define-public r-rscopus
  (package
    (name "r-rscopus")
    (version "0.6.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rscopus" version))
       (sha256
        (base32 "0kl6rv0j2396b8izvy0lp1f588il6w3yhq6d4swv8x8z14rsgcpw"))))
    (properties `((upstream-name . "rscopus")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-plyr
                             r-jsonlite
                             r-httr
                             r-glue
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://dev.elsevier.com/sc_apis.html")
    (synopsis "Scopus Database 'API' Interface")
    (description
     "Uses Elsevier Scopus API <https://dev.elsevier.com/sc_apis.html> to download
information about authors and their citations.")
    (license license:gpl2)))

(define-public r-rscontract
  (package
    (name "r-rscontract")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rscontract" version))
       (sha256
        (base32 "0gn0xcvg9nj6m97g4si6bgmgaj6hxpicz8yig7n84jnczh6w510x"))))
    (properties `((upstream-name . "rscontract")))
    (build-system r-build-system)
    (home-page "https://github.com/rstudio/rscontract")
    (synopsis "Generic implementation of the 'RStudio' connections contract")
    (description
     "This package provides a generic implementation of the RStudio connection
contract to make it easier for database connections, and other type of
connections, opened via R packages integrate with the connections pane inside
the RStudio interactive development environment (IDE).")
    (license license:gpl3)))

(define-public r-rsconctdply
  (package
    (name "r-rsconctdply")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rsconctdply" version))
       (sha256
        (base32 "12xc1laxgivv4szp8341pvhmxnzzzzc2s4jhnqsqrbx71lbd9szg"))))
    (properties `((upstream-name . "Rsconctdply")))
    (build-system r-build-system)
    (propagated-inputs (list r-rsconnect r-rjson r-dplyr))
    (home-page "https://cran.r-project.org/package=Rsconctdply")
    (synopsis "Deploys Multiple 'Shiny' Apps using Configuration File")
    (description
     "This package provides a tool for mass deployment of shiny apps to RStudio
Connect or Shiny Server'.  Multiple user accounts and servers can be configured
for deployment.")
    (license license:expat)))

(define-public r-rsclient
  (package
    (name "r-rsclient")
    (version "0.7-10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSclient" version))
       (sha256
        (base32 "1s6mpda9y6rhmwsc0i0x5kbafdrn056v80yj2ycvq4kf7kxf1hx5"))))
    (properties `((upstream-name . "RSclient")))
    (build-system r-build-system)
    (inputs (list zlib openssl))
    (native-inputs (list pkg-config))
    (home-page "http://www.rforge.net/RSclient/")
    (synopsis "Client for Rserve")
    (description
     "Client for Rserve, allowing to connect to Rserve instances and issue commands.")
    (license (list license:gpl2
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rscelestial
  (package
    (name "r-rscelestial")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RScelestial" version))
       (sha256
        (base32 "018bw7rn0p0rg4wjci7ab6pqdmd87b0yp1ixfrjirqb2xgj332ay"))))
    (properties `((upstream-name . "RScelestial")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://cran.r-project.org/package=RScelestial")
    (synopsis
     "Scelestial: Steiner Tree Based Single-Cell Lineage Tree Inference")
    (description
     "Scelestial infers a lineage tree from single-cell DNA mutation matrix.  It
generates a tree with approximately maximum parsimony through a Steiner tree
approximation algorithm.")
    (license license:gpl2+)))

(define-public r-rscc
  (package
    (name "r-rscc")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rscc" version))
       (sha256
        (base32 "10srbalj8i67z30amvf08zfa4hs6phvq17kfgys9ihwaknckcyx3"))))
    (properties `((upstream-name . "rscc")))
    (build-system r-build-system)
    (propagated-inputs (list r-tm r-igraph r-highlight r-formatr r-crayon))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/sigbertklinke/rscc")
    (synopsis "R Source Code Similarity Evaluation by Variable/Function Names")
    (description
     "Evaluates R source codes by variable and/or functions names.  Similar source
codes should deliver similarity coefficients near one.  Since neither the
frequency nor the order of the used names is considered, a manual inspection of
the R source code is required to check for similarity.  Possible use cases
include detection of code clones for improving software quality and of
plagiarism amongst students assignments.")
    (license license:gpl3)))

(define-public r-rscat
  (package
    (name "r-rscat")
    (version "1.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSCAT" version))
       (sha256
        (base32 "08p4gywh1g13mwcmvp046ybz410jyrzi505rdqr8yirjpk59bw1p"))))
    (properties `((upstream-name . "RSCAT")))
    (build-system r-build-system)
    (propagated-inputs (list r-shinyjs
                             r-shinycssloaders
                             r-shiny
                             r-rjava
                             r-metrics
                             r-gridextra
                             r-ggplot2))
    (home-page "https://cran.r-project.org/package=RSCAT")
    (synopsis "Shadow-Test Approach to Computerized Adaptive Testing")
    (description
     "As an advanced approach to computerized adaptive testing (CAT), shadow testing
(van der Linden(2005) <doi:10.1007/0-387-29054-0>) dynamically assembles entire
shadow tests as a part of selecting items throughout the testing process.
Selecting items from shadow tests guarantees the compliance of all content
constraints defined by the blueprint.  RSCAT is an R package for the shadow-test
approach to CAT. The objective of RSCAT is twofold: 1) Enhancing the
effectiveness of shadow-test CAT simulation; 2) Contributing to the academic and
scientific community for CAT research.  RSCAT is currently designed for
dichotomous items based on the three-parameter logistic (3PL) model.")
    (license (license:fsdg-compatible "CC BY-NC 4.0"))))

(define-public r-rsca
  (package
    (name "r-rsca")
    (version "3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSCA" version))
       (sha256
        (base32 "0dhd5325x05cbnw34mlipndw5xnncl9kj7kppb2s5bx2gllcdqqd"))))
    (properties `((upstream-name . "rSCA")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rSCA")
    (synopsis "An R Package for Stepwise Cluster Analysis")
    (description
     "This package provides a statistical tool for multivariate modeling and
clustering using stepwise cluster analysis.  The modeling output of @code{rSCA}
is constructed as a cluster tree to represent the complicated relationships
between multiple dependent and independent variables.  A free tool (named
@code{rSCA} Tree Generator) for visualizing the cluster tree from @code{rSCA} is
also released and it can be downloaded at <https://rscatree.weebly.com/>.")
    (license license:gpl2+)))

(define-public r-rsc
  (package
    (name "r-rsc")
    (version "2.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSC" version))
       (sha256
        (base32 "106pvrg10f8w0aqbnahqjdii49ijp2659l7kkj5y46pbr90lbpzs"))))
    (properties `((upstream-name . "RSC")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=RSC")
    (synopsis "Robust and Sparse Correlation Matrix")
    (description
     "This package performs robust and sparse correlation matrix estimation.
Robustness is achieved based on a simple robust pairwise correlation estimator,
while sparsity is obtained based on thresholding.  The optimal thresholding is
tuned via cross-validation.  See Serra, Coretto, Fratello and Tagliaferri (2018)
<doi:10.1093/bioinformatics/btx642>.")
    (license license:gpl2+)))

(define-public r-rsbjson
  (package
    (name "r-rsbjson")
    (version "1.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSBJson" version))
       (sha256
        (base32 "1bzy0pgj6kg447xnnjj643hk8gyzzaaliiw0z98r19959bqbvgq3"))))
    (properties `((upstream-name . "RSBJson")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite))
    (home-page "https://www.rservicebus.io")
    (synopsis
     "Handle R Requests from R Service Bus Applications with JSON Payloads")
    (description
     "Package to Handle R Requests from R Service Bus Applications with JSON Payloads
in a generic way.  The incoming request is encoded as a string (character vector
of length one) containing the JSON file passed through by the client.")
    (license license:gpl3)))

(define-public r-rsaucelabs
  (package
    (name "r-rsaucelabs")
    (version "0.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSauceLabs" version))
       (sha256
        (base32 "1p7hw6vnlg6w5ggmfpc3q3s6n1fikjkjnxzz97jifiy0zwn5dp9i"))))
    (properties `((upstream-name . "RSauceLabs")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-whisker r-jsonlite r-httr r-data-table))
    (home-page "http://johndharrison.github.io/RSauceLabs/")
    (synopsis "R Wrapper for 'SauceLabs' REST API")
    (description
     "Retrieve, update, delete job information from <https://saucelabs.com/>.  Poll
the @code{SauceLabs} services current status and access supported platforms.
Send and retrieve files from @code{SauceLabs} and manage tunnels associated with
@code{SauceConnect}'.")
    (license license:gpl3)))

(define-public r-rsatscan
  (package
    (name "r-rsatscan")
    (version "1.0.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsatscan" version))
       (sha256
        (base32 "018958mln4gfqk9xmiqma2gp5drysf9z17ilraf4wlaxi7dm7qf6"))))
    (properties `((upstream-name . "rsatscan")))
    (build-system r-build-system)
    (propagated-inputs (list r-foreign))
    (native-inputs (list r-knitr))
    (home-page "https://www.satscan.org")
    (synopsis
     "Tools, Classes, and Methods for Interfacing with 'SaTScan' Stand-Alone Software")
    (description
     "@code{SaTScan'(TM}) <https://www.satscan.org> is software for finding regions in
Time, Space, or Time-Space that have excess risk, based on scan statistics, and
uses Monte Carlo hypothesis testing to generate P-values for these regions.  The
rsatscan package provides functions for writing R data frames in
@code{SaTScan'-readable} formats, for setting @code{SaTScan} parameters, for
running @code{SaTScan} in the OS, and for reading the files that @code{SaTScan}
creates.")
    (license license:gpl3)))

(define-public r-rsatools
  (package
    (name "r-rsatools")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSAtools" version))
       (sha256
        (base32 "0bri0hnq689vlxhi4vjya0hy529ksild62dlz40wybzywpaqa46g"))))
    (properties `((upstream-name . "RSAtools")))
    (build-system r-build-system)
    (propagated-inputs (list r-semtools
                             r-rsa
                             r-rcolorbrewer
                             r-plyr
                             r-lavaan
                             r-lattice
                             r-ggplot2
                             r-aplpack))
    (home-page "https://cran.r-project.org/package=RSAtools")
    (synopsis "Advanced Response Surface Analysis")
    (description
     "This package provides tools for response surface analysis, using a comparative
framework that identifies best-fitting solutions across 37 families of
polynomials.  Many of these tools are based upon and extend the RSA package, by
testing a larger scope of polynomials (+27 families), more diverse response
surface probing techniques (+acceleration points), more plots (+line of
congruence, +line of incongruence, both with extrema), and other useful
functions for exporting results.")
    (license license:gpl2+)))

(define-public r-rsat
  (package
    (name "r-rsat")
    (version "0.1.21")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsat" version))
       (sha256
        (base32 "1fi2xy9q49w77b0xgqqny8y5v53jxybdpysv0mw4nlfq0q8glvgx"))))
    (properties `((upstream-name . "rsat")))
    (build-system r-build-system)
    (propagated-inputs (list r-zip
                             r-xml2
                             r-xml
                             r-tmap
                             r-terra
                             r-stars
                             r-sp
                             r-sf
                             r-rvest
                             r-rjson
                             r-rdpack
                             r-raster
                             r-leaflet
                             r-leafem
                             r-httr
                             r-fields
                             r-curl
                             r-calendr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ropensci/rsat")
    (synopsis "Dealing with Multiplatform Satellite Images")
    (description
     "Downloading, customizing, and processing time series of satellite images for a
region of interest.  rsat functions allow a unified access to multispectral
images from Landsat, MODIS and Sentinel repositories.  rsat also offers
capabilities for customizing satellite images, such as tile mosaicking, image
cropping and new variables computation.  Finally, rsat covers the processing,
including cloud masking, compositing and gap-filling/smoothing time series of
images (Militino et al., 2018 <doi:10.3390/rs10030398> and Militino et al., 2019
<doi:10.1109/TGRS.2019.2904193>).")
    (license license:gpl3)))

(define-public r-rsampling
  (package
    (name "r-rsampling")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rsampling" version))
       (sha256
        (base32 "14rp3j7iaii4rc3jkbijmbgvlagxxqjkz3vvfwwpxix43rsi8zsk"))))
    (properties `((upstream-name . "Rsampling")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rsampling")
    (synopsis "Ports the Workflow of \"Resampling Stats\" Add-in to R")
    (description
     "Resampling Stats (http://www.resample.com) is an add-in for running
randomization tests in Excel worksheets.  The workflow is (1) to define a
statistic of interest that can be calculated from a data table, (2) to randomize
rows ad/or columns of a data table to simulate a null hypothesis and (3) and to
score the value of the statistic from many randomizations.  The relative
frequency distribution of the statistic in the simulations is then used to infer
the probability of the observed value be generated by the null process
(probability of Type I error).  This package intends to translate this logic for
R for teaching purposes.  Keeping the original workflow is favored over
performance.")
    (license license:gpl2)))

(define-public r-rsagacmd
  (package
    (name "r-rsagacmd")
    (version "0.4.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rsagacmd" version))
       (sha256
        (base32 "1kddbmzkmpxc8cx34vsgaqhrw6jwvx8llh5bny63zx64hlrr20nh"))))
    (properties `((upstream-name . "Rsagacmd")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-tibble
                             r-terra
                             r-stringr
                             r-stars
                             r-sf
                             r-rvest
                             r-rlang
                             r-processx
                             r-generics
                             r-foreign))
    (home-page "https://stevenpawley.github.io/Rsagacmd/")
    (synopsis "Linking R with the Open-Source 'SAGA-GIS' Software")
    (description
     "This package provides an R scripting interface to the open-source SAGA-GIS
(System for Automated Geoscientific Analyses Geographical Information System)
software.  Rsagacmd dynamically generates R functions for every SAGA-GIS
geoprocessing tool based on the user's currently installed SAGA-GIS version.
These functions are contained within an S3 object and are accessed as a named
list of libraries and tools.  This structure facilitates an easier scripting
experience by organizing the large number of SAGA-GIS geoprocessing tools (>700)
by their respective library.  Interactive scripting can fully take advantage of
code autocompletion tools (e.g. in RStudio'), allowing for each tools syntax to
be quickly recognized.  Furthermore, the most common types of spatial data (via
the terra', sp', and sf packages) along with non-spatial data are automatically
passed from R to the SAGA-GIS command line tool for geoprocessing operations,
and the results are loaded as the appropriate R object.  Outputs from individual
SAGA-GIS tools can also be chained using pipes from the magrittr and dplyr
packages to combine complex geoprocessing operations together in a single
statement.  SAGA-GIS is available under a GPLv2 / LGPLv2 licence from
<https://sourceforge.net/projects/saga-gis/> including Windows x86/x64 and
@code{macOS} binaries.  SAGA-GIS is also included in Debian/Ubuntu default
software repositories.  Rsagacmd has currently been tested on SAGA-GIS versions
from 2.3.1 to 9.5.1 on Windows, Linux and @code{macOS}.")
    (license license:gpl3)))

(define-public r-rsaga
  (package
    (name "r-rsaga")
    (version "1.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSAGA" version))
       (sha256
        (base32 "0mdirx7d3z4l0k54wa6rb1c5gma470ypifd3flj2287m8y2wjqq5"))))
    (properties `((upstream-name . "RSAGA")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-shapefiles r-plyr r-magrittr r-gstat))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/r-spatial/RSAGA")
    (synopsis "SAGA Geoprocessing and Terrain Analysis")
    (description
     "This package provides access to geocomputing and terrain analysis functions of
the geographical information system (GIS) SAGA (System for Automated
Geoscientific Analyses) from within R by running the command line version of
SAGA. This package furthermore provides several R functions for handling ASCII
grids, including a flexible framework for applying local functions (including
predict methods of fitted models) and focal functions to multiple grids.  SAGA
GIS is available under GPL-2 / LGPL-2 licences from
<https://sourceforge.net/projects/saga-gis/>.")
    (license (list license:gpl2
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rsafe
  (package
    (name "r-rsafe")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rSAFE" version))
       (sha256
        (base32 "1ghpwpvjid2dfn2c3fml18vf1d5yr092mj6dg7yxsp47vy3m1r6b"))))
    (properties `((upstream-name . "rSAFE")))
    (build-system r-build-system)
    (propagated-inputs (list r-sets
                             r-ingredients
                             r-ggpubr
                             r-ggplot2
                             r-dendextend
                             r-dalex))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ModelOriented/rSAFE")
    (synopsis "Surrogate-Assisted Feature Extraction")
    (description
     "This package provides a model agnostic tool for white-box model trained on
features extracted from a black-box model.  For more information see: Gosiewska
et al. (2020) <doi:10.1016/j.dss.2021.113556>.")
    (license license:gpl3)))

(define-public r-rsae
  (package
    (name "r-rsae")
    (version "0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rsae" version))
       (sha256
        (base32 "1722vv5c0qbksb22yhsx28wxhsl7i7pc0y5w2bzfaksls3nk2knf"))))
    (properties `((upstream-name . "rsae")))
    (build-system r-build-system)
    (native-inputs (list r-rmarkdown r-knitr gfortran))
    (home-page "https://github.com/tobiasschoch/rsae")
    (synopsis "Robust Small Area Estimation")
    (description
     "Empirical best linear unbiased prediction (EBLUP) and robust prediction of the
area-level means under the basic unit-level model.  The model can be fitted by
maximum likelihood or a (robust) M-estimator.  Mean square prediction error is
computed by a parametric bootstrap.")
    (license license:gpl3)))

(define-public r-rsadbe
  (package
    (name "r-rsadbe")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSADBE" version))
       (sha256
        (base32 "1nzpm88rrzavk0n8iflsx8r3s1xcry15n80zqdw6jijjycz10w1q"))))
    (properties `((upstream-name . "RSADBE")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RSADBE")
    (synopsis
     "Data related to the book \"R Statistical Application Development by Example\"")
    (description
     "The package contains all the data sets related to the book written by the
maintainer of the package.")
    (license license:gpl2)))

(define-public r-rsa
  (package
    (name "r-rsa")
    (version "0.10.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RSA" version))
       (sha256
        (base32 "137izjrvicf02bnc6q00wn187754f25dh22swpb46vid18cf1q9h"))))
    (properties `((upstream-name . "RSA")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcolorbrewer
                             r-plyr
                             r-lavaan
                             r-lattice
                             r-ggplot2
                             r-aplpack))
    (home-page "https://cran.r-project.org/package=RSA")
    (synopsis "Response Surface Analysis")
    (description
     "Advanced response surface analysis.  The main function RSA computes and compares
several nested polynomial regression models (full second- or third-order
polynomial, shifted and rotated squared difference model, rising ridge surfaces,
basic squared difference model, asymmetric or level-dependent congruence effect
models).  The package provides plotting functions for 3d wireframe surfaces,
interactive 3d plots, and contour plots.  Calculates many surface parameters (a1
to a5, principal axes, stationary point, eigenvalues) and provides standard,
robust, or bootstrapped standard errors and confidence intervals for them.")
    (license license:gpl2+)))

(define-public r-rrum
  (package
    (name "r-rrum")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrum" version))
       (sha256
        (base32 "047gsyipvbaw4n2i103fsj1dp0rqwvh5dqhjgiclzb9h7vm840gv"))))
    (properties `((upstream-name . "rrum")))
    (build-system r-build-system)
    (propagated-inputs (list r-simcdm r-rgen r-rcpparmadillo r-rcpp))
    (home-page "https://tmsalab.github.io/rrum/")
    (synopsis
     "Bayesian Estimation of the Reduced Reparameterized Unified Model with Gibbs Sampling")
    (description
     "Implementation of Gibbs sampling algorithm for Bayesian Estimation of the
Reduced Reparameterized Unified Model ('rrum'), described by Culpepper and
Hudson (2017) <doi: 10.1177/0146621617707511>.")
    (license license:gpl2+)))

(define-public r-rrtcs
  (package
    (name "r-rrtcs")
    (version "0.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRTCS" version))
       (sha256
        (base32 "16v6f5yvfq9l1b4h5mr4y0i2k404vdv354yz4k780w79qib7g39p"))))
    (properties `((upstream-name . "RRTCS")))
    (build-system r-build-system)
    (propagated-inputs (list r-samplingvarest r-sampling))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RRTCS")
    (synopsis "Randomized Response Techniques for Complex Surveys")
    (description
     "Point and interval estimation of linear parameters with data obtained from
complex surveys (including stratified and clustered samples) when randomization
techniques are used.  The randomized response technique was developed to obtain
estimates that are more valid when studying sensitive topics.  Estimators and
variances for 14 randomized response methods for qualitative variables and 7
randomized response methods for quantitative variables are also implemented.  In
addition, some data sets from surveys with these randomization methods are
included in the package.")
    (license license:gpl2+)))

(define-public r-rrtable
  (package
    (name "r-rrtable")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrtable" version))
       (sha256
        (base32 "1y1hfscnw466azxk1c2kpa486xn8561zl5inv7yk5q8926ls2zc3"))))
    (properties `((upstream-name . "rrtable")))
    (build-system r-build-system)
    (propagated-inputs (list r-ztable
                             r-stringr
                             r-shinywidgets
                             r-shiny
                             r-rvg
                             r-rmarkdown
                             r-rlang
                             r-readr
                             r-purrr
                             r-officer
                             r-moonbook
                             r-magrittr
                             r-ggpubr
                             r-ggplot2
                             r-flextable
                             r-editdata
                             r-devemf))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rrtable")
    (synopsis "Reproducible Research with a Table of R Codes")
    (description
     "Makes documents containing plots and tables from a table of R codes.  Can make
\"HTML\", \"pdf('@code{LaTex}')\", \"docx('MS Word')\" and \"pptx('MS Powerpoint')\"
documents with or without R code.  In the package, modularized shiny app codes
are provided.  These modules are intended for reuse across applications.")
    (license license:gpl3)))

(define-public r-rrscale
  (package
    (name "r-rrscale")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrscale" version))
       (sha256
        (base32 "1s8ziwh95410i9p176xbsk9k6ccyihi2mqa5gaigcqrkb3dzyy08"))))
    (properties `((upstream-name . "rrscale")))
    (build-system r-build-system)
    (propagated-inputs (list r-nloptr r-deoptim r-abind))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rrscale")
    (synopsis "Robust Re-Scaling to Better Recover Latent Effects in Data")
    (description
     "Non-linear transformations of data to better discover latent effects.  Applies a
sequence of three transformations (1) a Gaussianizing transformation, (2) a
Z-score transformation, and (3) an outlier removal transformation.  A
publication describing the method has the following citation: Gregory J. Hunt,
Mark A. Dane, James E. Korkola, Laura M. Heiser & Johann A. Gagnon-Bartsch
(2020) \"Automatic Transformation and Integration to Improve Visualization and
Discovery of Latent Effects in Imaging Data\", Journal of Computational and
Graphical Statistics, <doi:10.1080/10618600.2020.1741379>.")
    (license license:gpl3)))

(define-public r-rrrr
  (package
    (name "r-rrrr")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRRR" version))
       (sha256
        (base32 "14xj0x68nisnxwg27srga8va7dpm1k1mh8xd4bljdb7jykczpn0h"))))
    (properties `((upstream-name . "RRRR")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm r-matrixcalc r-magrittr r-ggplot2
                             r-expm))
    (native-inputs (list r-knitr))
    (home-page "https://pkg.yangzhuoranyang.com/RRRR/")
    (synopsis "Online Robust Reduced-Rank Regression Estimation")
    (description
     "This package provides methods for estimating online robust reduced-rank
regression.  The Gaussian maximum likelihood estimation method is described in
Johansen, S. (1991) <doi:10.2307/2938278>.  The majorisation-minimisation
estimation method is partly described in Zhao, Z., & Palomar, D. P. (2017)
<doi:10.1109/@code{GlobalSIP.2017.8309093>}.  The description of the generic
stochastic successive upper-bound minimisation method and the sample average
approximation can be found in Razaviyayn, M., Sanjabi, M., & Luo, Z. Q. (2016)
<doi:10.1007/s10107-016-1021-7>.")
    (license license:gpl3)))

(define-public r-rrreg
  (package
    (name "r-rrreg")
    (version "0.7.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRreg" version))
       (sha256
        (base32 "105hv4izzbm5b89mg1k99zkms8ppjafj6x2fvh71yhaszh79fh88"))))
    (properties `((upstream-name . "RRreg")))
    (build-system r-build-system)
    (propagated-inputs (list r-lme4 r-foreach r-doparallel))
    (native-inputs (list r-r-rsp r-knitr))
    (home-page "https://github.com/danheck/RRreg")
    (synopsis
     "Correlation and Regression Analyses for Randomized Response Data")
    (description
     "Univariate and multivariate methods to analyze randomized response (RR) survey
designs (e.g., Warner, S. L. (1965).  Randomized response: A survey technique
for eliminating evasive answer bias.  Journal of the American Statistical
Association, 60, 63â69, <doi:10.2307/2283137>).  Besides univariate estimates
of true proportions, RR variables can be used for correlations, as dependent
variable in a logistic regression (with or without random effects), or as
predictors in a linear regression (Heck, D. W., & Moshagen, M. (2018).  RRreg:
An R package for correlation and regression analyses of randomized response
data.  Journal of Statistical Software, 85(2), 1â29,
<doi:10.18637/jss.v085.i02>).  For simulations and the estimation of statistical
power, RR data can be generated according to several models.  The implemented
methods also allow to test the link between continuous covariates and dishonesty
in cheating paradigms such as the coin-toss or dice-roll task (Moshagen, M., &
Hilbig, B. E. (2017).  The statistical analysis of cheating paradigms.  Behavior
Research Methods, 49, 724â732, <doi:10.3758/s13428-016-0729-x>).")
    (license license:gpl3)))

(define-public r-rrr
  (package
    (name "r-rrr")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrr" version))
       (sha256
        (base32 "0sv6k70mv325yjm8yjy4dw8cqc0xc071iiv94fk1l1yfz0n67prz"))))
    (properties `((upstream-name . "rrr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp
                             r-plotly
                             r-mass
                             r-magrittr
                             r-ggplot2
                             r-ggally
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "http://github.com/chrisaddy/rrr")
    (synopsis "Reduced-Rank Regression")
    (description "Reduced-rank regression, diagnostics and graphics.")
    (license license:gpl3)))

(define-public r-rrpp
  (package
    (name "r-rrpp")
    (version "2.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRPP" version))
       (sha256
        (base32 "1dd2v1zsi1hgb73a4fjd54k2mg43sb26h9l45nq9phsn8rnrfw7z"))))
    (properties `((upstream-name . "RRPP")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix r-ggplot2 r-ape))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/mlcollyer/RRPP")
    (synopsis
     "Linear Model Evaluation with Randomized Residuals in a Permutation Procedure")
    (description
     "Linear model calculations are made for many random versions of data.  Using
residual randomization in a permutation procedure, sums of squares are
calculated over many permutations to generate empirical probability
distributions for evaluating model effects.  This packaged is described by
Collyer & Adams (2018).  Additionally, coefficients, statistics, fitted values,
and residuals generated over many permutations can be used for various
procedures including pairwise tests, prediction, classification, and model
comparison.  This package should provide most tools one could need for the
analysis of high-dimensional data, especially in ecology and evolutionary
biology, but certainly other fields, as well.")
    (license license:gpl3+)))

(define-public r-rrphylo
  (package
    (name "r-rrphylo")
    (version "2.8.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRphylo" version))
       (sha256
        (base32 "0hgywjh0lac626ybfvycykhacav10pzrf6vcy3bp2nf4ihik7yhy"))))
    (properties `((upstream-name . "RRphylo")))
    (build-system r-build-system)
    (propagated-inputs (list r-phytools r-foreach r-emmeans r-doparallel r-ape))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://cran.r-project.org/package=RRphylo")
    (synopsis "Phylogenetic Ridge Regression Methods for Comparative Studies")
    (description
     "This package provides functions for phylogenetic analysis (Castiglione et al.,
2018 <doi:10.1111/2041-210X.12954>).  The functions perform the estimation of
phenotypic evolutionary rates, identification of phenotypic evolutionary rate
shifts, quantification of direction and size of evolutionary change in
multivariate traits, the computation of ontogenetic shape vectors and test for
morphological convergence.")
    (license license:gpl2)))

(define-public r-rrpack
  (package
    (name "r-rrpack")
    (version "0.1-13")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrpack" version))
       (sha256
        (base32 "0h9m2gsi16zxdhff02fxa6r4kw32m7vs3y6ikwpczhlnxd0d0qjy"))))
    (properties `((upstream-name . "rrpack")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-mass r-glmnet r-ggplot2))
    (home-page "https://cran.r-project.org/package=rrpack")
    (synopsis "Reduced-Rank Regression")
    (description
     "Multivariate regression methodologies including classical reduced-rank
regression (RRR) studied by Anderson (1951) <doi:10.1214/aoms/1177729580> and
Reinsel and Velu (1998) <doi:10.1007/978-1-4757-2853-8>, reduced-rank regression
via adaptive nuclear norm penalization proposed by Chen et al. (2013)
<doi:10.1093/biomet/ast036> and Mukherjee et al. (2015)
<doi:10.1093/biomet/asx080>, robust reduced-rank regression (R4) proposed by She
and Chen (2017) <doi:10.1093/biomet/asx032>, generalized/mixed-response
reduced-rank regression (@code{mRRR}) proposed by Luo et al. (2018)
<doi:10.1016/j.jmva.2018.04.011>, row-sparse reduced-rank regression (SRRR)
proposed by Chen and Huang (2012) <doi:10.1080/01621459.2012.734178>,
reduced-rank regression with a sparse singular value decomposition (RSSVD)
proposed by Chen et al. (2012) <doi:10.1111/j.1467-9868.2011.01002.x> and sparse
and orthogonal factor regression (SOFAR) proposed by Uematsu et al. (2019)
<doi:10.1109/TIT.2019.2909889>.")
    (license license:gpl3+)))

(define-public r-rroad
  (package
    (name "r-rroad")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rroad" version))
       (sha256
        (base32 "09q5r9wq3vm5wy5aigx9wffv7m0njlp3sma1djm6cp7hhwgss0nj"))))
    (properties `((upstream-name . "rroad")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "http://github.com/vsimko/rroad")
    (synopsis "Road Condition Analysis")
    (description
     "Computation of the International Roughness Index (IRI) given a longitudinal road
profile.  The IRI can be calculated for a single road segment or for a sequence
of segments with a fixed length (e.  g.  100m).  For the latter, an overlap of
the segments can be selected.  The IRI and likewise the algorithms for its
determination are defined in Sayers, Michael W; Gillespie, Thomas D; Queiroz,
Cesar A.V. 1986.  The International Road Roughness Experiment (IRRE) :
establishing correlation and a calibration standard for measurements.  World
Bank technical paper; no.  WTP 45.  Washington, DC : The World Bank. (ISBN
0-8213-0589-1) available from
<http://documents.worldbank.org/curated/en/326081468740204115>.")
    (license license:expat)))

(define-public r-rrnni
  (package
    (name "r-rrnni")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrnni" version))
       (sha256
        (base32 "01rrqvc920rwjiqrznf4ggs74zg099zgsalzws4v9hwwx77rqy0q"))))
    (properties `((upstream-name . "rrnni")))
    (build-system r-build-system)
    (propagated-inputs (list r-ape))
    (home-page "https://rrnni.biods.org/")
    (synopsis "Manipulate with RNNI Tree Space")
    (description
     "Calculate RNNI distance between and manipulate with ranked trees.  RNNI stands
for Ranked Nearest Neighbour Interchange and is an extension of the classical
NNI space (space of trees created by the NNI moves) to ranked trees, where
internal nodes are ordered according to their heights (usually assumed to be
times).  The RNNI distance takes the tree topology into account, as standard NNI
does, but also penalizes changes in the order of internal nodes, i.e.  changes
in the order of times of evolutionary events.  For more information about the
RNNI space see: Gavryushkin et al. (2018) <doi:10.1007/s00285-017-1167-9>,
Collienne & Gavryushkin (2021) <doi:10.1007/s00285-021-01567-5>, Collienne et
al. (2021) <doi:10.1007/s00285-021-01685-0>, and Collienne (2021)
<http://hdl.handle.net/10523/12606>.")
    (license license:gpl3+)))

(define-public r-rrmlrfmc
  (package
    (name "r-rrmlrfmc")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRMLRfMC" version))
       (sha256
        (base32 "0y8gs9rirrcjb89jqxr7rrp89pjal7lzcscnh4kmabhih3f2d729"))))
    (properties `((upstream-name . "RRMLRfMC")))
    (build-system r-build-system)
    (propagated-inputs (list r-nnet))
    (home-page "https://cran.r-project.org/package=RRMLRfMC")
    (synopsis "Reduced-Rank Multinomial Logistic Regression for Markov Chains")
    (description
     "Fit the reduced-rank multinomial logistic regression model for Markov chains
developed by Wang, Abner, Fardo, Schmitt, Jicha, Eldik and Kryscio
(2021)<doi:10.1002/sim.8923> in R. It combines the ideas of multinomial logistic
regression in Markov chains and reduced-rank.  It is very useful in a study
where multi-states model is assumed and each transition among the states is
controlled by a series of covariates.  The key advantage is to reduce the number
of parameters to be estimated.  The final coefficients for all the covariates
and the p-values for the interested covariates will be reported.  The p-values
for the whole coefficient matrix can be calculated by two bootstrap methods.")
    (license license:gpl2)))

(define-public r-rrmixture
  (package
    (name "r-rrmixture")
    (version "0.1-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrMixture" version))
       (sha256
        (base32 "0bh63v9zis8w3ylvbc99iy2hx0wn6302d49bhcw3wr7wmbzvdi8s"))))
    (properties `((upstream-name . "rrMixture")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo
                             r-rcpp
                             r-matrixcalc
                             r-matrix
                             r-mass
                             r-gtools))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rrMixture")
    (synopsis "Reduced-Rank Mixture Models")
    (description
     "We implement full-ranked, rank-penalized, and adaptive nuclear norm penalized
estimation methods using multivariate mixture models proposed by Kang, Chen, and
Yao (2022+).")
    (license license:gpl2+)))

(define-public r-rriskdistributions
  (package
    (name "r-rriskdistributions")
    (version "2.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rriskDistributions" version))
       (sha256
        (base32 "1d9dwgw8la8wwq9cdnl7qibkzbdl4cj0qvf05x7w13ip973dwpaq"))))
    (properties `((upstream-name . "rriskDistributions")))
    (build-system r-build-system)
    (inputs (list tcl))
    (propagated-inputs (list r-tkrplot r-msm r-mc2d r-eha))
    (home-page "http://www.bfr.bund.de/cd/52158")
    (synopsis "Fitting Distributions to Given Data or Known Quantiles")
    (description
     "Collection of functions for fitting distributions to given data or by known
quantiles.  Two main functions fit.perc() and fit.cont() provide users a GUI
that allows to choose a most appropriate distribution without any knowledge of
the R syntax.  Note, this package is a part of the rrisk project.")
    (license license:gpl3+)))

(define-public r-rri
  (package
    (name "r-rri")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRI" version))
       (sha256
        (base32 "0msdc5j5vx4snl8r3q5nn0mw2i80jds5pjykhmigcrx6jzg6h6i7"))))
    (properties `((upstream-name . "RRI")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (home-page "https://cran.r-project.org/package=RRI")
    (synopsis "Residual Randomization Inference for Regression Models")
    (description
     "Testing and inference for regression models using residual randomization
methods.  The basis of inference is an invariance assumption on the regression
errors, e.g., clustered errors, or doubly-clustered errors.")
    (license license:gpl2)))

(define-public r-rrf
  (package
    (name "r-rrf")
    (version "1.9.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRF" version))
       (sha256
        (base32 "1kdyw0v1m3ajf88gzs70p6l6pic4g46ccwqxi9iznimayby6ygjb"))))
    (properties `((upstream-name . "RRF")))
    (build-system r-build-system)
    (native-inputs (list gfortran))
    (home-page "https://sites.google.com/site/houtaodeng/rrf")
    (synopsis "Regularized Random Forest")
    (description
     "Feature Selection with Regularized Random Forest.  This package is based on the
@code{randomForest} package by Andy Liaw.  The key difference is the RRF()
function that builds a regularized random forest.  Fortran original by Leo
Breiman and Adele Cutler, R port by Andy Liaw and Matthew Wiener, Regularized
random forest for classification by Houtao Deng, Regularized random forest for
regression by Xin Guan.  Reference: Houtao Deng (2013) <@code{arXiv:1306.0237>}.")
    (license license:gpl2+)))

(define-public r-rres
  (package
    (name "r-rres")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rres" version))
       (sha256
        (base32 "138m26ya119805b1akwski0hf1ypiqsqjlkrm9p0l2x22zrv1n60"))))
    (properties `((upstream-name . "rres")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-kernlab))
    (home-page "https://cran.r-project.org/package=rres")
    (synopsis "Realized Relatedness Estimation and Simulation")
    (description
     "This package provides functions for studying realized genetic relatedness
between people.  Users will be able to simulate inheritance patterns given
pedigree structures, generate SNP marker data given inheritance patterns, and
estimate realized relatedness between pairs of individuals using SNP marker
data.  See Wang (2017) <doi:10.1534/genetics.116.197004>.  This work was
supported by National Institutes of Health grants R37 GM-046255.")
    (license license:gpl2+)))

(define-public r-rrepest
  (package
    (name "r-rrepest")
    (version "1.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rrepest" version))
       (sha256
        (base32 "0j2siwnpp8isgb82qq9s1khjgnhgfygm8487grflw8qniz22cq5f"))))
    (properties `((upstream-name . "Rrepest")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-stringr
                             r-purrr
                             r-officer
                             r-magrittr
                             r-labelled
                             r-foreach
                             r-flextable
                             r-dplyr
                             r-doparallel
                             r-data-table))
    (home-page "https://cran.r-project.org/package=Rrepest")
    (synopsis
     "An Analyzer of International Large Scale Assessments in Education")
    (description
     "This package provides a fast way to analyze International Large-Scale
Assessments (ILSAs) or any other dataset that includes replicated weights
(Balanced Repeated Replication (BRR) weights, Jackknife replicate weights,...)
and/or plausible values.  Rrepest contains functionalities that enable you to
calculate basic statistics (means, correlations, etc.), frequencies, linear
regression, or any other model already implemented in R that takes a data frame
and weights as parameters.  It also includes options to prepare the results for
publication, following the table formatting standards of the Organization for
Economic Cooperation and Development (OECD).")
    (license license:expat)))

(define-public r-rrepast
  (package
    (name "r-rrepast")
    (version "0.8.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrepast" version))
       (sha256
        (base32 "1x8xda9cndxri2hhd2ihxmjjy0x74r0dh3953dfh7gvj4slaf0rl"))))
    (properties `((upstream-name . "rrepast")))
    (build-system r-build-system)
    (propagated-inputs (list r-xlsx
                             r-sensitivity
                             r-rjava
                             r-lhs
                             r-gridextra
                             r-ggplot2
                             r-foreach
                             r-dosnow
                             r-digest))
    (home-page "https://github.com/antonio-pgarcia/rrepast")
    (synopsis "Invoke 'Repast Simphony' Simulation Models")
    (description
     "An R and Repast integration tool for running individual-based (@code{IbM})
simulation models developed using Repast Simphony Agent-Based framework directly
from R code supporting multicore execution.  This package integrates Repast
Simphony models within R environment, making easier the tasks of running and
analyzing model output data for automated parameter calibration and for carrying
out uncertainty and sensitivity analysis using the power of R environment.")
    (license license:expat)))

(define-public r-rreg
  (package
    (name "r-rreg")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rreg" version))
       (sha256
        (base32 "05c2yj58zn43zkmqp4iyblsixsq76hsjkchffl5rkqynvgxi0qzi"))))
    (properties `((upstream-name . "rreg")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2 r-directlabels))
    (home-page "https://cran.r-project.org/package=rreg")
    (synopsis "Visualization for Norwegian Health Quality Registries")
    (description
     "Assists for presentation and visualization of data from the Norwegian Health
Quality Registries following the standardization based on the requirement
specified by the National Service for Health Quality Registries.  This
requirement can be accessed from
(<https://www.kvalitetsregistre.no/resultater-til-publisering-pa-nett>).
Unfortunately the website is only available in Norwegian.")
    (license (list license:gpl2
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rrefine
  (package
    (name "r-rrefine")
    (version "2.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrefine" version))
       (sha256
        (base32 "0zp0gs505rgrpnsfysk1fzm7x9jrvpigrqrpywfhjxfv8vb6hhyh"))))
    (properties `((upstream-name . "rrefine")))
    (build-system r-build-system)
    (propagated-inputs (list r-readr r-jsonlite r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/vpnagraj/rrefine")
    (synopsis "r Client for OpenRefine API")
    (description
     "@code{OpenRefine} (formerly Google Refine') is a popular, open source data
cleaning software.  This package enables users to programmatically trigger data
transfer between R and @code{OpenRefine}'.  Available functionality includes
project import, export and deletion.")
    (license license:gpl3)))

(define-public r-rredshiftsql
  (package
    (name "r-rredshiftsql")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRedshiftSQL" version))
       (sha256
        (base32 "03jbml8d19hcg6achnyc4hcnl5j10yvsx59j80r46zyn0flsnizq"))))
    (properties `((upstream-name . "RRedshiftSQL")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpostgresql r-dbi))
    (home-page "https://cran.r-project.org/package=RRedshiftSQL")
    (synopsis "R Interface to the 'Redshift' Database")
    (description
     "Superclasses @code{PostgreSQL} connection to help enable full dplyr
functionality on Redshift'.")
    (license license:gpl2)))

(define-public r-rredlist
  (package
    (name "r-rredlist")
    (version "0.7.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rredlist" version))
       (sha256
        (base32 "11dfad1r93b8q6jbn319lz9w7qbw7nqwxyck3fs1kp0il8vhr8cj"))))
    (properties `((upstream-name . "rredlist")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-crul))
    (home-page
     "https://github.com/ropensci/rredlisthttps://docs.ropensci.org/rredlist/")
    (synopsis "'IUCN' Red List Client")
    (description
     "IUCN Red List (<http://apiv3.iucnredlist.org/api/v3/docs>) client.  The IUCN Red
List is a global list of threatened and endangered species.  Functions cover all
of the Red List API routes.  An API key is required.")
    (license license:expat)))

(define-public r-rrecsys
  (package
    (name "r-rrecsys")
    (version "0.9.7.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrecsys" version))
       (sha256
        (base32 "1qnjriv1xq4gjjhzz8jxrbk88mw5xddl2l2i4bmfhnxhi51d2rk3"))))
    (properties `((upstream-name . "rrecsys")))
    (build-system r-build-system)
    (propagated-inputs (list r-registry r-rcpp r-mass r-knitr r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://rrecsys.inf.unibz.it/")
    (synopsis "Environment for Evaluating Recommender Systems")
    (description
     "Processes standard recommendation datasets (e.g., a user-item rating matrix) as
input and generates rating predictions and lists of recommended items.  Standard
algorithm implementations which are included in this package are the following:
Global/Item/User-Average baselines, Weighted Slope One, Item-Based KNN,
User-Based KNN, @code{FunkSVD}, BPR and weighted ALS. They can be assessed
according to the standard offline evaluation methodology (Shani, et al. (2011)
<doi:10.1007/978-0-387-85820-3_8>) for recommender systems using measures such
as MAE, RMSE, Precision, Recall, F1, AUC, NDCG, @code{RankScore} and coverage
measures.  The package (Coba, et al.(2017) <doi: 10.1007/978-3-319-60042-0_36>)
is intended for rapid prototyping of recommendation algorithms and education
purposes.")
    (license license:gpl3)))

(define-public r-rrdap
  (package
    (name "r-rrdap")
    (version "1.0.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rrdap" version))
       (sha256
        (base32 "0rq62hqdxdp8sn6s5xk651ibhf0854hvm22c3iad3zw63f5v23f2"))))
    (properties `((upstream-name . "Rrdap")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-rjson r-curl))
    (home-page "https://cran.r-project.org/package=Rrdap")
    (synopsis "RDAP Server Querying")
    (description "Queries data from RDAP servers.")
    (license license:expat)))

(define-public r-rrcovna
  (package
    (name "r-rrcovna")
    (version "0.5-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrcovNA" version))
       (sha256
        (base32 "1hp6cji9w38qq00bb0jyx0s2lh74960qciwhbc1vdiv5dfg38qmx"))))
    (properties `((upstream-name . "rrcovNA")))
    (build-system r-build-system)
    (propagated-inputs (list r-rrcov r-robustbase r-norm r-lattice r-cluster))
    (native-inputs (list gfortran))
    (home-page "https://github.com/valentint/rrcovNA")
    (synopsis
     "Scalable Robust Estimators with High Breakdown Point for Incomplete Data")
    (description
     "Robust Location and Scatter Estimation and Robust Multivariate Analysis with
High Breakdown Point for Incomplete Data (missing values) (Todorov et al. (2010)
<doi:10.1007/s11634-010-0075-2>).")
    (license license:gpl2+)))

(define-public r-rrcovhd
  (package
    (name "r-rrcovhd")
    (version "0.3-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrcovHD" version))
       (sha256
        (base32 "0ybj4lqfn27a1f0k434my6plk8zh6xmfgfmyavpl01pb16f7c30m"))))
    (properties `((upstream-name . "rrcovHD")))
    (build-system r-build-system)
    (propagated-inputs (list r-spls
                             r-rrcov
                             r-robusthd
                             r-robustbase
                             r-rcpp
                             r-pls
                             r-pcapp))
    (home-page "https://github.com/valentint/rrcovHD")
    (synopsis "Robust Multivariate Methods for High Dimensional Data")
    (description
     "Robust multivariate methods for high dimensional data including outlier
detection (Filzmoser and Todorov (2013) <doi:10.1016/j.ins.2012.10.017>), robust
sparse PCA (Croux et al. (2013) <doi:10.1080/00401706.2012.727746>, Todorov and
Filzmoser (2013) <doi:10.1007/978-3-642-33042-1_31>), robust PLS (Todorov and
Filzmoser (2014) <doi:10.17713/ajs.v43i4.44>), and robust sparse classification
(Ortner et al. (2020) <doi:10.1007/s10618-019-00666-8>).")
    (license license:gpl3+)))

(define-public r-rrcov3way
  (package
    (name "r-rrcov3way")
    (version "0.5-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrcov3way" version))
       (sha256
        (base32 "1n4wjxb5irgsm9yfhg5aav161ca2s1cgzhggxgf8xxyy1yw3xnk0"))))
    (properties `((upstream-name . "rrcov3way")))
    (build-system r-build-system)
    (propagated-inputs (list r-threeway r-rrcov r-robustbase r-pracma r-nnls))
    (home-page "https://github.com/valentint/rrcov3way")
    (synopsis
     "Robust Methods for Multiway Data Analysis, Applicable also for Compositional Data")
    (description
     "This package provides methods for multiway data analysis by means of Parafac and
Tucker 3 models.  Robust versions (Engelen and Hubert (2011)
<doi:10.1016/j.aca.2011.04.043>) and versions for compositional data are also
provided (Gallo (2015) <doi:10.1080/03610926.2013.798664>, Di Palma et al.
(2018) <doi:10.1080/02664763.2017.1381669>).  Several optimization methods
alternative to ALS are available (Simonacci and Gallo (2019)
<doi:10.1016/j.chemolab.2019.103822>, Simonacci and Gallo (2020)
<doi:10.1007/s00500-019-04320-9>).")
    (license license:gpl3+)))

(define-public r-rrboost
  (package
    (name "r-rrboost")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRBoost" version))
       (sha256
        (base32 "0zp3csrpi0awk88m6sq5sf5v7j32q5sd4mwv61x6bblg991k404k"))))
    (properties `((upstream-name . "RRBoost")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpart r-robstattm))
    (home-page "https://cran.r-project.org/package=RRBoost")
    (synopsis "Robust Boosting Algorithm")
    (description
     "An implementation of robust boosting algorithms for regression in R. This
includes the RRBoost method proposed in the paper \"Robust Boosting for
Regression Problems\" (Ju X and Salibian-Barrera M. 2020)
<doi:10.1016/j.csda.2020.107065> (to appear in Computational Statistics and Data
Science).  It also implements previously proposed boosting algorithms in the
simulation section of the paper: L2Boost, LADBoost, MBoost (Friedman, J. H.
(2001) <doi:10.1214/aos/1013203451>) and Robloss (Lutz et al. (2008)
<doi:10.1016/j.csda.2007.11.006>).")
    (license license:gpl3+)))

(define-public r-rrblup
  (package
    (name "r-rrblup")
    (version "4.6.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrBLUP" version))
       (sha256
        (base32 "1kc01hznr5hq5hwwz48hlpj4sbmnim9rn609zm9g6ll2rdz2aand"))))
    (properties `((upstream-name . "rrBLUP")))
    (build-system r-build-system)
    (home-page "<https://potatobreeding.cals.wisc.edu/software/>")
    (synopsis "Ridge Regression and Other Kernels for Genomic Selection")
    (description
     "Software for genomic prediction with the RR-BLUP mixed model (Endelman 2011,
<doi:10.3835/plantgenome2011.08.0024>).  One application is to estimate marker
effects by ridge regression; alternatively, BLUPs can be calculated based on an
additive relationship matrix or a Gaussian kernel.")
    (license license:gpl3)))

(define-public r-rraven
  (package
    (name "r-rraven")
    (version "1.0.14")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rraven" version))
       (sha256
        (base32 "1sfzsf1f758sicild58hi5lqbs1vmzma9znni3is2vlcsn9pyn5s"))))
    (properties `((upstream-name . "Rraven")))
    (build-system r-build-system)
    (propagated-inputs (list r-warbler r-tuner r-seewave r-pbapply))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/maRce10/Rraven")
    (synopsis "Connecting R and 'Raven' Sound Analysis Software")
    (description
     "This package provides a tool to exchange data between R and Raven sound analysis
software (Cornell Lab of Ornithology).  Functions work on data formats
compatible with the R package @code{warbleR}'.")
    (license license:gpl2+)))

(define-public r-rrate
  (package
    (name "r-rrate")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RRate" version))
       (sha256
        (base32 "1q3f2gphdf50aijnk5xqfpxcqfd4jq7byb1gpb0vcnaxgi3a9lwm"))))
    (properties `((upstream-name . "RRate")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RRate")
    (synopsis
     "Estimating Replication Rate for Genome-Wide Association Studies")
    (description
     "Replication Rate (RR) is the probability of replicating a statistically
significant association in genome-wide association studies.  This R-package
provide the estimation method for replication rate which makes use of the
summary statistics from the primary study.  We can use the estimated RR to
determine the sample size of the replication study, and to check the consistency
between the results of the primary study and those of the replication study.")
    (license license:gpl3)))

(define-public r-rrat
  (package
    (name "r-rrat")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrat" version))
       (sha256
        (base32 "1j1jd32pgggn5cqv66l63sw5p4hblgpznf33wd0zdbfapwy8rx4r"))))
    (properties `((upstream-name . "rrat")))
    (build-system r-build-system)
    (propagated-inputs (list r-quantreg))
    (home-page "https://cran.r-project.org/package=rrat")
    (synopsis
     "Robust Regression with Asymmetric Heavy-Tail Noise Distributions")
    (description
     "Implementation of Robust Regression tailored to deal with Asymmetric noise
Distribution, which was originally proposed by Takeuchi & Bengio & Kanamori
(2002) <doi:10.1162/08997660260293300>.  In addition, this implementation is
extended as introducing potential feature regularization by LASSO etc.")
    (license license:gpl2+)))

(define-public r-rrapply
  (package
    (name "r-rrapply")
    (version "1.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrapply" version))
       (sha256
        (base32 "04qzfkf011fvvc3ll8qcn300d63z2p2p7qri24ylrsyl5g0v1w9i"))))
    (properties `((upstream-name . "rrapply")))
    (build-system r-build-system)
    (home-page "https://jorischau.github.io/rrapply/")
    (synopsis "Revisiting Base Rapply")
    (description
     "The minimal rrapply'-package contains a single function rrapply(), providing an
extended implementation of R'-base rapply() by allowing to recursively apply a
function to elements of a nested list based on a general condition function and
including the possibility to prune or aggregate nested list elements from the
result.  In addition, special arguments can be supplied to access the name,
location, parents and siblings in the nested list of the element under
evaluation.  The rrapply() function builds upon rapply()'s native C
implementation and requires no other package dependencies.")
    (license license:lgpl3)))

(define-public r-rrandvec
  (package
    (name "r-rrandvec")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rrandvec" version))
       (sha256
        (base32 "0n92wm95xjng2j93a055mliph2cmialmcpm9b45jf75zqdhzizp5"))))
    (properties `((upstream-name . "rrandvec")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-checkmate))
    (home-page "https://jakobbossek.github.io/rrandvec/")
    (synopsis "Generate Random Vectors Whose Components Sum Up to One")
    (description
     "This package provides a single method implementing multiple approaches to
generate pseudo-random vectors whose components sum up to one (see, e.g.,
Maziero (2015) <doi:10.1007/s13538-015-0337-8>).  The components of such vectors
can for example be used for weighting objectives when reducing multi-objective
optimisation problems to a single-objective problem in the socalled weighted sum
scalarisation approach.")
    (license license:bsd-2)))

(define-public r-rramas
  (package
    (name "r-rramas")
    (version "0.1-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rramas" version))
       (sha256
        (base32 "16aapvz9j81lvi5ryj41bvn3wf51b0gynnzs0jpvva4m3mvzw6an"))))
    (properties `((upstream-name . "Rramas")))
    (build-system r-build-system)
    (propagated-inputs (list r-diagram))
    (home-page "https://cran.r-project.org/package=Rramas")
    (synopsis "Matrix Population Models")
    (description
     "Analyzes and predicts from matrix population models (Caswell 2006)
<doi:10.1002/9781118445112.stat07481>.")
    (license license:gpl2+)))

(define-public r-rr2
  (package
    (name "r-rr2")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rr2" version))
       (sha256
        (base32 "0c80zl8qyfd4fdvxp381vixfr8q2dxzn2j7siqawf0dbbvxpdr73"))))
    (properties `((upstream-name . "rr2")))
    (build-system r-build-system)
    (propagated-inputs (list r-phyr
                             r-phylolm
                             r-nlme
                             r-matrix
                             r-lme4
                             r-ape))
    (home-page "https://github.com/arives/rr2")
    (synopsis "R2s for Regression Models")
    (description
     "Three methods to calculate R2 for models with correlated errors, including
Phylogenetic GLS, Phylogenetic Logistic Regression, Linear Mixed Models (LMMs),
and Generalized Linear Mixed Models (GLMMs).  See details in Ives 2018
<doi:10.1093/sysbio/syy060>.")
    (license license:gpl3)))

(define-public r-rr
  (package
    (name "r-rr")
    (version "1.4.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rr" version))
       (sha256
        (base32 "1xzyys6hjh01iy66a63sxda502pr4jr79pz0kcml9vgaqwf16bdp"))))
    (properties `((upstream-name . "rr")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-magic r-coda r-arm))
    (home-page "https://cran.r-project.org/package=rr")
    (synopsis "Statistical Methods for the Randomized Response Technique")
    (description
     "Enables researchers to conduct multivariate statistical analyses of survey data
with randomized response technique items from several designs, including
mirrored question, forced question, and unrelated question.  This includes
regression with the randomized response as the outcome and logistic regression
with the randomized response item as a predictor.  In addition, tools for
conducting power analysis for designing randomized response items are included.
The package implements methods described in Blair, Imai, and Zhou (2015) Design
and Analysis of the Randomized Response Technique, Journal of the American
Statistical Association <https://graemeblair.com/papers/randresp.pdf>.")
    (license license:gpl3+)))

(define-public r-rquest
  (package
    (name "r-rquest")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rquest" version))
       (sha256
        (base32 "08hyalcj8836ix830kr2ma2gaaq6cjn55kyish81wjmxzgl3sqal"))))
    (properties `((upstream-name . "rquest")))
    (build-system r-build-system)
    (home-page "https://github.com/shenal-dkumara/rquest")
    (synopsis "Hypothesis Tests for Quantiles and Quantile-Based Measures")
    (description
     "This package provides functions to conduct hypothesis tests and derive
confidence intervals for quantiles, linear combinations of quantiles, ratios of
dependent linear combinations and differences and ratios of all of the above for
comparisons between independent samples.  Additionally, quantile-based measures
of inequality are also considered.")
    (license license:gpl3+)))

(define-public r-rquery
  (package
    (name "r-rquery")
    (version "1.4.99")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rquery" version))
       (sha256
        (base32 "0540xw33wxk4w73s234pc0ss6vffzdkz7wqlca67im9h4sph19y3"))))
    (properties `((upstream-name . "rquery")))
    (build-system r-build-system)
    (propagated-inputs (list r-wrapr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/WinVector/rquery/")
    (synopsis "Relational Query Generator for Data Manipulation at Scale")
    (description
     "This package provides a piped query generator based on Edgar F. Codd's
relational algebra, and on production experience using SQL and dplyr at big data
scale.  The design represents an attempt to make SQL more teachable by denoting
composition by a sequential pipeline notation instead of nested queries or
functions.  The implementation delivers reliable high performance data
processing on large data systems such as Spark', databases, and data.table'.
Package features include: data processing trees or pipelines as observable
objects (able to report both columns produced and columns used), optimized SQL
generation as an explicit user visible table modeling step, plus explicit query
reasoning and checking.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rquefts
  (package
    (name "r-rquefts")
    (version "1.2-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rquefts" version))
       (sha256
        (base32 "14p9g0bqkaslr3164a58crhj024xphp9ig24mvs2ad8vxvf1gsf0"))))
    (properties `((upstream-name . "Rquefts")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-meteor))
    (home-page "https://CRAN.R-project.org/package=Rquefts")
    (synopsis
     "Quantitative Evaluation of the Native Fertility of Tropical Soils")
    (description
     "An implementation of the QUEFTS (Quantitative Evaluation of the Native Fertility
of Tropical Soils) model.  The model (1) estimates native nutrient (N, P, K)
supply of soils from a few soil chemical properties; and (2) computes crop yield
given that supply, crop parameters, fertilizer application, and crop attainable
yield.  See Janssen et al. (1990) <doi:10.1016/0016-7061(90)90021-Z> for the
technical details and Sattari et al. (2014) <doi:10.1016/j.fcr.2013.12.005> for
a recent evaluation and improvements.")
    (license license:gpl3+)))

(define-public r-rquantlib
  (package
    (name "r-rquantlib")
    (version "0.4.24")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RQuantLib" version))
       (sha256
        (base32 "1wcc93vmkzycq19cc6byp66svwcv4za27izzywszqyd9a93a99rg"))))
    (properties `((upstream-name . "RQuantLib")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo r-rcpp))
    (home-page "https://github.com/eddelbuettel/rquantlib")
    (synopsis "R Interface to the 'QuantLib' Library")
    (description
     "The R@code{QuantLib} package makes parts of @code{QuantLib} accessible from R
The @code{QuantLib} project aims to provide a comprehensive software framework
for quantitative finance.  The goal is to provide a standard open source library
for quantitative analysis, modeling, trading, and risk management of financial
assets.")
    (license license:gpl2+)))

(define-public r-rquake
  (package
    (name "r-rquake")
    (version "2.5-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rquake" version))
       (sha256
        (base32 "0kd8ghclfz81c5lgj4fc06lgkniksch7xi6fmj1ydn2i35k0ji6l"))))
    (properties `((upstream-name . "Rquake")))
    (build-system r-build-system)
    (propagated-inputs (list r-rseis r-rpmg r-minpack-lm r-mba r-geomap))
    (home-page "https://cran.r-project.org/package=Rquake")
    (synopsis "Seismic Hypocenter Determination")
    (description
     "Non-linear inversion for hypocenter estimation and analysis of seismic data
collected continuously, or in trigger mode.  The functions organize other
functions from RSEIS and GEOmap to help researchers pick, locate, and store
hypocenters for detailed seismic investigation.  Error ellipsoids and station
influence are estimated via jackknife analysis.  References include Iversen, E.
S., and J. M. Lees (1996)<doi:10.1785/BSSA0860061853>.")
    (license license:gpl2+)))

(define-public r-rqti
  (package
    (name "r-rqti")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rqti" version))
       (sha256
        (base32 "12jx51cvc7d9plmvjsrnkcgaadhn8hdxc5l3fqm592wd6sfw3l6x"))))
    (properties `((upstream-name . "rqti")))
    (build-system r-build-system)
    (propagated-inputs (list r-zip
                             r-yaml
                             r-xml2
                             r-textutils
                             r-stringr
                             r-servr
                             r-rstudioapi
                             r-rmarkdown
                             r-magrittr
                             r-lubridate
                             r-knitr
                             r-keyring
                             r-kableextra
                             r-httr2
                             r-htmltools
                             r-getpass
                             r-fs
                             r-digest
                             r-curl))
    (home-page "https://github.com/shevandrin/rqti")
    (synopsis "Create Tests According to QTI 2.1 Standard")
    (description
     "Create tests and tasks compliant with the Question & Test Interoperability (QTI)
information model version 2.1.  Input sources are Rmd/md description files or
S4-class objects.  Output formats include standalone zip or xml files.  Supports
the generation of basic task types (single and multiple choice, order, pair
association, matching tables, filling gaps and essay) and provides a
comprehensive set of attributes for customizing tests.")
    (license license:gpl3+)))

(define-public r-rqsar
  (package
    (name "r-rqsar")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rQSAR" version))
       (sha256
        (base32 "1s2s7bvb9pd7vsdcbkk4zmndixfwfmiv4a9bkaix7rdh5fk057kw"))))
    (properties `((upstream-name . "rQSAR")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-rcdk
                             r-randomforest
                             r-pls
                             r-leaps
                             r-gridextra
                             r-ggplot2
                             r-dplyr
                             r-corrplot
                             r-caret))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rQSAR")
    (synopsis
     "QSAR Modeling with Multiple Algorithms: MLR, PLS, and Random Forest")
    (description
     "Quantitative Structure-Activity Relationship (QSAR) modeling is a valuable tool
in computational chemistry and drug design, where it aims to predict the
activity or property of chemical compounds based on their molecular structure.
In this vignette, we present the @code{rQSAR} package, which provides functions
for variable selection and QSAR modeling using Multiple Linear Regression (MLR),
Partial Least Squares (PLS), and Random Forest algorithms.")
    (license license:expat)))

(define-public r-rqpen
  (package
    (name "r-rqpen")
    (version "4.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rqPen" version))
       (sha256
        (base32 "112x6y6ykmd1isw19xdpzn8alf5llz6jp7l5pfi6vp22w27z852w"))))
    (properties `((upstream-name . "rqPen")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack
                             r-rcpparmadillo
                             r-rcpp
                             r-quantreg
                             r-plyr
                             r-matrix
                             r-lifecycle
                             r-hrqglas
                             r-hqreg
                             r-data-table))
    (home-page
     "https://github.com/bssherwood/rqpen/blob/master/ignore/rqPenArticle.pdf")
    (synopsis "Penalized Quantile Regression")
    (description
     "This package performs penalized quantile regression with LASSO, elastic net,
SCAD and MCP penalty functions including group penalties.  In addition, offers a
group penalty that provides consistent variable selection across quantiles.
Provides a function that automatically generates lambdas and evaluates different
models with cross validation or BIC, including a large p version of BIC. Below
URL provides a link to a work in progress vignette.")
    (license license:expat)))

(define-public r-rqlm
  (package
    (name "r-rqlm")
    (version "2.1-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rqlm" version))
       (sha256
        (base32 "1l11l4p7d331jspfwnsjawfg1mk91v78fp669586jq9xs9vv25fb"))))
    (properties `((upstream-name . "rqlm")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich r-mice r-mass))
    (home-page "https://cran.r-project.org/package=rqlm")
    (synopsis
     "Modified Poisson and Least-Squares Regressions for Binary Outcome")
    (description
     "Modified Poisson and least-squares regression analyses for binary outcomes of
Zou (2004) <doi:10.1093/aje/kwh090> and Cheung (2007) <doi:10.1093/aje/kwm223>
have been standard multivariate analysis methods to estimate risk ratio and risk
difference in clinical and epidemiological studies.  This R package involves an
easy-to-handle function to implement these analyses by simple commands.  Missing
data analysis tools (multiple imputation) are also involved.  Also, recent
studies have shown the ordinary robust variance estimator possibly has serious
bias under small or moderate sample size situations for these methods.  This
package also provides computational tools to calculate alternative accurate
confidence intervals (Noma and Gosho (2024) <Forthcoming>).")
    (license license:gpl3)))

(define-public r-rqentangle
  (package
    (name "r-rqentangle")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RQEntangle" version))
       (sha256
        (base32 "178haddk8nnscy2vym3k2a3ca9lf6nl7rpjja8lxqdjninvhvwb2"))))
    (properties `((upstream-name . "RQEntangle")))
    (build-system r-build-system)
    (propagated-inputs (list r-itertools r-iterators))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/stephenhky/RQEntangle")
    (synopsis "Quantum Entanglement of Bipartite System")
    (description
     "It computes the Schmidt decomposition of bipartite quantum systems, discrete or
continuous, and their respective entanglement metrics.  See Artur Ekert, Peter
L. Knight (1995) <doi:10.1119/1.17904> for more details.")
    (license license:expat)))

(define-public r-rqdeltact
  (package
    (name "r-rqdeltact")
    (version "1.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RQdeltaCT" version))
       (sha256
        (base32 "1zwajwyiwhl12v1119w9xlyw07a9iigj3yy27nm65ninqjbfrn8j"))))
    (properties `((upstream-name . "RQdeltaCT")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyverse
                             r-tidyselect
                             r-tidyr
                             r-proc
                             r-pheatmap
                             r-oddsratio
                             r-magrittr
                             r-hmisc
                             r-ggsignif
                             r-ggpmisc
                             r-ggplot2
                             r-ggally
                             r-dplyr
                             r-ctrlgene
                             r-corrplot
                             r-coin))
    (native-inputs (list r-knitr))
    (home-page "<https://github.com/Donadelnal/RQdeltaCT>")
    (synopsis
     "Relative Quantification of Gene Expression using Delta Ct Methods")
    (description
     "The commonly used methods for relative quantification of gene expression levels
obtained in real-time PCR (Polymerase Chain Reaction) experiments are the delta
Ct methods, encompassing 2^-@code{dCt} and 2^-@code{ddCt} methods, originally
proposed by Kenneth J. Livak and Thomas D. Schmittgen (2001)
<doi:10.1006/meth.2001.1262>.  The main idea is to normalise gene expression
values using endogenous control gene, present gene expression levels in linear
form by using the 2^-(value)^ transformation, and calculate differences in gene
expression levels between groups of samples (or technical replicates of a single
sample).  The R@code{QdeltaCT} package offers functions that cover both methods
for comparison of either independent groups of samples or groups with paired
samples, together with importing expression datasets, performing multi-step
quality control of data, enabling numerous data visualisations, enrichment of
the standard workflow with additional useful analyses (correlation analysis,
Receiver Operating Characteristic analysis, logistic regression), and
conveniently export obtained results in table and image formats.  The package
has been designed to be friendly to non-experts in R programming.")
    (license license:gpl3)))

(define-public r-rqdatatable
  (package
    (name "r-rqdatatable")
    (version "1.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rqdatatable" version))
       (sha256
        (base32 "08bjhfay2n58zsa19r81b8884zahdxi1rylhs4a241sqc0zmns23"))))
    (properties `((upstream-name . "rqdatatable")))
    (build-system r-build-system)
    (propagated-inputs (list r-wrapr r-rquery r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/WinVector/rqdatatable/")
    (synopsis "'rquery' for 'data.table'")
    (description
     "This package implements the rquery piped Codd-style query algebra using
data.table'.  This allows for a high-speed in memory implementation of
Codd-style data manipulation tools.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rqcc
  (package
    (name "r-rqcc")
    (version "2.22.12")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rQCC" version))
       (sha256
        (base32 "0z5gq6pgdp3hxlngcr5lxzj01sf9h9bmdyr1hh6ikr5wjb36wjzx"))))
    (properties `((upstream-name . "rQCC")))
    (build-system r-build-system)
    (home-page "https://AppliedStat.GitHub.io/R/")
    (synopsis "Robust Quality Control Chart")
    (description
     "Constructs various robust quality control charts based on the median or
Hodges-Lehmann estimator (location) and the median absolute deviation (MAD) or
Shamos estimator (scale).  The estimators used for the robust control charts are
all unbiased with a sample of finite size.  For more details, see Park, Kim and
Wang (2022) <doi:10.1080/03610918.2019.1699114>.  In addition, using this R
package, the conventional quality control charts such as X-bar, S, R, p, np, u,
c, g, h, and t charts are also easily constructed.  This work was supported by
the National Research Foundation of Korea (NRF) grant funded by the Korea
government (MSIT) (No.  2022R1A2C1091319).")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rqcanon
  (package
    (name "r-rqcanon")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rqcanon" version))
       (sha256
        (base32 "17h5bsi2iqhfjm4mdi65ni2qi8n8dm4g5wgmgg50g1kv07n18l9s"))))
    (properties `((upstream-name . "rqcanon")))
    (build-system r-build-system)
    (propagated-inputs (list r-quantreg))
    (home-page "https://cran.r-project.org/package=rqcanon")
    (synopsis "Canonical Quantile Regression")
    (description
     "This package provides a quantile regression method for multivariate data to find
linear combinations of explanatory and response variables generalizing canonical
correlation.  The package consists of functions, rqcan() for fitting the
coefficients, and summary.rqcan(), which calls a bootstrap function.  For
details, see the help files for rqcan() and summary.rqcan(), and the reference:
Portnoy (2022) <doi:10.1016/j.jmva.2022.105071>.")
    (license license:expat)))

(define-public r-rpymat
  (package
    (name "r-rpymat")
    (version "0.1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpymat" version))
       (sha256
        (base32 "0zrq4j0xw4blv9bsdrnkf0wb61bsm1lrlh92a2qw8p3daa48833q"))))
    (properties `((upstream-name . "rpymat")))
    (build-system r-build-system)
    (propagated-inputs (list r-rstudioapi
                             r-reticulate
                             r-rappdirs
                             r-jsonlite
                             r-irkernel
                             r-glue
                             r-fastmap))
    (home-page "https://github.com/dipterix/rpymat")
    (synopsis "Easy to Configure an Isolated 'Python' Environment")
    (description
     "Aims to create a single isolated Miniconda and Python environment for
reproducible pipeline scripts.  The package provides utilities to run system
command within the conda environment, making it easy to install, launch, manage,
and stop Jupyter-lab'.")
    (license (license:fsdg-compatible "Apache License (>= 2)"))))

(define-public r-rpygeo
  (package
    (name "r-rpygeo")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPyGeo" version))
       (sha256
        (base32 "1alqgx6blqqwxm76w05g82kc2icx8nvjw7qkdz73gf9ckgza5bb3"))))
    (properties `((upstream-name . "RPyGeo")))
    (build-system r-build-system)
    (inputs (list python))
    (propagated-inputs (list r-stringr
                             r-sf
                             r-rmarkdown
                             r-reticulate
                             r-raster
                             r-purrr
                             r-magrittr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/fapola/RPyGeo")
    (synopsis "ArcGIS Geoprocessing via Python")
    (description
     "This package provides access to @code{ArcGIS} geoprocessing tools by building an
interface between R and the @code{ArcPy} Python side-package via the reticulate
package.")
    (license license:gpl3)))

(define-public r-rpyants
  (package
    (name "r-rpyants")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpyANTs" version))
       (sha256
        (base32 "1dmlpwx9x1gh2x0a4krp0v5a4km7pp65zalvbibb6r69iqmqr858"))))
    (properties `((upstream-name . "rpyANTs")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpymat r-rnifti r-reticulate))
    (home-page "http://dipterix.org/rpyANTs/")
    (synopsis "An Alternative Advanced Normalization Tools ('ANTs')")
    (description
     "This package provides portable access from R to biomedical image processing
toolbox ANTs by Avants et al. (2009) <doi:10.54294/uvnhin> via seamless
integration with the Python implementation AN@code{TsPy}'.  Allows biomedical
images to be processed in Python and analyzed in R', and vice versa via shared
memory.  See citation(\"@code{rpyANTs}\") for more reference information.")
    (license license:asl2.0)))

(define-public r-rpushbullet
  (package
    (name "r-rpushbullet")
    (version "0.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPushbullet" version))
       (sha256
        (base32 "1mx433hvx660a63s5dzn655zmqv1c1qij0hzddl9z38032brc4ii"))))
    (properties `((upstream-name . "RPushbullet")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-curl))
    (home-page "https://cran.r-project.org/package=RPushbullet")
    (synopsis "R Interface to the Pushbullet Messaging Service")
    (description
     "An R interface to the Pushbullet messaging service which provides fast and
efficient notifications (and file transfer) between computers, phones and
tablets.  An account has to be registered at the site
<https://www.pushbullet.com> site to obtain a (free) API key.")
    (license license:gpl2+)))

(define-public r-rpublica
  (package
    (name "r-rpublica")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPublica" version))
       (sha256
        (base32 "1w2pn1g44a00ls8kkzj53a739pq6vzp38px2k0yh10rlzimmb21l"))))
    (properties `((upstream-name . "RPublica")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr r-curl))
    (home-page "https://github.com/rOpenGov/RPublica")
    (synopsis "ProPublica API Client")
    (description
     "Client for accessing data journalism APIs from @code{ProPublica}
<http://www.propublica.org/>.")
    (license license:gpl2)))

(define-public r-rptr
  (package
    (name "r-rptr")
    (version "0.9.22")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rptR" version))
       (sha256
        (base32 "0vvjc6qiq71d5wckl77z606q1fp43mgrfzp1bxcab96n5whb2r9k"))))
    (properties `((upstream-name . "rptR")))
    (build-system r-build-system)
    (propagated-inputs (list r-pbapply r-lme4))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rptR")
    (synopsis "Repeatability Estimation for Gaussian and Non-Gaussian Data")
    (description
     "Estimating repeatability (intra-class correlation) from Gaussian, binary,
proportion and Poisson data.")
    (license license:gpl2+)))

(define-public r-rptests
  (package
    (name "r-rptests")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPtests" version))
       (sha256
        (base32 "04j4nqy2qxn1pa8ar0j0wgzkpd624983wwhd73l1ax7fnskx0yhh"))))
    (properties `((upstream-name . "RPtests")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-randomforest r-glmnet))
    (home-page "https://rss.onlinelibrary.wiley.com/doi/10.1111/rssb.12234")
    (synopsis
     "Goodness of Fit Tests for High-Dimensional Linear Regression Models")
    (description
     "This package performs goodness of fits tests for both high and low-dimensional
linear models.  It can test for a variety of model misspecifications including
nonlinearity and heteroscedasticity.  In addition one can test the significance
of potentially large groups of variables, and also produce p-values for the
significance of individual variables in high-dimensional linear regression.")
    (license license:gpl2+)))

(define-public r-rpsftm
  (package
    (name "r-rpsftm")
    (version "1.2.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpsftm" version))
       (sha256
        (base32 "0ikkffy9fh95xbj0ycgmg4852x390qxidh9g9h9x31v40n8xb7f5"))))
    (properties `((upstream-name . "rpsftm")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rpsftm")
    (synopsis "Rank Preserving Structural Failure Time Models")
    (description
     "This package implements methods described by the paper Robins and Tsiatis (1991)
<DOI:10.1080/03610929108830654>.  These use g-estimation to estimate the causal
effect of a treatment in a two-armed randomised control trial where
non-compliance exists and is measured, under an assumption of an accelerated
failure time model and no unmeasured confounders.")
    (license license:gpl2)))

(define-public r-rpscoring
  (package
    (name "r-rpscoring")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPscoring" version))
       (sha256
        (base32 "063w83k9krwv3wvw2iq8bqkhjaj26as14d9g99l8jxfc02ljv1rr"))))
    (properties `((upstream-name . "RPscoring")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RPscoring")
    (synopsis "Relative Placement Algorithm")
    (description
     "Implementation of the relative placement algorithm widely used in the scoring of
Lindy Hop and West Coast Swing dance contests.")
    (license license:gpl2+)))

(define-public r-rprotobuf
  (package
    (name "r-rprotobuf")
    (version "0.4.22")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RProtoBuf" version))
       (sha256
        (base32 "0zldxpc1nmwpv3ngrqgjp1pyhki0z7gnmcy6y8g2s192cwbh5f3m"))))
    (properties `((upstream-name . "RProtoBuf")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list pkg-config))
    (home-page "https://github.com/eddelbuettel/rprotobuf")
    (synopsis "R Interface to the 'Protocol Buffers' 'API' (Version 2 or 3)")
    (description
     "Protocol Buffers are a way of encoding structured data in an efficient yet
extensible format.  Google uses Protocol Buffers for almost all of its internal
RPC protocols and file formats.  Additional documentation is available in two
included vignettes one of which corresponds to our JSS paper (2016,
<doi:10.18637/jss.v071.i02>.  A sufficiently recent version of Protocol Buffers
library is required; currently version 3.3.0 from 2017 is the stated minimum.")
    (license license:gpl2+)))

(define-public r-rprojtree
  (package
    (name "r-rprojtree")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rprojtree" version))
       (sha256
        (base32 "0414srpgx2jgf8jaznpin131hiih17avx45vggf812b3xcicm11b"))))
    (properties `((upstream-name . "rprojtree")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjson r-magrittr r-jsonlite r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/miguel-conde/rprojtree")
    (synopsis "Create Folders and Files Structure for Data Science Projects")
    (description
     "Use JSON templates to create folders and files structure for data science
projects.  Includes customized templates and accepts your own as JSON files.")
    (license license:gpl3+)))

(define-public r-rprofile
  (package
    (name "r-rprofile")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rprofile" version))
       (sha256
        (base32 "0vikr77qk6y1ci1k2l843prlmndk61rvbbw9gv40lzwr9q5pdivb"))))
    (properties `((upstream-name . "rprofile")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rprofile")
    (synopsis
     "Load Both User-Global and Project-Specific R Profile Configurations")
    (description
     "Use rprofile::load() inside a project .Rprofile file to ensure that the
user-global .Rprofile is loaded correctly regardless of its location, and other
common resources (in particular renv') are also set up correctly.")
    (license license:expat)))

(define-public r-rprofet
  (package
    (name "r-rprofet")
    (version "3.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rprofet" version))
       (sha256
        (base32 "1czz920hw18afvyjm8fm9r4dzmini1qniyhsvx949qr74aj1gmal"))))
    (properties `((upstream-name . "Rprofet")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-sqldf
                             r-rocit
                             r-reshape2
                             r-purrr
                             r-plyr
                             r-kableextra
                             r-gridextra
                             r-ggplot2
                             r-dplyr
                             r-corrplot
                             r-clustofvar
                             r-binr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rprofet")
    (synopsis "WOE Transformation and Scorecard Builder")
    (description
     "This package performs all steps in the credit scoring process.  This package
allows the user to follow all the necessary steps for building an effective
scorecard.  It provides the user functions for coarse binning of variables,
Weights of Evidence (WOE) transformation, variable clustering, custom binning,
visualization, and scaling of logistic regression coefficients.  The results
will generate a scorecard that can be used as an effective credit scoring tool
to evaluate risk.  For complete details on the credit scoring process, see
Siddiqi (2005, ISBN:047175451X).")
    (license license:gpl3)))

(define-public r-rprobsup
  (package
    (name "r-rprobsup")
    (version "3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RProbSup" version))
       (sha256
        (base32 "1z53zgx26fwfhb1vxad0l51v34y2lsplhwbjaf4r44rngdaw9h5n"))))
    (properties `((upstream-name . "RProbSup")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RProbSup")
    (synopsis "Calculates Probability of Superiority")
    (description
     "The A() function calculates the A statistic, a nonparametric measure of effect
size for two independent groups thatâs also known as the probability of
superiority (Ruscio, 2008), along with its standard error and a confidence
interval constructed using bootstrap methods (Ruscio & Mullen, 2012).  Optional
arguments can be specified to calculate variants of the A statistic developed
for other research designs (e.g., related samples, more than two independent
groups or related samples; Ruscio & Gera, 2013). <DOI:
10.1037/1082-989X.13.1.19>. <DOI: 10.1080/00273171.2012.658329>. <DOI:
10.1080/00273171.2012.738184>.")
    (license license:expat)))

(define-public r-rprobitb
  (package
    (name "r-rprobitb")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RprobitB" version))
       (sha256
        (base32 "0345cq3kjkhlbykwqzdjagixjdlw6a0ipckchky1hfm8kb4nkyzy"))))
    (properties `((upstream-name . "RprobitB")))
    (build-system r-build-system)
    (propagated-inputs (list r-viridis
                             r-rlang
                             r-rdpack
                             r-rcpparmadillo
                             r-rcpp
                             r-progress
                             r-plotroc
                             r-oeli
                             r-mvtnorm
                             r-mixtools
                             r-mass
                             r-gridextra
                             r-ggplot2
                             r-foreach
                             r-dosnow
                             r-crayon
                             r-cli
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://loelschlaeger.de/RprobitB/")
    (synopsis "Bayesian Probit Choice Modeling")
    (description
     "Bayes estimation of probit choice models, both in the cross-sectional and panel
setting.  The package can analyze binary, multivariate, ordered, and ranked
choices, as well as heterogeneity of choice behavior among deciders.  The main
functionality includes model fitting via Markov chain Monte Carlo m ethods,
tools for convergence diagnostic, choice data simulation, in-sample and
out-of-sample choice prediction, and model selection using information criteria
and Bayes factors.  The latent class model extension facilitates
preference-based decider classification, where the number of latent classes can
be inferred via the Dirichlet process or a weight-based updating heuristic.
This allows for flexible modeling of choice behavior without the need to impose
structural constraints.  For a reference on the method see Oelschlaeger and
Bauer (2021) <https://trid.trb.org/view/1759753>.")
    (license license:gpl3)))

(define-public r-rprintf
  (package
    (name "r-rprintf")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rprintf" version))
       (sha256
        (base32 "0rwqpln0igxb4m6d6jyp7h3shfb8sbp0kj7cgkffjp88hn9qm4h3"))))
    (properties `((upstream-name . "rprintf")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringi))
    (home-page "http://renkun.me/rprintf")
    (synopsis "Adaptive Builder for Formatted Strings")
    (description
     "This package provides a set of functions to facilitate building formatted
strings under various replacement rules: C-style formatting, variable-based
formatting, and number-based formatting.  C-style formatting is basically
identical to built-in function sprintf'.  Variable-based formatting allows users
to put variable names in a formatted string which will be replaced by variable
values.  Number-based formatting allows users to use index numbers to represent
the corresponding argument value to appear in the string.")
    (license license:expat)))

(define-public r-rprime
  (package
    (name "r-rprime")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rprime" version))
       (sha256
        (base32 "1h54vclc800pir3vxqcq4cmmxy9fcar1fydqmba2dzpj8dvlad7v"))))
    (properties `((upstream-name . "rprime")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-stringi r-plyr r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/tjmahr/rprime")
    (synopsis "Functions for Working with 'Eprime' Text Files")
    (description
     "Eprime is a set of programs for administering psychological experiments by
computer.  This package provides functions for loading, parsing, filtering and
exporting data in the text files produced by Eprime experiments.")
    (license license:gpl2)))

(define-public r-rprev
  (package
    (name "r-rprev")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rprev" version))
       (sha256
        (base32 "0494z0049rxahs4ndjlclzfc65k304a1m01cdlhjg4rz1gc1vrr8"))))
    (properties `((upstream-name . "rprev")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-survival
                             r-magrittr
                             r-lubridate
                             r-lazyeval
                             r-ggplot2
                             r-dplyr
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/stulacy/rprev-dev")
    (synopsis "Estimating Disease Prevalence from Registry Data")
    (description
     "Estimates disease prevalence for a given index date using existing registry data
extended with Monte Carlo simulations following the method of Crouch et al
(2014) <doi: 10.1016/j.canep.2014.02.005>.")
    (license license:gpl2)))

(define-public r-rpregression
  (package
    (name "r-rpregression")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPregression" version))
       (sha256
        (base32 "098c798jiafbx12jas98r9118fnq0n963ivvphiif58yv2hf0iqz"))))
    (properties `((upstream-name . "RPregression")))
    (build-system r-build-system)
    (propagated-inputs (list r-stargazer r-ggplot2))
    (home-page "https://cran.r-project.org/package=RPregression")
    (synopsis "Simple Regression and Plotting Tool")
    (description
     "Perform a regression analysis, generate a regression table, create a scatter
plot, and download the results.  It uses stargazer for generating regression
tables and ggplot2 for creating plots.  With just two lines of code, you can
perform a regression analysis, visualize the results, and save the output.  It
is part of my make R easy project where one doesn't need to know how to use
various packages in order to get results and makes it easily accessible to
beginners.  This is a part of my make R easy project.  Help from @code{ChatGPT}
was taken.  References were Wickham (2016) <doi:10.1007/978-3-319-24277-4>.")
    (license license:gpl3)))

(define-public r-rpref
  (package
    (name "r-rpref")
    (version "1.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rPref" version))
       (sha256
        (base32 "1ylb4mc5fjvmi8wly9w4v25l7sc8i9hk28lfidgzaavp5447af2w"))))
    (properties `((upstream-name . "rPref")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppparallel r-rcpp r-lazyeval r-igraph r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://www.p-roocks.de/rpref/")
    (synopsis "Database Preferences and Skyline Computation")
    (description
     "Routines to select and visualize the maxima for a given strict partial order.
This especially includes the computation of the Pareto frontier, also known as
(Top-k) Skyline operator (see BÃ¶rzsÃ¶nyi, et al. (2001)
<doi:10.1109/ICDE.2001.914855>), and some generalizations known as database
preferences (see KieÃling (2002) <doi:10.1016/B978-155860869-6/50035-4>).")
    (license license:gpl2+)))

(define-public r-rpredictit
  (package
    (name "r-rpredictit")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpredictit" version))
       (sha256
        (base32 "0azq75fhjadchc4pxgs4pccpvskc508zhggxxb7ab012nysap027"))))
    (properties `((upstream-name . "rpredictit")))
    (build-system r-build-system)
    (propagated-inputs (list r-xts
                             r-shiny
                             r-quantmod
                             r-magrittr
                             r-jsonlite
                             r-httr
                             r-dygraphs
                             r-dt
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/danielkovtun/rpredictit")
    (synopsis "Interface to the 'PredictIt' API")
    (description
     "Wrapper to retrieve market data, explore available markets, and plot historical
price data from the @code{PredictIt} public API
(<https://www.predictit.org/api/marketdata/all/>).  The package comes with a
demo shiny application for illustrating example use cases.  License to use data
made available via the API is for non-commercial use and @code{PredictIt} is the
sole source of such data.")
    (license license:expat)))

(define-public r-rpraat
  (package
    (name "r-rpraat")
    (version "1.3.2-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rPraat" version))
       (sha256
        (base32 "19qd3hylp8m0y171xhdd3k84izxyid7k2f9583gkxq8kik3md1v2"))))
    (properties `((upstream-name . "rPraat")))
    (build-system r-build-system)
    (propagated-inputs (list r-tuner r-stringr r-readr r-dygraphs r-dplyr))
    (home-page "https://github.com/bbTomas/rPraat/")
    (synopsis "Interface to Praat")
    (description
     "Read, write and manipulate Praat @code{TextGrid}, @code{PitchTier}, Pitch,
@code{IntensityTier}, Formant, Sound, and Collection files
<https://www.fon.hum.uva.nl/praat/>.")
    (license license:expat)))

(define-public r-rpql
  (package
    (name "r-rpql")
    (version "0.8.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpql" version))
       (sha256
        (base32 "065mkdfrhs7jmkwyvkydic04snih1wb18xshddll1r5kam4ixvn2"))))
    (properties `((upstream-name . "rpql")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo
                             r-rcpp
                             r-mvtnorm
                             r-matrix
                             r-mass
                             r-lme4
                             r-gamlss-dist))
    (home-page "https://cran.r-project.org/package=rpql")
    (synopsis "Regularized PQL for Joint Selection in GLMMs")
    (description
     "This package performs joint selection in Generalized Linear Mixed Models (GLMMs)
using penalized likelihood methods.  Specifically, the Penalized
Quasi-Likelihood (PQL) is used as a loss function, and penalties are then
augmented to perform simultaneous fixed and random effects selection.
Regularized PQL avoids the need for integration (or approximations such as the
Laplace's method) during the estimation process, and so the full solution path
for model selection can be constructed relatively quickly.")
    (license license:gpl2)))

(define-public r-rppaspace
  (package
    (name "r-rppaspace")
    (version "1.0.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPPASPACE" version))
       (sha256
        (base32 "0k9z02qpzxqqcdq5kqrrlc9k9bqcrl69ik6l30fa0rd7ywaqwsbc"))))
    (properties `((upstream-name . "RPPASPACE")))
    (build-system r-build-system)
    (propagated-inputs (list r-timedate
                             r-tiff
                             r-sparsem
                             r-robustbase
                             r-quantreg
                             r-png
                             r-nlme
                             r-mgcv
                             r-jpeg
                             r-iterators
                             r-imager
                             r-foreach
                             r-doparallel
                             r-cobs
                             r-bmp))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://pubmed.ncbi.nlm.nih.gov/36205581")
    (synopsis
     "Reverse-Phase Protein Array Super Position and Concentration Evaluation")
    (description
     "This package provides tools for the analysis of reverse-phase protein arrays
(RPPAs), which are also known as tissue lysate arrays or simply lysate arrays'.
The package's primary purpose is to input a set of quantification files
representing dilution series of samples and control points taken from scanned
RPPA slides and determine a relative log concentration value for each valid
dilution series present in each slide and provide graphical visualization of the
input and output data and their relationships.  Other optional features include
generation of quality control scores for judging the quality of the input data,
spatial adjustment of sample points based on controls added to the slides, and
various types of normalization of calculated values across a set of slides.  The
package was derived from a previous package named @code{SuperCurve}.  For a
detailed description of data inputs and outputs, usage information, and a list
of related papers describing methods used in the package please review the
vignette Guide_to_RPPASPACE'.  RPPA SPACE: an R package for normalization and
quantitation of Reverse-Phase Protein Array data'.  Bioinformatics Nov
15;38(22):5131-5133. <doi: 10.1093/bioinformatics/btac665>.")
    (license license:artistic2.0)))

(define-public r-rppanalyzer
  (package
    (name "r-rppanalyzer")
    (version "1.4.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPPanalyzer" version))
       (sha256
        (base32 "1lw28cfi397klxxhs97dwzsfk7ykggbh4p82yg73sq6yq3liha1a"))))
    (properties `((upstream-name . "RPPanalyzer")))
    (build-system r-build-system)
    (propagated-inputs (list r-quantreg
                             r-limma
                             r-lattice
                             r-hmisc
                             r-gplots
                             r-ggplot2
                             r-gam
                             r-biobase))
    (home-page "https://cran.r-project.org/package=RPPanalyzer")
    (synopsis
     "Reads, Annotates, and Normalizes Reverse Phase Protein Array Data")
    (description
     "Reads in sample description and slide description files and annotates the
expression values taken from @code{GenePix} results files (text file format used
by many microarray scanner and software providers).  After normalization data
can be visualized as boxplot, heatmap or dotplot.")
    (license license:lgpl2.0+)))

(define-public r-rppairwisedesign
  (package
    (name "r-rppairwisedesign")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPPairwiseDesign" version))
       (sha256
        (base32 "0k2vh698rhs5a0b5vhyvrnnwqnagdzs591zx6hn9vbmm8rm4y1dm"))))
    (properties `((upstream-name . "RPPairwiseDesign")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RPPairwiseDesign")
    (synopsis
     "Resolvable partially pairwise balanced design and Space-filling design via association scheme")
    (description
     "Using some association schemes to obtain a new series of resolvable partially
pairwise balanced designs (RPPBD) and space-filling designs.")
    (license license:gpl3)))

(define-public r-rpowersamplesize
  (package
    (name "r-rpowersamplesize")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rPowerSampleSize" version))
       (sha256
        (base32 "1insdfvcn1pirsnf7nwfia0kzgsmh2zpghgfj2yc35ld1r9j2hp2"))))
    (properties `((upstream-name . "rPowerSampleSize")))
    (build-system r-build-system)
    (propagated-inputs (list r-ssanv r-mvtnorm))
    (home-page "https://cran.r-project.org/package=rPowerSampleSize")
    (synopsis
     "Sample Size Computations Controlling the Type-II Generalized Family-Wise Error Rate")
    (description
     "The significance of mean difference tests in clinical trials is established if
at least r null hypotheses are rejected among m that are simultaneously tested.
This package enables one to compute necessary sample sizes for single-step
(Bonferroni) and step-wise procedures (Holm and Hochberg).  These three
procedures control the q-generalized family-wise error rate (probability of
making at least q false rejections).  Sample size is computed (for these
single-step and step-wise procedures) in a such a way that the r-power
(probability of rejecting at least r false null hypotheses, i.e.  at least r
significant endpoints among m) is above some given threshold, in the context of
tests of difference of means for two groups of continuous endpoints (variables).
 Various types of structure of correlation are considered.  It is also possible
to analyse data (i.e., actually test difference in means) when these are
available.  The case r equals 1 is treated in separate functions that were used
in Lafaye de Micheaux et al. (2014) <doi:10.1080/10543406.2013.860156>.")
    (license license:gpl3+)))

(define-public r-rpostgis
  (package
    (name "r-rpostgis")
    (version "1.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpostgis" version))
       (sha256
        (base32 "1fnizm0xb7div6mrg3s9a4mv8dbm6lrq9azjxi786261jmv3dbvg"))))
    (properties `((upstream-name . "rpostgis")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra
                             r-sp
                             r-sf
                             r-rpostgresql
                             r-raster
                             r-purrr
                             r-dbi))
    (home-page "https://cidree.github.io/rpostgis/")
    (synopsis "R Interface to a 'PostGIS' Database")
    (description
     "This package provides an interface between R and @code{PostGIS'-enabled}
@code{PostgreSQL} databases to transparently transfer spatial data.  Both vector
(points, lines, polygons) and raster data are supported in read and write modes.
 Also provides convenience functions to execute common procedures in
@code{PostgreSQL/PostGIS}'.")
    (license license:gpl3+)))

(define-public r-rportfolio
  (package
    (name "r-rportfolio")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rportfolio" version))
       (sha256
        (base32 "1pj08qz1qmdcyxp629lyfggbgzr36wrjir0fj6hpgf5zm588bqiy"))))
    (properties `((upstream-name . "rportfolio")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo r-xts))
    (home-page "https://cran.r-project.org/package=rportfolio")
    (synopsis "Portfolio Theory")
    (description
     "Collection of tools to calculate portfolio performance metrics.  Portfolio
performance is a key measure for investors.  These metrics are important to
analyse how effectively their money has been invested.  This package uses
portfolio theories to give investor tools to evaluate their portfolio
performance.  For more information see, Markowitz, H.M. (1952),
<doi:10.2307/2975974>.  Analysis of Investments & Management of Portfolios
[2012, ISBN:978-8131518748].")
    (license license:gpl3)))

(define-public r-rpoppler
  (package
    (name "r-rpoppler")
    (version "0.1-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rpoppler" version))
       (sha256
        (base32 "1nyl3zcn5664hbzcqi4r86d9imbviwis9amj1kxb2fcx70n0pr9s"))))
    (properties `((upstream-name . "Rpoppler")))
    (build-system r-build-system)
    (native-inputs (list pkg-config))
    (home-page "https://cran.r-project.org/package=Rpoppler")
    (synopsis "PDF Tools Based on Poppler")
    (description
     "PDF tools based on the Poppler PDF rendering library.  See
<http://poppler.freedesktop.org/> for more information on Poppler.")
    (license license:gpl2)))

(define-public r-rpolyhedra
  (package
    (name "r-rpolyhedra")
    (version "0.5.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rpolyhedra" version))
       (sha256
        (base32 "00wmxk8j89lyzbb7fws4g8znnqbw5dh64vqhxjg5rxjdpr3vibl8"))))
    (properties `((upstream-name . "Rpolyhedra")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-stringr
                             r-rgl
                             r-r6
                             r-lgr
                             r-git2r
                             r-geometry
                             r-digest))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/Rpolyhedra/")
    (synopsis "Polyhedra Database")
    (description
     "This package provides a polyhedra database scraped from various sources as R6
objects and rgl visualizing capabilities.")
    (license license:expat)))

(define-public r-rpointcloud
  (package
    (name "r-rpointcloud")
    (version "0.8.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPointCloud" version))
       (sha256
        (base32 "1rzqfszcras62gndzg3z34qlhkqjdrrf3z5gcxfqdfmn6cj2ynm9"))))
    (properties `((upstream-name . "RPointCloud")))
    (build-system r-build-system)
    (propagated-inputs (list r-tda
                             r-rgl
                             r-mercator
                             r-classdiscovery
                             r-classcomparison
                             r-circlize))
    (native-inputs (list r-knitr))
    (home-page "http://oompa.r-forge.r-project.org/")
    (synopsis "Visualizing Topological Loops and Voids")
    (description
     "Visualizations to explain the results of a topological data analysis.  The goal
of topological data analysis is to identify persistent topological structures,
such as loops (topological circles) and voids (topological spheres), in data
sets.  The output of an analysis using the TDA package is a Rips diagram (named
after the mathematician Eliyahu Rips).  The goal of R@code{PointCloud} is to
fill in these holes in the data by providing tools to visualize the features
that help explain the structures found in the Rips diagram.  See @code{McGee}
and colleagues (2024) <doi:10.1101/2024.05.16.593927>.")
    (license license:artistic2.0)))

(define-public r-rpoet
  (package
    (name "r-rpoet")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rpoet" version))
       (sha256
        (base32 "11gp4zg0wc2a21956355rkr3i3dyaabfz0z30z4phn8s7y3yqr92"))))
    (properties `((upstream-name . "Rpoet")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rpoet")
    (synopsis "'PoetryDB' API Wrapper")
    (description
     "Wrapper for the @code{PoetryDB} API <http://poetrydb.org> that allows for
interaction and data extraction from the database in an R interface.  The
@code{PoetryDB} API is a database of poetry and poets implemented with
@code{MongoDB} to enable developers and poets to easily access one of the most
comprehensive poetry databases currently available.")
    (license license:gpl2)))

(define-public r-rpnf
  (package
    (name "r-rpnf")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpnf" version))
       (sha256
        (base32 "07byg0ym4d2cr6fp74z379jhsaw4c0xrwf622dvhwa4frn4anl60"))))
    (properties `((upstream-name . "rpnf")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rpnf")
    (synopsis "Point and Figure Package")
    (description
     "This package provides a set of functions to analyze and print the development of
a commodity using the Point and Figure (P&F) approach.  A P&F processor can be
used to calculate daily statistics for the time series.  These statistics can be
used for deeper investigations as well as to create plots.  Plots can be
generated as well known X/O Plots in plain text format, and additionally in a
more graphical format.")
    (license license:gpl3)))

(define-public r-rpms
  (package
    (name "r-rpms")
    (version "0.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpms" version))
       (sha256
        (base32 "1y686da4ylv403gbfx43yaa2i2zdcgdv9p1zmlq05dvbkjkvlvw9"))))
    (properties `((upstream-name . "rpms")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (home-page "https://cran.r-project.org/package=rpms")
    (synopsis "Recursive Partitioning for Modeling Survey Data")
    (description
     "This package provides functions to allow users to build and analyze design
consistent tree and random forest models using survey data from a complex sample
design.  The tree model algorithm can fit a linear model to survey data in each
node obtained by recursively partitioning the data.  The splitting variables and
selected splits are obtained using a randomized permutation test procedure which
adjusted for complex sample design features used to obtain the data.  Likewise
the model fitting algorithm produces design-consistent coefficients to any
specified least squares linear model between the dependent and independent
variables used in the end nodes.  The main functions return the resulting binary
tree or random forest as an object of \"rpms\" or \"rpms_forest\" type.  The package
also provides methods modeling a \"boosted\" tree or forest model and a tree model
for zero-inflated data as well as a number of functions and methods available
for use with these object types.")
    (license license:cc0)))

(define-public r-rpmodel
  (package
    (name "r-rpmodel")
    (version "1.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpmodel" version))
       (sha256
        (base32 "1vpgc38waijd670pydankq0vqz53zi3jxj8621xxg3wiwga91sl3"))))
    (properties `((upstream-name . "rpmodel")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/geco-bern/rpmodel")
    (synopsis "P-Model")
    (description
     "This package implements the P-model (Stocker et al., 2020
<doi:10.5194/gmd-13-1545-2020>), predicting acclimated parameters of the enzyme
kinetics of C3 photosynthesis, assimilation, and dark respiration rates as a
function of the environment (temperature, CO2, vapour pressure deficit, light,
atmospheric pressure).")
    (license license:gpl3)))

(define-public r-rpmg
  (package
    (name "r-rpmg")
    (version "2.2-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPMG" version))
       (sha256
        (base32 "04czp6f51mc7n03hxzjpgiisj17l4xyqhj5967z7ghvb28ydw4y4"))))
    (properties `((upstream-name . "RPMG")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RPMG")
    (synopsis
     "Graphical User Interface (GUI) for Interactive R Analysis Sessions")
    (description
     "Really Poor Man's Graphical User Interface, used to create interactive R
analysis sessions with simple R commands.")
    (license license:gpl2+)))

(define-public r-rpm
  (package
    (name "r-rpm")
    (version "0.7-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpm" version))
       (sha256
        (base32 "1bzlvyrjib7wgv57didcqmlvzv4skp587jmn7vpfwpqb4lkp7ia1"))))
    (properties `((upstream-name . "rpm")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo
                             r-rcpp
                             r-nloptr
                             r-matrixstats
                             r-mass
                             r-ggplot2
                             r-future
                             r-foreach
                             r-dplyr
                             r-dorng
                             r-dofuture
                             r-coda
                             r-abind))
    (home-page "https://github.com/handcock/rpm")
    (synopsis "Modeling of Revealed Preferences Matchings")
    (description
     "Statistical estimation of revealed preference models from data collected on
bipartite matchings.  The models are for matchings within a bipartite population
where individuals have utility for people based on known and unknown
characteristics.  People can form a partnership or remain unpartnered.  The
model represents both the availability of potential partners of different types
and preferences of individuals for such people.  The software estimates
preference parameters based on sample survey data on partnerships and population
composition.  The simulation of matchings and goodness-of-fit are considered.
See Goyal, Handcock, Jackson, Rendall and Yeung (2022)
<doi:10.1093/jrsssa/qnad031>.")
    (license (license:fsdg-compatible "GPL-3 + file LICENSE"))))

(define-public r-rplum
  (package
    (name "r-rplum")
    (version "0.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rplum" version))
       (sha256
        (base32 "1mrwvpq9pbp1fq797d8wy10syqki42mjbivbg8vlai1fyy4i0gpi"))))
    (properties `((upstream-name . "rplum")))
    (build-system r-build-system)
    (propagated-inputs (list r-rintcal r-rbacon))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rplum")
    (synopsis "Bayesian Age-Depth Modelling of Cores Dated by Pb-210")
    (description
     "An approach to age-depth modelling that uses Bayesian statistics to reconstruct
accumulation histories for 210Pb-dated deposits using prior information.  It can
combine 210Pb, radiocarbon, and other dates in the chronologies.  See Aquino et
al. (2018) <doi:10.1007/s13253-018-0328-7>.  Note that parts of the code
underlying rplum are derived from the rbacon package by the same authors, and
there remains a degree of overlap between the two packages.")
    (license license:gpl2+)))

(define-public r-rpls
  (package
    (name "r-rpls")
    (version "0.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpls" version))
       (sha256
        (base32 "0r3y63pi4d7hfzs53d9w23ymmk86gvm85v0dx7n1gicha5nn1mk8"))))
    (properties `((upstream-name . "rpls")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase r-pcapp))
    (home-page "https://cran.r-project.org/package=rpls")
    (synopsis "Robust Partial Least Squares")
    (description
     "This package provides a robust Partial Least-Squares (PLS) method is implemented
that is robust to outliers in the residuals as well as to leverage points.  A
specific weighting scheme is applied which avoids iterations, and leads to a
highly efficient robust PLS estimator.")
    (license license:gpl3+)))

(define-public r-rplotengine
  (package
    (name "r-rplotengine")
    (version "1.0-9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rplotengine" version))
       (sha256
        (base32 "0bmxn578z1arjical1xhzy7ib32ys7p8wkmrjw1b66islwi4b79k"))))
    (properties `((upstream-name . "rplotengine")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable))
    (home-page "http://www.umh.es")
    (synopsis "R as a Plotting Engine")
    (description
     "Generate basic charts either by custom applications, or from a small script
launched from the system console, or within the R console.  Two ASCII text files
are necessary: (1) The graph parameters file, which name is passed to the
function rplotengine()'.  The user can specify the titles, choose the type of
the graph, graph output formats (e.g. png, eps), proportion of the X-axis and
Y-axis, position of the legend, whether to show or not a grid at the background,
etc. (2) The data to be plotted, which name is specified as a parameter
('data_filename') in the previous file.  This data file has a tabulated format,
with a single character (e.g. tab) between each column.  Optionally, the file
could include data columns for showing confidence intervals.")
    (license license:gpl2+)))

(define-public r-rplanes
  (package
    (name "r-rplanes")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rplanes" version))
       (sha256
        (base32 "1pv45g55rgsgjljqlz8sb3q4iimn1921ibihmlf32myilnavs87b"))))
    (properties `((upstream-name . "rplanes")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-readr
                             r-purrr
                             r-magrittr
                             r-lubridate
                             r-ecp
                             r-dtw
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://signaturescience.github.io/rplanes/")
    (synopsis "Plausibility Analysis of Epidemiological Signals")
    (description
     "This package provides functionality to prepare data and analyze plausibility of
both forecasted and reported epidemiological signals.  The functions implement a
set of plausibility algorithms that are agnostic to geographic and time
resolutions and are calculated independently then presented as a combined score.")
    (license license:expat)))

(define-public r-rpivottable
  (package
    (name "r-rpivottable")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpivotTable" version))
       (sha256
        (base32 "0ndhsw4nnz6wf0v8dh4sz8867m01jjkzw6aq7f490z1ypa3d9fv5"))))
    (properties `((upstream-name . "rpivotTable")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-htmlwidgets))
    (native-inputs (list r-knitr esbuild))
    (home-page "https://github.com/smartinsightsfromdata")
    (synopsis
     "Build Powerful Pivot Tables and Dynamically Slice & Dice your Data")
    (description
     "Build powerful pivot tables (aka Pivot Grid, Pivot Chart, Cross-Tab) and
dynamically slice & dice / drag n drop your data. @code{rpivotTable} is a
wrapper of pivottable', a powerful open-source Pivot Table library implemented
in @code{JavaScript} by Nicolas Kruchten.  Aligned to pivottable v2.19.0.")
    (license license:expat)))

(define-public r-rpinterest
  (package
    (name "r-rpinterest")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpinterest" version))
       (sha256
        (base32 "0kkf73byhgzqxw85wda3nh7qsq81pc035vi6z3fhnvb9ssszwakc"))))
    (properties `((upstream-name . "rpinterest")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjson r-magrittr r-httr))
    (home-page "https://cran.r-project.org/package=rpinterest")
    (synopsis "Access Pinterest API")
    (description "Get information (boards, pins and users) from the Pinterest
<http://www.pinterest.com> API.")
    (license license:gpl3)))

(define-public r-rphylopic
  (package
    (name "r-rphylopic")
    (version "1.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rphylopic" version))
       (sha256
        (base32 "1flfxxmrn537f9vlnynrwjsjm3gak90m69jwrl5nms06y25wvyih"))))
    (properties `((upstream-name . "rphylopic")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales
                             r-rsvg
                             r-png
                             r-pbapply
                             r-lifecycle
                             r-knitr
                             r-jsonlite
                             r-httr
                             r-grimport2
                             r-ggplot2
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://rphylopic.palaeoverse.org")
    (synopsis "Get Silhouettes of Organisms from PhyloPic")
    (description
     "Work with the @code{PhyloPic} Web Service (<http://api-docs.phylopic.org/v2/>)
to fetch silhouette images of organisms.  Includes functions for adding
silhouettes to both base R plots and ggplot2 plots.")
    (license license:gpl3+)))

(define-public r-rphylopars
  (package
    (name "r-rphylopars")
    (version "0.3.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rphylopars" version))
       (sha256
        (base32 "081sirrrqs42hvap4scwba3g8ciyqss11g8xipzqk96a9wfqcdf6"))))
    (properties `((upstream-name . "Rphylopars")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo
                             r-rcpp
                             r-phytools
                             r-phylolm
                             r-numderiv
                             r-matrix
                             r-mass
                             r-doby
                             r-ape))
    (home-page "https://github.com/ericgoolsby/Rphylopars/wiki")
    (synopsis
     "Phylogenetic Comparative Tools for Missing Data and Within-Species Variation")
    (description
     "This package provides tools for performing phylogenetic comparative methods for
datasets with with multiple observations per species (intraspecific variation or
measurement error) and/or missing data (Goolsby et al.  2017).  Performs
ancestral state reconstruction and missing data imputation on the estimated
evolutionary model, which can be specified as Brownian Motion,
Ornstein-Uhlenbeck, Early-Burst, Pagel's lambda, kappa, or delta, or a star
phylogeny.")
    (license license:gpl2+)))

(define-public r-rphosfate
  (package
    (name "r-rphosfate")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPhosFate" version))
       (sha256
        (base32 "1gmnnvihxg6j83w4qgrrx61fz4p9r145qxs2qcscrs1q8bzlvw9k"))))
    (properties `((upstream-name . "RPhosFate")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml
                             r-spatstat-geom
                             r-rcpparmadillo
                             r-rcpp
                             r-raster
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://gisler.github.io/RPhosFate/")
    (synopsis "Soil and Chemical Substance Emission and Transport Model")
    (description
     "An enhanced version of the semi-empirical, spatially distributed emission and
transport model @code{PhosFate} implemented in R and C++'.  It currently
supports suspended solids (SS) and particulate phosphorus (PP).  A major feature
is the allocation of substance loads entering surface waters to their sources of
origin, which is a basic requirement for the identification of critical source
areas and in consequence a cost-effective implementation of mitigation measures.
 References: Hepp et al. (2022) <doi:10.1016/j.jenvman.2022.114514>; Hepp and
Zessner (2019) <doi:10.3390/w11102161>; Kovacs (2013)
<http://hdl.handle.net/20.500.12708/9468>.")
    (license license:agpl3+)))

(define-public r-rpexe-rpext
  (package
    (name "r-rpexe-rpext")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPEXE.RPEXT" version))
       (sha256
        (base32 "1dwblpfm0s4axiggwh4lbz5k1dz7i0d1nqzl70kxj5gnajm7gn1k"))))
    (properties `((upstream-name . "RPEXE.RPEXT")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/hangangtrue/RPEXE.RPEXT")
    (synopsis "Reduced Piecewise Exponential Estimate/Test Software")
    (description
     "This reduced piecewise exponential survival software implements the likelihood
ratio test and backward elimination procedure in Han, Schell, and Kim (2012
<doi:10.1080/19466315.2012.698945>, 2014 <doi:10.1002/sim.5915>), and Han et al.
(2016 <doi:10.1111/biom.12590>).  Inputs to the program can be either times when
events/censoring occur or the vectors of total time on test and the number of
events.  Outputs of the programs are times and the corresponding p-values in the
backward elimination.  Details about the model and implementation are given in
Han et al.  2014.  This program can run in R version 3.2.2 and above.")
    (license license:gpl3)))

(define-public r-rpese
  (package
    (name "r-rpese")
    (version "1.2.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPESE" version))
       (sha256
        (base32 "157xvfa6m4vii92fac8xbhnah7np3jvd1y1y7ryw5c80yfbdhf0y"))))
    (properties `((upstream-name . "RPESE")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-rpeif
                             r-rpeglmen
                             r-robstattm
                             r-boot))
    (native-inputs (list r-r-rsp))
    (home-page "https://cran.r-project.org/package=RPESE")
    (synopsis "Estimates of Standard Errors for Risk and Performance Measures")
    (description
     "Estimates of standard errors of popular risk and performance measures for asset
or portfolio returns using methods as described in Chen and Martin (2021)
<doi:10.21314/JOR.2020.446>.")
    (license license:gpl2+)))

(define-public r-rpensemble
  (package
    (name "r-rpensemble")
    (version "0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPEnsemble" version))
       (sha256
        (base32 "013dka8f8x9z84j3956l4h6c3afqs0ml14pzpzlsgh5ikby3jhbx"))))
    (properties `((upstream-name . "RPEnsemble")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-class))
    (home-page "https://arxiv.org/abs/1504.04595")
    (synopsis "Random Projection Ensemble Classification")
    (description
     "This package implements the methodology of \"Cannings, T. I. and Samworth, R. J.
(2017) Random-projection ensemble classification, J. Roy.  Statist.  Soc., Ser.
B. (with discussion), 79, 959--1035\".  The random projection ensemble classifier
is a general method for classification of high-dimensional data, based on
careful combination of the results of applying an arbitrary base classifier to
random projections of the feature vectors into a lower-dimensional space.  The
random projections are divided into non-overlapping blocks, and within each
block the projection yielding the smallest estimate of the test error is
selected.  The random projection ensemble classifier then aggregates the results
of applying the base classifier on the selected projections, with a data-driven
voting threshold to determine the final assignment.")
    (license license:gpl3)))

(define-public r-rpeif
  (package
    (name "r-rpeif")
    (version "1.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPEIF" version))
       (sha256
        (base32 "002f8753gfqx1ddcb60hz7xy6l19zvp3d3arackkqjh26zcw1paj"))))
    (properties `((upstream-name . "RPEIF")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo r-xts r-robstattm))
    (native-inputs (list r-r-rsp))
    (home-page "https://cran.r-project.org/package=RPEIF")
    (synopsis
     "Computation and Plots of Influence Functions for Risk and Performance Measures")
    (description
     "Computes the influence functions time series of the returns for the risk and
performance measures as mentioned in Chen and Martin (2018)
<https://www.ssrn.com/abstract=3085672>, as well as in Zhang et al. (2019)
<https://www.ssrn.com/abstract=3415903>.  Also evaluates estimators influence
functions at a set of parameter values and plots them to display the shapes of
the influence functions.")
    (license license:gpl2+)))

(define-public r-rpeglmen
  (package
    (name "r-rpeglmen")
    (version "1.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPEGLMEN" version))
       (sha256
        (base32 "0rbwxdh252vfx6qnplqqgmawpfk3naksi4wx11g1h7aj68cv8xjw"))))
    (properties `((upstream-name . "RPEGLMEN")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpeif r-rcppeigen r-rcpp))
    (native-inputs (list r-r-rsp))
    (home-page "https://cran.r-project.org/package=RPEGLMEN")
    (synopsis
     "Gamma and Exponential Generalized Linear Models with Elastic Net Penalty")
    (description
     "This package implements the fast iterative shrinkage-thresholding algorithm
(FISTA) algorithm to fit a Gamma distribution with an elastic net penalty as
described in Chen, Arakvin and Martin (2018) <arxiv:1804.07780>.  An
implementation for the case of the exponential distribution is also available,
with details available in Chen and Martin (2018)
<https://papers.ssrn.com/abstract_id=3085672>.")
    (license license:gpl2+)))

(define-public r-rpeakchrom
  (package
    (name "r-rpeakchrom")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RpeakChrom" version))
       (sha256
        (base32 "1r8f6knpz83arz2kabizx5yyh1myg0h310qlwh8rmy88cdxi1ps9"))))
    (properties `((upstream-name . "RpeakChrom")))
    (build-system r-build-system)
    (propagated-inputs (list r-ptw r-pracma r-minpack-lm r-ggplot2))
    (home-page "https://cran.r-project.org/package=RpeakChrom")
    (synopsis
     "Tools for Chromatographic Column Characterization and Modelling Chromatographic Peak")
    (description
     "The quantitative measurement and detection of molecules in HPLC should be
carried out by an accurate description of chromatographic peaks.  In this
package non-linear fitting using a modified Gaussian model with a parabolic
variance (PVMG) has been implemented to obtain the retention time and height at
the peak maximum.  This package also includes the traditional Van Deemter
approach and two alternatives approaches to characterize chromatographic column.")
    (license license:gpl2)))

(define-public r-rpdtest
  (package
    (name "r-rpdtest")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPDTest" version))
       (sha256
        (base32 "0xdb68nxn25did26a39x6s7sch7g2qdl7f15qli2h9l9irlh8zqd"))))
    (properties `((upstream-name . "RPDTest")))
    (build-system r-build-system)
    (propagated-inputs (list r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=RPDTest")
    (synopsis
     "New Type of Test Statistic and Method for Multinomial Goodness-of-Fit Test")
    (description
     "This package performs multinomial goodness-of-fit test on multinomially
distributed data using the Randomized phi-divergence test statistics.  Details
of this kind of statistics can be found at Nikita Puchkin, Vladimir Ulyanov
(2023) <doi:10.1214/22-AIHP1299>.")
    (license license:expat)))

(define-public r-rpdbapi
  (package
    (name "r-rpdbapi")
    (version "2.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rPDBapi" version))
       (sha256
        (base32 "06l24wff8ym3ksr6j01bph7lrnar7cwwlm0jp1kfshjdbmxqbb0n"))))
    (properties `((upstream-name . "rPDBapi")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-testthat
                             r-purrr
                             r-magrittr
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-bio3d))
    (home-page "https://cran.r-project.org/package=rPDBapi")
    (synopsis "Comprehensive Interface for Accessing the Protein Data Bank")
    (description
     "Streamlines the interaction with the RCSB Protein Data Bank ('PDB')
<https://www.rcsb.org/>.  This interface offers an intuitive and powerful tool
for searching and retrieving a diverse range of data types from the PDB'.  It
includes advanced functionalities like BLAST and sequence motif queries.  Built
upon the existing XML-based API of the PDB', it simplifies the creation of
custom requests, thereby enhancing usability and flexibility for researchers.")
    (license license:gpl2+)))

(define-public r-rpdb
  (package
    (name "r-rpdb")
    (version "2.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rpdb" version))
       (sha256
        (base32 "0nnjbyd3s57669kxy19wmih473s1lgxcznsk3d2ym3cpy7v7k385"))))
    (properties `((upstream-name . "Rpdb")))
    (build-system r-build-system)
    (propagated-inputs (list r-rgl))
    (home-page "https://github.com/discoleo/Rpdb")
    (synopsis "Read, Write, Visualize and Manipulate PDB Files")
    (description
     "This package provides tools to read, write, visualize Protein Data Bank (PDB)
files and perform some structural manipulations.")
    (license license:gpl3+)))

(define-public r-rpca
  (package
    (name "r-rpca")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpca" version))
       (sha256
        (base32 "135q3g8jmn9rwamrc9ss45cnbfyw8kxcbrf0kinw8asz70fihj9z"))))
    (properties `((upstream-name . "rpca")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rpca")
    (synopsis
     "RobustPCA: Decompose a Matrix into Low-Rank and Sparse Components")
    (description
     "Suppose we have a data matrix, which is the superposition of a low-rank
component and a sparse component.  Candes, E. J., Li, X., Ma, Y., & Wright, J.
(2011).  Robust principal component analysis?.  Journal of the ACM (JACM),
58(3), 11.  prove that we can recover each component individually under some
suitable assumptions.  It is possible to recover both the low-rank and the
sparse components exactly by solving a very convenient convex program called
Principal Component Pursuit; among all feasible decompositions, simply minimize
a weighted combination of the nuclear norm and of the L1 norm.  This package
implements this decomposition algorithm resulting with Robust PCA approach.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rpbk
  (package
    (name "r-rpbk")
    (version "0.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rPBK" version))
       (sha256
        (base32 "0sbnxhbv7gi1y1in96cw875sgbr54w5i43al2ivwj6kkdds0i91i"))))
    (properties `((upstream-name . "rPBK")))
    (build-system r-build-system)
    (propagated-inputs (list r-stanheaders
                             r-rstantools
                             r-rstan
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-ggplot2
                             r-bh))
    (native-inputs (list r-knitr))
    (home-page "https://gitlab.in2p3.fr/mosaic-software/rPBK/")
    (synopsis
     "Inference and Prediction of Generic Physiologically-Based Kinetic Models")
    (description
     "Fit and simulate any kind of physiologically-based kinetic ('PBK') models
whatever the number of compartments.  Moreover, it allows to account for any
link between pairs of compartments, as well as any link of each of the
compartments with the external medium.  Such generic PBK models have today
applications in pharmacology (PBPK models) to describe drug effects, in
toxicology and ecotoxicology (PBTK models) to describe chemical substance
effects.  In case of exposure to a parent compound (drug or chemical) the
@code{rPBK} package allows to consider metabolites, whatever their number and
their phase (I, II, ...).  Last but not least, package @code{rPBK} can also be
used for dynamic flux balance analysis (@code{dFBA}) to deal with metabolic
networks.  See also Charles et al. (2022) <doi:10.1101/2022.04.29.490045>.")
    (license license:expat)))

(define-public r-rpartscore
  (package
    (name "r-rpartscore")
    (version "1.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpartScore" version))
       (sha256
        (base32 "0vr93jgb2x3zzzbf0b3bbbb4mc0lvjicqbl5sv6z3wxjsjwl8jsl"))))
    (properties `((upstream-name . "rpartScore")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpart r-mass))
    (home-page "https://cran.r-project.org/package=rpartScore")
    (synopsis "Classification Trees for Ordinal Responses")
    (description
     "Recursive partitioning methods to build classification trees for ordinal
responses within the CART framework.  Trees are grown using the Generalized Gini
impurity function, where the misclassification costs are given by the absolute
or squared differences in scores assigned to the categories of the response.
Pruning is based on the total misclassification rate or on the total
misclassification cost.")
    (license license:gpl2+)))

(define-public r-rpart-plot
  (package
    (name "r-rpart-plot")
    (version "3.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpart.plot" version))
       (sha256
        (base32 "1ci2nks8knx84f42lpxnpx0s4bvbbyfcxvynkw9baplf39fjmjix"))))
    (properties `((upstream-name . "rpart.plot")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpart))
    (home-page "http://www.milbo.org/rpart-plot/index.html")
    (synopsis "Plot 'rpart' Models: An Enhanced Version of 'plot.rpart'")
    (description
     "Plot rpart models.  Extends plot.rpart() and text.rpart() in the rpart package.")
    (license license:gpl3)))

(define-public r-rpart-lad
  (package
    (name "r-rpart-lad")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpart.LAD" version))
       (sha256
        (base32 "0qfhd1gbzv3yikmdd98p9nj8xv6k7qlnlvv85g1ipil1d20f6dlc"))))
    (properties `((upstream-name . "rpart.LAD")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpart r-rcpp))
    (home-page "https://cran.r-project.org/package=rpart.LAD")
    (synopsis "Least Absolute Deviation Regression Trees")
    (description
     "Recursive partitioning for least absolute deviation regression trees.  Another
algorithm from the 1984 book by Breiman, Friedman, Olshen and Stone in addition
to the rpart package (Breiman, Friedman, Olshen, Stone (1984,
ISBN:9780412048418).")
    (license license:gpl3)))

(define-public r-rpanglaodb
  (package
    (name "r-rpanglaodb")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rPanglaoDB" version))
       (sha256
        (base32 "1ykzih3idgp2yhbw4039hhhzv0nmrmn3wx2c4dxmgp5qzhrg42nf"))))
    (properties `((upstream-name . "rPanglaoDB")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-xml r-seurat r-pbapply r-matrix))
    (home-page "https://github.com/dosorio/rPanglaoDB/")
    (synopsis
     "Download and Merge Single-Cell RNA-Seq Data from the PanglaoDB Database")
    (description
     "Download and merge labeled single-cell RNA-seq data from the @code{PanglaoDB}
<https://panglaodb.se/> into a Seurat object.")
    (license license:gpl3)))

(define-public r-rpanel
  (package
    (name "r-rpanel")
    (version "1.1-5.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpanel" version))
       (sha256
        (base32 "0b9r458dx65p1s0az14s3bhyh5isqx5ax9dblpsxxm6i9jcnx8f9"))))
    (properties `((upstream-name . "rpanel")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rpanel")
    (synopsis "Simple Interactive Controls for R using the 'tcltk' Package")
    (description
     "This package provides a set of functions to build simple GUI controls for R
functions.  These are built on the tcltk package.  Uses could include changing a
parameter on a graph by animating it with a slider or a \"doublebutton\", up to
more sophisticated control panels.  Some functions for specific graphical tasks,
referred to as cartoons', are provided.")
    (license license:gpl2+)))

(define-public r-rpanda
  (package
    (name "r-rpanda")
    (version "2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RPANDA" version))
       (sha256
        (base32 "12cah5vw9jcpnprnfhqwdh11fkn68djzgvdv2hr23yppa8nfn9zc"))))
    (properties `((upstream-name . "RPANDA")))
    (build-system r-build-system)
    (propagated-inputs (list r-vegan
                             r-tess
                             r-rmpfr
                             r-rcolorbrewer
                             r-raster
                             r-r-utils
                             r-pvclust
                             r-pspline
                             r-pracma
                             r-picante
                             r-phytools
                             r-phangorn
                             r-parallellogger
                             r-mvtnorm
                             r-mvmorph
                             r-matrix
                             r-igraph
                             r-gunifrac
                             r-glassofast
                             r-geiger
                             r-fpc
                             r-fields
                             r-desolve
                             r-coda
                             r-cluster
                             r-bipartite
                             r-bb
                             r-ape))
    (home-page "https://github.com/hmorlon/PANDA")
    (synopsis "Phylogenetic ANalyses of DiversificAtion")
    (description
     "This package implements macroevolutionary analyses on phylogenetic trees.  See
Morlon et al. (2010) <DOI:10.1371/journal.pbio.1000493>, Morlon et al. (2011)
<DOI:10.1073/pnas.1102543108>, Condamine et al. (2013) <DOI:10.1111/ele.12062>,
Morlon et al. (2014) <DOI:10.1111/ele.12251>, Manceau et al. (2015)
<DOI:10.1111/ele.12415>, Lewitus & Morlon (2016) <DOI:10.1093/sysbio/syv116>,
Drury et al. (2016) <DOI:10.1093/sysbio/syw020>, Manceau et al. (2016)
<DOI:10.1093/sysbio/syw115>, Morlon et al. (2016) <DOI:10.1111/2041-210X.12526>,
Clavel & Morlon (2017) <DOI:10.1073/pnas.1606868114>, Drury et al. (2017)
<DOI:10.1093/sysbio/syx079>, Lewitus & Morlon (2017)
<DOI:10.1093/sysbio/syx095>, Drury et al. (2018)
<DOI:10.1371/journal.pbio.2003563>, Clavel et al. (2019)
<DOI:10.1093/sysbio/syy045>, Maliet et al. (2019)
<DOI:10.1038/s41559-019-0908-0>, Billaud et al. (2019)
<DOI:10.1093/sysbio/syz057>, Lewitus et al. (2019) <DOI:10.1093/sysbio/syz061>,
Aristide & Morlon (2019) <DOI:10.1111/ele.13385>, Maliet et al. (2020)
<DOI:10.1111/ele.13592>, Drury et al. (2021) <DOI:10.1371/journal.pbio.3001270>,
Perez-Lamarque & Morlon (2022) <DOI:10.1111/mec.16478>, Perez-Lamarque et al.
(2022) <DOI:10.1101/2021.08.30.458192>, Mazet et al. (2023)
<DOI:10.1111/2041-210X.14195>, Drury et al. (2024)
<DOI:10.1016/j.cub.2023.12.055>.")
    (license license:gpl2)))

(define-public r-rpaleoclim
  (package
    (name "r-rpaleoclim")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpaleoclim" version))
       (sha256
        (base32 "1fqlqs8l18dy5l24hzyj19hdk6yaxmd25g56hg1c6cm677z1xcli"))))
    (properties `((upstream-name . "rpaleoclim")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra r-rlang r-fs r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://rpaleoclim.joeroe.io")
    (synopsis "Download Paleoclimate Data from 'PaleoClim'")
    (description
     "@code{PaleoClim} <http://www.paleoclim.org> (Brown et al.  2019,
<doi:10.1038/sdata.2018.254>) is a set of free, high resolution paleoclimate
surfaces covering the whole globe.  It includes data on surface temperature,
precipitation and the standard bioclimatic variables commonly used in ecological
modelling, derived from the @code{HadCM3} general circulation model and
downscaled to a spatial resolution of up to 2.5 minutes.  Simulations are
available for key time periods from the Late Holocene to mid-Pliocene.  Data on
current and Last Glacial Maximum climate is derived from CHELSA (Karger et al.
2017, <doi:10.1038/sdata.2017.122>) and reprocessed by @code{PaleoClim} to match
their format; it is available at up to 30 seconds resolution.  This package
provides a simple interface for downloading @code{PaleoClim} data in R, with
support for caching and filtering retrieved data by period, resolution, and
geographic extent.")
    (license license:expat)))

(define-public r-rpaex
  (package
    (name "r-rpaex")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rPAex" version))
       (sha256
        (base32 "1gx0hgyizhkv6wkdi4wrfc5vl2j548x418gff0ysq2nmifm5lpcy"))))
    (properties `((upstream-name . "rPAex")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra r-agricolae))
    (home-page "https://cran.r-project.org/package=rPAex")
    (synopsis
     "Automatic Detection of Experimental Unit in Precision Agriculture")
    (description
     "This package provides a part of precision agriculture is linked to the spectral
image obtained from the cameras.  With the image information of the agricultural
experiment, the included functions facilitate the collection of spectral data
associated with the experimental units.  Some designs generated in R are linked
to the images, which allows the use of the information of each pixel of the
image in the experimental unit and the treatment.  Tables and images are
generated for the analysis of the precision agriculture experiment during the
entire vegetative period of the crop.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rpadrino
  (package
    (name "r-rpadrino")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rpadrino" version))
       (sha256
        (base32 "01jdvqh947xa1x13hch2s8419xmb2pc5xyi6xay8ic7yr8syv8wd"))))
    (properties `((upstream-name . "Rpadrino")))
    (build-system r-build-system)
    (propagated-inputs (list r-truncdist
                             r-rmarkdown
                             r-rlang
                             r-purrr
                             r-mvtnorm
                             r-magrittr
                             r-ipmr
                             r-ggplot2
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/padrinoDB/Rpadrino")
    (synopsis "Interact with the 'PADRINO' IPM Database")
    (description
     "PADRINO houses textual representations of Integral Projection Models which can
be converted from their table format into full kernels to reproduce or extend an
already published analysis.  Rpadrino is an R interface to this database.  For
more information on Integral Projection Models, see Easterling et al. (2000)
<doi:10.1890/0012-9658(2000)081[0694:SSSAAN]2.0.CO;2>, Merow et al. (2013)
<doi:10.1111/2041-210X.12146>, Rees et al. (2014) <doi:10.1111/1365-2656.12178>,
and Metcalf et al. (2015) <doi:10.1111/2041-210X.12405>.  See Levin et al.
(2021) for more information on ipmr', the engine that powers model
reconstruction <doi:10.1111/2041-210X.13683>.")
    (license license:gpl3)))

(define-public r-rpact
  (package
    (name "r-rpact")
    (version "4.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rpact" version))
       (sha256
        (base32 "1cjdrj1sbn4xv6mrkvr0n3cx3zqh1lqg1kp0vppndz3qqwxjql4w"))))
    (properties `((upstream-name . "rpact")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-rcpp r-r6 r-knitr))
    (native-inputs (list r-rmarkdown r-knitr gfortran))
    (home-page "https://www.rpact.org")
    (synopsis "Confirmatory Adaptive Clinical Trial Design and Analysis")
    (description
     "Design and analysis of confirmatory adaptive clinical trials with continuous,
binary, and survival endpoints according to the methods described in the
monograph by Wassmer and Brannath (2016) <doi:10.1007/978-3-319-32562-0>.  This
includes classical group sequential as well as multi-stage adaptive hypotheses
tests that are based on the combination testing principle.")
    (license license:lgpl3)))

(define-public r-rpackedbar
  (package
    (name "r-rpackedbar")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rPackedBar" version))
       (sha256
        (base32 "1nh0kvj4bqkinczj8llcgy63ibsnk9vgsvm0vqg8g526x0vffdma"))))
    (properties `((upstream-name . "rPackedBar")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny r-scales r-plotly r-data-table))
    (native-inputs (list r-r-rsp))
    (home-page "https://github.com/AdamSpannbauer/rPackedBar")
    (synopsis "Packed Bar Charts with 'plotly'")
    (description
     "Packed bar charts are a variation of treemaps for visualizing skewed data.  The
concept was introduced by Xan Gregg at JMP'.")
    (license license:expat)))

(define-public r-rpaci
  (package
    (name "r-rpaci")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rPACI" version))
       (sha256
        (base32 "10i9lx8h67x3ldysjqgfi6dqbclj7pwfg15wxzr2vw3qzsjyb9cz"))))
    (properties `((upstream-name . "rPACI")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-rlang r-ggpubr r-ggplot2 r-bnlearn))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rPACI")
    (synopsis "Placido Analysis of Corneal Irregularity")
    (description
     "Analysis of corneal data obtained from a Placido disk corneal topographer with
calculation of irregularity indices.  This package performs analyses of corneal
data obtained from a Placido disk corneal topographer, with the calculation of
the Placido irregularity indices and the posterior analysis.  The package is
intended to be easy to use by a practitioner, providing a simple interface and
yielding easily interpretable results.  A corneal topographer is an ophthalmic
clinical device that obtains measurements in the cornea (the anterior part of
the eye).  A Placido disk corneal topographer makes use of the Placido disk
[Rowsey et al. (1981)]<doi:10.1001/archopht.1981.03930011093022>, which produce
a circular pattern of measurement nodes.  The raw information measured by such a
topographer is used by practitioners to analyze curvatures, to study optical
aberrations, or to diagnose specific conditions of the eye (e.g. keratoconus, an
important corneal disease).  The @code{rPACI} package allows the calculation of
the corneal irregularity indices described in [Castro-Luna et al.
(2020)]<doi:10.1016%2Fj.clae.2019.12.006>, [Ramos-Lopez et al.
(2013)]<doi:10.1097%2FOPX.0b013e3182843f2a>, and [Ramos-Lopez et al.
(2011)]<doi:10.1097/opx.0b013e3182279ff8>.  It provides a simple interface to
read corneal topography data files as exported by a typical Placido disk
topographer, to compute the irregularity indices mentioned before, and to
display summary plots that are easy to interpret for a clinician.")
    (license license:gpl3)))

(define-public r-roxytypes
  (package
    (name "r-roxytypes")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roxytypes" version))
       (sha256
        (base32 "0cb6i93f9rramlzpcqb4g4mi2967fm0jp6qbmgxrwzh4ih1n8977"))))
    (properties `((upstream-name . "roxytypes")))
    (build-system r-build-system)
    (propagated-inputs (list r-roxygen2 r-glue r-cli))
    (home-page "https://github.com/openpharma/roxytypes")
    (synopsis "Typed Parameter Tags for Integration with 'roxygen2'")
    (description
     "This package provides typed parameter documentation tags for integration with
roxygen2'.  Typed parameter tags provide a consistent interface for annotating
expected types for parameters and returned values.  Tools for converting from
existing styles are also provided to easily adapt projects which implement typed
documentation by convention rather than tag.  Use the default format or provide
your own.")
    (license license:expat)))

(define-public r-roxytest
  (package
    (name "r-roxytest")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roxytest" version))
       (sha256
        (base32 "17cxhdlywng6nky6c5m49yjs2pgrs1jqrzw6rj8kb6cp2zssclas"))))
    (properties `((upstream-name . "roxytest")))
    (build-system r-build-system)
    (propagated-inputs (list r-roxygen2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=roxytest")
    (synopsis "Various Tests with 'roxygen2'")
    (description
     "Various tests as roxygen2 roclets: e.g. testthat and tinytest tests.  Also other
static analysis tools as checking parameter documentation consistency and
others.")
    (license license:gpl2+)))

(define-public r-roxylint
  (package
    (name "r-roxylint")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roxylint" version))
       (sha256
        (base32 "03pfianwlax9v9p1ciq80hzkswksca96vmcpn24nsjkqwam9nzgz"))))
    (properties `((upstream-name . "roxylint")))
    (build-system r-build-system)
    (propagated-inputs (list r-roxygen2 r-cli))
    (home-page "https://github.com/openpharma/roxylint")
    (synopsis "Lint 'roxygen2'-Generated Documentation")
    (description
     "This package provides formatting linting to roxygen2 tags.  Linters report
roxygen2 tags that do not conform to a standard style.  These linters can be a
helpful check for building more consistent documentation and to provide
reminders about best practices or checks for typos.  Default linting suites are
provided for common style guides such as the one followed by the tidyverse',
though custom linters can be registered by other packages or be custom-tailored
to a specific package.")
    (license license:expat)))

(define-public r-roxyglobals
  (package
    (name "r-roxyglobals")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roxyglobals" version))
       (sha256
        (base32 "0gsmljh3qf3lgjl7cdh4kayrfjyrcmsrjdmc0y2s5fs21aaj515k"))))
    (properties `((upstream-name . "roxyglobals")))
    (build-system r-build-system)
    (propagated-inputs (list r-roxygen2 r-desc r-codetools r-brio))
    (home-page "https://github.com/anthonynorth/roxyglobals")
    (synopsis "'Roxygen2' Global Variable Declarations")
    (description
     "Generate utils::@code{globalVariables}() from roxygen2 @@global and @@autoglobal
tags.")
    (license license:expat)))

(define-public r-roxygen2md
  (package
    (name "r-roxygen2md")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roxygen2md" version))
       (sha256
        (base32 "1pqdk13s507fwcv7jx20gpbgkm3yl2snsvrlscjch5kz5lls06iv"))))
    (properties `((upstream-name . "roxygen2md")))
    (build-system r-build-system)
    (propagated-inputs (list r-usethis
                             r-tibble
                             r-rlang
                             r-rex
                             r-devtools
                             r-desc
                             r-cli
                             r-brio))
    (home-page "https://roxygen2md.r-lib.org/")
    (synopsis "'Roxygen' to 'Markdown'")
    (description "Converts elements of roxygen documentation to markdown'.")
    (license license:gpl3)))

(define-public r-roxut
  (package
    (name "r-roxut")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roxut" version))
       (sha256
        (base32 "1ciflhmavl24wk4kjbilmm70q6z8i02m36x4pyh4m3czhnpyyv03"))))
    (properties `((upstream-name . "roxut")))
    (build-system r-build-system)
    (propagated-inputs (list r-roxygen2))
    (home-page "https://github.com/bryanhanson/roxut")
    (synopsis "Document Unit Tests Roxygen-Style")
    (description
     "Much as roxygen2 allows one to document functions in the same file as the
function itself, roxut allows one to write the unit tests in the same file as
the function.  Once processed, the unit tests are moved to the appropriate
directory.  Currently supports testthat and tinytest frameworks.  The roxygen2
package provides much of the infrastructure.")
    (license license:gpl3)))

(define-public r-routr
  (package
    (name "r-routr")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "routr" version))
       (sha256
        (base32 "0sqllafwxqlkf8bl5nc3fpf17aqg5nbimrmc8l3z95y3gwhnqhkb"))))
    (properties `((upstream-name . "routr")))
    (build-system r-build-system)
    (propagated-inputs (list r-uuid
                             r-stringi
                             r-reqres
                             r-r6
                             r-digest
                             r-assertthat))
    (home-page "https://routr.data-imaginist.com")
    (synopsis "Simple Router for HTTP and WebSocket Requests")
    (description
     "In order to make sure that web request ends up in the correct handler function a
router is often used.  routr is a package implementing a simple but powerful
routing functionality for R based servers.  It is a fully functional fiery
plugin, but can also be used with other httpuv based servers.")
    (license license:expat)))

(define-public r-routliers
  (package
    (name "r-routliers")
    (version "0.0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Routliers" version))
       (sha256
        (base32 "1yrzl3gqh7xkclqdqjwy4yn7qawixpb9mzw31a6wxnrr09hzv989"))))
    (properties `((upstream-name . "Routliers")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-ggplot2))
    (home-page "https://cran.r-project.org/package=Routliers")
    (synopsis "Robust Outliers Detection")
    (description
     "Detecting outliers using robust methods, i.e.  the Median Absolute Deviation
(MAD) for univariate outliers; Leys, Ley, Klein, Bernard, & Licata (2013)
<doi:10.1016/j.jesp.2013.03.013> and the Mahalanobis-Minimum Covariance
Determinant (MMCD) for multivariate outliers; Leys, C., Klein, O., Dominicy, Y.
& Ley, C. (2018) <doi:10.1016/j.jesp.2017.09.011>.  There is also the more known
but less robust Mahalanobis distance method, only for comparison purposes.")
    (license license:expat)))

(define-public r-roundyh
  (package
    (name "r-roundyh")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roundyh" version))
       (sha256
        (base32 "06x97gnc06ib0qkygs8fznxx7pm52bpr778x1pypl8frmkj4sa0g"))))
    (properties `((upstream-name . "roundyh")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=roundyh")
    (synopsis "Round Dataframe")
    (description
     "This package provides a simple rounding function.  The default round() function
in R uses the IEC 60559 standard and therefore it rounds 0.5 to 0 and rounds
-1.5 to -2.  The roundx() function accounts for this and helps to round 0.5 up
to 1.")
    (license license:expat)))

(define-public r-roundwork
  (package
    (name "r-roundwork")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roundwork" version))
       (sha256
        (base32 "0pi2gr1qn4sw0ganysi78cbrnnhss9ha0rfs0jvx9pd3j4n1j6gz"))))
    (properties `((upstream-name . "roundwork")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-stringr
                             r-rlang
                             r-purrr
                             r-magrittr
                             r-dplyr
                             r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://lhdjung.github.io/roundwork/")
    (synopsis "Rounding Infrastructure")
    (description
     "Flexible rounding functions for use in error detection.  They were outsourced
from the scrutiny package.")
    (license license:expat)))

(define-public r-roundhouse
  (package
    (name "r-roundhouse")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roundhouse" version))
       (sha256
        (base32 "0xx2wai9pdq0g7x8xmwlf48wxv4v18c7ymzvzxpvw1gggppmbk69"))))
    (properties `((upstream-name . "roundhouse")))
    (build-system r-build-system)
    (home-page "https://github.com/bgreenwell/roundhouse")
    (synopsis "Random Chuck Norris Facts")
    (description
     "R functions for generating and/or displaying random Chuck Norris facts.  Based
on data from the Internet Chuck Norris database ('ICNDb').")
    (license license:gpl2+)))

(define-public r-roundandround
  (package
    (name "r-roundandround")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RoundAndRound" version))
       (sha256
        (base32 "1q3xb6y9ip8csivd0qijifxsm3h7zkwz8lxfi4ffdcgrvbl03v8q"))))
    (properties `((upstream-name . "RoundAndRound")))
    (build-system r-build-system)
    (propagated-inputs (list r-rgl r-geometry))
    (home-page "https://cran.r-project.org/package=RoundAndRound")
    (synopsis "Plot Objects Moving in Orbits")
    (description
     "Visualize the objects in orbits in 2D and 3D. The packages is under developing
to plot the orbits of objects in polar coordinate system.  See the examples in
demo.")
    (license license:gpl3+)))

(define-public r-round
  (package
    (name "r-round")
    (version "0.21-0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "round" version))
       (sha256
        (base32 "07cv24v9aciyxnpv71nmfjzn55xqlbkpc65zxlb4ly5fl53cb8rf"))))
    (properties `((upstream-name . "round")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://gitlab.com/mmaechler/round/")
    (synopsis "Rounding to Decimal Digits")
    (description
     "Decimal rounding is non-trivial in binary arithmetic.  ISO standard round to
even is more rare than typically assumed as most decimal fractions are not
exactly representable in binary.  Our @code{roundX}() versions explore
differences between current and potential future versions of round() in R.
Further, provides (some partly related) C99 math lib functions not in base R.")
    (license (list license:agpl3+
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-roughsf
  (package
    (name "r-roughsf")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roughsf" version))
       (sha256
        (base32 "0am4yd168pss53p8869akx4bnw95d3k30fbv17pml8y9iriq6zs5"))))
    (properties `((upstream-name . "roughsf")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-jsonlite r-htmlwidgets))
    (home-page "https://github.com/schochastics/roughsf")
    (synopsis "Visualize Spatial Data using 'roughjs'")
    (description
     "Draw maps using the javascript library roughjs'.  This allows to draw sketchy,
hand-drawn-like maps.")
    (license license:expat)))

(define-public r-roughsets
  (package
    (name "r-roughsets")
    (version "1.3-8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RoughSets" version))
       (sha256
        (base32 "0pd19pv5zk771i4qbzgcahns4g3w5ihyrs9wpq1csbi6fmmr9fkn"))))
    (properties `((upstream-name . "RoughSets")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/janusza/RoughSets")
    (synopsis "Data Analysis Using Rough Set and Fuzzy Rough Set Theories")
    (description
     "Implementations of algorithms for data analysis based on the rough set theory
(RST) and the fuzzy rough set theory (FRST).  We not only provide
implementations for the basic concepts of RST and FRST but also popular
algorithms that derive from those theories.  The methods included in the package
can be divided into several categories based on their functionality:
discretization, feature selection, instance selection, rule induction and
classification based on nearest neighbors.  RST was introduced by ZdzisÅaw
Pawlak in 1982 as a sophisticated mathematical tool to model and process
imprecise or incomplete information.  By using the indiscernibility relation for
objects/instances, RST does not require additional parameters to analyze the
data.  FRST is an extension of RST. The FRST combines concepts of vagueness and
indiscernibility that are expressed with fuzzy sets (as proposed by Zadeh, in
1965) and RST.")
    (license license:gpl2+)))

(define-public r-roughnet
  (package
    (name "r-roughnet")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roughnet" version))
       (sha256
        (base32 "1brl1zwmmczbismgvbq2m1i1n1v85m410z2ap6r7jqxpfn111kis"))))
    (properties `((upstream-name . "roughnet")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-igraph r-htmlwidgets r-graphlayouts))
    (home-page "https://github.com/schochastics/roughnet/")
    (synopsis "Visualize Networks using 'roughjs'")
    (description
     "Visualize networks using the javascript library roughjs'.  This allows to draw
sketchy, hand-drawn-like networks.")
    (license license:expat)))

(define-public r-rotor
  (package
    (name "r-rotor")
    (version "0.3.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rotor" version))
       (sha256
        (base32 "02mzcwd94hykysz3cv0q3dlhbbd4k3rm1di7dcw6m4masgzy05zb"))))
    (properties `((upstream-name . "rotor")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6 r-dint))
    (home-page "https://s-fleck.github.io/rotor/")
    (synopsis "Log Rotation and Conditional Backups")
    (description
     "Conditionally rotate or back-up files based on their size or the date of the
last backup; inspired by the Linux utility logrotate'.")
    (license license:expat)))

(define-public r-rotl
  (package
    (name "r-rotl")
    (version "3.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rotl" version))
       (sha256
        (base32 "0p33nm57bdqc2hjh7v7p0a9bh29x7n50bkw49l5d4df8jzwfxfhj"))))
    (properties `((upstream-name . "rotl")))
    (build-system r-build-system)
    (propagated-inputs (list r-rncl
                             r-rlang
                             r-rentrez
                             r-jsonlite
                             r-httr
                             r-curl
                             r-ape))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rotl/")
    (synopsis "Interface to the 'Open Tree of Life' API")
    (description
     "An interface to the Open Tree of Life API to retrieve phylogenetic trees,
information about studies used to assemble the synthetic tree, and utilities to
match taxonomic names to Open Tree identifiers'.  The Open Tree of Life aims at
assembling a comprehensive phylogenetic tree for all named species.")
    (license license:bsd-2)))

(define-public r-rotatogram
  (package
    (name "r-rotatogram")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rotatogram" version))
       (sha256
        (base32 "0y1kw8cjvdbdr9ghs7xb9wgj5g9h3nc0q36vxmz8jzjfh4lib68c"))))
    (properties `((upstream-name . "rotatogram")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2))
    (home-page "https://cran.r-project.org/package=rotatogram")
    (synopsis "Non-Axis-Dominant Association Plotting Tool")
    (description
     "This package provides a rotatogram is a method of displaying an association
which is axis non-dominant.  This is achieved in two ways: First, the method of
estimating the slope and intercept uses the least-products method rather than
more typical least squared error for the \"dependent\" variable.  The least
products method has no \"dependent\" variable and is scale independent.  Second,
the plot is rotated such that the resulting regression line is vertical,
reducing the suggestion that the vertical axis is the dominant one.  The slope
can be read relative to either axis equally.")
    (license license:expat)))

(define-public r-rotations
  (package
    (name "r-rotations")
    (version "1.6.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rotations" version))
       (sha256
        (base32 "1gcwz9aq99w54pq03i164kqa0dnf68rkd3ch3l7m97ndf32lawwk"))))
    (properties `((upstream-name . "rotations")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-gridextra r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/stanfill/rotationsC")
    (synopsis "Working with Rotation Data")
    (description
     "This package provides tools for working with rotational data, including
simulation from the most commonly used distributions on SO(3), methods for
different Bayes, mean and median type estimators for the central orientation of
a sample, confidence/credible regions for the central orientation based on those
estimators and a novel visualization technique for rotation data.  Most
recently, functions to identify potentially discordant (outlying) values have
been added.  References: Bingham, Melissa A. and Nordman, Dan J. and Vardeman,
Steve B. (2009), Bingham, Melissa A and Vardeman, Stephen B and Nordman, Daniel
J (2009), Bingham, Melissa A and Nordman, Daniel J and Vardeman, Stephen B
(2010), Leon, C.A. and Masse, J.C. and Rivest, L.P. (2006), Hartley, R and
Aftab, K and Trumpf, J. (2011), Stanfill, Bryan and Genschel, Ulrike and
Hofmann, Heike (2013), Maonton, Jonathan (2004), Mardia, KV and Jupp, PE (2000,
ISBN:9780471953333), Rancourt, D. and Rivest, L.P. and Asselin, J. (2000),
Chang, Ted and Rivest, Louis-Paul (2001), Fisher, Nicholas I. (1996,
ISBN:0521568900).")
    (license license:expat)))

(define-public r-rotationforest
  (package
    (name "r-rotationforest")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rotationForest" version))
       (sha256
        (base32 "1z2wk3mcs5hrahsxralidbc0dd8gxdbwjpr2f71g4g3isfx1ic8d"))))
    (properties `((upstream-name . "rotationForest")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpart))
    (home-page "https://cran.r-project.org/package=rotationForest")
    (synopsis "Fit and Deploy Rotation Forest Models")
    (description
     "Fit and deploy rotation forest models (\"Rodriguez, J.J., Kuncheva, L.I., 2006.
Rotation forest: A new classifier ensemble method.  IEEE Trans.  Pattern Anal.
Mach.  Intell.  28, 1619-1630 <doi:10.1109/TPAMI.2006.211>\") for binary
classification.  Rotation forest is an ensemble method where each base
classifier (tree) is fit on the principal components of the variables of random
partitions of the feature set.")
    (license license:gpl2+)))

(define-public r-rotasym
  (package
    (name "r-rotasym")
    (version "1.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rotasym" version))
       (sha256
        (base32 "04vmxfj7jwd6h1d5ns4hq8xbc4sm008vsyiw5jlp212a4fdrplaj"))))
    (properties `((upstream-name . "rotasym")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (home-page "https://github.com/egarpor/rotasym")
    (synopsis "Tests for Rotational Symmetry on the Hypersphere")
    (description
     "Implementation of the tests for rotational symmetry on the hypersphere proposed
in GarcÃ­a-PortuguÃ©s, Paindaveine and Verdebout (2020)
<doi:10.1080/01621459.2019.1665527>.  The package also implements the proposed
distributions on the hypersphere, based on the tangent-normal decomposition, and
allows for the replication of the data application considered in the paper.")
    (license license:gpl3)))

(define-public r-rosv
  (package
    (name "r-rosv")
    (version "0.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rosv" version))
       (sha256
        (base32 "1xgmn2n9iryijp36a7vzyaylc21wmfv2gjqn0qwa57hwy30f1wbw"))))
    (properties `((upstream-name . "rosv")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6
                             r-purrr
                             r-memoise
                             r-jsonlite
                             r-httr2
                             r-furrr
                             r-digest))
    (native-inputs (list r-knitr))
    (home-page "https://al-obrien.github.io/rosv/")
    (synopsis
     "Client to Access and Operate on the 'Open Source Vulnerability' API")
    (description
     "Connect, query, and operate on information available from the Open Source
Vulnerability database <https://osv.dev/>.  Although CRAN has vulnerabilities
listed, these are few compared to projects such as @code{PyPI}'.  With tighter
integration between R and Python', having an R specific package to access
details about vulnerabilities from various sources is a worthwhile enterprise.")
    (license license:expat)))

(define-public r-rospca
  (package
    (name "r-rospca")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rospca" version))
       (sha256
        (base32 "0my95jgza6irihdbsqj05sjfrhcy7705aca7j5qifkr21pk0n4dq"))))
    (properties `((upstream-name . "rospca")))
    (build-system r-build-system)
    (propagated-inputs (list r-rrcov
                             r-robustbase
                             r-pracma
                             r-pcapp
                             r-mvtnorm
                             r-mrfdepth
                             r-elasticnet))
    (home-page "https://github.com/TReynkens/rospca")
    (synopsis "Robust Sparse PCA using the ROSPCA Algorithm")
    (description
     "Implementation of robust sparse PCA using the ROSPCA algorithm of Hubert et al.
(2016) <DOI:10.1080/00401706.2015.1093962>.")
    (license license:gpl2+)))

(define-public r-rosmium
  (package
    (name "r-rosmium")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rosmium" version))
       (sha256
        (base32 "04ygbjvcp3gz61ac8r5d10jn1ivmwyrrya1lix4cj0g4hwxv6ipz"))))
    (properties `((upstream-name . "rosmium")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-processx r-geojsonsf r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://ipeagit.github.io/rosmium/")
    (synopsis "Bindings for 'Osmium Tool'")
    (description
     "Allows one to use Osmium Tool (<https://osmcode.org/osmium-tool/>) from R.
Osmium is a multipurpose command line tool that enables one to manipulate and
analyze @code{OpenStreetMap} files through several different commands.
Currently, this package does not aim to offer functions that cover the entire
Osmium API, instead making available functions that wrap only a very limited set
of its features.")
    (license license:expat)))

(define-public r-rosm
  (package
    (name "r-rosm")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rosm" version))
       (sha256
        (base32 "022f564d0qh3rivp6sxak4amib7c17m383vlfvac0vi0y4x49hf3"))))
    (properties `((upstream-name . "rosm")))
    (build-system r-build-system)
    (propagated-inputs (list r-wk
                             r-rlang
                             r-progress
                             r-png
                             r-jpeg
                             r-glue
                             r-curl))
    (home-page "https://github.com/paleolimbot/rosm")
    (synopsis "Plot Raster Map Tiles from Open Street Map and Other Sources")
    (description
     "Download and plot Open Street Map <https://www.openstreetmap.org/>, Bing Maps
<https://www.bing.com/maps> and other tiled map sources.  Use to create basemaps
quickly and add hillshade to vector-based maps.")
    (license license:gpl2)))

(define-public r-rosetteapi
  (package
    (name "r-rosetteapi")
    (version "1.14.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rosetteApi" version))
       (sha256
        (base32 "166p3dvib0xpvhkb92b3imassv1b9mrblz2m05jai2nzlz0q7hzk"))))
    (properties `((upstream-name . "rosetteApi")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://developer.rosette.com")
    (synopsis "'Rosette' API")
    (description
     "Rosette is an API for multilingual text analysis and information extraction.
More information can be found at <https://developer.rosette.com>.")
    (license (list license:asl2.0
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rosetta
  (package
    (name "r-rosetta")
    (version "0.3.12")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rosetta" version))
       (sha256
        (base32 "0x0hdfhrldc2k72498wzvkxwyj3rk5sxi1xabn66kwswhqgbc564"))))
    (properties `((upstream-name . "rosetta")))
    (build-system r-build-system)
    (propagated-inputs (list r-ufs
                             r-sjstats
                             r-rmdpartials
                             r-pwr
                             r-psych
                             r-plyr
                             r-pander
                             r-multcompview
                             r-lmertest
                             r-lme4
                             r-lavaan
                             r-knitr
                             r-kableextra
                             r-gridextra
                             r-ggrepel
                             r-ggplot2
                             r-car))
    (home-page "https://r-packages.gitlab.io/rosetta/")
    (synopsis "Parallel Use of Statistical Packages in Teaching")
    (description
     "When teaching statistics, it can often be desirable to uncouple the content from
specific software packages.  To ease such efforts, the Rosetta Stats website
(<https://rosettastats.com>) allows comparing analyses in different packages.
This package is the companion to the Rosetta Stats website, aiming to provide
functions that produce output that is similar to output from other statistical
packages, thereby facilitating software-agnostic teaching of statistics.")
    (license license:gpl3+)))

(define-public r-roserf
  (package
    (name "r-roserf")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roseRF" version))
       (sha256
        (base32 "1fc8vj765haf7fjldapsy8my950y2n67pbp4q60wxbcql14si6na"))))
    (properties `((upstream-name . "roseRF")))
    (build-system r-build-system)
    (propagated-inputs (list r-xgboost
                             r-tuneranger
                             r-rpart
                             r-ranger
                             r-paramhelpers
                             r-mlr
                             r-mgcv
                             r-keras
                             r-grf
                             r-glmnet
                             r-caret))
    (home-page "https://cran.r-project.org/package=roseRF")
    (synopsis
     "ROSE Random Forests for Robust Semiparametric Efficient Estimation")
    (description
     "ROSE (RObust Semiparametric Efficient) random forests for robust semiparametric
efficient estimation in partially parametric models (containing generalised
partially linear models).  Details can be found in the paper by Young and Shah
(2024) <doi:10.48550/@code{arXiv.2410.03471>}.")
    (license license:gpl3)))

(define-public r-rosenbrock
  (package
    (name "r-rosenbrock")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rosenbrock" version))
       (sha256
        (base32 "0qfdyr66g244jvbnssbnj2b2ng740dr4qmillpnwl4h2hh811syv"))))
    (properties `((upstream-name . "Rosenbrock")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass))
    (home-page "https://cran.r-project.org/package=Rosenbrock")
    (synopsis
     "Extended Rosenbrock-Type Densities for Markov Chain Monte Carlo (MCMC) Sampler Benchmarking")
    (description
     "New Markov chain Monte Carlo (MCMC) samplers new to be thoroughly tested and
their performance accurately assessed.  This requires densities that offer
challenging properties to the novel sampling algorithms.  One such popular
problem is the Rosenbrock function.  However, while its shape lends itself well
to a benchmark problem, no codified multivariate expansion of the density
exists.  We have developed an extension to this class of distributions and
supplied densities and direct sampler functions to assess the performance of
novel MCMC algorithms.  The functions are introduced in \"An n-dimensional
Rosenbrock Distribution for MCMC Testing\" by Pagani, Wiegand and Nadarajah
(2019) <@code{arXiv:1903.09556>}.")
    (license license:gpl2)))

(define-public r-rose
  (package
    (name "r-rose")
    (version "0.0-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROSE" version))
       (sha256
        (base32 "0y3v9zkgaxpv4f4zn22ra1gkkqg5hdz8js47ppciqahfydjbfl3p"))))
    (properties `((upstream-name . "ROSE")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=ROSE")
    (synopsis "Random Over-Sampling Examples")
    (description
     "This package provides functions to deal with binary classification problems in
the presence of imbalanced classes.  Synthetic balanced samples are generated
according to ROSE (Menardi and Torelli, 2013).  Functions that implement more
traditional remedies to the class imbalance are also provided, as well as
different metrics to evaluate a learner accuracy.  These are estimated by
holdout, bootstrap or cross-validation methods.")
    (license license:gpl2)))

(define-public r-rorqual-morpho
  (package
    (name "r-rorqual-morpho")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rorqual.morpho" version))
       (sha256
        (base32 "1475yhb5qwj4zpsc4gqqpzs7qvyddxwc63i1f4rhnv6id2hi4msp"))))
    (properties `((upstream-name . "rorqual.morpho")))
    (build-system r-build-system)
    (propagated-inputs (list r-magrittr r-dplyr))
    (home-page "https://cran.r-project.org/package=rorqual.morpho")
    (synopsis "Morphological Allometry of Rorquals")
    (description
     "Predicts morphological parameters of rorquals (e.g. body mass, flipper length,
maximum engulfment capacity) from body length using allometric equations from
Kahane-Rapport and Goldbogen (2018) <doi:10.1002/jmor.20846>.")
    (license license:expat)))

(define-public r-roracle
  (package
    (name "r-roracle")
    (version "1.3-1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROracle" version))
       (sha256
        (base32 "1k5w6fi1f83mhlc8hx6y305llcwxl22h6lpkib1yvm4557k1c7zz"))))
    (properties `((upstream-name . "ROracle")))
    (build-system r-build-system)
    (propagated-inputs (list r-dbi))
    (home-page "http://www.oracle.com")
    (synopsis "OCI Based Oracle Database Interface for R")
    (description
     "Oracle Database interface (DBI) driver for R. This is a DBI-compliant Oracle
driver based on the OCI.")
    (license license:lgpl2.0+)))

(define-public r-roptspace
  (package
    (name "r-roptspace")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROptSpace" version))
       (sha256
        (base32 "18fz285hr4fdkkbs4b13gmwz0sqbgk6di6m3c6ic0wvs35mpmcfz"))))
    (properties `((upstream-name . "ROptSpace")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-rcpparmadillo r-rcpp))
    (home-page "https://cran.r-project.org/package=ROptSpace")
    (synopsis "Matrix Reconstruction from a Few Entries")
    (description
     "Matrix reconstruction, also known as matrix completion, is the task of inferring
missing entries of a partially observed matrix.  This package provides a method
called @code{OptSpace}, which was proposed by Keshavan, R.H., Oh, S., and
Montanari, A. (2009) <doi:10.1109/ISIT.2009.5205567> for a case under low-rank
assumption.")
    (license license:expat)))

(define-public r-roptions
  (package
    (name "r-roptions")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roptions" version))
       (sha256
        (base32 "1rcwzzyzaicvxh8zvqy9wgz5xsixgnizy9i4nh7l33zimm20lsdl"))))
    (properties `((upstream-name . "roptions")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr r-plotly r-ggplot2))
    (home-page "https://cran.r-project.org/package=roptions")
    (synopsis "Option Strategies and Valuation")
    (description
     "Collection of tools to develop options strategies, value option contracts using
the Black-Scholes-Merten option pricing model and calculate the option Greeks.
Hull, John C. \"Options, Futures, and Other Derivatives\" (1997,
ISBN:0-13-601589-1).  Fischer Black, Myron Scholes (1973) \"The Pricing of
Options and Corporate Liabilities\" <doi:10.1086/260062>.")
    (license license:gpl3)))

(define-public r-roptimus
  (package
    (name "r-roptimus")
    (version "3.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROptimus" version))
       (sha256
        (base32 "1sc65dzpgd12wjqbbhzkhj9p09ynd4gj9icminz0yrr9igzw2z2j"))))
    (properties `((upstream-name . "ROptimus")))
    (build-system r-build-system)
    (propagated-inputs (list r-iterators r-foreach r-doparallel))
    (home-page "https://github.com/SahakyanLab/ROptimus")
    (synopsis "Parallel General-Purpose Adaptive Optimisation Engine")
    (description
     "This package provides a general-purpose optimisation engine that supports i)
Monte Carlo optimisation with Metropolis criterion [Metropolis et al. (1953)
<doi:10.1063/1.1699114>, Hastings (1970) <doi:10.1093/biomet/57.1.97>] and
Acceptance Ratio Simulated Annealing [Kirkpatrick et al. (1983)
<doi:10.1126/science.220.4598.671>, ÄernÃ½ (1985) <doi:10.1007/BF00940812>] on
multiple cores, and ii) Acceptance Ratio Replica Exchange Monte Carlo
Optimisation.  In each case, the system pseudo-temperature is dynamically
adjusted such that the observed acceptance ratio is kept near to the desired
(fixed or changing) acceptance ratio.")
    (license license:gpl3+)))

(define-public r-roptest
  (package
    (name "r-roptest")
    (version "1.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROptEst" version))
       (sha256
        (base32 "0hkasa1lzxyj6d4lbrgq9pghgvgpvj8hbygizyb7iywcdsaakz1f"))))
    (properties `((upstream-name . "ROptEst")))
    (build-system r-build-system)
    (propagated-inputs (list r-startupmsg
                             r-robastbase
                             r-randvar
                             r-mass
                             r-distrmod
                             r-distrex
                             r-distr))
    (home-page "http://robast.r-forge.r-project.org/")
    (synopsis "Optimally Robust Estimation")
    (description
     "R infrastructure for optimally robust estimation in general smoothly
parameterized models using S4 classes and methods as described Kohl, M.,
Ruckdeschel, P., and Rieder, H. (2010), <doi:10.1007/s10260-010-0133-0>, and in
Rieder, H., Kohl, M., and Ruckdeschel, P. (2008),
<doi:10.1007/s10260-007-0047-7>.")
    (license license:lgpl3)))

(define-public r-ropj
  (package
    (name "r-ropj")
    (version "0.3-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Ropj" version))
       (sha256
        (base32 "0mdwk3y0h77pbpxml89h449lzj3hr8gvydbghsza5hs9f3f23a7a"))))
    (properties `((upstream-name . "Ropj")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/aitap/Ropj")
    (synopsis "Import Origin(R) Project Files")
    (description
     "Read the data from Origin(R) project files ('*.opj')
<https://www.originlab.com/doc/User-Guide/Origin-File-Types>.  No write support
is planned.")
    (license license:gpl3+)))

(define-public r-ropercenter
  (package
    (name "r-ropercenter")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ropercenter" version))
       (sha256
        (base32 "13h1bd54xasryixnkv59zb0lfyya0bl4i83544a5nws6zzy7dsyz"))))
    (properties `((upstream-name . "ropercenter")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-stringr
                             r-rselenium
                             r-rio
                             r-readr
                             r-purrr
                             r-netstat
                             r-magrittr
                             r-haven
                             r-foreign
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/fsolt/ropercenter")
    (synopsis "Reproducible Data Retrieval from the Roper Center Data Archive")
    (description
     "Reproducible, programmatic retrieval of datasets from the Roper Center data
archive.  The Roper Center for Public Opinion Research
<https://ropercenter.cornell.edu> maintains the largest archive of public
opinion data in existence, but researchers using these datasets are caught in a
bind.  The Center's terms and conditions bar redistribution of downloaded
datasets, but to ensure that one's work can be reproduced, assessed, and built
upon by others, one must provide access to the raw data one employed.  The
`ropercenter` package cuts this knot by providing registered users with
programmatic, reproducible access to Roper Center datasets from within R.")
    (license license:expat)))

(define-public r-roperators
  (package
    (name "r-roperators")
    (version "1.3.14")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roperators" version))
       (sha256
        (base32 "0jj929zak3kls1yy90100a3wvaicq9i5qkwaj7zfzs3lhcd632cw"))))
    (properties `((upstream-name . "roperators")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://benwiseman.github.io/roperators/")
    (synopsis "Additional Operators to Help you Write Cleaner R Code")
    (description
     "This package provides string arithmetic, reassignment operators, logical
operators that handle missing values, and extra logical operators such as
floating point equality and all or nothing.  The intent is to allow R users to
write code that is easier to read, write, and maintain while providing a
friendlier experience to new R users from other language backgrounds (such as
Python') who are used to concepts such as x += 1 and foo + bar'.  Includes
operators for not in, easy floating point comparisons, === equivalent, and
SQL-like like operations (), etc.  We also added in some extra helper functions,
such as OS checks, pasting in Oxford comma format, and functions to get the
first, last, nth, or most common element of a vector or word in a string.")
    (license license:expat)))

(define-public r-ropenweathermap
  (package
    (name "r-ropenweathermap")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROpenWeatherMap" version))
       (sha256
        (base32 "0h1yw93v06bx8svhghh1fsrf837qax9896klh64b06djpgg9ngb9"))))
    (properties `((upstream-name . "ROpenWeatherMap")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl r-jsonlite r-httr))
    (home-page "https://cran.r-project.org/package=ROpenWeatherMap")
    (synopsis "R Interface to OpenWeatherMap API")
    (description
     "@code{OpenWeatherMap} (OWM) <http://openweathermap.org/api> is a service
providing weather related data.  This package can be used to access current
weather data for one location or several locations.  It can also be used to
forecast weather for 5 days with data for every 3 hours.")
    (license license:expat)))

(define-public r-ropensecretsapi
  (package
    (name "r-ropensecretsapi")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ropensecretsapi" version))
       (sha256
        (base32 "0d4yl0h4am3blskdnzk119hk374c3vx0cg99r20w07yh8jfafrw7"))))
    (properties `((upstream-name . "ropensecretsapi")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjsonio r-rcurl))
    (home-page "http://www.r-project.org")
    (synopsis "R Package for the OpenSecrets.org API")
    (description
     "An R package for the @code{OpenSecrets.org} web services API.")
    (license license:lgpl3)))

(define-public r-ropenmeteo
  (package
    (name "r-ropenmeteo")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ropenmeteo" version))
       (sha256
        (base32 "0y07dqmcn31gjghvzwgnl8311iqc4yjc5w3s6rb0z82z1ag1s7y2"))))
    (properties `((upstream-name . "ropenmeteo")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-purrr
                             r-lubridate
                             r-jsonlite
                             r-imputets
                             r-httr2
                             r-glue
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "http://flare-forecast.org/ropenmeteo/")
    (synopsis "Wrappers for 'Open-Meteo' API")
    (description
     "Wrappers for the Application Programming Interface from the
<https://open-meteo.com> project along with helper functions.  The
<https://open-meteo.com> project streamlines access to a range of publicly
historical and forecast meteorology data from agencies across the world.")
    (license license:expat)))

(define-public r-ropenfigi
  (package
    (name "r-ropenfigi")
    (version "0.2.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROpenFIGI" version))
       (sha256
        (base32 "0fvd25vsqkgi3jv4s2lnfag5qksyzyb48d7rhfw6z8piz37n4xaj"))))
    (properties `((upstream-name . "ROpenFIGI")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (home-page "https://github.com/HuangRicky/ROpenFIGI")
    (synopsis "R Interface to OpenFIGI")
    (description
     "Provide a simple interface to Bloomberg's @code{OpenFIGI} API. Please see
<https://openfigi.com> for API details and registration.  You may be eligible to
have an API key to accelerate your loading process.")
    (license license:gpl3+)))

(define-public r-ropendota
  (package
    (name "r-ropendota")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROpenDota" version))
       (sha256
        (base32 "17s73yj2w5hlpy09ad83m4s2d9shg5h4zg64wvbp1ivyvpp7l308"))))
    (properties `((upstream-name . "ROpenDota")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl r-jsonlite))
    (home-page "https://github.com/rosdyana/ROpenDota")
    (synopsis "Access OpenDota Services in R")
    (description
     "This package provides a client for the API of @code{OpenDota}. @code{OpenDota}
is a web service which is provide DOTA2 real time data.  Data is collected
through the Steam @code{WebAPI}.  With R@code{OpenDota} you can easily grab the
latest DOTA2 statistics in R programming such as latest match on official
international competition, analyzing your or enemy performance to learn their
strategies,etc.  Please see <https://github.com/rosdyana/R@code{OpenDota>} for
more information.")
    (license license:expat)))

(define-public r-ropendata
  (package
    (name "r-ropendata")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ropendata" version))
       (sha256
        (base32 "1bv6y241abs6pb4wq5ybx9x4zh72kf8ffs3vlcgdsmhw4jwrsxdl"))))
    (properties `((upstream-name . "ropendata")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (home-page "https://github.com/brudis-r7/ropendata")
    (synopsis "Query and Download 'Rapid7' 'Cybersecurity' Data Sets")
    (description
     "Rapid7 collects cybersecurity data and makes it available via their Open Data
<http://opendata.rapid7.com> portal which has an API. Tools are provided to
assist in querying for available data sets and downloading any data set
authorized to a free, registered account.")
    (license license:expat)))

(define-public r-ropencvlite
  (package
    (name "r-ropencvlite")
    (version "4.90.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROpenCVLite" version))
       (sha256
        (base32 "0iiyajrc9njx41f1mm4jhdj2a8ljzasn8lmbnrpv2bvppclsqc8q"))))
    (properties `((upstream-name . "ROpenCVLite")))
    (build-system r-build-system)
    (inputs (list cmake))
    (native-inputs (list r-knitr))
    (home-page "https://swarm-lab.github.io/ROpenCVLite/")
    (synopsis "Helper Package for Installing OpenCV with R")
    (description
     "Installs @code{OpenCV} for use by other packages. @code{OpenCV}
<https://opencv.org/> is library of programming functions mainly aimed at
real-time computer vision.  This Lite version installs the stable base version
of @code{OpenCV} and some of its experimental externally contributed modules.
It does not provide R bindings directly.")
    (license license:gpl3)))

(define-public r-ropenblas
  (package
    (name "r-ropenblas")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ropenblas" version))
       (sha256
        (base32 "161k0mjsbwyr4670cab546lxx9car9spc9qsjqcz8q9lj42rfyvn"))))
    (properties `((upstream-name . "ropenblas")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-withr
                             r-stringr
                             r-rvest
                             r-rstudioapi
                             r-rlang
                             r-rcurl
                             r-pingr
                             r-magrittr
                             r-glue
                             r-git2r
                             r-getpass
                             r-fs
                             r-cli))
    (home-page "https://prdm0.github.io/ropenblas/")
    (synopsis "Download, Compile and Link 'OpenBLAS' Library with R")
    (description
     "The ropenblas package (<https://prdm0.github.io/ropenblas/>) is useful for users
of any GNU/Linux distribution.  It will be possible to download, compile and
link the @code{OpenBLAS} library (<https://www.openblas.net/>) with the R
language, always by the same procedure, regardless of the GNU/Linux distribution
used.  With the ropenblas package it is possible to download, compile and link
the latest version of the @code{OpenBLAS} library even the repositories of the
GNU/Linux distribution used do not include the latest versions of
@code{OpenBLAS}'.  If of interest, older versions of the @code{OpenBLAS} library
may be considered.  Linking R with an optimized version of BLAS
(<https://netlib.org/blas/>) may improve the computational performance of R
code.  The @code{OpenBLAS} library is an optimized implementation of BLAS that
can be easily linked to R with the ropenblas package.")
    (license license:gpl3)))

(define-public r-rope
  (package
    (name "r-rope")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rope" version))
       (sha256
        (base32 "06qp6h8cjnz0yacm4r39k99hrw74iyq16h5mqfcki7sf3zqbfm7r"))))
    (properties `((upstream-name . "rope")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rope")
    (synopsis "Model Selection with FDR Control of Selected Variables")
    (description
     "Selects one model with variable selection FDR controlled at a specified level.
A q-value for each potential variable is also returned.  The input, variable
selection counts over many bootstraps for several levels of penalization, is
modeled as coming from a beta-binomial mixture distribution.")
    (license license:gpl3)))

(define-public r-rootsextremainflections
  (package
    (name "r-rootsextremainflections")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RootsExtremaInflections" version))
       (sha256
        (base32 "0qd6cmzp8fkb75ac79xbh4032vqwax7nk7d6yykpdbn0bnk2kvdi"))))
    (properties `((upstream-name . "RootsExtremaInflections")))
    (build-system r-build-system)
    (propagated-inputs (list r-iterators r-inflection r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=RootsExtremaInflections")
    (synopsis "Finds Roots, Extrema and Inflection Points of a Curve")
    (description
     "Implementation of Taylor Regression Estimator (TRE), Tulip Extreme Finding
Estimator (TEFE), Bell Extreme Finding Estimator (BEFE), Integration Extreme
Finding Estimator (IEFE) and Integration Root Finding Estimator (IRFE) for
roots, extrema and inflections of a curve .  Christopoulos, DT (2019)
<doi:10.13140/RG.2.2.17158.32324> .  Christopoulos, DT (2016)
<doi:10.2139/ssrn.3043076> .  Christopoulos, DT (2016)
<https://veltech.edu.in/wp-content/uploads/2016/04/Paper-04-2016.pdf> .
Christopoulos, DT (2014) <@code{arXiv:1206.5478v2} [math.NA]> .")
    (license license:gpl2)))

(define-public r-roots
  (package
    (name "r-roots")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roots" version))
       (sha256
        (base32 "1ssmmmrg18xmqxs6f7dqv07357iwcvk21j1gxsl8s9njbj2plxai"))))
    (properties `((upstream-name . "roots")))
    (build-system r-build-system)
    (propagated-inputs (list r-rarpack r-igraph r-animation))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=roots")
    (synopsis "Reconstructing Ordered Ontogenic Trajectories")
    (description
     "This package provides a set of tools to reconstruct ordered ontogenic
trajectories from single cell RNAseq data.")
    (license license:gpl2+)))

(define-public r-roopsd
  (package
    (name "r-roopsd")
    (version "0.3.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROOPSD" version))
       (sha256
        (base32 "0xc7fgg376wld4g61k7pfi1fwkxzzl69njn6p4v8ia4mnvp1p892"))))
    (properties `((upstream-name . "ROOPSD")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6 r-numderiv r-lmoments))
    (home-page "https://github.com/yrobink/ROOPSD")
    (synopsis "R Object Oriented Programming for Statistical Distribution")
    (description
     "Statistical distribution in OOP (Object Oriented Programming) way.  This package
proposes a R6 class interface to classic statistical distribution, and new
distributions can be easily added with the class @code{AbstractDist}.  A useful
point is the generic fit() method for each class, which uses a maximum
likelihood estimation to find the parameters of a dataset, see, e.g. Hastie, T.
and al (2009) <isbn:978-0-387-84857-0>.  Furthermore, the rv_histogram class
gives a non-parametric fit, with the same accessors that for the classic
distribution.  Finally, three random generators useful to build synthetic data
are given: a multivariate normal generator, an orthogonal matrix generator, and
a symmetric positive definite matrix generator, see Mezzadri, F. (2007)
<@code{arXiv:math-ph/0609050>}.")
    (license (license:fsdg-compatible "CeCILL-2"))))

(define-public r-ronfhir
  (package
    (name "r-ronfhir")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RonFHIR" version))
       (sha256
        (base32 "1ajpgpp300m0zzqzzwsn8sfy8x751hrr8py9n9xvzjmkgyrh4hhw"))))
    (properties `((upstream-name . "RonFHIR")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-r6 r-jsonlite r-httr))
    (home-page "https://cran.r-project.org/package=RonFHIR")
    (synopsis "Read and Search Interface to the 'HL7 FHIR' REST API")
    (description
     "R on FHIR is an easy to use wrapper around the HL7 FHIR REST API (STU 3 and R4).
 It provides tools to easily read and search resources on a FHIR server and
brings the results into the R environment.  R on FHIR is based on the
@code{FhirClient} of the official HL7 FHIR .NET API', also made by Firely.")
    (license (license:fsdg-compatible "BSD 3-clause License + file LICENSE"))))

(define-public r-romic
  (package
    (name "r-romic")
    (version "1.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "romic" version))
       (sha256
        (base32 "0gaiysrg6f0xriphkbkmxvwrp3hk3spg26wlprw7lmi72k81mmaj"))))
    (properties `((upstream-name . "romic")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-stringr
                             r-shiny
                             r-rlang
                             r-reshape2
                             r-readr
                             r-purrr
                             r-glue
                             r-ggplot2
                             r-dplyr
                             r-cli
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=romic")
    (synopsis "R for High-Dimensional Omic Data")
    (description
     "Represents high-dimensional data as tables of features, samples and
measurements, and a design list for tracking the meaning of individual
variables.  Using this format, filtering, normalization, and other
transformations of a dataset can be carried out in a flexible manner.  romic
takes advantage of these transformations to create interactive shiny apps for
exploratory data analysis such as an interactive heatmap.")
    (license license:expat)))

(define-public r-romdb
  (package
    (name "r-romdb")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROMDB" version))
       (sha256
        (base32 "14jijcqd2zmps8sacx5nwfclj5yvqf4nx72y8pfvr0nswqqb895i"))))
    (properties `((upstream-name . "ROMDB")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-rodbc
                             r-purrr
                             r-magick
                             r-httr
                             r-dplyr))
    (home-page "https://github.com/AlbertoAlmuinha/ROMDB")
    (synopsis "Get 'OMDB' API Multiple Information")
    (description
     "Load multiple movies, series, actors, directors etc from OMDB API. More
information in: <http://www.omdbapi.com/> .")
    (license license:gpl3)))

(define-public r-rolwinwavcor
  (package
    (name "r-rolwinwavcor")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RolWinWavCor" version))
       (sha256
        (base32 "1vfxx3n0nxh2yy8gglpbkzv2ih1gxj4cangnagdrcn93qxl7a3ym"))))
    (properties `((upstream-name . "RolWinWavCor")))
    (build-system r-build-system)
    (propagated-inputs (list r-waveslim))
    (home-page "https://cran.r-project.org/package=RolWinWavCor")
    (synopsis
     "Estimate Rolling Window Wavelet Correlation Between Two Time Series")
    (description
     "Estimates and plots as a heat map the rolling window wavelet correlation (RWWC)
coefficients statistically significant (within the 95% CI) between two regular
(evenly spaced) time series. @code{RolWinWavCor} also plots at the same graphic
the time series under study.  The @code{RolWinWavCor} was designed for financial
time series, but this software can be used with other kinds of data (e.g.,
climatic, ecological, geological, etc).  The functions contained in
@code{RolWinWavCor} are highly flexible since these contains some parameters to
personalize the time series under analysis and the heat maps of the rolling
window wavelet correlation coefficients.  Moreover, we have also included a data
set (named EU_stock_markets) that contains nine European stock market indices to
exemplify the use of the functions contained in @code{RolWinWavCor}'.  Methods
derived from Polanco-MartÃ­nez et al (2018) <doi:10.1016/j.physa.2017.08.065>).")
    (license license:gpl2+)))

(define-public r-rolwinmulcor
  (package
    (name "r-rolwinmulcor")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RolWinMulCor" version))
       (sha256
        (base32 "0vfsgp0qvv6pnpai8nyy0xzzlzyjwx98xrhlwlks9dbm84wg8vqr"))))
    (properties `((upstream-name . "RolWinMulCor")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo r-scales r-pracma r-gtools r-colorspace))
    (home-page "https://cran.r-project.org/package=RolWinMulCor")
    (synopsis "Subroutines to Estimate Rolling Window Multiple Correlation")
    (description
     "Rolling Window Multiple Correlation ('@code{RolWinMulCor}') estimates the
rolling (running) window correlation for the bi- and multi-variate cases between
regular (sampled on identical time points) time series, with especial emphasis
to ecological data although this can be applied to other kinds of data sets.
@code{RolWinMulCor} is based on the concept of rolling, running or sliding
window and is useful to evaluate the evolution of correlation through time and
time-scales. @code{RolWinMulCor} contains six functions.  The first two focus on
the bi-variate case: (1) rolwincor_1win() and (2) rolwincor_heatmap(), which
estimate the correlation coefficients and the their respective p-values for only
one window-length (time-scale) and considering all possible window-lengths or a
band of window-lengths, respectively.  The second two functions: (3)
rolwinmulcor_1win() and (4) rolwinmulcor_heatmap() are designed to analyze the
multi-variate case, following the bi-variate case to visually display the
results, but these two approaches are methodologically different.  That is, the
multi-variate case estimates the adjusted coefficients of determination instead
of the correlation coefficients.  The last two functions: (5) plot_1win() and
(6) plot_heatmap() are used to represent graphically the outputs of the four
aforementioned functions as simple plots or as heat maps.  The functions
contained in @code{RolWinMulCor} are highly flexible since these contains
several parameters to control the estimation of correlation and the features of
the plot output, e.g. to remove the (linear) trend contained in the time series
under analysis, to choose different p-value correction methods (which are used
to address the multiple comparison problem) or to personalise the plot outputs.
The @code{RolWinMulCor} package also provides examples with synthetic and
real-life ecological time series to exemplify its use.  Methods derived from H.
Abdi. (2007) <https://personal.utdallas.edu/~herve/Abdi-MCC2007-pretty.pdf>, R.
Telford (2013) <https://quantpalaeo.wordpress.com/2013/01/04/, J. M.
Polanco-Martinez (2019) <doi:10.1007/s11071-019-04974-y>, and J. M.
Polanco-Martinez (2020) <doi:10.1016/j.ecoinf.2020.101163>.")
    (license license:gpl2+)))

(define-public r-rolr
  (package
    (name "r-rolr")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rolr" version))
       (sha256
        (base32 "04nm4q0mlr4w6jb0frykzlyknfn3gn02ysqr5ll5jch6wawichy2"))))
    (properties `((upstream-name . "rolr")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival))
    (home-page "https://cran.r-project.org/package=rolr")
    (synopsis "Finding Optimal Three-Group Splits Based on a Survival Outcome")
    (description
     "This package provides fast procedures for exploring all pairs of cutpoints of a
single covariate with respect to survival and determining optimal cutpoints
using a hierarchical method and various ordered logrank tests.")
    (license license:gpl3)))

(define-public r-rologit
  (package
    (name "r-rologit")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROlogit" version))
       (sha256
        (base32 "09j9c24f7plzpnnhpmzdi4gapb7w1377ksjwk6i2xpyr4bfsrr5k"))))
    (properties `((upstream-name . "ROlogit")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-evd))
    (home-page "https://cran.r-project.org/package=ROlogit")
    (synopsis "Fit Rank-Ordered Logit (RO-Logit) Model")
    (description
     "This package implements the rank-ordered logit (RO-logit) model for stratified
analysis of continuous outcomes introduced by Tan et al. (2017)
<doi:10.1177/0962280217747309>.  Model diagnostics based on the heuristic
residuals and estimates in linear scales are available from the package, and
outcomes with ties are supported.")
    (license license:lgpl3)))

(define-public r-rolog
  (package
    (name "r-rolog")
    (version "0.9.18")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rolog" version))
       (sha256
        (base32 "0wdz2mnmih0hxrylqnrqrzgpwji3gi7mxzk9h60idfpwdhgc1krq"))))
    (properties `((upstream-name . "rolog")))
    (build-system r-build-system)
    (inputs (list swi-prolog))
    (propagated-inputs (list r-rswipl r-rcpp))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://github.com/mgondan/rolog")
    (synopsis "Query 'SWI'-'Prolog' from R")
    (description
     "This R package connects to SWI-Prolog, <https://www.swi-prolog.org/>, so that R
can send deterministic and non-deterministic queries to prolog (consult,
query/submit, once, findall).")
    (license (license:fsdg-compatible "FreeBSD"))))

(define-public r-rolocisccnbs
  (package
    (name "r-rolocisccnbs")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rolocISCCNBS" version))
       (sha256
        (base32 "100jh5m2c1zp5wg3wd4y2i47dzx1j0g6lfwyqmwk4bz99yzzz5am"))))
    (properties `((upstream-name . "rolocISCCNBS")))
    (build-system r-build-system)
    (propagated-inputs (list r-roloc r-colorspace))
    (home-page "https://cran.r-project.org/package=rolocISCCNBS")
    (synopsis
     "Colour List and Colour Metric Based on the ISCC-NBS System of Color Designation")
    (description
     "This package provides a colour list and colour metric based on the ISCC-NBS
System of Color Designation for use with the roloc package for converting colour
specifications to colour names.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-roloc
  (package
    (name "r-roloc")
    (version "0.1-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roloc" version))
       (sha256
        (base32 "1f229racpdh12zyqwy8q1nbfkqzw90fdz2dkiycbv0j39rl6qkp8"))))
    (properties `((upstream-name . "roloc")))
    (build-system r-build-system)
    (propagated-inputs (list r-colorspace))
    (home-page "https://cran.r-project.org/package=roloc")
    (synopsis "Convert Colour Specification to Colour Name")
    (description
     "This package provides functions to convert an R colour specification to a colour
name.  The user can select and create different lists of colour names and
different colour metrics for the conversion.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rollup
  (package
    (name "r-rollup")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rollup" version))
       (sha256
        (base32 "1d22kp4qdw9wj365y9q375mhkczadfyjn8k1py4c84hnbp680kba"))))
    (properties `((upstream-name . "rollup")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-sparklyr r-rlang r-magrittr r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://juyoungahn.github.io/rollup/")
    (synopsis "Tidy Grouping Set Aggregation")
    (description
     "This package provides a Tidy implementation of grouping sets', rollup and cube -
extensions of the group_by clause that allow for computing multiple group_by
clauses in a single statement.  For more detailed information on these
functions, please refer to \"Enhanced Aggregation, Cube, Grouping and Rollup\"
<https://cwiki.apache.org/confluence/display/Hive/Enhanced+Aggregation%2C+Cube%2C+Grouping+and+Rollup>.")
    (license license:expat)))

(define-public r-rollmatch
  (package
    (name "r-rollmatch")
    (version "2.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rollmatch" version))
       (sha256
        (base32 "099nc02gxcd8vma9lpdiw449bcq7shp8p5z5ldj9bawll32k91sz"))))
    (properties `((upstream-name . "rollmatch")))
    (build-system r-build-system)
    (propagated-inputs (list r-magrittr r-dplyr))
    (home-page "https://github.com/RTIInternational/rollmatch")
    (synopsis "Rolling Entry Matching")
    (description
     "This package provides functions to perform propensity score matching on rolling
entry interventions for which a suitable \"entry\" date is not observed for
nonparticipants.  For more details, please reference Witman et al. (2018)
<doi:10.1111/1475-6773.13086>.")
    (license license:expat)))

(define-public r-rollinglda
  (package
    (name "r-rollinglda")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rollinglda" version))
       (sha256
        (base32 "0xnj7p1b737308syqrgjcavjppb11rv8hrmyld31xwvnzkfarw01"))))
    (properties `((upstream-name . "rollinglda")))
    (build-system r-build-system)
    (propagated-inputs (list r-tosca r-lubridate r-ldaprototype r-data-table
                             r-checkmate))
    (home-page "https://github.com/JonasRieger/rollinglda")
    (synopsis "Construct Consistent Time Series from Textual Data")
    (description
     "This package provides a rolling version of the Latent Dirichlet Allocation, see
Rieger et al. (2021) <doi:10.18653/v1/2021.findings-emnlp.201>.  By a sequential
approach, it enables the construction of LDA-based time series of topics that
are consistent with previous states of LDA models.  After an initial modeling,
updates can be computed efficiently, allowing for real-time monitoring and
detection of events or structural breaks.")
    (license license:gpl3+)))

(define-public r-rolldown
  (package
    (name "r-rolldown")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rolldown" version))
       (sha256
        (base32 "1awr8lcxz7y9mjhia4p85jvixc72gj525gk2jjl13njgq6shp0b5"))))
    (properties `((upstream-name . "rolldown")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-jsonlite r-htmltools r-bookdown))
    (native-inputs (list r-knitr esbuild))
    (home-page "https://cran.r-project.org/package=rolldown")
    (synopsis "R Markdown Output Formats for Storytelling")
    (description
     "R Markdown output formats based on @code{JavaScript} libraries such as Scrollama
(<https://github.com/russellgoldenberg/scrollama>) for storytelling.")
    (license license:expat)))

(define-public r-rollbar
  (package
    (name "r-rollbar")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rollbar" version))
       (sha256
        (base32 "1q2ym0vkgbdnibxmwx0bp9c20g3bm8fzwwgs3j4bxg1ydg3gnkj4"))))
    (properties `((upstream-name . "rollbar")))
    (build-system r-build-system)
    (propagated-inputs (list r-httr))
    (home-page "https://cran.r-project.org/package=rollbar")
    (synopsis "Error Tracking and Logging")
    (description
     "Reports errors and messages to Rollbar, the error tracking platform
<https://rollbar.com>.")
    (license license:expat)))

(define-public r-rollama
  (package
    (name "r-rollama")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rollama" version))
       (sha256
        (base32 "1sldaddmklqljfmmxqri0xfbsa977qg3kgymcprkybd59wbxxrd4"))))
    (properties `((upstream-name . "rollama")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-rlang
                             r-purrr
                             r-prettyunits
                             r-jsonlite
                             r-httr2
                             r-dplyr
                             r-cli
                             r-callr))
    (native-inputs (list r-knitr))
    (home-page "https://jbgruber.github.io/rollama/")
    (synopsis "Communicate with 'Ollama'")
    (description
     "Wraps the Ollama <https://ollama.com> API, which can be used to communicate with
generative large language models locally.")
    (license license:gpl3+)))

(define-public r-roll
  (package
    (name "r-roll")
    (version "1.1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roll" version))
       (sha256
        (base32 "0kl3ag3yslw91nwhlyk16qfxs336n6x9087h7vgchi09i41cr04g"))))
    (properties `((upstream-name . "roll")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppparallel r-rcpparmadillo r-rcpp))
    (home-page "https://github.com/jasonjfoster/roll")
    (synopsis "Rolling and Expanding Statistics")
    (description
     "Fast and efficient computation of rolling and expanding statistics for
time-series data.")
    (license license:gpl2+)))

(define-public r-rolap
  (package
    (name "r-rolap")
    (version "2.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rolap" version))
       (sha256
        (base32 "1j538xnfilrhhh3rk8rr1941353kn96a469h810h0h6l1cn5z2vp"))))
    (properties `((upstream-name . "rolap")))
    (build-system r-build-system)
    (propagated-inputs (list r-xlsx
                             r-when
                             r-tidyselect
                             r-tidyr
                             r-tibble
                             r-starschemar
                             r-snakecase
                             r-sf
                             r-rlang
                             r-readr
                             r-purrr
                             r-dplyr
                             r-dm))
    (native-inputs (list r-knitr))
    (home-page "https://josesamos.github.io/rolap/")
    (synopsis "Obtaining Star Databases from Flat Tables")
    (description
     "Data in multidimensional systems is obtained from operational systems and is
transformed to adapt it to the new structure.  Frequently, the operations to be
performed aim to transform a flat table into a ROLAP (Relational On-Line
Analytical Processing) star database.  The main objective of the package is to
allow the definition of these transformations easily.  The implementation of the
multidimensional database obtained can be exported to work with multidimensional
analysis tools on spreadsheets or relational databases.")
    (license license:expat)))

(define-public r-roi-plugin-symphony
  (package
    (name "r-roi-plugin-symphony")
    (version "1.0-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.symphony" version))
       (sha256
        (base32 "0wai3yfglx81f97v139bffxf4cziqlqki4vnq76bw4p22g7hdzl8"))))
    (properties `((upstream-name . "ROI.plugin.symphony")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-rsymphony r-roi))
    (home-page "http://roi.r-forge.r-project.org/")
    (synopsis "'SYMPHONY' Plug-in for the 'R' Optimization Interface")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package by registering the
SYMPHONY open-source solver from the COIN-OR suite.  It allows for solving mixed
integer linear programming (MILP) problems as well as all variants/combinations
of LP, IP.")
    (license license:gpl3)))

(define-public r-roi-plugin-scs
  (package
    (name "r-roi-plugin-scs")
    (version "1.1-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.scs" version))
       (sha256
        (base32 "1nfb8gdavg1658apm05s9ps3a9h7vd6fxd88sy9rwmdyq5syhxd6"))))
    (properties `((upstream-name . "ROI.plugin.scs")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-scs r-roi))
    (home-page "https://roigrp.gitlab.io")
    (synopsis "'SCS' Plug-in for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the SCS solver
for solving convex cone problems.")
    (license license:gpl3)))

(define-public r-roi-plugin-quadprog
  (package
    (name "r-roi-plugin-quadprog")
    (version "1.0-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.quadprog" version))
       (sha256
        (base32 "11r0f5lx9jkiqaj48lzvz21rrh2imka04pl8rf7nif0w8n57g4g8"))))
    (properties `((upstream-name . "ROI.plugin.quadprog")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-roi r-quadprog))
    (home-page "http://roi.r-forge.r-project.org/")
    (synopsis "'quadprog' Plug-in for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package by registering the
quadprog solver.  It allows for solving quadratic programming (QP) problems.")
    (license license:gpl3)))

(define-public r-roi-plugin-qpoases
  (package
    (name "r-roi-plugin-qpoases")
    (version "1.0-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.qpoases" version))
       (sha256
        (base32 "1hbb71y4pcp6ia1qc0gg87ynxv82awjpsfl2pc6qlrlb9plx355c"))))
    (properties `((upstream-name . "ROI.plugin.qpoases")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-roi r-rcpp r-checkmate))
    (home-page "https://roigrp.gitlab.io")
    (synopsis "'qpOASES' Plugin for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the quadratic
solver @code{qpOASES}'.  More information about @code{qpOASES} can be found at
<https://github.com/coin-or/@code{qpOASES>}.")
    (license license:gpl3)))

(define-public r-roi-plugin-osqp
  (package
    (name "r-roi-plugin-osqp")
    (version "1.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.osqp" version))
       (sha256
        (base32 "0jz8yzq6p50s3ggm1dkmfw1a14l5yz5ag2fdknf62xljhzwgv62a"))))
    (properties `((upstream-name . "ROI.plugin.osqp")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-roi r-osqp r-matrix))
    (home-page "https://roigrp.gitlab.io")
    (synopsis "'osqp' Plugin for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the quadratic
solver OSQP'.  More information about OSQP can be found at <https://osqp.org>.")
    (license license:gpl3)))

(define-public r-roi-plugin-optimx
  (package
    (name "r-roi-plugin-optimx")
    (version "1.0-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.optimx" version))
       (sha256
        (base32 "1d2kwzgs9pf56fm90n0wxldgm3n7ybk31avklcspa40bki9lr6af"))))
    (properties `((upstream-name . "ROI.plugin.optimx")))
    (build-system r-build-system)
    (propagated-inputs (list r-roi r-optimx))
    (home-page "https://roigrp.gitlab.io")
    (synopsis "'optimx' Plug-in for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the optimx
package.")
    (license license:gpl3)))

(define-public r-roi-plugin-nloptr
  (package
    (name "r-roi-plugin-nloptr")
    (version "1.0-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.nloptr" version))
       (sha256
        (base32 "05517zgk5p548criz6211hqc11r745bbj4fxjvkbcrh03ijhxyhx"))))
    (properties `((upstream-name . "ROI.plugin.nloptr")))
    (build-system r-build-system)
    (propagated-inputs (list r-roi r-nloptr))
    (home-page "https://roigrp.gitlab.io")
    (synopsis "'nloptr' Plug-in for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the NLopt solver
for solving nonlinear optimization problems.")
    (license license:gpl3)))

(define-public r-roi-plugin-neos
  (package
    (name "r-roi-plugin-neos")
    (version "1.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.neos" version))
       (sha256
        (base32 "15234844gnd86liw2a5a3rbfmrypdqi75xlxkjj49dfvsx7ghvd1"))))
    (properties `((upstream-name . "ROI.plugin.neos")))
    (build-system r-build-system)
    (propagated-inputs (list r-xmlrpc2 r-xml2 r-roi))
    (home-page "https://roigrp.gitlab.io")
    (synopsis "'NEOS' Plug-in for the 'R' Optimization Interface")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with a connection to
the neos server.  ROI optimization problems can be directly be sent to the neos
server and solution obtained in the typical ROI style.")
    (license license:gpl3)))

(define-public r-roi-plugin-msbinlp
  (package
    (name "r-roi-plugin-msbinlp")
    (version "1.0-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.msbinlp" version))
       (sha256
        (base32 "1nxjli87phi3cl101aaf8apib2crxbv1i0vlvq79difb8v7mjgya"))))
    (properties `((upstream-name . "ROI.plugin.msbinlp")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-roi))
    (home-page "https://roigrp.gitlab.io")
    (synopsis
     "'Multi-Solution' Binary Linear Problem Plug-in for the 'R' Optimization Interface")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the possibility
to obtain multiple solutions for linear problems with binary variables.  The
main function is copied (with small modifications) from the relations package.")
    (license license:gpl3)))

(define-public r-roi-plugin-ipop
  (package
    (name "r-roi-plugin-ipop")
    (version "1.0-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.ipop" version))
       (sha256
        (base32 "00xjariraga2j4zk6vyzwl5g4a65ki1jmky556hizma78ksjrikv"))))
    (properties `((upstream-name . "ROI.plugin.ipop")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-roi r-kernlab))
    (home-page "http://roi.r-forge.r-project.org/")
    (synopsis "'ipop' Plug-in for the 'R' Optimization Interface")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package by registering the
ipop solver from package kernlab'.")
    (license license:gpl3)))

(define-public r-roi-plugin-highs
  (package
    (name "r-roi-plugin-highs")
    (version "1.0-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.highs" version))
       (sha256
        (base32 "0ldfm4y66wj4marwzvm6f7dgq31q3bdr2cwqw4hlc0nc379anmrv"))))
    (properties `((upstream-name . "ROI.plugin.highs")))
    (build-system r-build-system)
    (propagated-inputs (list r-roi r-highs))
    (home-page "https://cran.r-project.org/package=ROI.plugin.highs")
    (synopsis "'HiGHS' Plugin for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the quadratic
solver @code{HiGHS}'.  More information about @code{HiGHS} can be found at
<https://highs.dev>.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-roi-plugin-glpk
  (package
    (name "r-roi-plugin-glpk")
    (version "1.0-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.glpk" version))
       (sha256
        (base32 "0i5l0k5mk2xp2gdvpmlgxjycvzmgc83rkind68ab4x1d4bab0qdk"))))
    (properties `((upstream-name . "ROI.plugin.glpk")))
    (build-system r-build-system)
    (propagated-inputs (list r-roi r-rglpk))
    (home-page "http://roi.r-forge.r-project.org/")
    (synopsis "'ROI' Plug-in 'GLPK'")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package by registering the
free GLPK solver.  It allows for solving mixed integer linear programming
('MILP') problems as well as all variants/combinations of LP', IP'.")
    (license license:gpl3)))

(define-public r-roi-plugin-ecos
  (package
    (name "r-roi-plugin-ecos")
    (version "1.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.ecos" version))
       (sha256
        (base32 "01jkc5nrsjh1g73wqs9hbm0ryl1sjadnl9z78y8m478vrr15hmvs"))))
    (properties `((upstream-name . "ROI.plugin.ecos")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-roi r-matrix r-ecosolver))
    (home-page "https://roigrp.gitlab.io")
    (synopsis "'ECOS' Plugin for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the Embedded
Conic Solver ('ECOS') for solving conic optimization problems.")
    (license license:gpl3)))

(define-public r-roi-plugin-deoptim
  (package
    (name "r-roi-plugin-deoptim")
    (version "1.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.deoptim" version))
       (sha256
        (base32 "14fgdsdc9zzqy6f63cywdv2a3229vhabf1z6bz1f1l75jgmr0cgy"))))
    (properties `((upstream-name . "ROI.plugin.deoptim")))
    (build-system r-build-system)
    (propagated-inputs (list r-roi r-deoptimr r-deoptim))
    (home-page "https://roigrp.gitlab.io")
    (synopsis
     "'DEoptim' and 'DEoptimR' Plugin for the 'R' Optimization Interface")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the DEoptim and
D@code{EoptimR} package.  DEoptim is used for unconstrained optimization and
D@code{EoptimR} for constrained optimization.")
    (license license:gpl3)))

(define-public r-roi-plugin-cplex
  (package
    (name "r-roi-plugin-cplex")
    (version "0.3-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.cplex" version))
       (sha256
        (base32 "1ipwvclrxws7nvirvns58gpakg23ldiphyl6g0akxk5hczr0lazf"))))
    (properties `((upstream-name . "ROI.plugin.cplex")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-roi r-rcplex))
    (home-page "http://R-Forge.R-project.org/projects/roi")
    (synopsis "ROI Plug-in CPLEX")
    (description
     "Enhances the R Optimization Infrastructure (ROI) package by registering the
CPLEX commercial solver.  It allows for solving mixed integer quadratically
constrained programming (MIQPQC) problems as well as all variants/combinations
of LP, QP, QCP, IP.")
    (license license:gpl3)))

(define-public r-roi-plugin-clarabel
  (package
    (name "r-roi-plugin-clarabel")
    (version "0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.clarabel" version))
       (sha256
        (base32 "0icaqbgh435drd00104rpy0xwvkdadh697nfp22kjnlz9mcwzfp1"))))
    (properties `((upstream-name . "ROI.plugin.clarabel")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-roi r-clarabel))
    (home-page "https://gitlab.com/roigrp/solver/roi.plugin.clarabel")
    (synopsis "'clarabel' Plug-in for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the clarabel
solver for solving convex cone problems.  More information about clarabel can be
found at <https://oxfordcontrol.github.io/@code{ClarabelDocs/stable/>}.")
    (license license:gpl3)))

(define-public r-roi-plugin-alabama
  (package
    (name "r-roi-plugin-alabama")
    (version "1.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.plugin.alabama" version))
       (sha256
        (base32 "0if6994xcc0w9dy3ph8g9lhnx0lpndgf0yzcgn558i00d21csqz7"))))
    (properties `((upstream-name . "ROI.plugin.alabama")))
    (build-system r-build-system)
    (propagated-inputs (list r-roi r-alabama))
    (home-page "https://roigrp.gitlab.io")
    (synopsis "'alabama' Plug-in for the 'R' Optimization Infrastructure")
    (description
     "Enhances the R Optimization Infrastructure ('ROI') package with the alabama
solver for solving nonlinear optimization problems.")
    (license license:gpl3)))

(define-public r-roi-models-netlib
  (package
    (name "r-roi-models-netlib")
    (version "1.1-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.models.netlib" version))
       (sha256
        (base32 "1ip6xb9nvqs3dj2rnylhjwmql1wwdhhnvnp1gi86d22qjixnn8h3"))))
    (properties `((upstream-name . "ROI.models.netlib")))
    (build-system r-build-system)
    (propagated-inputs (list r-roi))
    (home-page "https://cran.r-project.org/package=ROI.models.netlib")
    (synopsis "'ROI' Optimization Problems Based on 'NETLIB-LP'")
    (description
     "This package provides a collection of ROI optimization problems based on the
NETLIB-LP collection.  Netlib is a software repository, which amongst many other
software for scientific computing contains a collection of linear programming
problems.  The purpose of this package is to make this problems easily
accessible from R as ROI optimization problems.")
    (license license:gpl3)))

(define-public r-roi-models-miplib
  (package
    (name "r-roi-models-miplib")
    (version "1.0-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.models.miplib" version))
       (sha256
        (base32 "12yxra45s9f14dn12wibxrz598g3s39lm3af4dxmw9jnlfb8z84b"))))
    (properties `((upstream-name . "ROI.models.miplib")))
    (build-system r-build-system)
    (propagated-inputs (list r-roi r-rglpk r-r-utils))
    (home-page "http://R-Forge.R-project.org/projects/roi")
    (synopsis "'ROI' Access to 'MIPLIB' 2010 Benchmark Instances")
    (description
     "The mixed integer programming library MIPLIB (see <http://miplib.zib.de/>) is
commonly used to compare the performance of mixed integer optimization solvers.
This package provides functions to access MIPLIB from the R Optimization
Infrastructure ('ROI').  More information about MIPLIB can be found in the paper
by Koch et al.  available at
<http://mpc.zib.de/index.php/MPC/article/@code{viewFile/56/28>}.  The README.md
file illustrates how to use this package.")
    (license license:gpl3)))

(define-public r-roi-models-globalopttests
  (package
    (name "r-roi-models-globalopttests")
    (version "1.1-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROI.models.globalOptTests" version))
       (sha256
        (base32 "1zj636cmjhhqbn6hh6760bi5y8lf6y7qqkz72yijq7dj2y1za2ph"))))
    (properties `((upstream-name . "ROI.models.globalOptTests")))
    (build-system r-build-system)
    (propagated-inputs (list r-roi r-globalopttests))
    (home-page "https://cran.r-project.org/package=ROI.models.globalOptTests")
    (synopsis "'ROI' Optimization Problems Based on 'globalOptTests'")
    (description
     "This package provides a collection of non-linear optimization problems with box
bounds transformed into ROI optimization problems.  This package provides a
wrapper around the @code{globalOptTests} which provides a collection of global
optimization problems.  More information can be found in the README file.")
    (license license:gpl3)))

(define-public r-rogue
  (package
    (name "r-rogue")
    (version "2.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rogue" version))
       (sha256
        (base32 "0wbgl9dj2lr5ffn27q6q06n45vj9lm9qxx07dvd37jniqjxz71v4"))))
    (properties `((upstream-name . "Rogue")))
    (build-system r-build-system)
    (propagated-inputs (list r-treetools
                             r-treedist
                             r-rfast
                             r-rdpack
                             r-matrixstats
                             r-fastmatch
                             r-cli
                             r-ape))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ms609/Rogue/")
    (synopsis "Identify Rogue Taxa in Sets of Phylogenetic Trees")
    (description
     "Rogue (\"wildcard\") taxa are leaves with uncertain phylogenetic position.  Their
position may vary from tree to tree under inference methods that yield a tree
set (e.g. bootstrapping, Bayesian tree searches, maximum parsimony).  The
presence of rogue taxa in a tree set can potentially remove all information from
a consensus tree.  The information content of a consensus tree - a function of
its resolution and branch support values - can often be increased by removing
rogue taxa.  Rogue provides an explicitly information-theoretic approach to
rogue detection (Smith 2022) <doi:10.1093/sysbio/syab099>, and an interface to
@code{RogueNaRok} (Aberer et al.  2013) <doi:10.1093/sysbio/sys078>.")
    (license license:gpl3+)))

(define-public r-roger
  (package
    (name "r-roger")
    (version "1.5-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roger" version))
       (sha256
        (base32 "1k00xbc0iprcfjx6lgg5y910y76is8f984mcp4g6711zi16ljf5j"))))
    (properties `((upstream-name . "roger")))
    (build-system r-build-system)
    (inputs (list))
    (home-page "https://roger-project.gitlab.io")
    (synopsis "Automated Grading of R Scripts")
    (description
     "This package provides tools for grading the coding style and documentation of R
scripts.  This is the R component of Roger the Omni Grader, an automated grading
system for computer programming projects based on Unix shell scripts; see
<https://gitlab.com/roger-project>.  The package also provides an R interface to
the shell scripts.  Inspired by the lintr package.")
    (license license:gpl2+)))

(define-public r-rofanova
  (package
    (name "r-rofanova")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rofanova" version))
       (sha256
        (base32 "0w8c5c5q0s2qv1b4nxgf8y1z3g0l9c6jr6i0280b5mp9in9wn8a6"))))
    (properties `((upstream-name . "rofanova")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase r-rcpparmadillo r-rcpp r-fda-usc
                             r-abind))
    (home-page "https://github.com/unina-sfere/rofanova")
    (synopsis "Robust Functional Analysis of Variance")
    (description
     "This package implements the robust functional analysis of variance
(@code{RoFANOVA}), described in Centofanti et al. (2021)
<@code{arXiv:2112.10643>}.  It allows testing mean differences among groups of
functional data by being robust against the presence of outliers.")
    (license license:gpl3)))

(define-public r-rodeo
  (package
    (name "r-rodeo")
    (version "0.8.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rodeo" version))
       (sha256
        (base32 "14bs944nn7avb06j7xb24qphr09n2i011skfdgqgybm9q5dxawpk"))))
    (properties `((upstream-name . "rodeo")))
    (build-system r-build-system)
    (propagated-inputs (list r-readxl r-readods r-r6 r-desolve))
    (native-inputs (list r-knitr gfortran))
    (home-page "https://github.com/dkneis/rodeo")
    (synopsis "Code Generator for ODE-Based Models")
    (description
     "This package provides an R6 class and several utility methods to facilitate the
implementation of models based on ordinary differential equations.  The heart of
the package is a code generator that creates compiled Fortran (or R') code which
can be passed to a numerical solver.  There is direct support for solvers
contained in packages @code{deSolve} and @code{rootSolve}'.")
    (license license:gpl2+)))

(define-public r-rode
  (package
    (name "r-rode")
    (version "0.99.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rODE" version))
       (sha256
        (base32 "0l518ghfw6283kckqcbh45a35vd73njy05v3dwghhhjdj7v3km8b"))))
    (properties `((upstream-name . "rODE")))
    (build-system r-build-system)
    (propagated-inputs (list r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/f0nzie/rODE")
    (synopsis
     "Ordinary Differential Equation (ODE) Solvers Written in R Using S4 Classes")
    (description
     "Show physics, math and engineering students how an ODE solver is made and how
effective R classes can be for the construction of the equations that describe
natural phenomena.  Inspiration for this work comes from the book on \"Computer
Simulations in Physics\" by Harvey Gould, Jan Tobochnik, and Wolfgang Christian.
Book link: <http://www.compadre.org/osp/items/detail.cfm?ID=7375>.")
    (license license:gpl2)))

(define-public r-rodd
  (package
    (name "r-rodd")
    (version "0.2-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rodd" version))
       (sha256
        (base32 "01zrkw4lr21vxk2grfc37iyrcipfdcj5m0i7gnxsvs435y9fqagd"))))
    (properties `((upstream-name . "rodd")))
    (build-system r-build-system)
    (propagated-inputs (list r-rootsolve r-quadprog r-numderiv r-matrixcalc
                             r-matrix))
    (home-page "https://cran.r-project.org/package=rodd")
    (synopsis "Optimal Discriminating Designs")
    (description
     "This package provides a collection of functions for numerical construction of
optimal discriminating designs.  At the current moment T-optimal designs (which
maximize the lower bound for the power of F-test for regression model
discrimination), KL-optimal designs (for lognormal errors) and their robust
analogues can be calculated with the package.")
    (license license:gpl2+)))

(define-public r-rodbcdbi
  (package
    (name "r-rodbcdbi")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RODBCDBI" version))
       (sha256
        (base32 "0jkcc1lm8drsx1pkfj5h6rlbr98cgpvbf9ndzdwr048f3s8gd26i"))))
    (properties `((upstream-name . "RODBCDBI")))
    (build-system r-build-system)
    (propagated-inputs (list r-rodbc r-dbi))
    (home-page "https://cran.r-project.org/package=RODBCDBI")
    (synopsis "Provides Access to Databases Through the ODBC Interface")
    (description
     "An implementation of R's DBI interface using ODBC package as a back-end.  This
allows R to connect to any DBMS that has a ODBC driver.")
    (license license:expat)))

(define-public r-rodbc
  (package
    (name "r-rodbc")
    (version "1.3-23")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RODBC" version))
       (sha256
        (base32 "0fqgbs2zanq7xjl252s1fpqivqz4ll23nnf74122kcxgq1dd3k8m"))))
    (properties `((upstream-name . "RODBC")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RODBC")
    (synopsis "ODBC Database Access")
    (description "An ODBC database interface.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-roctree
  (package
    (name "r-roctree")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rocTree" version))
       (sha256
        (base32 "1hd5v47gymffg5829swpd38xscm4vq75d46fibwkrr7jp9iy37ra"))))
    (properties `((upstream-name . "rocTree")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-rcpparmadillo
                             r-rcpp
                             r-mass
                             r-ggplot2
                             r-flexsurv
                             r-diagrammer
                             r-data-tree))
    (home-page "http://github.com/stc04003/rocTree")
    (synopsis
     "Receiver Operating Characteristic (ROC)-Guided Classification and Survival Tree")
    (description
     "Receiver Operating Characteristic (ROC)-guided survival trees and ensemble
algorithms are implemented, providing a unified framework for tree-structured
analysis with censored survival outcomes.  A time-invariant partition scheme on
the survivor population was considered to incorporate time-dependent covariates.
 Motivated by ideas of randomized tests, generalized time-dependent ROC curves
were used to evaluate the performance of survival trees and establish the
optimality of the target hazard/survival function.  The optimality of the target
hazard function motivates us to use a weighted average of the time-dependent
area under the curve (AUC) on a set of time points to evaluate the prediction
performance of survival trees and to guide splitting and pruning.  A detailed
description of the implemented methods can be found in Sun et al. (2019)
<@code{arXiv:1809.05627>}.")
    (license license:gpl3+)))

(define-public r-rocsvm-path
  (package
    (name "r-rocsvm-path")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rocsvm.path" version))
       (sha256
        (base32 "1pd59bzcz96sxpp725pqa7pjh2gdrfapbilp4wccjkf5290zw56v"))))
    (properties `((upstream-name . "rocsvm.path")))
    (build-system r-build-system)
    (propagated-inputs (list r-svmpath r-quadprog))
    (home-page "https://cran.r-project.org/package=rocsvm.path")
    (synopsis "The Entire Solution Paths for ROC-SVM")
    (description
     "We develop the entire solution paths for ROC-SVM presented by Rakotomamonjy.
The ROC-SVM solution path algorithm greatly facilitates the tuning procedure for
regularization parameter, lambda in ROC-SVM by avoiding grid search algorithm
which may be computationally too intensive.  For more information on the
ROC-SVM, see the report in the ROC Analysis in AI workshop(ROCAI-2004) :
HernÃ ndez-Orallo, JosÃ©, et al. (2004) <doi:10.1145/1046456.1046489>.")
    (license license:gpl2)))

(define-public r-rocsurf
  (package
    (name "r-rocsurf")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROCsurf" version))
       (sha256
        (base32 "0xp1v95kfwkizm194hrcypc0lvaq111v7c3lqai6vkbz444al4dp"))))
    (properties `((upstream-name . "ROCsurf")))
    (build-system r-build-system)
    (propagated-inputs (list r-pracma r-plotly))
    (home-page "https://github.com/ErtanSU/ROCsurf")
    (synopsis "ROC Surface Analysis Under the Three-Class Problems")
    (description
     "Receiver Operating Characteristic (ROC) analysis is performed assuming samples
are from the proposed distributions.  In addition, the volume under the ROC
surface and true positive fractions values are evaluated by ROC surface
analysis.")
    (license license:gpl3)))

(define-public r-rocsi
  (package
    (name "r-rocsi")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROCSI" version))
       (sha256
        (base32 "0bj1f62j2b39whm0grl1xvzkwi3jlrzpgzm77vskgyhaqrk17j9z"))))
    (properties `((upstream-name . "ROCSI")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-glmnet))
    (home-page "https://cran.r-project.org/package=ROCSI")
    (synopsis
     "Receiver Operating Characteristic Based Signature Identification")
    (description
     "Optimal linear combination predictive signatures for maximizing the area between
two Receiver Operating Characteristic (ROC) curves (treatment vs. control).")
    (license license:gpl2+)))

(define-public r-rocpsych
  (package
    (name "r-rocpsych")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROCpsych" version))
       (sha256
        (base32 "0fcrhhxmvrrchbswb94liahbgz5pfhs86fbj0vby7vnakrhngh7v"))))
    (properties `((upstream-name . "ROCpsych")))
    (build-system r-build-system)
    (propagated-inputs (list r-reportroc r-proc))
    (home-page "https://cran.r-project.org/package=ROCpsych")
    (synopsis "Compute and Compare Diagnostic Test Statistics Across Groups")
    (description
     "This package provides functions for (1) computing diagnostic test statistics
(sensitivity, specificity, etc.) from confusion matrices with adjustment for
various base rates or known prevalence based on @code{McCaffrey} et al (2003)
<doi:10.1007/978-1-4615-0079-7_1>, (2) computing optimal cut-off scores with
different criteria including maximizing sensitivity, maximizing specificity, and
maximizing the Youden Index from Youden (1950)
<https://acsjournals.onlinelibrary.wiley.com/doi/abs/10.1002/1097-0142%281950%293%3A1%3C32%3A%3AAID-CNCR2820030106%3E3.0.CO%3B2-3>,
and (3) displaying and comparing classification statistics and area under the
receiver operating characteristic (ROC) curves or area under the curves (AUC)
across consecutive categories for ordinal variables.")
    (license license:gpl2+)))

(define-public r-rococo
  (package
    (name "r-rococo")
    (version "1.1.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rococo" version))
       (sha256
        (base32 "1za16w2b8xazb1crl7701r0mqg0z3v86pyc3rvznwmyh3bzdaq0g"))))
    (properties `((upstream-name . "rococo")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/UBod/rococo")
    (synopsis "Robust Rank Correlation Coefficient and Test")
    (description
     "This package provides the robust gamma rank correlation coefficient as
introduced by Bodenhofer, Krone, and Klawonn (2013)
<DOI:10.1016/j.ins.2012.11.026> along with a permutation-based rank correlation
test.  The rank correlation coefficient and the test are explicitly designed for
dealing with noisy numerical data.")
    (license license:gpl2+)))

(define-public r-rocnreg
  (package
    (name "r-rocnreg")
    (version "1.0-9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROCnReg" version))
       (sha256
        (base32 "149iq8i67qmdy6a65b4zw03f1sha8dbnirqw24in1kar3m5zg9hn"))))
    (properties `((upstream-name . "ROCnReg")))
    (build-system r-build-system)
    (propagated-inputs (list r-spatstat-univar
                             r-pbivnorm
                             r-np
                             r-nor1mix
                             r-moments
                             r-matrix
                             r-mass
                             r-lattice))
    (home-page "https://cran.r-project.org/package=ROCnReg")
    (synopsis "ROC Curve Inference with and without Covariates")
    (description
     "Estimates the pooled (unadjusted) Receiver Operating Characteristic (ROC) curve,
the covariate-adjusted ROC (AROC) curve, and the covariate-specific/conditional
ROC (@code{cROC}) curve by different methods, both Bayesian and frequentist.
Also, it provides functions to obtain ROC-based optimal cutpoints utilizing
several criteria.  Based on Erkanli, A. et al. (2006) <doi:10.1002/sim.2496>;
Faraggi, D. (2003) <doi:10.1111/1467-9884.00350>; Gu, J. et al. (2008)
<doi:10.1002/sim.3366>; Inacio de Carvalho, V. et al. (2013)
<doi:10.1214/13-BA825>; Inacio de Carvalho, V., and Rodriguez-Alvarez, M.X.
(2022) <doi:10.1214/21-STS839>; Janes, H., and Pepe, M.S. (2009)
<doi:10.1093/biomet/asp002>; Pepe, M.S. (1998)
<http://www.jstor.org/stable/2534001?seq=1>; Rodriguez-Alvarez, M.X. et al.
(2011a) <doi:10.1016/j.csda.2010.07.018>; Rodriguez-Alvarez, M.X. et al. (2011a)
<doi:10.1007/s11222-010-9184-1>.  Please see Rodriguez-Alvarez, M.X. and Inacio,
V. (2021) <doi:10.32614/RJ-2021-066> for more details.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rocnp
  (package
    (name "r-rocnp")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rocnp" version))
       (sha256
        (base32 "1xqlmihhgjn6g3kabgmdx1qn18sxqd43sq3nb39i8pbwvaxhjqjr"))))
    (properties `((upstream-name . "rocnp")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-stringr
                             r-rlang
                             r-purrr
                             r-magrittr
                             r-glue
                             r-dplyr))
    (home-page "https://github.com/dragosmg/rocnp")
    (synopsis "Work with Romanian Personal Numeric Codes PNC / CNP")
    (description
     "This package provides a set of tools for working with Romanian personal numeric
codes.  The core is a validation function which applies several verification
criteria to assess the validity of numeric codes.  This is accompanied by
functionality for extracting the different components of a personal numeric
code.  A personal numeric code is issued to all Romanian residents either at
birth or when they obtain a residence permit.")
    (license license:expat)))

(define-public r-rocnit
  (package
    (name "r-rocnit")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rocNIT" version))
       (sha256
        (base32 "18vxyh1wcq6dv62xf2dyl4226cd00n4hlbaqnynl9j5gnrmmsvi1"))))
    (properties `((upstream-name . "rocNIT")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rocNIT")
    (synopsis "Non-Inferiority Test for Paired ROC Curves")
    (description
     "Non-inferiority test and diagnostic test are very important in clinical trails.
This package is to get a p value from the non-inferiority test for ROC curves
from diagnostic test.")
    (license license:gpl3)))

(define-public r-roclang
  (package
    (name "r-roclang")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roclang" version))
       (sha256
        (base32 "1irqscbj89mfkbq66kb7k1cx2ygilqwr6spxsm36rgqfbk1j5g6m"))))
    (properties `((upstream-name . "roclang")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-stringr
                             r-roxygen2
                             r-rlang
                             r-rex
                             r-purrr
                             r-magrittr
                             r-dplyr))
    (home-page "https://github.com/zhuxr11/roclang")
    (synopsis
     "Functions for Diffusing Function Documentations into 'Roxygen' Comments")
    (description
     "Efficient diffusing of content across function documentations.  Sections,
parameters or dot parameters are extracted from function documentations and
turned into valid Rd character strings, which are ready to diffuse into the
roxygen comments of another function by inserting inline code.")
    (license license:expat)))

(define-public r-rockr
  (package
    (name "r-rockr")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rockr" version))
       (sha256
        (base32 "190xaxcbb7miqw5mxyfqqlb2vzacifc8a7a3cqfdlpxra4d4jc25"))))
    (properties `((upstream-name . "rockr")))
    (build-system r-build-system)
    (propagated-inputs (list r-progress r-mime r-jsonlite r-httr))
    (home-page "https://cran.r-project.org/package=rockr")
    (synopsis "'Rock' R Server Client")
    (description
     "Connector to the REST API of a Rock R server, to perform operations on a remote
R server session, or administration tasks.  See Rock documentation at
<https://rockdoc.obiba.org/>.")
    (license license:expat)))

(define-public r-rockfab
  (package
    (name "r-rockfab")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RockFab" version))
       (sha256
        (base32 "0w1xvx5andm8mq3wfqgry8nbjvz4przz3bk771xz89bq60ws0q57"))))
    (properties `((upstream-name . "RockFab")))
    (build-system r-build-system)
    (propagated-inputs (list r-rgl r-ebimage))
    (home-page "https://cran.r-project.org/package=RockFab")
    (synopsis "Rock Fabric and Strain Analysis Tools")
    (description
     "This package provides functions to complete three-dimensional rock fabric and
strain analyses following the Rf Phi, Fry, and normalized Fry methods.  Also
allows for plotting of results and interactive 3D visualization functionality.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rocket
  (package
    (name "r-rocket")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROCket" version))
       (sha256
        (base32 "1p5b1408fdq8z64b7ihwcdxprg5rfiq4z5annxzvmizzr6qwn8qa"))))
    (properties `((upstream-name . "ROCket")))
    (build-system r-build-system)
    (propagated-inputs (list r-data-table))
    (home-page "https://github.com/da-zar/ROCket")
    (synopsis "Simple and Fast ROC Curves")
    (description
     "This package provides a set of functions for receiver operating characteristic
(ROC) curve estimation and area under the curve (AUC) calculation.  All
functions are designed to work with aggregated data; nevertheless, they can also
handle raw samples.  In ROCket', we distinguish two types of ROC curve
representations: 1) parametric curves - the true positive rate (TPR) and the
false positive rate (FPR) are functions of a parameter (the score), 2) functions
- TPR is a function of FPR. There are several ROC curve estimation methods
available.  An introduction to the mathematical background of the implemented
methods (and much more) can be found in de Zea Bermudez, GonÃ§alves, Oliveira &
Subtil (2014) <https://www.ine.pt/revstat/pdf/rs140101.pdf> and Cai & Pepe
(2004) <doi:10.1111/j.0006-341X.2004.00200.x>.")
    (license license:gpl3)))

(define-public r-rocker
  (package
    (name "r-rocker")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rocker" version))
       (sha256
        (base32 "15l6m8cmanw0av0c0wgn4m4ms6ablkj4hd0i9i9vq4003gafh9va"))))
    (properties `((upstream-name . "rocker")))
    (build-system r-build-system)
    (propagated-inputs (list r-sodium r-r6 r-dbi))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/nikolaus77/rocker")
    (synopsis "Database Interface Class")
    (description
     "R6 class interface for handling relational database connections using DBI
package as backend.  The class allows handling of connections to e.g.
@code{PostgreSQL}, @code{MariaDB} and SQLite.  The purpose is having an
intuitive object allowing straightforward handling of SQL databases.")
    (license license:expat)))

(define-public r-rock
  (package
    (name "r-rock")
    (version "0.8.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rock" version))
       (sha256
        (base32 "04byjz2k1wnjxbj22b307ghdrp7zz2ik5cxkxa0v980isfq5dv9i"))))
    (properties `((upstream-name . "rock")))
    (build-system r-build-system)
    (propagated-inputs (list r-yum
                             r-yaml
                             r-purrr
                             r-markdown
                             r-htmltools
                             r-glue
                             r-ggplot2
                             r-dplyr
                             r-diagrammersvg
                             r-diagrammer
                             r-data-tree))
    (native-inputs (list r-knitr))
    (home-page "https://rock.opens.science")
    (synopsis "Reproducible Open Coding Kit")
    (description
     "The Reproducible Open Coding Kit ('ROCK', and this package, rock') was developed
to facilitate reproducible and open coding, specifically geared towards
qualitative research methods.  Although it is a general-purpose toolkit, three
specific applications have been implemented, specifically an interface to the
@code{rENA} package that implements Epistemic Network Analysis ('ENA'), means to
process notes from Cognitive Interviews ('CIs'), and means to work with
decentralized construct taxonomies ('DCTs').  The ROCK and this rock package are
described in the ROCK book <https://rockbook.org> and more information, such as
tutorials, is available at <https://rock.science>.")
    (license license:gpl3)))

(define-public r-rocftp-mms
  (package
    (name "r-rocftp-mms")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROCFTP.MMS" version))
       (sha256
        (base32 "022cz5vh79c50r31rxn5fjghl65wn1ns8xdgq3b05hjf9psjvg4x"))))
    (properties `((upstream-name . "ROCFTP.MMS")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs))
    (home-page "https://github.com/nabipoor/ROCFTP.MMS")
    (synopsis "Perfect Sampling")
    (description
     "The algorithm provided in this package generates perfect sample for unimodal or
multimodal posteriors.  Read Once Coupling From The Past, with
Metropolis-Multishift is used to generate a perfect sample for a given posterior
density based on the two extreme starting paths, minimum and maximum of the most
interest range of the posterior.  It uses the monotone random operation of
multishift coupler which allows to sandwich all of the state space in one point.
 It means both Markov Chains starting from the maximum and minimum will be
coalesced.  The generated sample is independent from the starting points.  It is
useful for mixture distributions too.  The output of this function is a real
value as an exact draw from the posterior distribution.")
    (license license:expat)))

(define-public r-roccv
  (package
    (name "r-roccv")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roccv" version))
       (sha256
        (base32 "18kq2gzcbz97dw168xppql8k3slpkfl8yv1d8ac48damlhvipif1"))))
    (properties `((upstream-name . "roccv")))
    (build-system r-build-system)
    (propagated-inputs (list r-proc r-glmnet))
    (home-page "https://cran.r-project.org/package=roccv")
    (synopsis "ROC for Cross Validation Results")
    (description
     "Cross validate large genetic data while specifying clinical variables that
should always be in the model using the function cv().  An ROC plot from the
cross validation data with AUC can be obtained using rocplot(), which also can
be used to compare different models.  Framework was built to handle genetic
data, but works for any data.")
    (license license:expat)))

(define-public r-rocc
  (package
    (name "r-rocc")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rocc" version))
       (sha256
        (base32 "1j15l28c7kv7x850ycjprqi5gpbsl6wfv97h9lbrx11q5l4r9ivb"))))
    (properties `((upstream-name . "rocc")))
    (build-system r-build-system)
    (propagated-inputs (list r-rocr))
    (home-page "https://cran.r-project.org/package=rocc")
    (synopsis "ROC Based Classification")
    (description
     "This package provides functions for a classification method based on receiver
operating characteristics (ROC).  Briefly, features are selected according to
their ranked AUC value in the training set.  The selected features are merged by
the mean value to form a meta-gene.  The samples are ranked by their meta-gene
value and the meta-gene threshold that has the highest accuracy in splitting the
training samples is determined.  A new sample is classified by its meta-gene
value relative to the threshold.  In the first place, the package is aimed at
two class problems in gene expression data, but might also apply to other
problems.")
    (license license:gpl2+)))

(define-public r-rocbc
  (package
    (name "r-rocbc")
    (version "3.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rocbc" version))
       (sha256
        (base32 "1c2lbh3zmgzi87irbrxx8bdvvnz9ck24839nci00ylh8dvwq8893"))))
    (properties `((upstream-name . "rocbc")))
    (build-system r-build-system)
    (propagated-inputs (list r-splancs
                             r-proc
                             r-pracma
                             r-mvtnorm
                             r-mrmcaov
                             r-formattable
                             r-clinfun))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rocbc")
    (synopsis
     "Statistical Inference for Box-Cox Based Receiver Operating Characteristic Curves")
    (description
     "Generation of Box-Cox based ROC curves and several aspects of inferences and
hypothesis testing.  Can be used when inferences for one biomarker (Bantis LE,
Nakas CT, Reiser B. (2018)<doi:10.1002/bimj.201700107>) are of interest or when
comparisons of two correlated biomarkers (Bantis LE, Nakas CT, Reiser B.
(2021)<doi:10.1002/bimj.202000128>) are of interest.  Provides inferences and
comparisons around the AUC, the Youden index, the sensitivity at a given
specificity level (and vice versa), the optimal operating point of the ROC curve
(in the Youden sense), and the Youden based cutoff.")
    (license license:gpl3)))

(define-public r-rocaggregator
  (package
    (name "r-rocaggregator")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROCaggregator" version))
       (sha256
        (base32 "1l53z1xz5ww0bdd3pcmscmm4ypg0fdl4a03vv8ya2jk0zzlndlnq"))))
    (properties `((upstream-name . "ROCaggregator")))
    (build-system r-build-system)
    (propagated-inputs (list r-magrittr))
    (native-inputs (list r-knitr))
    (home-page "https://gitlab.com/UM-CDS/general-tools/rocaggregator")
    (synopsis "Aggregate Multiple ROC Curves into One Global ROC")
    (description
     "Aggregates multiple Receiver Operating Characteristic (ROC) curves obtained from
different sources into one global ROC. Additionally, itâs also possible to
calculate the aggregated precision-recall (PR) curve.")
    (license license:expat)))

(define-public r-robyn
  (package
    (name "r-robyn")
    (version "3.11.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Robyn" version))
       (sha256
        (base32 "0bcam3ki00s4rn1jyny7n9azandpl72b4w6gm1s50iivx17w6km2"))))
    (properties `((upstream-name . "Robyn")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-reticulate
                             r-prophet
                             r-patchwork
                             r-nloptr
                             r-minpack-lm
                             r-lubridate
                             r-lares
                             r-jsonlite
                             r-glmnet
                             r-ggridges
                             r-ggplot2
                             r-foreach
                             r-dplyr
                             r-dorng
                             r-doparallel))
    (home-page "https://github.com/facebookexperimental/Robyn")
    (synopsis
     "Semi-Automated Marketing Mix Modeling (MMM) from Meta Marketing Science")
    (description
     "Semi-Automated Marketing Mix Modeling (MMM) aiming to reduce human bias by means
of ridge regression and evolutionary algorithms, enables actionable decision
making providing a budget allocation and diminishing returns curves and allows
ground-truth calibration to account for causation.")
    (license license:expat)))

(define-public r-robvis
  (package
    (name "r-robvis")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robvis" version))
       (sha256
        (base32 "0xzvx3230ydd082jmdlm70vyhjizknngfzhvcbqpdcm403klni5h"))))
    (properties `((upstream-name . "robvis")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-scales r-ggplot2))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://github.com/mcguinlu/robvis")
    (synopsis "Visualize the Results of Risk-of-Bias (ROB) Assessments")
    (description
     "Helps users in quickly visualizing risk-of-bias assessments performed as part of
a systematic review.  It allows users to create weighted bar-plots of the
distribution of risk-of-bias judgments within each bias domain, in addition to
traffic-light plots of the specific domain-level judgments for each study.  The
resulting figures are of publication quality and are formatted according the
risk-of-bias assessment tool use to perform the assessments.  Currently, the
supported tools are ROB2.0 (for randomized controlled trials; Sterne et al
(2019) <doi:10.1136/bmj.l4898>), ROBINS-I (for non-randomised studies of
interventions; Sterne et al (2016) <doi:10.1136/bmj.i4919>), and QUADAS-2 (for
diagnostic accuracy studies; Whiting et al (2011)
<doi:10.7326/0003-4819-155-8-201110180-00009>).")
    (license license:expat)))

(define-public r-robustx
  (package
    (name "r-robustx")
    (version "1.2-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustX" version))
       (sha256
        (base32 "0wy0fv7v03lsvzjhg5m6g331lhqsd8f1adgjw0r6bwdkkak2l2gl"))))
    (properties `((upstream-name . "robustX")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase))
    (home-page "https://cran.r-project.org/package=robustX")
    (synopsis "'eXtra' / 'eXperimental' Functionality for Robust Statistics")
    (description
     "Robustness -- @code{eXperimental}', @code{eXtraneous}', or @code{eXtraordinary}
Functionality for Robust Statistics.  Hence methods which are not well
established, often related to methods in package robustbase'.  Amazingly,
BACON()', originally by Billor, Hadi, and Velleman (2000)
<doi:10.1016/S0167-9473(99)00101-2> has become established in places.  The
\"barrow wheel\" `rbwheel()` is from Stahel and MÃ¤chler (2009)
<doi:10.1111/j.1467-9868.2009.00706.x>.")
    (license license:gpl2+)))

(define-public r-robustvarcomp
  (package
    (name "r-robustvarcomp")
    (version "0.1-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustvarComp" version))
       (sha256
        (base32 "0vmpp2mbzphasv7wf6k9xnxdj7nl7lhznaqa2980xp2hkpgynksk"))))
    (properties `((upstream-name . "robustvarComp")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase r-robust r-plyr r-numderiv r-gse))
    (native-inputs (list gfortran))
    (home-page "https://cran.r-project.org/package=robustvarComp")
    (synopsis "Robust Estimation of Variance Component Models")
    (description
     "Robust Estimation of Variance Component Models by classic and composite robust
procedures.  The composite procedures are robust against outliers generated by
the Independent Contamination Model.")
    (license license:gpl2)))

(define-public r-robustsur
  (package
    (name "r-robustsur")
    (version "0.0-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustsur" version))
       (sha256
        (base32 "0j3hqg0n5alckibzclks70a4xdhcwq4xm2a3z5w4dsvlzqgpnjl3"))))
    (properties `((upstream-name . "robustsur")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase r-robreg3s r-matrix r-gse))
    (home-page "https://cran.r-project.org/package=robustsur")
    (synopsis "Robust Estimation for Seemingly Unrelated Regression Models")
    (description
     "Data sets are often corrupted by outliers.  When data are multivariate outliers
can be classified as case-wise or cell-wise.  The latters are particularly
challenge to handle.  We implement a robust estimation procedure for Seemingly
Unrelated Regression Models which is able to cope well with both type of
outliers.  Giovanni Saraceno, Fatemah Alqallaf, Claudio Agostinelli (2021)
<@code{arXiv:2107.00975>}.")
    (license license:gpl2+)))

(define-public r-robustsae
  (package
    (name "r-robustsae")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustsae" version))
       (sha256
        (base32 "0fi1fpqnfj6vkmidlr90kqbn1bxxxqb5qpqqrz9rrimlsvrc4ddl"))))
    (properties `((upstream-name . "robustsae")))
    (build-system r-build-system)
    (propagated-inputs (list r-pscl r-mvtnorm r-mcmcpack r-lattice r-coda))
    (home-page "https://cran.r-project.org/package=robustsae")
    (synopsis "Robust Bayesian Small Area Estimation")
    (description
     "This package provides functions for Robust Bayesian Small Area Estimation.")
    (license license:gpl3)))

(define-public r-robustreg
  (package
    (name "r-robustreg")
    (version "0.1-11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustreg" version))
       (sha256
        (base32 "08c6dyzki68hzl006s12bkjiirlw2n2isirjh8b79sd6zjrjlh72"))))
    (properties `((upstream-name . "robustreg")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-matrix))
    (home-page "https://cran.r-project.org/package=robustreg")
    (synopsis "Robust Regression Functions")
    (description
     "Linear regression functions using Huber and bisquare psi functions.  Optimal
weights are calculated using IRLS algorithm.")
    (license license:gpl2+)))

(define-public r-robustrao
  (package
    (name "r-robustrao")
    (version "1.0-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustrao" version))
       (sha256
        (base32 "1r8v9qjx70s8swh09imq9kzdxg0qhnmk00zrg939mig9b12mw1p6"))))
    (properties `((upstream-name . "robustrao")))
    (build-system r-build-system)
    (propagated-inputs (list r-quadprog
                             r-iterpc
                             r-igraph
                             r-gmp
                             r-foreach
                             r-doparallel))
    (home-page "https://gitlab.com/mc.calatrava.moreno/robustrao.git")
    (synopsis
     "An Extended Rao-Stirling Diversity Index to Handle Missing Data")
    (description
     "This package provides a collection of functions to compute the Rao-Stirling
diversity index (Porter and Rafols, 2009) <DOI:10.1007/s11192-008-2197-2> and
its extension to acknowledge missing data (i.e.,	uncategorized references) by
calculating its interval of uncertainty using	mathematical optimization as
proposed in Calatrava et al. (2016) <DOI:10.1007/s11192-016-1842-4>.  The
Rao-Stirling diversity index is a well-established bibliometric indicator to
measure the interdisciplinarity of scientific publications.  Apart from the
obligatory dataset of publications with their respective references and	a
taxonomy of disciplines that categorizes references as well as a measure of
similarity between the disciplines, the Rao-Stirling diversity index requires a
complete categorization of all references of a publication into disciplines.
Thus, it fails for a incomplete categorization; in this case, the robust
extension has to be used, which encodes the uncertainty caused by missing
bibliographic data as an uncertainty interval.  Classification / ACM - 2012:
Information systems ~ Similarity measures, Theory of computation ~
Quadratic	programming, Applied computing ~ Digital libraries and archives.")
    (license license:gpl3)))

(define-public r-robustrankaggreg
  (package
    (name "r-robustrankaggreg")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobustRankAggreg" version))
       (sha256
        (base32 "0p2nbgxv2132gcyx7zq2gzl6ipsxndx64i7y8v9nh5awcdy8v44p"))))
    (properties `((upstream-name . "RobustRankAggreg")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RobustRankAggreg")
    (synopsis "Methods for Robust Rank Aggregation")
    (description
     "This package provides methods for aggregating ranked lists, especially lists of
genes.  It implements the Robust Rank Aggregation Kolde et al (2012)
<doi:10.1093/bioinformatics/btr709> and some other simple algorithms for the
task.  RRA method uses a probabilistic model for aggregation that is robust to
noise and also facilitates the calculation of significance probabilities for all
the elements in the final ranking.")
    (license license:gpl2)))

(define-public r-robustrank
  (package
    (name "r-robustrank")
    (version "2024.1-28")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustrank" version))
       (sha256
        (base32 "1sa4k43zqj4xx4ph7kjklkkjh4xmhdi3z83zz1j7kvf77pif0bpr"))))
    (properties `((upstream-name . "robustrank")))
    (build-system r-build-system)
    (propagated-inputs (list r-kyotil))
    (home-page "https://cran.r-project.org/package=robustrank")
    (synopsis "Robust Rank-Based Tests")
    (description
     "This package implements two-sample tests for paired data with missing values
(Fong, Huang, Lemos and @code{McElrath} 2018, Biostatics,
<doi:10.1093/biostatistics/kxx039>) and modified Wilcoxon-Mann-Whitney two
sample location test, also known as the Fligner-Policello test.")
    (license license:gpl2)))

(define-public r-robustmeta
  (package
    (name "r-robustmeta")
    (version "1.2-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustmeta" version))
       (sha256
        (base32 "0i1i2pxsppyppayr911q87ll2nrmsvc8avkf4mlxm472k5dffh3k"))))
    (properties `((upstream-name . "robustmeta")))
    (build-system r-build-system)
    (propagated-inputs (list r-metafor))
    (home-page "https://cran.r-project.org/package=robustmeta")
    (synopsis
     "Robust Inference for Meta-Analysis with Influential Outlying Studies")
    (description
     "Robust inference methods for fixed-effect and random-effects models of
meta-analysis are implementable.  The robust methods are developed using the
density power divergence that is a robust estimating criterion developed in
machine learning theory, and can effectively circumvent biases and misleading
results caused by influential outliers.  The density power divergence is
originally introduced by Basu et al. (1998) <doi:10.1093/biomet/85.3.549>, and
the meta-analysis methods are developed by Noma et al. (2022) <forthcoming>.")
    (license license:gpl3)))

(define-public r-robustmatrix
  (package
    (name "r-robustmatrix")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustmatrix" version))
       (sha256
        (base32 "1qhb2wxzb0wh0b9c7jj42aanmyxd22b0hn5gip3s9q2ypdzhnllc"))))
    (properties `((upstream-name . "robustmatrix")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-rcpparmadillo r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=robustmatrix")
    (synopsis "Robust Matrix-Variate Parameter Estimation")
    (description
     "Robust covariance estimation for matrix-valued data and data with
Kronecker-covariance structure using the Matrix Minimum Covariance Determinant
(MMCD) estimators and outlier explanation using and Shapley values.")
    (license license:gpl3)))

(define-public r-robustlmm
  (package
    (name "r-robustlmm")
    (version "3.3-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustlmm" version))
       (sha256
        (base32 "1rv08rxv0s2013hq196p4rnh3hh5gvcv8jw14sbh9lm1hzkj67rg"))))
    (properties `((upstream-name . "robustlmm")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-robustbase
                             r-rlang
                             r-rcpp
                             r-nlme
                             r-matrix
                             r-lme4
                             r-lattice
                             r-fastghquad))
    (home-page "https://github.com/kollerma/robustlmm")
    (synopsis "Robust Linear Mixed Effects Models")
    (description
     "This package implements the Robust Scoring Equations estimator to fit linear
mixed effects models robustly.  Robustness is achieved by modification of the
scoring equations combined with the Design Adaptive Scale approach.")
    (license license:gpl2)))

(define-public r-robustlm
  (package
    (name "r-robustlm")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustlm" version))
       (sha256
        (base32 "17l2kr9dc3z02b2jswfxal13md4xfpz4sqjfg6kyg6ilab1cfd06"))))
    (properties `((upstream-name . "robustlm")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrixstats r-mass))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=robustlm")
    (synopsis "Robust Variable Selection with Exponential Squared Loss")
    (description
     "Computationally efficient tool for performing variable selection and obtaining
robust estimates, which implements robust variable selection procedure proposed
by Wang, X., Jiang, Y., Wang, S., Zhang, H. (2013)
<doi:10.1080/01621459.2013.766613>.  Users can enjoy the near optimal,
consistent, and oracle properties of the procedures.")
    (license license:gpl3)))

(define-public r-robustlinearreg
  (package
    (name "r-robustlinearreg")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobustLinearReg" version))
       (sha256
        (base32 "06137f516gyj64qdmwby7m1xnvj4hxzpqj454jn0xcinvl89380w"))))
    (properties `((upstream-name . "RobustLinearReg")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RobustLinearReg")
    (synopsis "Robust Linear Regressions")
    (description
     "This package provides an easy way to compute the Theil Sehn Regression method
and also the Siegel Regression Method which are both robust methods base on the
median of slopes between all pairs of data.  In contrast with the least squared
linear regression, these methods are not sensitive to outliers.  Theil, H.
(1992) <doi:10.1007/978-94-011-2546-8_20>, Sen, P. K. (1968)
<doi:10.1080/01621459.1968.10480934>.")
    (license license:gpl3)))

(define-public r-robustiv
  (package
    (name "r-robustiv")
    (version "0.2.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobustIV" version))
       (sha256
        (base32 "1iz5g0ynkx38vdsf7rm8haai7a8igw3rdqrgxllahnbykwhm4d51"))))
    (properties `((upstream-name . "RobustIV")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix
                             r-mass
                             r-intervals
                             r-igraph
                             r-glmnet
                             r-cvxr))
    (home-page "https://github.com/zijguo/RobustIV")
    (synopsis "Robust Instrumental Variable Methods in Linear Models")
    (description
     "Inference for the treatment effect with possibly invalid instrumental variables
via TSHT('Guo et al. (2016) <@code{arXiv:1603.05224>}) and
@code{SearchingSampling('Guo} (2021) <@code{arXiv:2104.06911>}), which are
effective for both low- and high-dimensional covariates and instrumental
variables; test of endogeneity in high dimensions ('Guo et al. (2016)
<@code{arXiv:1609.06713>}).")
    (license license:gpl3)))

(define-public r-robusthd
  (package
    (name "r-robusthd")
    (version "0.8.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustHD" version))
       (sha256
        (base32 "0f42x3r8g9nppfdd9vfqhq1ccj4sv8q1g7mdwlkmcyak3fajswcv"))))
    (properties `((upstream-name . "robustHD")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase
                             r-rcpparmadillo
                             r-rcpp
                             r-perry
                             r-mass
                             r-ggplot2))
    (home-page "https://github.com/aalfons/robustHD")
    (synopsis "Robust Methods for High-Dimensional Data")
    (description
     "Robust methods for high-dimensional data, in particular linear model selection
techniques based on least angle regression and sparse regression.  Specifically,
the package implements robust least angle regression (Khan, Van Aelst & Zamar,
2007; <doi:10.1198/016214507000000950>), (robust) groupwise least angle
regression (Alfons, Croux & Gelper, 2016; <doi:10.1016/j.csda.2015.02.007>), and
sparse least trimmed squares regression (Alfons, Croux & Gelper, 2013;
<doi:10.1214/12-AOAS575>).")
    (license license:gpl2+)))

(define-public r-robustgasp
  (package
    (name "r-robustgasp")
    (version "0.6.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobustGaSP" version))
       (sha256
        (base32 "1pcy0n4krshjw9c4g41m7487qydrjbh45yqg77i74s5bvwd47fnp"))))
    (properties `((upstream-name . "RobustGaSP")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp r-nloptr))
    (home-page "https://cran.r-project.org/package=RobustGaSP")
    (synopsis "Robust Gaussian Stochastic Process Emulation")
    (description
     "Robust parameter estimation and prediction of Gaussian stochastic process
emulators.  It allows for robust parameter estimation and prediction using
Gaussian stochastic process emulator.  It also implements the parallel partial
Gaussian stochastic process emulator for computer model with massive outputs See
the reference: Mengyang Gu and Jim Berger, 2016, Annals of Applied Statistics;
Mengyang Gu, Xiaojing Wang and Jim Berger, 2018, Annals of Statistics.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-robustfa
  (package
    (name "r-robustfa")
    (version "1.1-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustfa" version))
       (sha256
        (base32 "0r7ydyjg0ch1wqngzdar2bd6jh0fvfzylmxmxq97kq1k6p3gb972"))))
    (properties `((upstream-name . "robustfa")))
    (build-system r-build-system)
    (propagated-inputs (list r-rrcov))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://cran.r-project.org/package=robustfa")
    (synopsis "Object Oriented Solution for Robust Factor Analysis")
    (description
     "Outliers virtually exist in any datasets of any application field.  To avoid the
impact of outliers, we need to use robust estimators.  Classical estimators of
multivariate mean and covariance matrix are the sample mean and the sample
covariance matrix.  Outliers will affect the sample mean and the sample
covariance matrix, and thus they will affect the classical factor analysis which
depends on the classical estimators (Pison, G., Rousseeuw, P.J., Filzmoser, P.
and Croux, C. (2003) <doi:10.1016/S0047-259X(02)00007-6>).  So it is necessary
to use the robust estimators of the sample mean and the sample covariance
matrix.  There are several robust estimators in the literature: Minimum
Covariance Determinant estimator, Orthogonalized Gnanadesikan-Kettenring,
Minimum Volume Ellipsoid, M, S, and Stahel-Donoho.  The most direct way to make
multivariate analysis more robust is to replace the sample mean and the sample
covariance matrix of the classical estimators to robust estimators (Maronna,
R.A., Martin, D. and Yohai, V. (2006) <doi:10.1002/0470010940>) (Todorov, V. and
Filzmoser, P. (2009) <doi:10.18637/jss.v032.i03>), which is our choice of robust
factor analysis.  We created an object oriented solution for robust factor
analysis based on new S4 classes.")
    (license license:gpl2+)))

(define-public r-robustetm
  (package
    (name "r-robustetm")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustETM" version))
       (sha256
        (base32 "1dlj79v08bls500lb81rya6vwx58h97rpq1sy9zwd3mfl9b6awp9"))))
    (properties `((upstream-name . "robustETM")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=robustETM")
    (synopsis "Robust Methods using Exponential Tilt Model")
    (description
     "Testing homogeneity for generalized exponential tilt model.  This package
includes a collection of functions for (1) implementing methods for testing
homogeneity for generalized exponential tilt model; and (2) implementing
existing methods under comparison.")
    (license license:gpl2+)))

(define-public r-robustest
  (package
    (name "r-robustest")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robusTest" version))
       (sha256
        (base32 "0iwjplmry7s5834gg1wrqcqpad93krrglh6m5dayv8s22mk83wsc"))))
    (properties `((upstream-name . "robusTest")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=robusTest")
    (synopsis "Calibrated Correlation and Two-Sample Tests")
    (description
     "Implementation of corrected two-sample tests.  A corrected version of the
Pearson and Kendall correlation tests, the Mann-Whitney (Wilcoxon) rank sum
test, the Wilcoxon signed rank test and a variance test are implemented.  The
package also proposes a test for the median and an independence test between two
continuous variables of Kolmogorov-Smirnov's type.  All these corrected tests
are asymptotically calibrated in the sense that the probability of rejection
under the null hypothesis is asymptotically equal to the level of the test.  See
<doi:10.48550/@code{arXiv.2211.08784>} for more details on the statistical
tests.")
    (license license:expat)))

(define-public r-robustda
  (package
    (name "r-robustda")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustDA" version))
       (sha256
        (base32 "0kxdqvv17dgnlqp0hkazwfqsg3h4g9gw1w57blwpay67xp4d1jyx"))))
    (properties `((upstream-name . "robustDA")))
    (build-system r-build-system)
    (propagated-inputs (list r-rsolnp r-mclust r-mass))
    (home-page "https://cran.r-project.org/package=robustDA")
    (synopsis "Robust Mixture Discriminant Analysis")
    (description
     "Robust mixture discriminant analysis (RMDA), proposed in Bouveyron & Girard,
2009 <doi:10.1016/j.patcog.2009.03.027>, allows to build a robust supervised
classifier from learning data with label noise.  The idea of the proposed method
is to confront an unsupervised modeling of the data with the supervised
information carried by the labels of the learning data in order to detect
inconsistencies.  The method is able afterward to build a robust classifier
taking into account the detected inconsistencies into the labels.")
    (license license:gpl2)))

(define-public r-robustcov
  (package
    (name "r-robustcov")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustcov" version))
       (sha256
        (base32 "1bgvf9h727aqfb11q976y2ybp3mpghkyd29waypyfp95csp3cf26"))))
    (properties `((upstream-name . "robustcov")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-glasso r-caret))
    (home-page "https://cran.r-project.org/package=robustcov")
    (synopsis
     "Collection of Robust Covariance and (Sparse) Precision Matrix Estimators")
    (description
     "Collection of methods for robust covariance and (sparse) precision matrix
estimation based on Loh and Tan (2018) <doi:10.1214/18-EJS1427>.")
    (license license:gpl3)))

(define-public r-robustcalibration
  (package
    (name "r-robustcalibration")
    (version "0.5.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobustCalibration" version))
       (sha256
        (base32 "0ilbj88bgjymyyn7jh7dnxhhba7xrmpsnhkwr1cr53zd9rpywfdf"))))
    (properties `((upstream-name . "RobustCalibration")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustgasp r-rcppeigen r-rcpp r-nloptr))
    (home-page "https://cran.r-project.org/package=RobustCalibration")
    (synopsis "Robust Calibration of Imperfect Mathematical Models")
    (description
     "This package implements full Bayesian analysis for calibrating mathematical
models with new methodology for modeling the discrepancy function.  It allows
for emulation, calibration and prediction using complex mathematical model
outputs and experimental data.  See the reference: Mengyang Gu and Long Wang,
2018, Journal of Uncertainty Quantification; Mengyang Gu, Fangzheng Xie and Long
Wang, 2022, Journal of Uncertainty Quantification; Mengyang Gu, Kyle Anderson
and Erika @code{McPhillips}, 2023, Technometrics.")
    (license license:gpl2+)))

(define-public r-robustblme
  (package
    (name "r-robustblme")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustBLME" version))
       (sha256
        (base32 "18wx116l1riy4wn4083kxl637mkyyi9wbwnmvhkgqw3vb36s4vxd"))))
    (properties `((upstream-name . "robustBLME")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo
                             r-rcpp
                             r-numderiv
                             r-mvtnorm
                             r-lme4
                             r-iterators
                             r-foreach
                             r-doparallel))
    (home-page "https://github.com/erlisR/robustBLME")
    (synopsis "Robust Bayesian Linear Mixed-Effects Models using ABC")
    (description
     "Bayesian robust fitting of linear mixed effects models through weighted
likelihood equations and approximate Bayesian computation as proposed by Ruli et
al. (2017) <@code{arXiv:1706.01752>}.")
    (license license:gpl2)))

(define-public r-robustbf
  (package
    (name "r-robustbf")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobustBF" version))
       (sha256
        (base32 "137lsk72sx29lhkc1s698k015vvbmdzb23i8pnlk5204bjfqzch8"))))
    (properties `((upstream-name . "RobustBF")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RobustBF")
    (synopsis "Robust Solution to the Behrens-Fisher Problem")
    (description
     "Robust tests (RW and RF) are provided for testing the equality of two
long-tailed symmetric (LTS) means when the variances are unknown and arbitrary.
RW test is a robust version of Welch's two sample t test and the RF is a robust
fiducial based test.  The RW and RF tests are proposed using the adaptive
modified maximum likelihood (AMML) estimators derived by Tiku and Surucu (2009)
<doi:10.1016/j.spl.2008.12.001> and Donmez (2010)
<https://open.metu.edu.tr/bitstream/handle/11511/19440/index.pdf>.")
    (license license:gpl3+)))

(define-public r-robustbetareg
  (package
    (name "r-robustbetareg")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustbetareg" version))
       (sha256
        (base32 "09f4binbi5gcf80fhpxzrmpm2k2xf6f7rcw9g2xzmni8b4cs2l6p"))))
    (properties `((upstream-name . "robustbetareg")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-rstudioapi
                             r-robustbase
                             r-rmpfr
                             r-pracma
                             r-numderiv
                             r-misctools
                             r-matrix
                             r-mass
                             r-formula
                             r-crayon
                             r-betareg
                             r-bbmisc))
    (home-page "https://cran.r-project.org/package=robustbetareg")
    (synopsis "Robust Beta Regression")
    (description
     "Robust estimators for the beta regression, useful for modeling bounded
continuous data.  Currently, four types of robust estimators are supported.
They depend on a tuning constant which may be fixed or selected by a data-driven
algorithm also implemented in the package.  Diagnostic tools associated with the
fitted model, such as the residuals and goodness-of-fit statistics, are
implemented.  Robust Wald-type tests are available.  More details about robust
beta regression are described in Maluf et al. (2022) <@code{arXiv:2209.11315>}.")
    (license license:gpl3)))

(define-public r-robustbayesiancopas
  (package
    (name "r-robustbayesiancopas")
    (version "2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobustBayesianCopas" version))
       (sha256
        (base32 "0cbibfp4y45cc1disp2r37v0jln0cd9gy3d77z3k9ybj1gg8wa88"))))
    (properties `((upstream-name . "RobustBayesianCopas")))
    (build-system r-build-system)
    (propagated-inputs (list r-statip r-rjags))
    (home-page "https://cran.r-project.org/package=RobustBayesianCopas")
    (synopsis "Robust Bayesian Copas Selection Model")
    (description
     "Fits the robust Bayesian Copas (RBC) selection model of Bai et al. (2020)
<@code{arXiv:2005.02930>} for correcting and quantifying publication bias in
univariate meta-analysis.  Also fits standard random effects meta-analysis and
the Copas-like selection model of Ning et al. (2017)
<doi:10.1093/biostatistics/kxx004>.")
    (license license:gpl3)))

(define-public r-robustarima
  (package
    (name "r-robustarima")
    (version "0.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robustarima" version))
       (sha256
        (base32 "1f1bp9mqkrz91j1jfq2w4wp1dps0rni9l0jpa0r0pflbqlhjhdz3"))))
    (properties `((upstream-name . "robustarima")))
    (build-system r-build-system)
    (propagated-inputs (list r-splustimeseries r-splustimedate))
    (native-inputs (list gfortran))
    (home-page "https://github.com/spkaluzny/robustarima")
    (synopsis "Robust ARIMA Modeling")
    (description
     "This package provides functions for fitting a linear regression model with ARIMA
errors using a filtered tau-estimate.  The methodology is described in Maronna
et al (2017, ISBN:9781119214687).")
    (license license:bsd-3)))

(define-public r-robustanova
  (package
    (name "r-robustanova")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobustANOVA" version))
       (sha256
        (base32 "1kpvahxipcmsqk6mv2zagcvw0glmsj0xkpf6f3gjnckin6mxnjyv"))))
    (properties `((upstream-name . "RobustANOVA")))
    (build-system r-build-system)
    (propagated-inputs (list r-peip r-optimbase))
    (home-page "https://cran.r-project.org/package=RobustANOVA")
    (synopsis
     "Robust One-Way ANOVA Tests under Heteroscedasticity and Nonnormality")
    (description
     "Robust tests (RW, RPB and RGF) are provided for testing the equality of several
long-tailed symmetric (LTS) means when the variances are unknown and arbitrary.
RW, RPB and RGF tests are robust versions of Welch's F test proposed by Welch
(1951) <doi:10.2307/2332579>, parametric bootstrap test proposed by
Krishnamoorthy et.  al (2007) <doi:10.1016/j.csda.2006.09.039>; and generalized
F test proposed by Weerahandi (1995) <doi:10.2307/2532947>;, respectively.
These tests are based on the modified maximum likelihood (MML) estimators
proposed by Tiku(1967, 1968) <doi:10.2307/2333859>,
<doi:10.1080/01621459.1968.11009228>.")
    (license license:gpl3+)))

(define-public r-robustaft
  (package
    (name "r-robustaft")
    (version "1.4-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobustAFT" version))
       (sha256
        (base32 "1i000j6d4s0yb99dxyq610a1znkiai9xc9l16wdb7lmnrhixz5qp"))))
    (properties `((upstream-name . "RobustAFT")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-robustbase r-deoptimr))
    (native-inputs (list gfortran))
    (home-page "https://cran.r-project.org/package=RobustAFT")
    (synopsis
     "Truncated Maximum Likelihood Fit and Robust Accelerated Failure Time Regression for Gaussian and Log-Weibull Case")
    (description
     "R functions for the computation of the truncated maximum likelihood and the
robust accelerated failure time regression for gaussian and log-Weibull case.")
    (license license:gpl2+)))

(define-public r-robust2sls
  (package
    (name "r-robust2sls")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robust2sls" version))
       (sha256
        (base32 "1q12lvb5kifcn6qjaw1zpzq8p59lw92x79jfj9ffgy3sswhznpq4"))))
    (properties `((upstream-name . "robust2sls")))
    (build-system r-build-system)
    (propagated-inputs (list r-pracma
                             r-mathjaxr
                             r-mass
                             r-ivreg
                             r-foreach
                             r-exactci))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jkurle/robust2sls")
    (synopsis "Outlier Robust Two-Stage Least Squares Inference and Testing")
    (description
     "An implementation of easy tools for outlier robust inference in two-stage least
squares (2SLS) models.  The user specifies a reference distribution against
which observations are classified as outliers or not.  After removing the
outliers, adjusted standard errors are automatically provided.  Furthermore,
several statistical tests for the false outlier detection rate can be
calculated.  The outlier removing algorithm can be iterated a fixed number of
times or until the procedure converges.  The algorithms and robust inference are
described in more detail in Jiao (2019)
<https://drive.google.com/file/d/1@code{qPxDJnLlzLqdk94X9wwVASptf1MPpI2w/view>}.")
    (license license:gpl3)))

(define-public r-robumeta
  (package
    (name "r-robumeta")
    (version "2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robumeta" version))
       (sha256
        (base32 "1lybq36p1n1z9p0iqiyzwmv5f07q1wlkqfgrnx9kjf6pwlp9mkyk"))))
    (properties `((upstream-name . "robumeta")))
    (build-system r-build-system)
    (native-inputs (list r-r-rsp))
    (home-page "https://github.com/zackfisher/robumeta")
    (synopsis "Robust Variance Meta-Regression")
    (description
     "This package provides functions for conducting robust variance estimation (RVE)
meta-regression using both large and small sample RVE estimators under various
weighting schemes.  These methods are distribution free and provide valid point
estimates, standard errors and hypothesis tests even when the degree and
structure of dependence between effect sizes is unknown.  Also included are
functions for conducting sensitivity analyses under correlated effects weighting
and producing RVE-based forest plots.")
    (license license:gpl2)))

(define-public r-robtt
  (package
    (name "r-robtt")
    (version "1.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RoBTT" version))
       (sha256
        (base32 "00yrl6l6pz1y8j5qwhvwg84lcxvisp578i9fsd3iv9f3hfhsw9nh"))))
    (properties `((upstream-name . "RoBTT")))
    (build-system r-build-system)
    (propagated-inputs (list r-stanheaders
                             r-rstantools
                             r-rstan
                             r-rdpack
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-ggplot2
                             r-bridgesampling
                             r-bh
                             r-bayestools))
    (native-inputs (list r-knitr))
    (home-page "https://fbartos.github.io/RoBTT/")
    (synopsis "Robust Bayesian T-Test")
    (description
     "An implementation of Bayesian model-averaged t-test that allows users to draw
inference about the presence vs absence of the effect, heterogeneity of
variances, and outliers.  The @code{RoBTT} packages estimates model ensembles of
models created as a combination of the competing hypotheses and uses Bayesian
model-averaging to combine the models using posterior model probabilities.
Users can obtain the model-averaged posterior distributions and inclusion Bayes
factors which account for the uncertainty in the data generating process (Maier
et al., 2022, <doi:10.31234/osf.io/d5zwc>).  Users can define a wide range of
informative priors for all parameters of interest.  The package provides
convenient functions for summary, visualizations, and fit diagnostics.")
    (license license:gpl3)))

(define-public r-robsurvey
  (package
    (name "r-robsurvey")
    (version "0.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robsurvey" version))
       (sha256
        (base32 "1jvjmgykslc8wbirpi5ysnpjrxp6xf9v4cpzma6bf6zq9cf3r5q4"))))
    (properties `((upstream-name . "robsurvey")))
    (build-system r-build-system)
    (propagated-inputs (list r-survey r-kernsmooth))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://github.com/tobiasschoch/robsurvey")
    (synopsis "Robust Survey Statistics Estimation")
    (description
     "Robust (outlier-resistant) estimators of finite population characteristics like
of means, totals, ratios, regression, etc.  Available methods are M- and
GM-estimators of regression, weight reduction, trimming, and winsorization.  The
package extends the survey <https://CRAN.R-project.org/package=survey> package.")
    (license license:gpl2+)))

(define-public r-robstepsplitreg
  (package
    (name "r-robstepsplitreg")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robStepSplitReg" version))
       (sha256
        (base32 "04azi5pk8jpq5lcssbax8jyf1lb0g8grmxpj56kaifzp764y66wn"))))
    (properties `((upstream-name . "robStepSplitReg")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-glmnet r-cellwise))
    (home-page "https://cran.r-project.org/package=robStepSplitReg")
    (synopsis "Robust Stepwise Split Regularized Regression")
    (description
     "This package provides functions to perform robust stepwise split regularized
regression.  The approach first uses a robust stepwise algorithm to split the
variables into the models of an ensemble.  An adaptive robust regularized
estimator is then applied to each subset of predictors in the models of an
ensemble.")
    (license license:gpl2+)))

(define-public r-robstattm
  (package
    (name "r-robstattm")
    (version "1.0.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobStatTM" version))
       (sha256
        (base32 "06lh20b2wgz9b8imwddfcypxvrsprzn9hjn5sm68qbgvfs5ck2fs"))))
    (properties `((upstream-name . "RobStatTM")))
    (build-system r-build-system)
    (propagated-inputs (list r-rrcov r-robustbase r-pyinit))
    (native-inputs (list r-r-rsp gfortran))
    (home-page "https://cran.r-project.org/package=RobStatTM")
    (synopsis "Robust Statistics: Theory and Methods")
    (description
     "Companion package for the book: \"Robust Statistics: Theory and Methods, second
edition\", <http://www.wiley.com/go/maronna/robust>.  This package contains code
that implements the robust estimators discussed in the recent second edition of
the book above, as well as the scripts reproducing all the examples in the book.")
    (license license:gpl3+)))

(define-public r-robslopes
  (package
    (name "r-robslopes")
    (version "1.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robslopes" version))
       (sha256
        (base32 "0hhdpp03ybf71x6wz766glqlq4ywc4v65mj0ca3idv69p488mvb5"))))
    (properties `((upstream-name . "robslopes")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (home-page "https://cran.r-project.org/package=robslopes")
    (synopsis "Fast Algorithms for Robust Slopes")
    (description
     "Fast algorithms for the Theil-Sen estimator, Siegel's repeated median slope
estimator, and Passing-Bablok regression.  The implementation is based on
algorithms by Dillencourt et.  al (1992) <doi:10.1142/S0218195992000020> and
Matousek et.  al (1998) <doi:10.1007/PL00009190>.  The implementations are
detailed in Raymaekers (2023) <doi:10.32614/RJ-2023-012> and Raymaekers J.,
Dufey F. (2022) <@code{arXiv:2202.08060>}.  All algorithms run in quasilinear
time.")
    (license license:gpl2+)))

(define-public r-robservable
  (package
    (name "r-robservable")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robservable" version))
       (sha256
        (base32 "159dl6w0lxh3n107l4ms3x7nbp4f0339xrvxsy7xk2sjrdaxxv5k"))))
    (properties `((upstream-name . "robservable")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-htmlwidgets))
    (native-inputs (list r-knitr))
    (home-page "https://juba.github.io/robservable/")
    (synopsis "Import an Observable Notebook as HTML Widget")
    (description
     "Allows loading and displaying an Observable notebook (online @code{JavaScript}
notebooks powered by <https://observablehq.com>) as an HTML Widget in an R
session, shiny application or rmarkdown document.")
    (license license:gpl3+)))

(define-public r-robsel
  (package
    (name "r-robsel")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robsel" version))
       (sha256
        (base32 "0vf9hry11hf6bi4pz18c6gh9janx0v6shm2m14kckscvh80z3k5b"))))
    (properties `((upstream-name . "robsel")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp r-glasso))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=robsel")
    (synopsis "Robust Selection Algorithm")
    (description
     "An implementation of algorithms for estimation of the graphical lasso
regularization parameter described in Pedro Cisneros-Velarde, Alexander Petersen
and Sang-Yun Oh (2020) <http://proceedings.mlr.press/v108/cisneros20a.html>.")
    (license license:gpl2)))

(define-public r-robsa
  (package
    (name "r-robsa")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RoBSA" version))
       (sha256
        (base32 "1hk4pdkgqjqhn7wxzzgw1f1rz4kk3gri7wispzz0m3nxk7bksw6b"))))
    (properties `((upstream-name . "RoBSA")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-scales
                             r-runjags
                             r-rlang
                             r-rjags
                             r-rdpack
                             r-coda
                             r-bayestools))
    (native-inputs (list pkg-config))
    (home-page "https://fbartos.github.io/RoBSA/")
    (synopsis "Robust Bayesian Survival Analysis")
    (description
     "This package provides a framework for estimating ensembles of parametric
survival models with different parametric families.  The @code{RoBSA} framework
uses Bayesian model-averaging to combine the competing parametric survival
models into a model ensemble, weights the posterior parameter distributions
based on posterior model probabilities and uses Bayes factors to test for the
presence or absence of the individual predictors or preference for a parametric
family (BartoÅ¡, Aust & Haaf, 2022, <doi:10.1186/s12874-022-01676-9>).  The user
can define a wide range of informative priors for all parameters of interest.
The package provides convenient functions for summary, visualizations, fit
diagnostics, and prior distribution calibration.")
    (license license:gpl3)))

(define-public r-robregression
  (package
    (name "r-robregression")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobRegression" version))
       (sha256
        (base32 "11mlxqvrlf8wlmwa44jcp3rxac7yykwa1n0fsmn861zl9b4969y8"))))
    (properties `((upstream-name . "RobRegression")))
    (build-system r-build-system)
    (propagated-inputs (list r-rspectra
                             r-rcpparmadillo
                             r-rcpp
                             r-mvtnorm
                             r-kneearrower
                             r-foreach
                             r-fastmatrix
                             r-doparallel
                             r-desctools
                             r-capushe))
    (home-page "https://cran.r-project.org/package=RobRegression")
    (synopsis "Robust Multivariate Regression")
    (description
     "Robust methods for estimating the parameters of multivariate Gaussian linear
models.")
    (license license:gpl2+)))

(define-public r-robregcc
  (package
    (name "r-robregcc")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robregcc" version))
       (sha256
        (base32 "06fapmc3jfrfdqvz02jr12dk1d5iw6s3mcb13jz1nm2bybw6r04a"))))
    (properties `((upstream-name . "robregcc")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-mass r-magrittr))
    (home-page "https://arxiv.org/abs/1909.04990")
    (synopsis "Robust Regression with Compositional Covariates")
    (description
     "We implement the algorithm estimating the parameters of the robust regression
model with compositional covariates.  The model simultaneously treats outliers
and provides reliable parameter estimates.  Publication reference: Mishra, A.,
Mueller, C.,(2019) <@code{arXiv:1909.04990>}.")
    (license license:gpl3+)))

(define-public r-robreg3s
  (package
    (name "r-robreg3s")
    (version "0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robreg3S" version))
       (sha256
        (base32 "0rv8qh98wws1f40d1kmysyy9qin0ngsvwq63cnxbwi290wsnrvls"))))
    (properties `((upstream-name . "robreg3S")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase r-mass r-gse))
    (home-page "https://cran.r-project.org/package=robreg3S")
    (synopsis
     "Three-Step Regression and Inference for Cellwise and Casewise Contamination")
    (description
     "Three-step regression and inference for cellwise and casewise contamination.")
    (license license:gpl2+)))

(define-public r-robper
  (package
    (name "r-robper")
    (version "1.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobPer" version))
       (sha256
        (base32 "0zhn7lwh3lb9na9h59air2idc3nibjdw2mfgg9qa5h27p9amm1l7"))))
    (properties `((upstream-name . "RobPer")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase r-rgenoud r-quantreg r-bb))
    (home-page "https://cran.r-project.org/package=RobPer")
    (synopsis "Robust Periodogram and Periodicity Detection Methods")
    (description
     "Calculates periodograms based on (robustly) fitting periodic functions to light
curves (irregularly observed time series, possibly with measurement accuracies,
occurring in astroparticle physics).  Three main functions are included:
@code{RobPer}() calculates the periodogram.  Outlying periodogram bars
(indicating a period) can be detected with @code{betaCvMfit}().  Artificial
light curves can be generated using the function tsgen().  For more details see
the corresponding article: Thieler, Fried and Rathjens (2016), Journal of
Statistical Software 69(9), 1-36, <doi:10.18637/jss.v069.i09>.")
    (license license:gpl3)))

(define-public r-robotstxt
  (package
    (name "r-robotstxt")
    (version "0.7.15")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robotstxt" version))
       (sha256
        (base32 "1pjspm9cw25mmsg7hxpp51ni76wlqi72avkar1fg5j7x8j5xj8ch"))))
    (properties `((upstream-name . "robotstxt")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-spiderbar r-magrittr r-httr
                             r-future-apply))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/robotstxt/")
    (synopsis
     "'robots.txt' Parser and 'Webbot'/'Spider'/'Crawler' Permissions Checker")
    (description
     "This package provides functions to download and parse robots.txt files.
Ultimately the package makes it easy to check if bots (spiders, crawler,
scrapers, ...) are allowed to access specific resources on a domain.")
    (license license:expat)))

(define-public r-robotoolbox
  (package
    (name "r-robotoolbox")
    (version "1.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robotoolbox" version))
       (sha256
        (base32 "0aj7819za3abw40rflvpwndf8i8gpmqmzb691km7shy9xq4sq48s"))))
    (properties `((upstream-name . "robotoolbox")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringi
                             r-rlang
                             r-readr
                             r-rcppsimdjson
                             r-purrr
                             r-labelled
                             r-glue
                             r-dplyr
                             r-dm
                             r-data-table
                             r-crul
                             r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://dickoa.gitlab.io/robotoolbox")
    (synopsis "Client for the 'KoboToolbox' API")
    (description
     "Suite of utilities for accessing and manipulating data from the
@code{KoboToolbox} API. @code{KoboToolbox} is a robust platform designed for
field data collection in various disciplines.  This package aims to simplify the
process of fetching and handling data from the API. Detailed documentation for
the @code{KoboToolbox} API can be found at
<https://support.kobotoolbox.org/api.html>.")
    (license license:expat)))

(define-public r-robomit
  (package
    (name "r-robomit")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robomit" version))
       (sha256
        (base32 "1yma6m4bxy3hikc9kx7mslqgq1fpi4my7qij9pz77ag836r9hcxm"))))
    (properties `((upstream-name . "robomit")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-plm
                             r-ggplot2
                             r-dplyr
                             r-broom))
    (home-page "https://cran.r-project.org/package=robomit")
    (synopsis "Robustness Checks for Omitted Variable Bias")
    (description
     "Robustness checks for omitted variable bias.  The package includes robustness
checks proposed by Oster (2019).  robomit the estimate i) the bias-adjusted
treatment correlation or effect and ii) the degree of selection on unobservables
relative to observables (with respect to the treatment variable) that would be
necessary to eliminate the result based on the framework by Oster (2019).
Additionally, robomit offers a set of sensitivity analysis and visualization
functions.  See: Oster, E. 2019. <doi:10.1080/07350015.2016.1227711>.")
    (license license:expat)))

(define-public r-robobayes
  (package
    (name "r-robobayes")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roboBayes" version))
       (sha256
        (base32 "0hk415j98aikl3n3ylr2fjadjd0k40zxk3627c6zg6zs9di6dqmg"))))
    (properties `((upstream-name . "roboBayes")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppdist r-rcpparmadillo r-rcpp))
    (home-page "https://cran.r-project.org/package=roboBayes")
    (synopsis "Robust Online Bayesian Monitoring")
    (description
     "An implementation of Bayesian online changepoint detection (Adams and
@code{MacKay} (2007) <@code{arXiv:0710.3742>}) with an option for probability
based outlier detection and removal (Wendelberger et.  al. (2021)
<@code{arXiv:2112.12899>}).  Building on the independent multivariate constant
mean model implemented in the R package ocp', this package models multivariate
data as multivariate normal about a linear trend, defined by user input
covariates, with an unstructured error covariance.  Changepoints are identified
based on a probability threshold for windows of points.")
    (license license:gpl2)))

(define-public r-robnptests
  (package
    (name "r-robnptests")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robnptests" version))
       (sha256
        (base32 "0pc6g2apdcdrhpja6g922z03q92lcdydq9x85ii1slqpvla493k3"))))
    (properties `((upstream-name . "robnptests")))
    (build-system r-build-system)
    (propagated-inputs (list r-statmod r-robustbase r-rdpack r-gtools
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/s-abbas/robnptests")
    (synopsis "Robust Nonparametric Two-Sample Tests for Location/Scale")
    (description
     "Implementations of several robust nonparametric two-sample tests for location or
scale differences.  The test statistics are based on robust location and scale
estimators, e.g. the sample median or the Hodges-Lehmann estimators as described
in Fried & Dehling (2011) <doi:10.1007/s10260-011-0164-1>.  The p-values can be
computed via the permutation principle, the randomization principle, or by using
the asymptotic distributions of the test statistics under the null hypothesis,
which ensures (approximate) distribution independence of the test decision.  To
test for a difference in scale, we apply the tests for location difference to
transformed observations; see Fried (2012) <doi:10.1016/j.csda.2011.02.012>.
Random noise on a small range can be added to the original observations in order
to hold the significance level on data from discrete distributions.  The
location tests assume homoscedasticity and the scale tests require the location
parameters to be zero.")
    (license license:gpl2+)))

(define-public r-robmixreg
  (package
    (name "r-robmixreg")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobMixReg" version))
       (sha256
        (base32 "13w6zvncwh561wzzqy548x0w25rnzf0pfvi5cc6mzn71x5l7cmh2"))))
    (properties `((upstream-name . "RobMixReg")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales
                             r-robustbase
                             r-robust
                             r-rlang
                             r-rcolorbrewer
                             r-mass
                             r-lars
                             r-gtools
                             r-gplots
                             r-glmnet
                             r-flexmix
                             r-dplyr))
    (home-page "https://changwn.github.io/RobMixReg/")
    (synopsis "Robust Mixture Regression")
    (description
     "Finite mixture models are a popular technique for modelling unobserved
heterogeneity or to approximate general distribution functions in a
semi-parametric way.  They are used in a lot of different areas such as
astronomy, biology, economics, marketing or medicine.  This package is the
implementation of popular robust mixture regression methods based on different
algorithms including: fleximix, finite mixture models and latent class
regression; CTLERob, component-wise adaptive trimming likelihood estimation;
mixbi, bi-square estimation; @code{mixL}, Laplacian distribution; mixt,
t-distribution; TLE, trimmed likelihood estimation.  The implemented algorithms
includes: CTLERob stands for Component-wise adaptive Trimming Likelihood
Estimation based mixture regression; mixbi stands for mixture regression based
on bi-square estimation; @code{mixLstands} for mixture regression based on
Laplacian distribution; TLE stands for Trimmed Likelihood Estimation based
mixture regression.  For more detail of the algorithms, please refer to below
references.  Reference: Chun Yu, Weixin Yao, Kun Chen (2017)
<doi:10.1002/cjs.11310>. @code{NeyKov} N, Filzmoser P, Dimova R et al. (2007)
<doi:10.1016/j.csda.2006.12.024>.  Bai X, Yao W. Boyer JE (2012)
<doi:10.1016/j.csda.2012.01.016>.  Wennan Chang, Xinyu Zhou, Yong Zang, Chi
Zhang, Sha Cao (2020) <@code{arXiv:2005.11599>}.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-robmixglm
  (package
    (name "r-robmixglm")
    (version "1.2-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robmixglm" version))
       (sha256
        (base32 "10l0w7a2p5lids1idw8z6qc6rqahbbidgkqk3fb0b0yakcppvycn"))))
    (properties `((upstream-name . "robmixglm")))
    (build-system r-build-system)
    (propagated-inputs (list r-vgam
                             r-rcpp
                             r-numderiv
                             r-mass
                             r-foreach
                             r-fastghquad
                             r-dorng
                             r-doparallel
                             r-boot
                             r-bbmle
                             r-actuar))
    (native-inputs (list r-r-rsp))
    (home-page "https://cran.r-project.org/package=robmixglm")
    (synopsis "Robust Generalized Linear Models (GLM) using Mixtures")
    (description
     "Robust generalized linear models (GLM) using a mixture method, as described in
Beath (2018) <doi:10.1080/02664763.2017.1414164>.  This assumes that the data
are a mixture of standard observations, being a generalised linear model, and
outlier observations from an overdispersed generalized linear model.  The
overdispersed linear model is obtained by including a normally distributed
random effect in the linear predictor of the generalized linear model.")
    (license license:gpl2+)))

(define-public r-robmedextra
  (package
    (name "r-robmedextra")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robmedExtra" version))
       (sha256
        (base32 "12ld19f7hc7xdslyd3z75h54lqg3p5saliz4pgk3m7rj3m3i24if"))))
    (properties `((upstream-name . "robmedExtra")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny
                             r-robmed
                             r-officer
                             r-ggplot2
                             r-flextable
                             r-dt))
    (home-page "https://github.com/aalfons/robmedExtra")
    (synopsis "Extra Functionality for (Robust) Mediation Analysis")
    (description
     "This companion package extends the package robmed (Alfons, Ates & Groenen,
2022b; <doi:10.18637/jss.v103.i13>) in various ways.  Most notably, it provides
a graphical user interface for the robust bootstrap test ROBMED (Alfons, Ates &
Groenen, 2022a; <doi:10.1177/1094428121999096>) to make the method more
accessible to less proficient R users, as well as functions to export the
results as a table in a Microsoft Word or Microsoft Powerpoint document, or as a
@code{LaTeX} table.  Furthermore, the package contains a shiny app to compare
various bootstrap procedures for mediation analysis on simulated data.")
    (license license:gpl3+)))

(define-public r-robmed
  (package
    (name "r-robmed")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robmed" version))
       (sha256
        (base32 "0ajr7ybaf4d0nwj0cbbdrbydidr9vbp33bv21iwcqr0cpgn80dwj"))))
    (properties `((upstream-name . "robmed")))
    (build-system r-build-system)
    (propagated-inputs (list r-sn r-robustbase r-quantreg r-ggplot2 r-boot))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/aalfons/robmed")
    (synopsis "(Robust) Mediation Analysis")
    (description
     "Perform mediation analysis via the fast-and-robust bootstrap test ROBMED
(Alfons, Ates & Groenen, 2022a; <doi:10.1177/1094428121999096>), as well as
various other methods.  Details on the implementation and code examples can be
found in Alfons, Ates, and Groenen (2022b) <doi:10.18637/jss.v103.i13>.")
    (license license:gpl2+)))

(define-public r-robma
  (package
    (name "r-robma")
    (version "3.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RoBMA" version))
       (sha256
        (base32 "0cq1hjm49sj4lnzvninf6wlpm0p0rbw3mk6sa36167b6snr6rra2"))))
    (properties `((upstream-name . "RoBMA")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales
                             r-runjags
                             r-rlang
                             r-rjags
                             r-rdpack
                             r-mvtnorm
                             r-ggplot2
                             r-bayestools))
    (native-inputs (list pkg-config r-knitr))
    (home-page "https://fbartos.github.io/RoBMA/")
    (synopsis "Robust Bayesian Meta-Analyses")
    (description
     "This package provides a framework for estimating ensembles of meta-analytic
models (assuming either presence or absence of the effect, heterogeneity, and
publication bias).  The @code{RoBMA} framework uses Bayesian model-averaging to
combine the competing meta-analytic models into a model ensemble, weights the
posterior parameter distributions based on posterior model probabilities and
uses Bayes factors to test for the presence or absence of the individual
components (e.g., effect vs. no effect; BartoÅ¡ et al., 2022,
<doi:10.1002/jrsm.1594>; Maier, BartoÅ¡ & Wagenmakers, 2022,
<doi:10.1037/met0000405>).  Users can define a wide range of non-informative or
informative prior distributions for the effect size, heterogeneity, and
publication bias components (including selection models and PET-PEESE).  The
package provides convenient functions for summary, visualizations, and fit
diagnostics.")
    (license license:gpl3)))

(define-public r-robloxbioc
  (package
    (name "r-robloxbioc")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobLoxBioC" version))
       (sha256
        (base32 "1fhf5svfb1sf792aj9xydaj8r9d99ia68b9n5g4nha1ia8jcixwl"))))
    (properties `((upstream-name . "RobLoxBioC")))
    (build-system r-build-system)
    (propagated-inputs (list r-roblox
                             r-rcolorbrewer
                             r-lattice
                             r-distrmod
                             r-distr
                             r-biocgenerics
                             r-biobase
                             r-beadarray
                             r-annotationdbi
                             r-affy))
    (home-page "https://r-forge.r-project.org/projects/robast/")
    (synopsis
     "Infinitesimally Robust Estimators for Preprocessing -Omics Data")
    (description
     "This package provides functions for the determination of optimally robust
influence curves and estimators for preprocessing omics data, in particular gene
expression data (Kohl and Deigner (2010), <doi:10.1186/1471-2105-11-583>).")
    (license license:lgpl3)))

(define-public r-roblox
  (package
    (name "r-roblox")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobLox" version))
       (sha256
        (base32 "0dc1hrzx63wv85djzivzimzkjj4ywilm3xm5kmqlmrkfpzsm9qs2"))))
    (properties `((upstream-name . "RobLox")))
    (build-system r-build-system)
    (propagated-inputs (list r-robastbase
                             r-rcolorbrewer
                             r-randvar
                             r-lattice
                             r-distrmod
                             r-distr
                             r-biobase))
    (home-page "http://robast.r-forge.r-project.org/")
    (synopsis
     "Optimally Robust Influence Curves and Estimators for Location and Scale")
    (description
     "This package provides functions for the determination of optimally robust
influence curves and estimators in case of normal location and/or scale (see
Chapter 8 in Kohl (2005)
<https://epub.uni-bayreuth.de/839/2/@code{DissMKohl.pdf>}).")
    (license license:lgpl3)))

(define-public r-robkf
  (package
    (name "r-robkf")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobKF" version))
       (sha256
        (base32 "0jmc11s9gl4fin4p6wwd79m3zqbr65p1x8h69qcxmx4cy9af54kq"))))
    (properties `((upstream-name . "RobKF")))
    (build-system r-build-system)
    (propagated-inputs (list r-reshape2
                             r-rdpack
                             r-rcppeigen
                             r-rcpp
                             r-matrix
                             r-ggplot2))
    (home-page "https://cran.r-project.org/package=RobKF")
    (synopsis "Innovative and/or Additive Outlier Robust Kalman Filtering")
    (description
     "This package implements a series of robust Kalman filtering approaches.  It
implements the additive outlier robust filters of Ruckdeschel et al. (2014)
<@code{arXiv:1204.3358>} and Agamennoni et al. (2018)
<doi:10.1109/ICRA.2011.5979605>, the innovative outlier robust filter of
Ruckdeschel et al. (2014) <@code{arXiv:1204.3358>}, as well as the innovative
and additive outlier robust filter of Fisch et al. (2020)
<@code{arXiv:2007.03238>}.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-robis
  (package
    (name "r-robis")
    (version "2.11.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robis" version))
       (sha256
        (base32 "04yz7i7mfc1jb2qbmm7yy0m6y7jnzck73m9d7hjjj6pc4ljf4cax"))))
    (properties `((upstream-name . "robis")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-sf
                             r-rlang
                             r-purrr
                             r-memoise
                             r-mapedit
                             r-leaflet
                             r-jsonlite
                             r-httr
                             r-httpcache
                             r-glue
                             r-ggplot2
                             r-dplyr
                             r-data-table
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/iobis/robis")
    (synopsis "Ocean Biodiversity Information System (OBIS) Client")
    (description
     "Client for the Ocean Biodiversity Information System (<https://obis.org>).")
    (license license:expat)))

(define-public r-robinhood
  (package
    (name "r-robinhood")
    (version "1.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobinHood" version))
       (sha256
        (base32 "0h8mws0wpyxvnjffrili53daz9bvvgm6lbgwqyzc0kd12radj2d0"))))
    (properties `((upstream-name . "RobinHood")))
    (build-system r-build-system)
    (propagated-inputs (list r-uuid
                             r-profvis
                             r-magrittr
                             r-lubridate
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (home-page "https://github.com/JestonBlu/RobinHood")
    (synopsis
     "Interface for the RobinHood.com No Commission Investing Platform")
    (description
     "Execute API calls to the @code{RobinHood} <https://robinhood.com> investing
platform.  Functionality includes accessing account data and current holdings,
retrieving investment statistics and quotes, placing and canceling orders,
getting market trading hours, searching investments by popular tag, and
interacting with watch lists.")
    (license license:gpl3)))

(define-public r-robincar
  (package
    (name "r-robincar")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobinCar" version))
       (sha256
        (base32 "0pyp73fk871ka85ci2il7cmb2g7cqrj7c53k73x5yr1kp51srxb0"))))
    (properties `((upstream-name . "RobinCar")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyverse
                             r-tidyr
                             r-survival
                             r-superlearner
                             r-rlang
                             r-numderiv
                             r-mass
                             r-magrittr
                             r-fastdummies
                             r-emulator
                             r-dplyr
                             r-data-table
                             r-broom
                             r-aipw))
    (home-page "https://cran.r-project.org/package=RobinCar")
    (synopsis
     "Robust Estimation and Inference in Covariate-Adaptive Randomization")
    (description
     "This package performs robust estimation and inference when using covariate
adjustment and/or covariate-adaptive randomization in randomized controlled
trials.  Ting Ye, Jun Shao, Yanyao Yi, Qinyuan Zhao (2023)
<doi:10.1080/01621459.2022.2049278>.  Ting Ye, Marlena Bannick, Yanyao Yi, Jun
Shao (2023) <doi:10.1080/24754269.2023.2205802>.  Ting Ye, Jun Shao, Yanyao Yi
(2023) <doi:10.1093/biomet/asad045>.  Marlena Bannick, Jun Shao, Jingyi Liu, Yu
Du, Yanyao Yi, Ting Ye (2024) <doi:10.48550/@code{arXiv.2306.10213>}.")
    (license license:expat)))

(define-public r-robin
  (package
    (name "r-robin")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robin" version))
       (sha256
        (base32 "0d61gibxs2cx6k8l4j0g8vcrprpa4m4242r9qcq5p3slr4hwrk2q"))))
    (properties `((upstream-name . "robin")))
    (build-system r-build-system)
    (propagated-inputs (list r-spam
                             r-qpdf
                             r-perturbr
                             r-networkd3
                             r-matrix
                             r-igraph
                             r-gridextra
                             r-ggplot2
                             r-fdatest
                             r-desctools
                             r-biocparallel))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ValeriaPolicastro/robin")
    (synopsis "ROBustness in Network")
    (description
     "Assesses the robustness of the community structure of a network found by one or
more community detection algorithm to give indications about their reliability.
It detects if the community structure found by a set of algorithms is
statistically significant and compares the different selected detection
algorithms on the same network.  robin helps to choose among different community
detection algorithms the one that better fits the network of interest.
Reference in Policastro V., Righelli D., Carissimo A., Cutillo L., De Feis I.
(2021) <https://journal.r-project.org/archive/2021/RJ-2021-040/index.html>.")
    (license license:expat)))

(define-public r-robgarchboot
  (package
    (name "r-robgarchboot")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobGARCHBoot" version))
       (sha256
        (base32 "142r6cmzwhg4xfbpbgrvngncm2wczly2arg6p8612ypjsk4yinrf"))))
    (properties `((upstream-name . "RobGARCHBoot")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-foreach r-dorng
                             r-doparallel))
    (home-page "https://cran.r-project.org/package=RobGARCHBoot")
    (synopsis "Robust Bootstrap Forecast Densities for GARCH Models")
    (description
     "Bootstrap forecast densities for GARCH (Generalized Autoregressive Conditional
Heteroskedastic) returns and volatilities using the robust residual-based
bootstrap procedure of Trucios, Hotta and Ruiz (2017)
<DOI:10.1080/00949655.2017.1359601>.")
    (license license:gpl2+)))

(define-public r-robflreg
  (package
    (name "r-robflreg")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robflreg" version))
       (sha256
        (base32 "1zhc2m8j4yzd5z54jx2lqks1bvvf4w0w3i7hr4hd46k8i3iy2cj2"))))
    (properties `((upstream-name . "robflreg")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase
                             r-pcapp
                             r-mvtnorm
                             r-mass
                             r-goffda
                             r-fields
                             r-fda-usc
                             r-fda
                             r-expm))
    (home-page "https://cran.r-project.org/package=robflreg")
    (synopsis "Robust Functional Linear Regression")
    (description
     "This package provides functions for implementing robust methods for functional
linear regression.  In the functional linear regression, we consider
scalar-on-function linear regression and function-on-function linear regression.
 More details, see Beyaztas, U., and Shang, H. L. (2021)
<@code{arXiv:2111.01238>} and Beyaztas, U., and Shang, H. L. (2022)
<@code{arXiv:2203.05065>}.")
    (license license:gpl3)))

(define-public r-robfilter
  (package
    (name "r-robfilter")
    (version "4.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robfilter" version))
       (sha256
        (base32 "18yqrwl60srr6r3hg6qcv8li91qz83xksvs383zs5bxa5y400azj"))))
    (properties `((upstream-name . "robfilter")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase r-mass r-lattice))
    (home-page "https://msnat.statistik.tu-dortmund.de/en/team/chair/")
    (synopsis "Robust Time Series Filters")
    (description
     "Implementations for several robust procedures that allow for (online) extraction
of the signal of univariate or multivariate time series by applying robust
regression techniques to a moving time window are provided.  Included are
univariate filtering procedures based on repeated-median regression as well as
hybrid and trimmed filters derived from it; see Schettlinger et al. (2006)
<doi:10.1515/BMT.2006.010>.  The adaptive online repeated median by Schettlinger
et al. (2010) <doi:10.1002/acs.1105> and the slope comparing adaptive repeated
median by Borowski and Fried (2013) <doi:10.1007/s11222-013-9391-7> choose the
width of the moving time window adaptively.  Multivariate versions are also
provided; see Borowski et al. (2009) <doi:10.1080/03610910802514972> for a
multivariate online adaptive repeated median and Borowski (2012)
<doi:10.17877/DE290R-14393> for a multivariate slope comparing adaptive repeated
median.  Furthermore, a repeated-median based filter with automatic outlier
replacement and shift detection is provided; see Fried (2004)
<doi:10.1080/10485250410001656444>.")
    (license license:gpl2+)))

(define-public r-robextremes
  (package
    (name "r-robextremes")
    (version "1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobExtremes" version))
       (sha256
        (base32 "1l0csq3qldaz6wn87bfx3yw04ay7fxakm80q4ynsy2vw27rjkjck"))))
    (properties `((upstream-name . "RobExtremes")))
    (build-system r-build-system)
    (propagated-inputs (list r-startupmsg
                             r-roptest
                             r-robustbase
                             r-robastrda
                             r-robastbase
                             r-randvar
                             r-evd
                             r-distrmod
                             r-distrex
                             r-distr
                             r-actuar))
    (home-page "https://r-forge.r-project.org/projects/robast/")
    (synopsis "Optimally Robust Estimation for Extreme Value Distributions")
    (description
     "Optimally robust estimation for extreme value distributions using S4 classes and
methods (based on packages distr', @code{distrEx}', @code{distrMod}',
@code{RobAStBase}', and R@code{OptEst}'); the underlying theoretic results can
be found in Ruckdeschel and Horbenko, (2013 and 2012),
\\doi{10.1080/02331888.2011.628022} and \\doi{10.1007/s00184-011-0366-4}.")
    (license license:lgpl3)))

(define-public r-roben
  (package
    (name "r-roben")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roben" version))
       (sha256
        (base32 "0ak3l17wmw2z0rgaymqczv40z8kqaflzzjj0fbdfcnskdik2ynfq"))))
    (properties `((upstream-name . "roben")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-glmnet))
    (home-page "https://github.com/jrhub/roben")
    (synopsis
     "Robust Bayesian Variable Selection for Gene-Environment Interactions")
    (description
     "Gene-environment (GÃE) interactions have important implications to elucidate
the etiology of complex diseases beyond the main genetic and environmental
effects.  Outliers and data contamination in disease phenotypes of GÃE studies
have been commonly encountered, leading to the development of a broad spectrum
of robust penalization methods.  Nevertheless, within the Bayesian framework,
the issue has not been taken care of in existing studies.  We develop a robust
Bayesian variable selection method for GÃE interaction studies.  The proposed
Bayesian method can effectively accommodate heavy-tailed errors and outliers in
the response variable while conducting variable selection by accounting for
structural sparsity.  In particular, the spike-and-slab priors have been imposed
on both individual and group levels to identify important main and interaction
effects.  An efficient Gibbs sampler has been developed to facilitate fast
computation.  The Markov chain Monte Carlo algorithms of the proposed and
alternative methods are efficiently implemented in C++.")
    (license license:gpl2)))

(define-public r-robcor
  (package
    (name "r-robcor")
    (version "0.1-6.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robcor" version))
       (sha256
        (base32 "0gmhklk8nayhfl2zfp7mhsawryyn950gdh5lgg3vq1nkl12sc8y7"))))
    (properties `((upstream-name . "robcor")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=robcor")
    (synopsis "Robust Correlations")
    (description
     "Robust pairwise correlations based on estimates of scale, particularly on
\"@code{FastQn}\" one-step M-estimate.")
    (license license:gpl2+)))

(define-public r-robcompositions
  (package
    (name "r-robcompositions")
    (version "2.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robCompositions" version))
       (sha256
        (base32 "1kln6b95hjx3cyr9957ga7a5p6lnafn49q3pnb7vlvcw3p0zyhrf"))))
    (properties `((upstream-name . "robCompositions")))
    (build-system r-build-system)
    (propagated-inputs (list r-zcompositions
                             r-vim
                             r-tidyr
                             r-rrcov
                             r-robusthd
                             r-robustbase
                             r-reshape2
                             r-rcppeigen
                             r-rcpp
                             r-pls
                             r-mclust
                             r-mass
                             r-magrittr
                             r-kernlab
                             r-ggplot2
                             r-ggfortify
                             r-ggally
                             r-fpc
                             r-fda
                             r-e1071
                             r-dplyr
                             r-data-table
                             r-cvtools
                             r-cluster))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=robCompositions")
    (synopsis "Compositional Data Analysis")
    (description
     "This package provides methods for analysis of compositional data including
robust methods (<doi:10.1007/978-3-319-96422-5>), imputation of missing values
(<doi:10.1016/j.csda.2009.11.023>), methods to replace rounded zeros
(<doi:10.1080/02664763.2017.1410524>, <doi:10.1016/j.chemolab.2016.04.011>,
<doi:10.1016/j.csda.2012.02.012>), count zeros (<doi:10.1177/1471082X14535524>),
methods to deal with essential zeros (<doi:10.1080/02664763.2016.1182135>),
(robust) outlier detection for compositional data, (robust) principal component
analysis for compositional data, (robust) factor analysis for compositional
data, (robust) discriminant analysis for compositional data (Fisher rule),
robust regression with compositional predictors, functional data analysis
(<doi:10.1016/j.csda.2015.07.007>) and p-splines
(<doi:10.1016/j.csda.2015.07.007>), contingency
(<doi:10.1080/03610926.2013.824980>) and compositional tables
(<doi:10.1111/sjos.12326>, <doi:10.1111/sjos.12223>,
<doi:10.1080/02664763.2013.856871>) and (robust) Anderson-Darling normality
tests for compositional data as well as popular log-ratio transformations
(@code{addLR}, @code{cenLR}, @code{isomLR}, and their inverse transformations).
In addition, visualisation and diagnostic tools are implemented as well as high
and low-level plot functions for the ternary diagram.")
    (license license:gpl2+)))

(define-public r-robber
  (package
    (name "r-robber")
    (version "0.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "robber" version))
       (sha256
        (base32 "0db1cnf8f3f1i0mnp58cjq46cr0x6ffx6yzqnsdg6v7mwppdranb"))))
    (properties `((upstream-name . "robber")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr
                             r-partitions
                             r-pammtools
                             r-magrittr
                             r-igraph
                             r-gremlins
                             r-ggplot2
                             r-blockmodels))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/Chabert-Liddell/robber")
    (synopsis
     "Using Block Model to Estimate the Robustness of Ecological Network")
    (description
     "Implementation of a variety of methods to compute the robustness of ecological
interaction networks with binary interactions as described in
<doi:10.1002/env.2709>.  In particular, using the Stochastic Block Model and its
bipartite counterpart, the Latent Block Model to put a parametric model on the
network, allows the comparison of the robustness of networks differing in
species richness and number of interactions.  It also deals with networks that
are partially sampled and/or with missing values.")
    (license license:gpl3)))

(define-public r-robastrda
  (package
    (name "r-robastrda")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobAStRDA" version))
       (sha256
        (base32 "156cdx2l3q5ccaan3knfb4khsmr0n2vf7j7yiq5z24z493l2g65w"))))
    (properties `((upstream-name . "RobAStRDA")))
    (build-system r-build-system)
    (home-page "https://r-forge.r-project.org/projects/robast/")
    (synopsis
     "Interpolation Grids for Packages of the 'RobASt' - Family of Packages")
    (description
     "Includes sysdata.rda file for packages of the @code{RobASt} - family of
packages; is currently used by package @code{RobExtremes} only.")
    (license license:lgpl3)))

(define-public r-robastbase
  (package
    (name "r-robastbase")
    (version "1.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RobAStBase" version))
       (sha256
        (base32 "08b6jdvgs711zppjknzbskay04h3j0nkw5ld81k2wg42yh1b6ari"))))
    (properties `((upstream-name . "RobAStBase")))
    (build-system r-build-system)
    (propagated-inputs (list r-startupmsg
                             r-rrcov
                             r-randvar
                             r-distrmod
                             r-distrex
                             r-distr))
    (home-page "https://r-forge.r-project.org/projects/robast/")
    (synopsis "Robust Asymptotic Statistics")
    (description
     "Base S4-classes and functions for robust asymptotic statistics.")
    (license license:lgpl3)))

(define-public r-roauth
  (package
    (name "r-roauth")
    (version "0.9.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ROAuth" version))
       (sha256
        (base32 "0vhsp8qybrl94898m2znqs7hmlnlbsh8sm0q093dwdb2lzrqww4m"))))
    (properties `((upstream-name . "ROAuth")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl r-digest))
    (home-page "https://cran.r-project.org/package=ROAuth")
    (synopsis "R Interface For OAuth")
    (description
     "This package provides an interface to the OAuth 1.0 specification allowing users
to authenticate via OAuth to the server of their choice.")
    (license license:artistic2.0)))

(define-public r-roahd
  (package
    (name "r-roahd")
    (version "1.4.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roahd" version))
       (sha256
        (base32 "089klcgxry6b8z30h1ssy024lqxqm1bz6qs2kx95qjfl8xgwlwm0"))))
    (properties `((upstream-name . "roahd")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales
                             r-robustbase
                             r-plotly
                             r-magrittr
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://astamm.github.io/roahd/")
    (synopsis "Robust Analysis of High Dimensional Data")
    (description
     "This package provides a collection of methods for the robust analysis of
univariate and multivariate functional data, possibly in high-dimensional cases,
and hence with attention to computational efficiency and simplicity of use.  See
the R Journal publication of Ieva et al. (2019) <doi:10.32614/RJ-2019-032> for
an in-depth presentation of the roahd package.  See Aleman-Gomez et al. (2021)
<@code{arXiv:2103.08874>} for details about the concept of depthgram.")
    (license license:gpl3)))

(define-public r-roads
  (package
    (name "r-roads")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roads" version))
       (sha256
        (base32 "1hpa74mqihf90nv2q1bcmkc2xq0ay5i2jl4vq484nxgaicms69ws"))))
    (properties `((upstream-name . "roads")))
    (build-system r-build-system)
    (propagated-inputs (list r-units
                             r-tidyselect
                             r-terra
                             r-sf
                             r-rlang
                             r-igraph
                             r-dplyr
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/LandSciTech/roads")
    (synopsis "Road Network Projection")
    (description
     "Iterative least cost path and minimum spanning tree methods for projecting
forest road networks.  The methods connect a set of target points to an existing
road network using igraph <https://igraph.org> to identify least cost routes.
The cost of constructing a road segment between adjacent pixels is determined by
a user supplied weight raster and a weight function; options include the average
of adjacent weight raster values, and a function of the elevation differences
between adjacent cells that penalizes steep grades.  These road network
projection methods are intended for integration into R workflows and modelling
frameworks used for forecasting forest change, and can be applied over multiple
time-steps without rebuilding a graph at each time-step.")
    (license (license:fsdg-compatible "Apache License (>= 2)"))))

(define-public r-roadoi
  (package
    (name "r-roadoi")
    (version "0.7.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "roadoi" version))
       (sha256
        (base32 "1hx297xfy4j12a74m2b4rnbalhaavlywb11q1frfsmzdiakxsfjg"))))
    (properties `((upstream-name . "roadoi")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-shiny
                             r-rlang
                             r-purrr
                             r-plyr
                             r-miniui
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/roadoi/")
    (synopsis "Find Free Versions of Scholarly Publications via Unpaywall")
    (description
     "This web client interfaces Unpaywall <https://unpaywall.org/products/api>,
formerly @code{oaDOI}, a service finding free full-texts of academic papers by
linking DOIs with open access journals and repositories.  It provides unified
access to various data sources for open access full-text links including
Crossref and the Directory of Open Access Journals (DOAJ).  API usage is free
and no registration is required.")
    (license license:expat)))

(define-public r-rnvd3
  (package
    (name "r-rnvd3")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rnvd3" version))
       (sha256
        (base32 "13l5vcbcm88jfsc11ijkvr1s8qk8fflclazs4kl1k2wzpnlr6z6a"))))
    (properties `((upstream-name . "Rnvd3")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-viridislite
                             r-lubridate
                             r-lazyeval
                             r-jsonlite
                             r-htmlwidgets
                             r-htmltools
                             r-data-table))
    (native-inputs (list esbuild))
    (home-page "https://github.com/stla/Rnvd3")
    (synopsis "An Incomplete Wrapper of the 'nvd3' JavaScript Library")
    (description
     "This package creates @code{JavaScript} charts with the nvd3 library.  So far
only the multibar chart, the horizontal multibar chart, the line chart and the
line chart with focus are available.")
    (license license:gpl3)))

(define-public r-rnumerai
  (package
    (name "r-rnumerai")
    (version "3.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rnumerai" version))
       (sha256
        (base32 "0pwb7yk79zbmcrpa9fw1i7yjvr5md2nn67rsl1i1sbjkd1rgg0vd"))))
    (properties `((upstream-name . "Rnumerai")))
    (build-system r-build-system)
    (propagated-inputs (list r-lubridate r-jsonlite r-httr r-ghql))
    (home-page "https://github.com/Omni-Analytics-Group/Rnumerai")
    (synopsis "Interface to the Numerai Machine Learning Tournament API")
    (description
     "Routines to interact with the Numerai Machine Learning Tournament API
<https://numer.ai>.  The functionality includes the ability to automatically
download the current tournament data, submit predictions, and to get information
for your user.")
    (license license:gpl3)))

(define-public r-rnrfa
  (package
    (name "r-rnrfa")
    (version "2.1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnrfa" version))
       (sha256
        (base32 "0j3cl8sg2srqp2j3aaymq6m9yf7xr21np53ckjxa9dyv4kw11371"))))
    (properties `((upstream-name . "rnrfa")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-tibble
                             r-sf
                             r-lubridate
                             r-jsonlite
                             r-httr
                             r-ggplot2
                             r-ggmap
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://ilapros.github.io/rnrfa/")
    (synopsis "UK National River Flow Archive Data from R")
    (description
     "Utility functions to retrieve data from the UK National River Flow Archive
(<https://nrfa.ceh.ac.uk/>, terms and conditions:
<https://nrfa.ceh.ac.uk/costs-terms-and-conditions>).  The package contains R
wrappers to the UK NRFA data temporary-API. There are functions to retrieve
stations falling in a bounding box, to generate a map and extracting time series
and general information.  The package is fully described in Vitolo et al (2016)
\"rnrfa: An R package to Retrieve, Filter and Visualize Data from the UK National
River Flow Archive\"
<https://journal.r-project.org/archive/2016/RJ-2016-036/RJ-2016-036.pdf>.")
    (license license:gpl3)))

(define-public r-rnr
  (package
    (name "r-rnr")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnr" version))
       (sha256
        (base32 "1z9bab3qmq8d79bcvjzldbxlah2w8mqp2ifd0cn1348dafwa0dhi"))))
    (properties `((upstream-name . "rnr")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr r-assertthat))
    (home-page "https://cran.r-project.org/package=rnr")
    (synopsis "Rosenbaum and Rubin Sensitivity")
    (description
     "Apply sensitivity analysis for offline policy evaluation, as implemented in Jung
et al. (2017) <@code{arXiv:1702.04690>} based on Rosenbaum and Rubin (1983)
<http://www.jstor.org/stable/2345524>.")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rnpn
  (package
    (name "r-rnpn")
    (version "1.2.9.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnpn" version))
       (sha256
        (base32 "0dlxc0gr4bxkwkah0sfwxhqkfzg8v4mvwr37xxc7i43jbvyd7c0w"))))
    (properties `((upstream-name . "rnpn")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-tibble
                             r-sp
                             r-raster
                             r-plyr
                             r-magrittr
                             r-jsonlite
                             r-httr
                             r-data-table
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/usa-npn/rnpn")
    (synopsis "Interface to the National 'Phenology' Network 'API'")
    (description
     "Programmatic interface to the Web Service methods provided by the National
Phenology Network (<https://usanpn.org/>), which includes data on various life
history events that occur at specific times.")
    (license license:expat)))

(define-public r-rnomni
  (package
    (name "r-rnomni")
    (version "1.0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNOmni" version))
       (sha256
        (base32 "1ap6rf59sr9v28s1a484bfz1c7jizrivlf1r4xvnp8dvb1hj1k9n"))))
    (properties `((upstream-name . "RNOmni")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-plyr))
    (native-inputs (list r-r-rsp))
    (home-page "https://cran.r-project.org/package=RNOmni")
    (synopsis "Rank Normal Transformation Omnibus Test")
    (description
     "Inverse normal transformation (INT) based genetic association testing.  These
tests are recommend for continuous traits with non-normally distributed
residuals.  INT-based tests robustly control the type I error in settings where
standard linear regression does not, as when the residual distribution exhibits
excess skew or kurtosis.  Moreover, INT-based tests outperform standard linear
regression in terms of power.  These tests may be classified into two types.  In
direct INT (D-INT), the phenotype is itself transformed.  In indirect INT
(I-INT), phenotypic residuals are transformed.  The omnibus test (O-INT)
adaptively combines D-INT and I-INT into a single robust and statistically
powerful approach.  See @code{McCaw} ZR, Lane JM, Saxena R, Redline S, Lin X.
\"Operating characteristics of the rank-based inverse normal transformation for
quantitative trait analysis in genome-wide association studies\"
<doi:10.1111/biom.13214>.")
    (license license:gpl3)))

(define-public r-rnomads
  (package
    (name "r-rnomads")
    (version "2.5.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rNOMADS" version))
       (sha256
        (base32 "196iwdwin73kva9jrjjzx9kgl91h7a3d04p9i3r1rzp3v9xj4gpp"))))
    (properties `((upstream-name . "rNOMADS")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-uuid
                             r-stringr
                             r-rvest
                             r-mba
                             r-httr
                             r-geomap
                             r-fields))
    (home-page "https://cran.r-project.org/package=rNOMADS")
    (synopsis
     "An R Interface to the NOAA Operational Model Archive and Distribution System")
    (description
     "An interface to the National Oceanic and Atmospheric Administration's
Operational Model Archive and Distribution System (NOMADS, see
<https://nomads.ncep.noaa.gov/> for more information) that allows R users to
quickly and efficiently download global and regional weather model data for
processing. @code{rNOMADS} currently supports a variety of models ranging from
global weather data to an altitude of over 40 km, to high resolution regional
weather models, to wave and sea ice models. @code{rNOMADS} can retrieve binary
data in grib format as well as import ascii data directly into R by interfacing
with the @code{GrADS-DODS} system.")
    (license license:gpl3+)))

(define-public r-rnndescent
  (package
    (name "r-rnndescent")
    (version "0.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnndescent" version))
       (sha256
        (base32 "1qgmy4sqs14zbv1mm6cany6xxk0hsaaiblsd4am85qj8gbjflm3f"))))
    (properties `((upstream-name . "rnndescent")))
    (build-system r-build-system)
    (propagated-inputs (list r-sitmo r-rcpp r-matrix r-dqrng r-bh))
    (native-inputs (list r-knitr))
    (home-page "https://jlmelville.github.io/rnndescent/")
    (synopsis
     "Nearest Neighbor Descent Method for Approximate Nearest Neighbors")
    (description
     "The Nearest Neighbor Descent method for finding approximate nearest neighbors by
Dong and co-workers (2010) <doi:10.1145/1963405.1963487>.  Based on the Python
package @code{PyNNDescent} <https://github.com/lmcinnes/pynndescent>.")
    (license license:gpl3+)))

(define-public r-rnn
  (package
    (name "r-rnn")
    (version "1.9.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnn" version))
       (sha256
        (base32 "12js613gmmcpniq5adbmb3anqsza67m0jxk69486jv3am2vyqi5p"))))
    (properties `((upstream-name . "rnn")))
    (build-system r-build-system)
    (propagated-inputs (list r-sigmoid r-attention))
    (native-inputs (list r-knitr))
    (home-page "https://qua.st/rnn/")
    (synopsis "Recurrent Neural Network")
    (description
     "Implementation of a Recurrent Neural Network architectures in native R,
including Long Short-Term Memory (Hochreiter and Schmidhuber,
<doi:10.1162/neco.1997.9.8.1735>), Gated Recurrent Unit (Chung et al.,
<@code{arXiv:1412.3555>}) and vanilla RNN.")
    (license license:gpl3)))

(define-public r-rnmr1d
  (package
    (name "r-rnmr1d")
    (version "1.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rnmr1D" version))
       (sha256
        (base32 "0apkwrsxcp2frq9lmfn70dn2ajaiswnbvfjmqc7lbrimya3pwznb"))))
    (properties `((upstream-name . "Rnmr1D")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-signal
                             r-scales
                             r-rcpp
                             r-ptw
                             r-plyr
                             r-plotly
                             r-minqa
                             r-matrix
                             r-massspecwavelet
                             r-mass
                             r-impute
                             r-igraph
                             r-ggplot2
                             r-foreach
                             r-doparallel
                             r-base64enc))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/INRA/Rnmr1D")
    (synopsis
     "Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra")
    (description
     "Perform the complete processing of a set of proton nuclear magnetic resonance
spectra from the free induction decay (raw data) and based on a processing
sequence (macro-command file).  An additional file specifies all the spectra to
be considered by associating their sample code as well as the levels of
experimental factors to which they belong.  More detail can be found in Jacob et
al. (2017) <doi:10.1007/s11306-017-1178-y>.")
    (license license:gpl2+)))

(define-public r-rnmamod
  (package
    (name "r-rnmamod")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnmamod" version))
       (sha256
        (base32 "0gwx4mwrirricbfwlsfq9ckbn34w8dwy3d0c532s50vcwpd3dm1g"))))
    (properties `((upstream-name . "rnmamod")))
    (build-system r-build-system)
    (propagated-inputs (list r-writexl
                             r-stringr
                             r-scales
                             r-reshape2
                             r-r2jags
                             r-mcmcplots
                             r-mass
                             r-knitr
                             r-igraph
                             r-heatmaply
                             r-ggrepel
                             r-ggpubr
                             r-ggplot2
                             r-ggfittext
                             r-gemtc
                             r-fdrtool
                             r-dendextend
                             r-cluster))
    (native-inputs (list r-knitr))
    (home-page "https://CRAN.R-project.org/package=rnmamod")
    (synopsis "Bayesian Network Meta-Analysis with Missing Participants")
    (description
     "This package provides a comprehensive suite of functions to perform and
visualise pairwise and network meta-analysis with aggregate binary or continuous
missing participant outcome data.  The package covers core Bayesian one-stage
models implemented in a systematic review with multiple interventions, including
fixed-effect and random-effects network meta-analysis, meta-regression,
evaluation of the consistency assumption via the node-splitting approach and the
unrelated mean effects model, and sensitivity analysis.  Missing participant
outcome data are addressed in all models of the package.  The robustness to
primary analysis results can also be investigated using a novel intuitive index.
 Methods to evaluate the transitivity assumption quantitatively are provided.
The package also offers a rich, user-friendly visualisation toolkit that aids in
appraising and interpreting the results thoroughly and preparing the manuscript
for journal submission.  The visualisation tools comprise the network plot,
forest plots, panel of diagnostic plots, heatmaps on the extent of missing
participant outcome data in the network, league heatmaps on estimation and
prediction, rankograms, Bland-Altman plot, leverage plot, deviance scatterplot,
heatmap of robustness, barplot of Kullback-Leibler divergence, heatmap of
comparison dissimilarities and dendrogram of comparison clustering.  The package
also allows the user to export the results to an Excel file at the working
directory.")
    (license license:gpl3+)))

(define-public r-rnightly
  (package
    (name "r-rnightly")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rnightly" version))
       (sha256
        (base32 "08sb4ic7my8b6xcjn9vim8wp4z3kvk0gyp604dg1az7czc7ics5r"))))
    (properties `((upstream-name . "Rnightly")))
    (build-system r-build-system)
    (propagated-inputs (list r-htmltools r-glue))
    (home-page "https://github.com/feddelegrand7/Rnightly")
    (synopsis "Wrapper of the 'JavaScript' Library 'Nightly'")
    (description
     "Allows the user to implement a dark/light toggle mode in shiny using the Nightly
@code{JavaScript} library.  The default mode is dark/light however the user can
also specify other colours.")
    (license license:expat)))

(define-public r-rniftyreg
  (package
    (name "r-rniftyreg")
    (version "2.8.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNiftyReg" version))
       (sha256
        (base32 "1vj5rr97fzb98ggf013rir1b7i48d1cm90xkzasa3nw066vbgs04"))))
    (properties `((upstream-name . "RNiftyReg")))
    (build-system r-build-system)
    (propagated-inputs (list r-rnifti r-rcppeigen r-rcpp))
    (home-page "https://github.com/jonclayden/RNiftyReg")
    (synopsis "Image Registration Using the 'NiftyReg' Library")
    (description
     "This package provides an R interface to the @code{NiftyReg} image registration
tools <https://github.com/KCL-BMEIS/niftyreg>.  Linear and nonlinear
registration are supported, in two and three dimensions.")
    (license license:gpl2)))

(define-public r-rnhanes
  (package
    (name "r-rnhanes")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNHANES" version))
       (sha256
        (base32 "045ykpgxvc22blbp47ysbk6a6x4akjd39pjr114cr23s7f48g6h4"))))
    (properties `((upstream-name . "RNHANES")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-survey r-rvest r-foreign r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "http://github.com/silentspringinstitute/RNHANES")
    (synopsis "Facilitates Analysis of CDC NHANES Data")
    (description
     "This package provides tools for downloading and analyzing CDC NHANES data, with
a focus on analytical laboratory data.")
    (license (list license:asl2.0
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rngsetseed
  (package
    (name "r-rngsetseed")
    (version "0.3-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rngSetSeed" version))
       (sha256
        (base32 "1ymhrfv83nr2mkqncbi7k8h43xxz53r50vp215hakh093n5im71k"))))
    (properties `((upstream-name . "rngSetSeed")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rngSetSeed")
    (synopsis "Seeding the Default RNG with a Numeric Vector")
    (description
     "This package provides a function @code{setVectorSeed}() is provided.  Its
argument is a numeric vector of an arbitrary nonzero length, whose components
have integer values from [0, 2^32-1].  The input vector is transformed using AES
(Advanced Encryption Standard) algorithm into an initial state of
Mersenne-Twister random number generator.  The function provides a better
alternative to the R base function set.seed(), if the input vector is a single
integer.  Initializing a stream of random numbers with a vector is a convenient
way to obtain several streams, each of which is identified by several integer
indices.")
    (license license:gpl3)))

(define-public r-rngforgpd
  (package
    (name "r-rngforgpd")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNGforGPD" version))
       (sha256
        (base32 "0zriv0pd86ciwrms95bbb9wh40xvxv20vla2hxbmaynfy1s1vd4j"))))
    (properties `((upstream-name . "RNGforGPD")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm r-matrix r-corpcor))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RNGforGPD")
    (synopsis "Random Number Generation for Generalized Poisson Distribution")
    (description
     "Generation of univariate and multivariate data that follow the generalized
Poisson distribution.  The details of the univariate part are explained in
Demirtas (2017) <doi: 10.1080/03610918.2014.968725>, and the multivariate part
is an extension of the correlated Poisson data generation routine that was
introduced in Yahav and Shmueli (2012) <doi: 10.1002/asmb.901>.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rnewsflow
  (package
    (name "r-rnewsflow")
    (version "1.2.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNewsflow" version))
       (sha256
        (base32 "08qb0vh2j1v13wqsrmklh6d4ln7ipsy962cwnlr86j0r2bscrqgy"))))
    (properties `((upstream-name . "RNewsflow")))
    (build-system r-build-system)
    (propagated-inputs (list r-wordcloud
                             r-stringi
                             r-scales
                             r-rcppprogress
                             r-rcppeigen
                             r-rcpp
                             r-quanteda
                             r-matrix
                             r-igraph
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RNewsflow")
    (synopsis "Tools for Comparing Text Messages Across Time and Media")
    (description
     "This package provides a collection of tools for measuring the similarity of text
messages and tracing the flow of messages over time and across media.")
    (license license:gpl3)))

(define-public r-rnetlogo
  (package
    (name "r-rnetlogo")
    (version "1.0-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNetLogo" version))
       (sha256
        (base32 "1z7jp454k197c0zbkn64zmf25wadkiznv3w2csgiz917cbx6xcn1"))))
    (properties `((upstream-name . "RNetLogo")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava r-igraph))
    (home-page "http://rnetlogo.r-forge.r-project.org/")
    (synopsis
     "Provides an Interface to the Agent-Based Modelling Platform 'NetLogo'")
    (description
     "Interface to use and access Wilensky's @code{NetLogo} (Wilensky 1999) from R
using either headless (no GUI) or interactive GUI mode.  Provides functions to
load models, execute commands, and get values from reporters.  Mostly analogous
to the @code{NetLogo} Mathematica Link
<https://github.com/@code{NetLogo/Mathematica-Link>}.")
    (license license:gpl2)))

(define-public r-rnetcdf
  (package
    (name "r-rnetcdf")
    (version "2.9-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNetCDF" version))
       (sha256
        (base32 "0cdksiaai9wc4dyk3k01f9q9ki19r94p77rwpy4kr55hvwnrqx8m"))))
    (properties `((upstream-name . "RNetCDF")))
    (build-system r-build-system)
    (inputs (list udunits netcdf))
    (native-inputs (list pkg-config))
    (home-page "https://cran.r-project.org/package=RNetCDF")
    (synopsis "Interface to 'NetCDF' Datasets")
    (description
     "An interface to the @code{NetCDF} file formats designed by Unidata for efficient
storage of array-oriented scientific data and descriptions.  Most capabilities
of @code{NetCDF} version 4 are supported.  Optional conversions of time units
are enabled by UDUNITS version 2, also from Unidata.")
    (license (list license:gpl2+
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rnetcarto
  (package
    (name "r-rnetcarto")
    (version "0.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnetcarto" version))
       (sha256
        (base32 "14fwf4pqdjrrbnf2s9i0dbmqk2xv0mxs3zz1j1pwnm46fiiawa2g"))))
    (properties `((upstream-name . "rnetcarto")))
    (build-system r-build-system)
    (inputs (list gsl))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rnetcarto")
    (synopsis
     "Fast Network Modularity and Roles Computation by Simulated Annealing (Rgraph C Library Wrapper for R)")
    (description
     "This package provides functions to compute the modularity and modularity-related
roles in networks.  It is a wrapper around the rgraph library (Guimera & Amaral,
2005, <doi:10.1038/nature03288>).")
    (license license:gpl2+)))

(define-public r-rnest
  (package
    (name "r-rnest")
    (version "0.0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rnest" version))
       (sha256
        (base32 "0fj1a1qsc8v238nv1dsrdw1398ah3qpf5dgimdgipkznb5dnjjc7"))))
    (properties `((upstream-name . "Rnest")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales
                             r-mass
                             r-ggplot2
                             r-fungible
                             r-efa-mrfa
                             r-crayon))
    (home-page "https://cran.r-project.org/package=Rnest")
    (synopsis "Next Eigenvalue Sufficiency Test")
    (description
     "Determine the number of dimensions to retain in exploratory factor analysis.
The main function, nest(), returns the solution and the plot(nest()) returns a
plot.")
    (license license:expat)))

(define-public r-rneos
  (package
    (name "r-rneos")
    (version "0.4-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rneos" version))
       (sha256
        (base32 "07b3vb0h36ilwb8iylgppl8wpi84f583frmscpj236s1aihqwrmx"))))
    (properties `((upstream-name . "rneos")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml r-rcurl))
    (home-page "https://cran.r-project.org/package=rneos")
    (synopsis "XML-RPC Interface to NEOS")
    (description
     "Within this package the XML-RPC API to NEOS <https://neos-server.org/neos/> is
implemented.  This enables the user to pass optimization problems to NEOS and
retrieve results within R.")
    (license license:gpl2+)))

(define-public r-rnentropy
  (package
    (name "r-rnentropy")
    (version "1.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNentropy" version))
       (sha256
        (base32 "1kflx1i01ddq803i0vj79zfjs9y0sl8dzra9j5x84m6wcjbn71kl"))))
    (properties `((upstream-name . "RNentropy")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RNentropy")
    (synopsis
     "Entropy Based Method for the Detection of Significant Variation in Gene Expression Data")
    (description
     "An implementation of a method based on information theory devised for the
identification of genes showing a significant variation of expression across
multiple conditions.  Given expression estimates from any number of RNA-Seq
samples and conditions it identifies genes or transcripts with a significant
variation of expression across all the conditions studied, together with the
samples in which they are over- or under-expressed.  Zambelli et al. (2018)
<doi:10.1093/nar/gky055>.")
    (license license:gpl3)))

(define-public r-rneighborqtl
  (package
    (name "r-rneighborqtl")
    (version "1.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rNeighborQTL" version))
       (sha256
        (base32 "1balbky8jyvyn2v56dvx7b80gpys40pfslqrsv25sywmp0cqy68p"))))
    (properties `((upstream-name . "rNeighborQTL")))
    (build-system r-build-system)
    (propagated-inputs (list r-qtl r-matrix r-gaston))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rNeighborQTL")
    (synopsis
     "Interval Mapping for Quantitative Trait Loci Underlying Neighbor Effects")
    (description
     "To enable quantitative trait loci mapping of neighbor effects, this package
extends a single-marker regression to interval mapping.  The theoretical
background of the method is described in Sato et al. (2021)
<doi:10.1093/g3journal/jkab017>.")
    (license license:gpl3)))

(define-public r-rneighborgwas
  (package
    (name "r-rneighborgwas")
    (version "1.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rNeighborGWAS" version))
       (sha256
        (base32 "1j2rafli0ns34ms5s8zjxwyvlxhl88r5krw0qqzc3igd9sc0mjvn"))))
    (properties `((upstream-name . "rNeighborGWAS")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppparallel r-matrix r-gaston))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rNeighborGWAS")
    (synopsis "Testing Neighbor Effects in Marker-Based Regressions")
    (description
     "To incorporate neighbor genotypic identity into genome-wide association studies,
the package provides a set of functions for variation partitioning and
association mapping.  The theoretical background of the method is described in
Sato et al. (2021) <doi:10.1038/s41437-020-00401-w>.")
    (license license:gpl3)))

(define-public r-rnd
  (package
    (name "r-rnd")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RND" version))
       (sha256
        (base32 "1rl5apgw43c841z0lapi9z2jn979dvqh4x1qkqx1ad77zcq87c85"))))
    (properties `((upstream-name . "RND")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RND")
    (synopsis "Risk Neutral Density Extraction Package")
    (description
     "Extract the implied risk neutral density from options using various methods.")
    (license license:gpl2+)))

(define-public r-rncep
  (package
    (name "r-rncep")
    (version "1.0.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNCEP" version))
       (sha256
        (base32 "19ja7pcp7ajwhqhqw92pdmvxzyjc4kw3943pllpx47s1zvi6dmci"))))
    (properties `((upstream-name . "RNCEP")))
    (build-system r-build-system)
    (propagated-inputs (list r-tgp
                             r-sp
                             r-rcolorbrewer
                             r-maps
                             r-fields
                             r-abind))
    (home-page "https://cran.r-project.org/package=RNCEP")
    (synopsis "Obtain, Organize, and Visualize NCEP Weather Data")
    (description
     "This package contains functions to retrieve, organize, and visualize weather
data from the NCEP/NCAR Reanalysis
(<http://www.esrl.noaa.gov/psd/data/gridded/data.ncep.reanalysis.html>) and
NCEP/DOE Reanalysis II
(<http://www.esrl.noaa.gov/psd/data/gridded/data.ncep.reanalysis2.html>)
datasets.  Data are queried via the Internet and may be obtained for a specified
spatial and temporal extent or interpolated to a point in space and time.  We
also provide functions to visualize these weather data on a map.  There are also
functions to simulate flight trajectories according to specified behavior using
either NCEP wind data or data specified by the user.")
    (license license:gpl2+)))

(define-public r-rncbieutilslibs
  (package
    (name "r-rncbieutilslibs")
    (version "0.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNCBIEUtilsLibs" version))
       (sha256
        (base32 "1h1ywx8wxy6n2rbpmjbqw4c0djz29pbncisd0mlbshj1fw226jba"))))
    (properties `((upstream-name . "RNCBIEUtilsLibs")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava))
    (home-page "https://code.google.com/p/rncbi/")
    (synopsis "EUtils libraries for use in the R environment")
    (description
     "This package provides the libraries of the EUtils operations for the RNCBI
package.")
    (license license:gpl3)))

(define-public r-rnbp
  (package
    (name "r-rnbp")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnbp" version))
       (sha256
        (base32 "0vphfxb262jryvvs48l21q3vxqicj51az0li38axg1mslshw0y4g"))))
    (properties `((upstream-name . "rnbp")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rnbp")
    (synopsis "Wrapper for the National Bank of Poland API")
    (description
     "Use the <http://api.nbp.pl/> API through R. Retrieve currency exchange rates and
gold prices data published by the National Bank of Poland in form of convenient
R objects.")
    (license license:gpl3)))

(define-public r-rnavgraphimagedata
  (package
    (name "r-rnavgraphimagedata")
    (version "0.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RnavGraphImageData" version))
       (sha256
        (base32 "1k1gnkghap878fck0bbz9mm0fr4cli6lh1d11r0cf47fvl6cc4gr"))))
    (properties `((upstream-name . "RnavGraphImageData")))
    (build-system r-build-system)
    (home-page "http://waddella.github.io/loon/")
    (synopsis "Image Data Used in the Loon Package Demos")
    (description "Image data used as examples in the loon R package.")
    (license license:gpl2)))

(define-public r-rnassqs
  (package
    (name "r-rnassqs")
    (version "0.6.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnassqs" version))
       (sha256
        (base32 "0l7fk172xfkc1fksf2f83201s1xrnfwcpf6mviiw7whyb9v80my1"))))
    (properties `((upstream-name . "rnassqs")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (native-inputs (list r-knitr))
    (home-page
     "https://docs.ropensci.org/rnassqs/https://github.com/ropensci/rnassqs/")
    (synopsis "Access Data from the NASS 'Quick Stats' API")
    (description
     "Interface to access data via the United States Department of Agriculture's
National Agricultural Statistical Service (NASS) Quick Stats web API
<https://quickstats.nass.usda.gov/api/>.  Convenience functions facilitate
building queries based on available parameters and valid parameter values.  This
product uses the NASS API but is not endorsed or certified by NASS.")
    (license license:expat)))

(define-public r-rnaseqqc
  (package
    (name "r-rnaseqqc")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNAseqQC" version))
       (sha256
        (base32 "1041whycnph2bdmphy9k27b39g541lxa210jbnfxc5r9617rcavh"))))
    (properties `((upstream-name . "RNAseqQC")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-summarizedexperiment
                             r-stringr
                             r-purrr
                             r-patchwork
                             r-matrixstats
                             r-magrittr
                             r-ggrepel
                             r-ggpointdensity
                             r-ggplot2
                             r-ensembldb
                             r-dplyr
                             r-deseq2
                             r-cowplot
                             r-complexheatmap
                             r-circlize
                             r-biocgenerics
                             r-annotationhub
                             r-annotationfilter))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/frederikziebell/RNAseqQC")
    (synopsis "Quality Control for RNA-Seq Data")
    (description
     "This package provides functions for semi-automated quality control of bulk
RNA-seq data.")
    (license (license:fsdg-compatible "Apache License (>= 2)"))))

(define-public r-rnaseqnet
  (package
    (name "r-rnaseqnet")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNAseqNet" version))
       (sha256
        (base32 "09jqgj1wwwxhk6xkfhkwzkbj0byk3441wa4kj4nzgwzv0qw6inds"))))
    (properties `((upstream-name . "RNAseqNet")))
    (build-system r-build-system)
    (propagated-inputs (list r-poiclaclu r-igraph r-hot-deck r-glmnet
                             r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RNAseqNet")
    (synopsis
     "Log-Linear Poisson Graphical Model with Hot-Deck Multiple Imputation")
    (description
     "Infer log-linear Poisson Graphical Model with an auxiliary data set.  Hot-deck
multiple imputation method is used to improve the reliability of the inference
with an auxiliary dataset.  Standard log-linear Poisson graphical model can also
be used for the inference and the Stability Approach for Regularization
Selection (@code{StARS}) is implemented to drive the selection of the
regularization parameter.  The method is fully described in
<doi:10.1093/bioinformatics/btx819>.")
    (license license:gpl3+)))

(define-public r-rnanoflann
  (package
    (name "r-rnanoflann")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rnanoflann" version))
       (sha256
        (base32 "04bjyn74n1qlqb58w5nwvahbd5dg872bd5x3iwfvg3qgci6giz26"))))
    (properties `((upstream-name . "Rnanoflann")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (home-page "https://github.com/ManosPapadakis95/Rnanoflann")
    (synopsis "Extremely Fast Nearest Neighbor Search")
    (description
     "Finds the k nearest neighbours for every point in a given dataset using Jose
Luis nanoflann library.  There is support for exact searches, fixed radius
searches with kd trees and two distances, the Euclidean and Manhattan'.  For
more information see <https://github.com/jlblancoc/nanoflann>.  Also, the
nanoflann library is exported and ready to be used via the linking to mechanism.")
    (license license:gpl3+)))

(define-public r-rnamf
  (package
    (name "r-rnamf")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RNAmf" version))
       (sha256
        (base32 "13c00l660f6yl5hhbv99h95q0nvzrfv0svm40bzfaz88q54pv9q1"))))
    (properties `((upstream-name . "RNAmf")))
    (build-system r-build-system)
    (propagated-inputs (list r-plgp r-lhs r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=RNAmf")
    (synopsis "Recursive Non-Additive Emulator for Multi-Fidelity Data")
    (description
     "This package performs RNA emulation and active learning proposed by Heo and Sung
(2024) <doi:10.1080/00401706.2024.2376173> for multi-fidelity computer
experiments.  The RNA emulator is particularly useful when the simulations with
different fidelity level are nonlinearly correlated.  The hyperparameters in the
model are estimated by maximum likelihood estimation.")
    (license license:expat)))

(define-public r-rnames
  (package
    (name "r-rnames")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rnames" version))
       (sha256
        (base32 "1213cg1br7sj0ky6bbrz1yc6gm8z38xfymvmrmlrx48j5bgxijx7"))))
    (properties `((upstream-name . "rnames")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rnames")
    (synopsis "Recursive Display of Items in Nested Lists")
    (description
     "Recursive display of names and paths of all the items nested within sublists of
a list object.")
    (license license:expat)))

(define-public r-rmzqc
  (package
    (name "r-rmzqc")
    (version "0.5.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmzqc" version))
       (sha256
        (base32 "18nyw4amg8l8hby3fpfbafz730g0bsk4xp31fgfhlv2qzcbm07aw"))))
    (properties `((upstream-name . "rmzqc")))
    (build-system r-build-system)
    (propagated-inputs (list r-testthat
                             r-rmarkdown
                             r-r6p
                             r-r6
                             r-ontologyindex
                             r-knitr
                             r-jsonvalidate
                             r-jsonlite))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/MS-Quality-hub/rmzqc")
    (synopsis "Creation, Reading and Validation of 'mzqc' Files")
    (description
     "Reads, writes and validates @code{mzQC} files.  The @code{mzQC} format is a
standardized file format for the exchange, transmission, and archiving of
quality metrics derived from biological mass spectrometry data, as defined by
the HUPO-PSI (Human Proteome Organisation - Proteomics Standards Initiative)
Quality Control working group.  See <https://hupo-psi.github.io/@code{mzQC/>}
for details.")
    (license license:expat)))

(define-public r-rmytarget
  (package
    (name "r-rmytarget")
    (version "2.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmytarget" version))
       (sha256
        (base32 "1csl5b76r706gzvzhqgg4pdznbdl4i3b0srazwa7xdfc6zbrzljp"))))
    (properties `((upstream-name . "rmytarget")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-purrr
                             r-lubridate
                             r-httr
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://selesnow.github.io/rmytarget/")
    (synopsis "Load Data from 'MyTarget API v2 and v3'")
    (description
     "Allows work with @code{MyTarget} Statistics API v2
<https://target.my.com/adv/api-marketing/doc/stat-v2> and @code{MyTarget}
Statistics API v3
<https://target.my.com/adv/api-marketing/doc/stat-v2#statisticsv3> load data by
ads, campaigns, agency clients and statistic from your ads account.")
    (license license:expat)))

(define-public r-rmx
  (package
    (name "r-rmx")
    (version "0.1-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMX" version))
       (sha256
        (base32 "077l2z8z2kv8lvsff5jikranchw49g9x9g029klsp4813hy7nqn5"))))
    (properties `((upstream-name . "RMX")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RMX")
    (synopsis "Rasch Models -- eXtensions")
    (description
     "Extend Rasch and Item Response Theory (IRT) analyses by providing tools for
post-processing the output from five major IRT packages (i.e., @code{eRm}',
psychotools', ltm', mirt', and TAM').  The current version provides the
@code{plotPIccc}() function, which extracts from the return object of the
originating package all information required to draw an extended Person-Item-Map
(PIccc), showing any combination of * category characteristic curves (CCCs), *
threshold characteristic curves (TCCs), * item characteristic curves (ICCs), *
category information functions (CIFs), * item information functions (IIFs), *
test information function (TIF), and the * standard error curve (S.E.).  for
uni- and multidimensional models (as far as supported by each package).  It
allows for selecting dimensions, items, and categories to plot and offers
numerous options to adapt the output.  The return object contains all calculated
values for further processing.")
    (license license:gpl3+)))

(define-public r-rmweather
  (package
    (name "r-rmweather")
    (version "0.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmweather" version))
       (sha256
        (base32 "04xa3v5nkffz4b7r3a7il9qy0gmcpv741jvcjbn24z05ks6b17q3"))))
    (properties `((upstream-name . "rmweather")))
    (build-system r-build-system)
    (propagated-inputs (list r-viridis
                             r-tidyr
                             r-tibble
                             r-strucchange
                             r-stringr
                             r-ranger
                             r-purrr
                             r-pdp
                             r-magrittr
                             r-lubridate
                             r-ggplot2
                             r-dplyr
                             r-cli))
    (home-page "https://github.com/skgrange/rmweather")
    (synopsis
     "Tools to Conduct Meteorological Normalisation and Counterfactual Modelling for Air Quality Data")
    (description
     "An integrated set of tools to allow data users to conduct meteorological
normalisation and counterfactual modelling for air quality data.  The
meteorological normalisation technique uses predictive random forest models to
remove variation of pollutant concentrations so trends and interventions can be
explored in a robust way.  For examples, see Grange et al. (2018)
<doi:10.5194/acp-18-6223-2018> and Grange and Carslaw (2019)
<doi:10.1016/j.scitotenv.2018.10.344>.  The random forest models can also be
used for counterfactual or business as usual (BAU) modelling by using the models
to predict, from the model's perspective, the future.  For an example, see
Grange et al. (2021) <doi:10.5194/acp-2020-1171>.")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rmvp
  (package
    (name "r-rmvp")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rMVP" version))
       (sha256
        (base32 "156bmpdp8r69097cig07bq5h9pqb1d5zkd57qxfjm1070h3f39xw"))))
    (properties `((upstream-name . "rMVP")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppprogress
                             r-rcppeigen
                             r-rcpparmadillo
                             r-rcpp
                             r-mass
                             r-bigmemory
                             r-bh))
    (home-page "https://github.com/xiaolei-lab/rMVP")
    (synopsis
     "Memory-Efficient, Visualize-Enhanced, Parallel-Accelerated GWAS Tool")
    (description
     "This package provides a memory-efficient, visualize-enhanced,
parallel-accelerated Genome-Wide Association Study (GWAS) tool.  It can (1)
effectively process large data, (2) rapidly evaluate population structure, (3)
efficiently estimate variance components several algorithms, (4) implement
parallel-accelerated association tests of markers three methods, (5) globally
efficient design on GWAS process computing, (6) enhance visualization of related
information. @code{rMVP} contains three models GLM (Alkes Price (2006)
<DOI:10.1038/ng1847>), MLM (Jianming Yu (2006) <DOI:10.1038/ng1702>) and
@code{FarmCPU} (Xiaolei Liu (2016) <doi:10.1371/journal.pgen.1005767>); variance
components estimation methods EMMAX (Hyunmin Kang (2008)
<DOI:10.1534/genetics.107.080101>;), @code{FaSTLMM} (method: Christoph Lippert
(2011) <DOI:10.1038/nmeth.1681>, R implementation from GAPIT2': You Tang and
Xiaolei Liu (2016) <DOI:10.1371/journal.pone.0107684> and SUPER': Qishan Wang
and Feng Tian (2014) <DOI:10.1371/journal.pone.0107684>), and HE regression
(Xiang Zhou (2017) <DOI:10.1214/17-AOAS1052>).")
    (license license:asl2.0)))

(define-public r-rmvl
  (package
    (name "r-rmvl")
    (version "1.1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMVL" version))
       (sha256
        (base32 "13wyp4ri6b73j8vn787rzf5532maqmq8slv743c69rzgs2vw9hjn"))))
    (properties `((upstream-name . "RMVL")))
    (build-system r-build-system)
    (home-page "https://academictorrents.com/collection/mvl-datasets")
    (synopsis "Mappable Vector Library for Handling Large Datasets")
    (description
     "Mappable vector library provides convenient way to access large datasets.  Use
all of your data at once, with few limits.  Memory mapped data can be shared
between multiple R processes.  Access speed depends on storage medium, so solid
state drive is recommended, preferably with PCI Express (or M.2 nvme) interface
or a fast network file system.  The data is memory mapped into R and then
accessed using usual R list and array subscription operators.  Convenience
functions are provided for merging, grouping and indexing large vectors and
data.frames.  The layout of underlying MVL files is optimized for large
datasets.  The vectors are stored to guarantee alignment for vector intrinsics
after memory map.  The package is built on top of @code{libMVL}, which can be
used as a standalone C library. @code{libMVL} has simple C API making it easy to
interchange datasets with outside programs.  Large MVL datasets are distributed
via Academic Torrents <https://academictorrents.com/collection/mvl-datasets>.")
    (license license:lgpl2.1)))

(define-public r-rmultinet
  (package
    (name "r-rmultinet")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rMultiNet" version))
       (sha256
        (base32 "0r4zdh91f87xzjr85i8iafghpi60hlmjp763nm025n4h33qvvrfl"))))
    (properties `((upstream-name . "rMultiNet")))
    (build-system r-build-system)
    (propagated-inputs (list r-rtensor
                             r-plotly
                             r-matrix
                             r-glmnet
                             r-geigen
                             r-dbscan))
    (home-page "https://cran.r-project.org/package=rMultiNet")
    (synopsis "Multi-Layer Networks Analysis")
    (description
     "This package provides two general frameworks to generate a multi-layer network.
This also provides several methods to reveal the embedding of both nodes and
layers.  The reference paper can be found from the URL mentioned below.  Ting
Li, Zhongyuan Lyu, Chenyu Ren, Dong Xia (2023) <@code{arXiv:2302.04437>}.")
    (license license:expat)))

(define-public r-rmtl
  (package
    (name "r-rmtl")
    (version "0.9.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMTL" version))
       (sha256
        (base32 "1wyv9l1xgdm4s8ibjw3kwfsr77hxkxj80cgvkfv4mdir0bxm84b4"))))
    (properties `((upstream-name . "RMTL")))
    (build-system r-build-system)
    (propagated-inputs (list r-psych r-mass r-foreach r-doparallel r-corpcor))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/transbioZI/RMTL/")
    (synopsis "Regularized Multi-Task Learning")
    (description
     "Efficient solvers for 10 regularized multi-task learning algorithms applicable
for regression, classification, joint feature selection, task clustering,
low-rank learning, sparse learning and network incorporation.  Based on the
accelerated gradient descent method, the algorithms feature a state-of-art
computational complexity O(1/k^2).  Sparse model structure is induced by the
solving the proximal operator.  The detail of the package is described in the
paper of Han Cao and Emanuel Schwarz (2018) <doi:10.1093/bioinformatics/bty831>.")
    (license license:gpl3)))

(define-public r-rmthreshold
  (package
    (name "r-rmthreshold")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMThreshold" version))
       (sha256
        (base32 "0wkc42vcggib002ad6ch43h6avpdgl12szrrrfd2p0wl72cwn5n1"))))
    (properties `((upstream-name . "RMThreshold")))
    (build-system r-build-system)
    (propagated-inputs (list r-png r-matrix))
    (home-page "https://cran.r-project.org/package=RMThreshold")
    (synopsis
     "Signal-Noise Separation in Random Matrices by using Eigenvalue Spectrum Analysis")
    (description
     "An algorithm which can be used to determine an objective threshold for
signal-noise separation in large random matrices (correlation matrices, mutual
information matrices, network adjacency matrices) is provided.  The package
makes use of the results of Random Matrix Theory (RMT).  The algorithm
increments a suppositional threshold monotonically, thereby recording the
eigenvalue spacing distribution of the matrix.  According to RMT, that
distribution undergoes a characteristic change when the threshold properly
separates signal from noise.  By using the algorithm, the modular structure of a
matrix - or of the corresponding network - can be unraveled.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rmt4ds
  (package
    (name "r-rmt4ds")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMT4DS" version))
       (sha256
        (base32 "05fwhd36lvi21gr5nz8mgxk5qzw4vxkrgw499p11aa9qhcn8xq4g"))))
    (properties `((upstream-name . "RMT4DS")))
    (build-system r-build-system)
    (propagated-inputs (list r-rootsolve
                             r-rmtstat
                             r-rarpack
                             r-quadprog
                             r-pracma
                             r-nleqslv
                             r-mpoly
                             r-mass
                             r-lpsolve))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RMT4DS")
    (synopsis "Computation of Random Matrix Models")
    (description
     "We generate random variables following general Marchenko-Pastur distribution and
Tracy-Widom distribution.  We compute limits and distributions of eigenvalues
and generalized components of spiked covariance matrices.  We give estimation of
all population eigenvalues of spiked covariance matrix model.  We give tests of
population covariance matrix.  We also perform matrix denoising for
signal-plus-noise model.")
    (license license:expat)))

(define-public r-rmt
  (package
    (name "r-rmt")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmt" version))
       (sha256
        (base32 "165cqnwqr0dx7b8dgq7xlfk4j55p9l6dr5b2rzyvfy5l23k4kckn"))))
    (properties `((upstream-name . "rmt")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://sites.google.com/view/lmaowisc/")
    (synopsis "Restricted Mean Time in Favor of Treatment")
    (description
     "This package contains inferential and graphical routines for comparing two
treatment arms in terms of the restricted mean time in favor of treatment.")
    (license license:gpl2+)))

(define-public r-rmstcompsens
  (package
    (name "r-rmstcompsens")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmstcompsens" version))
       (sha256
        (base32 "1bjwf4s5mgl60i3psdzga0nmngnx2a90j2kpf6zysd2939rirv1n"))))
    (properties `((upstream-name . "rmstcompsens")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-dplyr))
    (home-page "https://cran.r-project.org/package=rmstcompsens")
    (synopsis
     "Comparing Restricted Mean Survival Time as Sensitivity Analysis")
    (description
     "This package performs two-sample comparisons using the restricted mean survival
time (RMST) when survival curves end at different time points between groups.
This package implements a sensitivity approach that allows the threshold
timepoint tau to be specified after the longest survival time in the shorter
survival group.  Two kinds of between-group contrast estimators (the difference
in RMST and the ratio of RMST) are computed: Uno et
al(2014)<doi:10.1200/JCO.2014.55.2208>, Uno et
al(2022)<https://CRAN.R-project.org/package=@code{survRM2>}, Ueno and
Morita(2023)<doi:10.1007/s43441-022-00484-z>.")
    (license license:gpl2)))

(define-public r-rmstbayespara
  (package
    (name "r-rmstbayespara")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmstBayespara" version))
       (sha256
        (base32 "0qggmlf6li4sibb0lzzymm80242qnbivpiwd5yh35mcrwy820qsq"))))
    (properties `((upstream-name . "rmstBayespara")))
    (build-system r-build-system)
    (propagated-inputs (list r-zipfr r-rstan r-loo r-crayon r-brms))
    (home-page "https://cran.r-project.org/package=rmstBayespara")
    (synopsis "Bayesian Restricted Mean Survival Time for Cluster Effect")
    (description
     "The parametric Bayes analysis for the restricted mean survival time (RMST) with
cluster effect, as described in Hanada and Kojima (2024)
<doi:10.48550/@code{arXiv.2406.06071>}.  Bayes estimation with random-effect and
frailty-effect can be applied to several parametric models useful in survival
time analysis.  The RMST under these parametric models can be computed from the
obtained posterior samples.")
    (license license:gpl3+)))

(define-public r-rmst
  (package
    (name "r-rmst")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rmst" version))
       (sha256
        (base32 "1fykpii17k460qlsjhhh5vag02lhkyk5l3zjmg8hifqp0cjhz2fl"))))
    (properties `((upstream-name . "Rmst")))
    (build-system r-build-system)
    (propagated-inputs (list r-rirt r-reshape2 r-rata r-ggplot2))
    (home-page "https://github.com/xluo11/Rmst")
    (synopsis "Computerized Adaptive Multistage Testing")
    (description
     "Assemble the panels of computerized adaptive multistage testing by the bottom-up
and the top-down approach, and simulate the administration of the assembled
panels.  The full documentation and tutorials are at
<https://github.com/xluo11/Rmst>.  Reference: Luo and Kim (2018)
<doi:10.1111/jedm.12174>.")
    (license license:gpl3+)))

(define-public r-rmss
  (package
    (name "r-rmss")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMSS" version))
       (sha256
        (base32 "18hm626yr3xrsi9spzr42y9pf547xdx7byqq15bvh9f04qaalck3"))))
    (properties `((upstream-name . "RMSS")))
    (build-system r-build-system)
    (propagated-inputs (list r-srlars
                             r-robustbase
                             r-robstepsplitreg
                             r-rcpparmadillo
                             r-rcpp
                             r-cellwise))
    (home-page "https://cran.r-project.org/package=RMSS")
    (synopsis "Robust Multi-Model Subset Selection")
    (description
     "Efficient algorithms for generating ensembles of robust, sparse and diverse
models via robust multi-model subset selection (RMSS).  The robust ensembles are
generated by minimizing the sum of the least trimmed square loss of the models
in the ensembles under constraints for the size of the models and the sharing of
the predictors.  Tuning parameters for the robustness, sparsity and diversity of
the robust ensemble are selected by cross-validation.")
    (license license:gpl2+)))

(define-public r-rmsnumpress
  (package
    (name "r-rmsnumpress")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMSNumpress" version))
       (sha256
        (base32 "1y86dpa8kpq2bkvl90qwghxrnll5h3y9ycyvmamm4kd7ivy59sxi"))))
    (properties `((upstream-name . "RMSNumpress")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=RMSNumpress")
    (synopsis "'Rcpp' Bindings to Native C++ Implementation of MS Numpress")
    (description
     "Rcpp bindings to the native C++ implementation of MS Numpress, that provides two
compression schemes for numeric data from mass spectrometers.  The library
provides implementations of 3 different algorithms, 1 designed to compress first
order smooth data like retention time or M/Z arrays, and 2 for compressing non
smooth data with lower requirements on precision like ion count arrays.  Refer
to the publication (Teleman et al., (2014) <doi:10.1074/mcp.O114.037879>) for
more details.")
    (license license:bsd-3)))

(define-public r-rmsfuns
  (package
    (name "r-rmsfuns")
    (version "1.0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmsfuns" version))
       (sha256
        (base32 "18bpj7xh3kc7pl6ivi3cripam26bsaf9r9099cjf22qndvy18hb6"))))
    (properties `((upstream-name . "rmsfuns")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-tbl2xts
                             r-readr
                             r-purrr
                             r-performanceanalytics
                             r-magrittr
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://rmsfuns.nfkatzke.com")
    (synopsis
     "Quickly View Data Frames in 'Excel', Build Folder Paths and Create Date Vectors")
    (description
     "This package contains several useful navigation helper functions, including
easily building folder paths, quick viewing dataframes in Excel', creating date
vectors and changing the console prompt to reflect time.")
    (license license:gpl3)))

(define-public r-rmsfact
  (package
    (name "r-rmsfact")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmsfact" version))
       (sha256
        (base32 "05s23rfs9prr2ia3h4h9y614xhv91lbgppgf3mrrssxkwz220kd5"))))
    (properties `((upstream-name . "rmsfact")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rmsfact")
    (synopsis "Amazing Random Facts About the World's Greatest Hacker")
    (description
     "Display a randomly selected quote about Richard M. Stallman based on the
collection in the GNU Octave function fact() which was aggregated by Jordi
GutiÃ©rrez Hermoso based on the (now defunct) site stallmanfacts.com (which is
accessible only via <http://archive.org>).")
    (license license:gpl3)))

(define-public r-rmsdp
  (package
    (name "r-rmsdp")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMSDp" version))
       (sha256
        (base32 "1s52hj8b12r2p6a6b069i7accnf8gvxr3nzb5dps1kpsncvhlpk3"))))
    (properties `((upstream-name . "RMSDp")))
    (build-system r-build-system)
    (propagated-inputs (list r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=RMSDp")
    (synopsis
     "Refined Modified Stahel-Donoho (MSD) Estimators for Outlier Detection (Parallel Version)")
    (description
     "This package provides a parallel function for multivariate outlier detection
named modified Stahel-Donoho estimators is contained in this package.  The
function RMSDp() is for elliptically distributed datasets and recognizes
outliers based on Mahalanobis distance.  This function is for higher dimensional
datasets that cannot be handled by a single core function RMSD() included in
RMSD package.  See Wada and Tsubaki (2013) <doi:10.1109/CLOUDCOM-ASIA.2013.86>
for the detail of the algorithm.")
    (license license:gpl3+)))

(define-public r-rmsd
  (package
    (name "r-rmsd")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMSD" version))
       (sha256
        (base32 "0n6qcy8biswjsqhhcmahbn09xmnlgaa4hjlngh3kqran91p7c3i0"))))
    (properties `((upstream-name . "RMSD")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RMSD")
    (synopsis
     "Refined Modified Stahel-Donoho Estimators for Outlier Detection")
    (description
     "This package provides a function for multivariate outlier detection named
Modified Stahel-Donoho (MSD) estimators is contained.  The function is for
elliptically distributed datasets and recognizes outliers based on Mahalanobis
distance.  The function is called the single core version in Wada & Tsubaki
(2013) <doi:10.1109/CLOUDCOM-ASIA.2013.86> and evaluated with other methods in
Wada, Kawano & Tsubaki (2020) <doi:10.17713/ajs.v49i2.872>.")
    (license license:gpl3+)))

(define-public r-rmsb
  (package
    (name "r-rmsb")
    (version "1.1-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmsb" version))
       (sha256
        (base32 "1f33wv5bjqp59r4sdz8c3ckxhv4xz3clnsswpqxx6zagm7v572vp"))))
    (properties `((upstream-name . "rmsb")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-stanheaders
                             r-rstan
                             r-rms
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-mass
                             r-loo
                             r-knitr
                             r-hmisc
                             r-ggplot2
                             r-digest
                             r-cluster
                             r-bh))
    (home-page "https://hbiostat.org/R/rmsb/")
    (synopsis "Bayesian Regression Modeling Strategies")
    (description
     "This package provides a Bayesian companion to the rms package, rmsb provides
Bayesian model fitting, post-fit estimation, and graphics.  It implements
Bayesian regression models whose fit objects can be processed by rms functions
such as contrast()', summary()', Predict()', nomogram()', and latex()'.  The
fitting function currently implemented in the package is blrm() for Bayesian
logistic binary and ordinal regression with optional clustering, censoring, and
departures from the proportional odds assumption using the partial proportional
odds model of Peterson and Harrell (1990)
<https://www.jstor.org/stable/2347760>.")
    (license license:gpl3+)))

(define-public r-rmr
  (package
    (name "r-rmr")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rMR" version))
       (sha256
        (base32 "0da1hclfnnlkp9by6zf2p079643p8nimplr9p3ipbjdy739j344z"))))
    (properties `((upstream-name . "rMR")))
    (build-system r-build-system)
    (propagated-inputs (list r-biglm))
    (home-page "https://cran.r-project.org/package=rMR")
    (synopsis
     "Importing Data from Loligo Systems Software, Calculating Metabolic Rates and Critical Tensions")
    (description
     "Analysis of oxygen consumption data generated by Loligo (R) Systems respirometry
equipment.  The package includes a function for loading data output by Loligo's
@code{AutoResp} software (get.witrox.data()), functions for calculating
metabolic rates over user-specified time intervals, extracting critical points
from data using broken stick regressions based on Yeager and Ultsch
(<DOI:10.1086/physzool.62.4.30157935>), and easy functions for converting
between different units of barometric pressure.")
    (license license:gpl3)))

(define-public r-rmpw
  (package
    (name "r-rmpw")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmpw" version))
       (sha256
        (base32 "150wvnzhwvi8vv76glrbqns1r09cx42fxjrpfvvkdjd5vsbhmibv"))))
    (properties `((upstream-name . "rmpw")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-gtools))
    (home-page "https://cran.r-project.org/package=rmpw")
    (synopsis "Causal Mediation Analysis Using Weighting Approach")
    (description
     "We implement causal mediation analysis using the methods proposed by Hong (2010)
and Hong, Deutsch & Hill (2015) <doi:10.3102/1076998615583902>.  It allows the
estimation and hypothesis testing of causal mediation effects through ratio of
mediator probability weights (RMPW).  This strategy conveniently relaxes the
assumption of no treatment-by-mediator interaction while greatly simplifying the
outcome model specification without invoking strong distributional assumptions.
We also implement a sensitivity analysis by extending the RMPW method to assess
potential bias in the presence of omitted pretreatment or posttreatment
covariates.  The sensitivity analysis strategy was proposed by Hong, Qin, and
Yang (2018) <doi:10.3102/1076998617749561>.")
    (license license:gpl2)))

(define-public r-rmpsh
  (package
    (name "r-rmpsh")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMPSH" version))
       (sha256
        (base32 "0jffp8942ydwain23kvy7q6avpxxsb77jj1mg4bq43fwgfc9nqjy"))))
    (properties `((upstream-name . "RMPSH")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=RMPSH")
    (synopsis "Recursive Modified Pattern Search on Hyper-Rectangle")
    (description
     "Optimization of any Black-Box/Non-Convex Function on Hyper-Rectangular Parameter
Space.  It uses a Variation of Pattern Search Technique.  Described in the paper
: Das (2016) <@code{arXiv:1604.08616>} .")
    (license license:gpl3)))

(define-public r-rmp
  (package
    (name "r-rmp")
    (version "2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmp" version))
       (sha256
        (base32 "1993195mdaa0dp7hf4d1bmfxjzx061r71ccmpqdqcr8b54ps8lxw"))))
    (properties `((upstream-name . "rmp")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rmp")
    (synopsis "Rounded Mixture Package")
    (description
     "This package performs univariate probability mass function estimation via
Bayesian nonparametric mixtures of rounded kernels as in Canale and Dunson
(2011) <doi:10.1198/jasa.2011.tm10552>.")
    (license license:gpl2)))

(define-public r-rmost
  (package
    (name "r-rmost")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rMOST" version))
       (sha256
        (base32 "0lhf7cnnasnhainxh6s73379c7bwcsiqqv5vwgy9r3l2dyn97a2h"))))
    (properties `((upstream-name . "rMOST")))
    (build-system r-build-system)
    (propagated-inputs (list r-nloptr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rMOST")
    (synopsis "Estimates Pareto-Optimal Solution for Hiring with 3 Objectives")
    (description
     "Estimates Pareto-optimal solution for personnel selection with 3 objectives
using Normal Boundary Intersection (NBI) algorithm introduced by Das and Dennis
(1998) <doi:10.1137/S1052623496307510>.  Takes predictor intercorrelations and
predictor-objective relations as input and generates a series of solutions
containing predictor weights as output.  Accepts between 3 and 10 selection
predictors.  Maximum 2 objectives could be adverse impact objectives.  Partially
modeled after De Corte (2006) TROFSS Fortran program
<https://users.ugent.be/~wdecorte/trofss.pdf> and updated from @code{ParetoR}
package described in Song et al. (2017) <doi:10.1037/apl0000240>.  For details,
see Study 3 of Zhang et al. (2023).")
    (license license:expat)))

(define-public r-rmosek
  (package
    (name "r-rmosek")
    (version "1.3.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rmosek" version))
       (sha256
        (base32 "18q39n2p3gms9zqrl8g15rjjk4v64365v0rm8r7zvvivh1hy5xa0"))))
    (properties `((upstream-name . "Rmosek")))
    (build-system r-build-system)
    (home-page "http://www.mosek.com/")
    (synopsis "The R to MOSEK Optimization Interface")
    (description
     "This is a meta-package designed to support the installation of Rmosek (>= 6.0)
and bring the optimization facilities of MOSEK (>= 6.0) to the R-language.  The
interface supports large-scale optimization of many kinds: Mixed-integer and
continuous linear, second-order cone, exponential cone and power cone
optimization, as well as continuous semidefinite optimization.  Rmosek and the
R-language are open-source projects.  MOSEK is a proprietary product, but
unrestricted trial and academic licenses are available.")
    (license license:lgpl2.1+)))

(define-public r-rmopi
  (package
    (name "r-rmopi")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMOPI" version))
       (sha256
        (base32 "0jjli73b1xinrkq0fndfaan1mgf6yb29skqvva4lib0zgd8p1v21"))))
    (properties `((upstream-name . "RMOPI")))
    (build-system r-build-system)
    (propagated-inputs (list r-xts
                             r-ttr
                             r-timeseries
                             r-timedate
                             r-tibble
                             r-rugarch
                             r-performanceanalytics
                             r-mass
                             r-lubridate
                             r-ggplot2
                             r-fportfolio))
    (home-page "https://cran.r-project.org/package=RMOPI")
    (synopsis "Risk Management and Optimization for Portfolio Investment")
    (description
     "This package provides functions for risk management and portfolio investment of
securities with practical tools for data processing and plotting.  Moreover, it
contains functions which perform the COS Method, an option pricing method based
on the Fourier-cosine series (Fang, F. (2008) <doi:10.1137/080718061>).")
    (license license:gpl2+)))

(define-public r-rmoo
  (package
    (name "r-rmoo")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmoo" version))
       (sha256
        (base32 "180dz1b92iswfflbciss13qn730f3nx4km194wn7vci9xghsw1mf"))))
    (properties `((upstream-name . "rmoo")))
    (build-system r-build-system)
    (propagated-inputs (list r-plotly r-ggplot2 r-ga))
    (home-page "https://github.com/Evolutionary-Optimization-Laboratory/rmoo/")
    (synopsis "Multi-Objective Optimization in R")
    (description
     "The rmoo package is a framework for multi- and many-objective optimization,
which allows researchers and users versatility in parameter configuration, as
well as tools for analysis, replication and visualization of results.  The rmoo
package was built as a fork of the GA package by Luca Scrucca(2017)
<DOI:10.32614/RJ-2017-008> and implementing the Non-Dominated Sorting Genetic
Algorithms proposed by K. Deb's.")
    (license license:gpl2+)))

(define-public r-rmonize
  (package
    (name "r-rmonize")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rmonize" version))
       (sha256
        (base32 "0k9v0larxg35vnq65ybzp9nf5w860vqp7m0jf4q4ax58vj6f17yw"))))
    (properties `((upstream-name . "Rmonize")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-rlang
                             r-madshapr
                             r-lifecycle
                             r-haven
                             r-fs
                             r-fabr
                             r-dplyr
                             r-crayon))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/maelstrom-research/Rmonize/")
    (synopsis "Support Retrospective Harmonization of Data")
    (description
     "This package provides functions to support rigorous retrospective data
harmonization processing, evaluation, and documentation across datasets from
different studies based on Maelstrom Research guidelines.  The package includes
the core functions to evaluate and format the main inputs that define the
harmonization process, apply specified processing rules to generate harmonized
data, diagnose processing errors, and summarize and evaluate harmonized outputs.
 The main inputs that define the processing are a @code{DataSchema} (list and
definitions of harmonized variables to be generated) and Data Processing
Elements (processing rules to be applied to generate harmonized variables from
study-specific variables).  The main outputs of processing are harmonized
datasets, associated metadata, and tabular and visual summary reports.  As
described in Maelstrom Research guidelines for rigorous retrospective data
harmonization (Fortier I and al. (2017) <doi:10.1093/ije/dyw075>).")
    (license license:gpl3)))

(define-public r-rmolt
  (package
    (name "r-rmolt")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rmolt" version))
       (sha256
        (base32 "0fmis81h4c16wpwx6g60szf9d1gyvi60md2gn2mqln9gcf7w0icy"))))
    (properties `((upstream-name . "Rmolt")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rmolt")
    (synopsis "Graphic Visualization of the Birds' Molt")
    (description
     "Graphical visualization of the birds molt to facilitate the creation of molting
graph for passerines having 9 (Rmolt(data,9)) or 10 primaries (Rmolt(data,10)),
and also only for the 10 first primaries (Rmolt(data,\"10_0\")).")
    (license license:gpl2+)))

(define-public r-rmodule
  (package
    (name "r-rmodule")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rmodule" version))
       (sha256
        (base32 "0vbxazms3qmkhc40fb3hbyk84vrv31pmxl756wnm40z3p7l43kzk"))))
    (properties `((upstream-name . "Rmodule")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-matrix))
    (home-page "https://cran.r-project.org/package=Rmodule")
    (synopsis
     "Automated Markov Chain Monte Carlo for Arbitrarily Structured Correlation Matrices")
    (description
     "Supports automated Markov chain Monte Carlo for arbitrarily structured
correlation matrices.  The user supplies data, a correlation matrix in symbolic
form, the current state of the chain, a function that computes the log
likelihood, and a list of prior distributions.  The package's flagship function
then carries out a parameter-at-a-time update of all correlation parameters, and
returns the new state.  The method is presented in Hughes (2023), in
preparation.")
    (license license:gpl2+)))

(define-public r-rmoajars
  (package
    (name "r-rmoajars")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMOAjars" version))
       (sha256
        (base32 "0rpdi22a296fzylpb97gwvv5zrq7v57bng1c52bf72pqkpa9lyqq"))))
    (properties `((upstream-name . "RMOAjars")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava))
    (home-page "https://moa.cms.waikato.ac.nz/")
    (synopsis "External jars Required for Package RMOA")
    (description
     "External jars required for package RMOA. RMOA is a framework to build data
stream models on top of MOA (Massive Online Analysis -
<https://moa.cms.waikato.ac.nz/>).  The jar files are put in this R package, the
modelling logic can be found in the RMOA package.")
    (license license:gpl3)))

(define-public r-rmoa
  (package
    (name "r-rmoa")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMOA" version))
       (sha256
        (base32 "1yiv8xd9a8vgqgrnf68kkcr2hnr0q16pisi50pplr6z4mn07w8ba"))))
    (properties `((upstream-name . "RMOA")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rmoajars r-rjava))
    (home-page "http://www.bnosac.be")
    (synopsis "Connect R with MOA for Massive Online Analysis")
    (description
     "Connect R with MOA (Massive Online Analysis - <https://moa.cms.waikato.ac.nz/>)
to build classification models and regression models on streaming data or
out-of-RAM data.  Also streaming recommendation models are made available.")
    (license license:gpl3)))

(define-public r-rmm
  (package
    (name "r-rmm")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMM" version))
       (sha256
        (base32 "01qkcsybjgwx6gkww3hjmd4gqv20zkxbnwygn6wnim3clxrxphil"))))
    (properties `((upstream-name . "RMM")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-rlang
                             r-rcpp
                             r-numderiv
                             r-magrittr
                             r-dplyr))
    (home-page "https://cran.r-project.org/package=RMM")
    (synopsis "Revenue Management Modeling")
    (description
     "The RMM fits Revenue Management Models using the RDE(Robust Demand Estimation)
method introduced in the paper by <doi:10.2139/ssrn.3598259>, one of the
customer choice-based Revenue Management Model.  Furthermore, it is possible to
select a multinomial model as well as a conditional logit model as a model of
RDE.")
    (license license:gpl2+)))

(define-public r-rmlpca
  (package
    (name "r-rmlpca")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMLPCA" version))
       (sha256
        (base32 "1xzh6fwl71dzdpbqgpkqnmdzdk8rblg6n1ddic5yxxfvzg3bh13x"))))
    (properties `((upstream-name . "RMLPCA")))
    (build-system r-build-system)
    (propagated-inputs (list r-rspectra r-pracma r-matrix))
    (home-page "https://github.com/renanestatcamp/RMLPCA")
    (synopsis "Maximum Likelihood Principal Component Analysis")
    (description
     "R implementation of Maximum Likelihood Principal Component Analysis The main
idea of this package is to have an alternative way of PCA for subspace modeling
that considers measurement errors.  More details can be found in Peter D.
Wentzell (2009) <doi:10.1016/B978-0-444-64165-6.03029-9>.")
    (license license:expat)))

(define-public r-rmkdiscrete
  (package
    (name "r-rmkdiscrete")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMKdiscrete" version))
       (sha256
        (base32 "0zlaq0y463pnhaiw232vp6n77wgz0zih4x9gcggd9bzgm8z1hwj7"))))
    (properties `((upstream-name . "RMKdiscrete")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RMKdiscrete")
    (synopsis "Sundry Discrete Probability Distributions")
    (description
     "Sundry discrete probability distributions and helper functions.")
    (license license:gpl2+)))

(define-public r-rmixtcomputilities
  (package
    (name "r-rmixtcomputilities")
    (version "4.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMixtCompUtilities" version))
       (sha256
        (base32 "0a9aasfd87azvf0ig7h9szf10v73696z194a21dqg7njdrx4p97b"))))
    (properties `((upstream-name . "RMixtCompUtilities")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales r-plotly r-ggplot2))
    (home-page "https://github.com/modal-inria/MixtComp")
    (synopsis "Utility Functions for 'MixtComp' Outputs")
    (description
     "Mixture Composer <https://github.com/modal-inria/@code{MixtComp>} is a project
to build mixture models with heterogeneous data sets and partially missing data
management.  This package contains graphical, getter and some utility functions
to facilitate the analysis of @code{MixtComp} output.")
    (license license:agpl3)))

(define-public r-rmixtcompio
  (package
    (name "r-rmixtcompio")
    (version "4.0.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMixtCompIO" version))
       (sha256
        (base32 "1y2m5fb8a2xc0ydrjl2l1a6vfabndvrighwz5yi288wqgih70gqz"))))
    (properties `((upstream-name . "RMixtCompIO")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp r-foreach r-doparallel r-bh))
    (home-page "https://github.com/modal-inria/MixtComp")
    (synopsis
     "Minimal Interface of the C++ 'MixtComp' Library for Mixture Models with Heterogeneous and (Partially) Missing Data")
    (description
     "Mixture Composer <https://github.com/modal-inria/@code{MixtComp>} is a project
to build mixture models with heterogeneous data sets and partially missing data
management.  It includes models for real, categorical, counting, functional and
ranking data.  This package contains the minimal R interface of the C++
@code{MixtComp} library.")
    (license license:agpl3)))

(define-public r-rmixtcomp
  (package
    (name "r-rmixtcomp")
    (version "4.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMixtComp" version))
       (sha256
        (base32 "1jybw5yhcahvixpyb551mzifi6kw914g80g1g4pdbgpkg4f9sfk4"))))
    (properties `((upstream-name . "RMixtComp")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales r-rmixtcomputilities r-rmixtcompio
                             r-plotly r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/modal-inria/MixtComp")
    (synopsis "Mixture Models with Heterogeneous and (Partially) Missing Data")
    (description
     "Mixture Composer (Biernacki (2015) <https://inria.hal.science/hal-01253393v1>)
is a project to perform clustering using mixture models with heterogeneous data
and partially missing data.  Mixture models are fitted using a SEM algorithm.
It includes 8 models for real, categorical, counting, functional and ranking
data.")
    (license license:agpl3)))

(define-public r-rmixpanel
  (package
    (name "r-rmixpanel")
    (version "0.7-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMixpanel" version))
       (sha256
        (base32 "1xwmmfvky49n1l0w3kwcyaf2h4rhzz4k5icjwvpc90fqk8sxib6a"))))
    (properties `((upstream-name . "RMixpanel")))
    (build-system r-build-system)
    (propagated-inputs (list r-uuid r-rcurl r-jsonlite r-base64enc))
    (home-page "https://github.com/ploner/RMixpanel")
    (synopsis "API for Mixpanel")
    (description
     "This package provides an interface to many endpoints of Mixpanel's Data Export,
Engage and JQL API. The R functions allow for event and profile data export as
well as for segmentation, retention, funnel and addiction analysis.  Results are
always parsed into convenient R objects.  Furthermore it is possible to load and
update profiles.")
    (license license:expat)))

(define-public r-rmixmod
  (package
    (name "r-rmixmod")
    (version "2.1.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rmixmod" version))
       (sha256
        (base32 "12gi18zkbzi4qb4qk12dbwm1skcyjaydp1g8nm2bfsj5db1r5mcn"))))
    (properties `((upstream-name . "Rmixmod")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp))
    (native-inputs (list pkg-config))
    (home-page "https://cran.r-project.org/package=Rmixmod")
    (synopsis "Classification with Mixture Modelling")
    (description
     "Interface of MIXMOD software for supervised, unsupervised and semi-supervised
classification with mixture modelling <doi: 10.18637/jss.v067.i06>.")
    (license license:gpl3)))

(define-public r-rmio
  (package
    (name "r-rmio")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmio" version))
       (sha256
        (base32 "1gkd8nkqyfpkp6nvqb7c698difak5ymih3vy6njzqd3gwdp09mhy"))))
    (properties `((upstream-name . "rmio")))
    (build-system r-build-system)
    (propagated-inputs (list r-ff r-bigassertr))
    (home-page "https://github.com/privefl/rmio")
    (synopsis "Provides 'mio' C++11 Header Files")
    (description
     "This package provides header files of mio', a cross-platform C++11 header-only
library for memory mapped file IO <https://github.com/mandreyel/mio>.")
    (license license:gpl3)))

(define-public r-rminqa
  (package
    (name "r-rminqa")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rminqa" version))
       (sha256
        (base32 "1wq4cz9m8xqzii64rmdg42fv8khs1ybw3bax4s44aapcg56vj1i3"))))
    (properties `((upstream-name . "rminqa")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=rminqa")
    (synopsis "Derivative-Free Optimization in R using C++")
    (description
     "Perform derivative-free optimization algorithms in R using C++.  A wrapper
interface is provided to call C function of the bobyqa implementation (See
<https://github.com/emmt/Algorithms/tree/master/bobyqa>).")
    (license license:gpl2+)))

(define-public r-rminizinc
  (package
    (name "r-rminizinc")
    (version "0.0.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rminizinc" version))
       (sha256
        (base32 "0yyg8ikdlksxlsc8ms4gb8dvpdjk26np6cpm5a7rjp748x8is6qx"))))
    (properties `((upstream-name . "rminizinc")))
    (build-system r-build-system)
    (inputs (list pandoc))
    (propagated-inputs (list r-rlist
                             r-rlang
                             r-rjson
                             r-rcpp
                             r-r6
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/acharaakshit/RMiniZinc")
    (synopsis "R Interface to 'MiniZinc'")
    (description
     "Constraint optimization, or constraint programming, is the name given to
identifying feasible solutions out of a very large set of candidates, where the
problem can be modeled in terms of arbitrary constraints. @code{MiniZinc} is a
free and open-source constraint modeling language.  Constraint satisfaction and
discrete optimization problems can be formulated in a high-level modeling
language.  Models are compiled into an intermediate representation that is
understood by a wide range of solvers. @code{MiniZinc} itself provides several
solvers, for instance @code{GeCode}'.  R users can use the package to solve
constraint programming problems without using @code{MiniZinc} directly, modify
existing @code{MiniZinc} models and also create their own models.")
    (license (license:fsdg-compatible "Mozilla Public License Version 2.0"))))

(define-public r-rminer
  (package
    (name "r-rminer")
    (version "1.4.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rminer" version))
       (sha256
        (base32 "1xydc43is756cy4vsm4k4micj88hhqgyrhb8cmvgv1y8zfrzg2qz"))))
    (properties `((upstream-name . "rminer")))
    (build-system r-build-system)
    (propagated-inputs (list r-xgboost
                             r-rpart
                             r-randomforest
                             r-pls
                             r-plotrix
                             r-party
                             r-nnet
                             r-mda
                             r-mass
                             r-lattice
                             r-kknn
                             r-kernlab
                             r-glmnet
                             r-e1071
                             r-cubist
                             r-adabag))
    (home-page "https://cran.r-project.org/package=rminer")
    (synopsis "Data Mining Classification and Regression Methods")
    (description
     "Facilitates the use of data mining algorithms in classification and regression
(including time series forecasting) tasks by presenting a short and coherent set
of functions.  Versions: 1.4.6 / 1.4.5 / 1.4.4 new automated machine learning
(@code{AutoML}) and ensembles, via improved fit(), mining() and mparheuristic()
functions, and new categorical preprocessing, via improved delevels() function;
1.4.3 new metrics (e.g., macro precision, explained variance), new \"lssvm\" model
and improved mparheuristic() function; 1.4.2 new \"NMAE\" metric, \"xgboost\" and
\"cv.glmnet\" models (16 classification and 18 regression models); 1.4.1 new
tutorial and more robust version; 1.4 - new classification and regression
models, with a total of 14 classification and 15 regression methods, including:
Decision Trees, Neural Networks, Support Vector Machines, Random Forests,
Bagging and Boosting; 1.3 and 1.3.1 - new classification and regression metrics;
1.2 - new input importance methods via improved Importance() function; 1.0 -
first version.")
    (license license:gpl2)))

(define-public r-rmidas
  (package
    (name "r-rmidas")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rMIDAS" version))
       (sha256
        (base32 "18z9fkbvyz290qcv0nmsrk8hchr5niwmhaj7gx3gh7m1ldw53asw"))))
    (properties `((upstream-name . "rMIDAS")))
    (build-system r-build-system)
    (inputs (list python))
    (propagated-inputs (list r-reticulate r-rdpack r-rappdirs r-mltools
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/MIDASverse/rMIDAS")
    (synopsis "Multiple Imputation with Denoising Autoencoders")
    (description
     "This package provides a tool for multiply imputing missing data using MIDAS', a
deep learning method based on denoising autoencoder neural networks (see Lall
and Robinson, 2022; <doi:10.1017/pan.2020.49>).  This algorithm offers
significant accuracy and efficiency advantages over other multiple imputation
strategies, particularly when applied to large datasets with complex features.
Alongside interfacing with Python to run the core algorithm, this package
contains functions for processing data before and after model training, running
imputation model diagnostics, generating multiple completed datasets, and
estimating regression models on these datasets.  For more information see Lall
and Robinson (2023) <doi:10.18637/jss.v107.i09>.")
    (license license:asl2.0)))

(define-public r-rmi
  (package
    (name "r-rmi")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmi" version))
       (sha256
        (base32 "1y0395l9lhskdrk3x9ps2dmv0sznsba0n6a9fmma33dc9dhywgf9"))))
    (properties `((upstream-name . "rmi")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-bh))
    (home-page "https://cran.r-project.org/package=rmi")
    (synopsis "Mutual Information Estimators")
    (description
     "This package provides mutual information estimators based on k-nearest neighbor
estimators by A. Kraskov, et al. (2004) <doi:10.1103/@code{PhysRevE.69.066138>},
S. Gao, et al. (2015) <http://proceedings.mlr.press/v38/gao15.pdf> and local
density estimators by W. Gao, et al. (2017) <doi:10.1109/ISIT.2017.8006749>.")
    (license license:gpl3)))

(define-public r-rmgarch
  (package
    (name "r-rmgarch")
    (version "1.3-9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmgarch" version))
       (sha256
        (base32 "0sg10j4jp74s65lzs2da2qqdcwgkf71rss9p7f1b14n2yz7xdf1v"))))
    (properties `((upstream-name . "rmgarch")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-spd
                             r-shape
                             r-rugarch
                             r-rsolnp
                             r-rcpparmadillo
                             r-rcpp
                             r-pcapp
                             r-matrix
                             r-mass
                             r-ff
                             r-corpcor
                             r-bessel))
    (home-page "http://www.unstarched.net")
    (synopsis "Multivariate GARCH Models")
    (description
     "Feasible multivariate GARCH models including DCC, GO-GARCH and Copula-GARCH.")
    (license license:gpl3)))

(define-public r-rmfanova
  (package
    (name "r-rmfanova")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmfanova" version))
       (sha256
        (base32 "1wm849b2s1s691ln9vycww0ai5002y7y92a2vkrg7g50rgqg21qa"))))
    (properties `((upstream-name . "rmfanova")))
    (build-system r-build-system)
    (propagated-inputs (list r-refund r-mass r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=rmfanova")
    (synopsis "Repeated Measures Functional Analysis of Variance")
    (description
     "The provided package implements the statistical tests for the functional
repeated measures analysis problem (Kurylo and Smaga, 2023,
<@code{arXiv:2306.03883>}).  These procedures enable us to verify the overall
hypothesis regarding equality, as well as hypotheses for pairwise comparisons
(i.e., post hoc analysis) of mean functions corresponding to repeated
experiments.")
    (license (list license:lgpl2.0 license:lgpl3 license:gpl2 license:gpl3))))

(define-public r-rmetalog
  (package
    (name "r-rmetalog")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmetalog" version))
       (sha256
        (base32 "1naqhv81gdcgl2vi2sa3nb006mn8dxc0rdc49v321a5b10bybzvr"))))
    (properties `((upstream-name . "rmetalog")))
    (build-system r-build-system)
    (propagated-inputs (list r-lpsolve r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rmetalog")
    (synopsis "The Metalog Distribution")
    (description
     "Implementation of the metalog distribution in R. The metalog distribution is a
modern, highly flexible, data-driven distribution.  Metalogs are developed by
Keelin (2016) <doi:10.1287/deca.2016.0338>.  This package provides functions to
build these distributions from raw data.  Resulting metalog objects are then
useful for exploratory and probabilistic analysis.")
    (license license:expat)))

(define-public r-rmerec
  (package
    (name "r-rmerec")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmerec" version))
       (sha256
        (base32 "096pifh9f3ml9zmqwqhi15cfpkhpbni88j075cpqja8ybl390lly"))))
    (properties `((upstream-name . "rmerec")))
    (build-system r-build-system)
    (home-page "https://github.com/lucassp/rmerec")
    (synopsis "MEREC - Method Based on the Removal Effects of Criteria")
    (description
     "Implementation of the MEthod based on the Removal Effects of Criteria - MEREC- a
new objective weighting method for determining criteria weights for Multiple
Criteria Decision Making problems, created by Mehdi Keshavarz-Ghorabaee (2021)
<doi:10.3390/sym13040525>.  Given a decision matrix, the function return the
MerecÂ´s weight vector and all intermediate matrix/vectors used to calculate it.")
    (license license:gpl3+)))

(define-public r-rmediation
  (package
    (name "r-rmediation")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMediation" version))
       (sha256
        (base32 "16zw8ic8h2q1qg627ddaxmr9dvj7ckdljbzfgwq557nxc2fgk1v2"))))
    (properties `((upstream-name . "RMediation")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-openmx
                             r-modelr
                             r-mass
                             r-lavaan
                             r-iterators
                             r-foreach
                             r-e1071
                             r-doparallel))
    (home-page "https://cran.r-project.org/package=RMediation")
    (synopsis "Mediation Analysis Confidence Intervals")
    (description
     "We provide functions to compute confidence intervals for a well-defined
nonlinear function of the model parameters (e.g., product of k coefficients) in
single--level and multilevel structural equation models.  It also computes a
chi-square test statistic for a function of indirect effects.  Tofighi', D. and
@code{MacKinnon}', D. P. (2011).  RMediation An R package for mediation analysis
confidence intervals.  Behavior Research Methods, 43, 692--700.
<doi:10.3758/s13428-011-0076-x>.  Tofighi', D. (2020).  Bootstrap Model-Based
Constrained Optimization Tests of Indirect Effects.  Frontiers in Psychology,
10, 2989. <doi:10.3389/fpsyg.2019.02989>.")
    (license license:gpl2)))

(define-public r-rmecabko
  (package
    (name "r-rmecabko")
    (version "0.1.6.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RmecabKo" version))
       (sha256
        (base32 "1i08wlfd14wmvwrsvjyhgzxkwzfp4jiwbzymw8m25pvyjxgi7jmy"))))
    (properties `((upstream-name . "RmecabKo")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-rcpp))
    (home-page "https://cran.r-project.org/package=RmecabKo")
    (synopsis "An 'Rcpp' Interface for Eunjeon Project")
    (description
     "An Rcpp interface for Eunjeon project <http://eunjeon.blogspot.com/>.  The
mecab-ko and mecab-ko-dic is based on a C++ library, and part-of-speech tagging
with them is useful when the spacing of source Korean text is not correct.  This
package provides part-of-speech tagging and tokenization function for Korean
text.")
    (license license:gpl2+)))

(define-public r-rmea
  (package
    (name "r-rmea")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rMEA" version))
       (sha256
        (base32 "18manb926yd6a3b6im7g2vf1cbvvdkg15i6zl223npckhna2nbx0"))))
    (properties `((upstream-name . "rMEA")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rMEA")
    (synopsis "Synchrony in Motion Energy Analysis (MEA) Time-Series")
    (description
     "This package provides a suite of tools useful to read, visualize and export
bivariate motion energy time-series.  Lagged synchrony between subjects can be
analyzed through windowed cross-correlation.  Surrogate data generation allows
an estimation of pseudosynchrony that helps to estimate the effect size of the
observed synchronization.  Kleinbub, J. R., & Ramseyer, F. T. (2020).
@code{rMEA}: An R package to assess nonverbal synchronization in motion energy
analysis time-series.  Psychotherapy research, 1-14.
<doi:10.1080/10503307.2020.1844334>.")
    (license license:gpl3)))

(define-public r-rmdwc
  (package
    (name "r-rmdwc")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmdwc" version))
       (sha256
        (base32 "0s7k54ggf0zdkkjg8k5jz2kfjpw99i59k82xqgvj7qaxvakm7vss"))))
    (properties `((upstream-name . "rmdwc")))
    (build-system r-build-system)
    (propagated-inputs (list r-rstudioapi r-knitr))
    (home-page "https://cran.r-project.org/package=rmdwc")
    (synopsis "Count Words, Chars and Non-Whitespace Chars in R Markdown Docs")
    (description
     "If you are using R Markdown documents then you have sometimes restrictions about
the size of the documents, e.g. number of words, number of characters or
non-whitespace characters.  rmdcount() computes these counts with and without
code chunks and returns the result as data frame.")
    (license license:gpl3)))

(define-public r-rmdplugr
  (package
    (name "r-rmdplugr")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmdplugr" version))
       (sha256
        (base32 "16wmrya8wdipqcrh34k4v4iq05aqd0jwf7rg6w1wsvx2i9211xg6"))))
    (properties `((upstream-name . "rmdplugr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rmarkdown r-bookdown))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jolars/rmdplugr")
    (synopsis "Plugins for R Markdown Formats")
    (description
     "Formats for R Markdown that undo modifications by pandoc and rmarkdown to
original latex templates, such as smaller margins, paragraph spacing, and
compact titles.  In addition, enhancements such as author blocks with
affiliations and headers and footers are introduced.  All of this functionality
is built around plugins that modify the default pandoc template without relying
on custom templates.")
    (license license:gpl3)))

(define-public r-rmdpartials
  (package
    (name "r-rmdpartials")
    (version "0.5.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmdpartials" version))
       (sha256
        (base32 "15dw0pk1hdif839k60swna4li04inf7fzsiq9bxbw2wk5pdkqirn"))))
    (properties `((upstream-name . "rmdpartials")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-knitr r-digest))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rubenarslan/rmdpartials")
    (synopsis "Partial 'rmarkdown' Documents to Prettify your Reports")
    (description
     "Use rmarkdown partials, also know as child documents in knitr', so you can make
components for HTML, PDF, and Word documents.  The package provides various
helper functions to make certain functions easier.  You may want to use this
package, if you want to flexibly summarise objects using a combination of
figures, tables, text, and HTML widgets.  Unlike HTML widgets, the output is
Markdown and can hence be turn into other output formats than HTML.")
    (license license:expat)))

(define-public r-rmdl
  (package
    (name "r-rmdl")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmdl" version))
       (sha256
        (base32 "10kx3bwwb5v2k37mn1wwqrbqj6nhgz649l4fzg12l8g6mpk5m1w1"))))
    (properties `((upstream-name . "rmdl")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-tidyr
                             r-tibble
                             r-rlang
                             r-purrr
                             r-pillar
                             r-janitor
                             r-generics
                             r-dplyr
                             r-broom))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/shah-in-boots/rmdl")
    (synopsis "Language to Manage Many Models")
    (description
     "This package provides a system for describing and manipulating the many models
that are generated in causal inference and data analysis projects, as based on
the causal theory and criteria of Austin Bradford Hill (1965)
<doi:10.1177/003591576505800503>.  This system includes the addition of formal
attributes that modify base `R` objects, including terms and formulas, with a
focus on variable roles in the \"do-calculus\" of modeling, as described in Pearl
(2010) <doi:10.2202/1557-4679.1203>.  For example, the definition of exposure,
outcome, and interaction are implicit in the roles variables take in a formula.
These premises allow for a more fluent modeling approach focusing on variable
relationships, and assessing effect modification, as described by
@code{VanderWeele} and Robins (2007) <doi:10.1097/EDE.0b013e318127181b>.  The
essential goal is to help contextualize formulas and models in
causality-oriented workflows.")
    (license license:expat)))

(define-public r-rmdhelpers
  (package
    (name "r-rmdhelpers")
    (version "1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmdHelpers" version))
       (sha256
        (base32 "0bmdq6s8ywakz3gxskm6ph2gc80yzrjnzns4q09n05hy6l034058"))))
    (properties `((upstream-name . "rmdHelpers")))
    (build-system r-build-system)
    (propagated-inputs (list r-knitr r-dplyr))
    (home-page "https://cran.r-project.org/package=rmdHelpers")
    (synopsis "Helper Functions for Rmd Documents")
    (description
     "This package provides a series of functions to aid in repeated tasks for Rmd
documents.  All details are to my personal preference, though I am happy to add
flexibility if there are use cases I am missing.  I will continue updating with
new functions as I add utility functions for myself.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rmdformats
  (package
    (name "r-rmdformats")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmdformats" version))
       (sha256
        (base32 "00iccwxlks1y4v6m3abzkb0hcpk4cgagigzgy98xaja846lc8acz"))))
    (properties `((upstream-name . "rmdformats")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-rmarkdown r-knitr r-htmltools r-bookdown))
    (native-inputs (list esbuild))
    (home-page "https://github.com/juba/rmdformats")
    (synopsis "HTML Output Formats and Templates for 'rmarkdown' Documents")
    (description
     "HTML formats and templates for rmarkdown documents, with some extra features
such as automatic table of contents, lightboxed figures, dynamic crosstab
helper.")
    (license license:gpl2+)))

(define-public r-rmdconcord
  (package
    (name "r-rmdconcord")
    (version "0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RmdConcord" version))
       (sha256
        (base32 "0fh1pzpbqsqkh6d6s7d4294nb4kmj71brr145fgil3a8hhbzsmp8"))))
    (properties `((upstream-name . "RmdConcord")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-rmarkdown r-knitr))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://github.com/dmurdoch/RmdConcord")
    (synopsis "Concordances for 'R Markdown'")
    (description
     "Supports concordances in R Markdown documents.  This currently allows the
original source location in the .Rmd file of errors detected by HTML tidy to be
found more easily, and potentially allows forward and reverse search in HTML and
@code{LaTeX} documents produced from R Markdown'.  The @code{LaTeX} support has
been included in the most recent development version of the @code{patchDVI}
package.")
    (license license:gpl2)))

(define-public r-rmda
  (package
    (name "r-rmda")
    (version "1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmda" version))
       (sha256
        (base32 "1m7j79jwii9la47w34ka3yl1n7nql8pfn32if0aycn4yw5sy8dmc"))))
    (properties `((upstream-name . "rmda")))
    (build-system r-build-system)
    (propagated-inputs (list r-reshape r-pander r-mass r-caret))
    (home-page "http://mdbrown.github.io/rmda/")
    (synopsis "Risk Model Decision Analysis")
    (description
     "This package provides tools to evaluate the value of using a risk prediction
instrument to decide treatment or intervention (versus no treatment or
intervention).  Given one or more risk prediction instruments (risk models) that
estimate the probability of a binary outcome, rmda provides functions to
estimate and display decision curves and other figures that help assess the
population impact of using a risk model for clinical decision making.  Here,
\"population\" refers to the relevant patient population.  Decision curves display
estimates of the (standardized) net benefit over a range of probability
thresholds used to categorize observations as high risk'.  The curves help
evaluate a treatment policy that recommends treatment for patients who are
estimated to be high risk by comparing the population impact of a risk-based
policy to \"treat all\" and \"treat none\" intervention policies.  Curves can be
estimated using data from a prospective cohort.  In addition, rmda can estimate
decision curves using data from a case-control study if an estimate of the
population outcome prevalence is available.  Version 1.4 of the package provides
an alternative framing of the decision problem for situations where treatment is
the standard-of-care and a risk model might be used to recommend that low-risk
patients (i.e., patients below some risk threshold) opt out of treatment.
Confidence intervals calculated using the bootstrap can be computed and
displayed.  A wrapper function to calculate cross-validated curves using k-fold
cross-validation is also provided.")
    (license license:gpl2)))

(define-public r-rmcorr
  (package
    (name "r-rmcorr")
    (version "0.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmcorr" version))
       (sha256
        (base32 "03i460ccajvy2swb86mcygs2wxjiyw0k9vx6vc4gqvh0l772ciha"))))
    (properties `((upstream-name . "rmcorr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcolorbrewer r-psych))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/lmarusich/rmcorr")
    (synopsis "Repeated Measures Correlation")
    (description
     "Compute the repeated measures correlation, a statistical technique for
determining the overall within-individual relationship among paired measures
assessed on two or more occasions, first introduced by Bland and Altman (1995).
Includes functions for diagnostics, p-value, effect size with confidence
interval including optional bootstrapping, as well as graphing.  Also includes
several example datasets.  For more details, see the web documentation
<https://lmarusich.github.io/rmcorr/index.html> and the original paper: Bakdash
and Marusich (2017) <doi:10.3389/fpsyg.2017.00456>.")
    (license license:gpl2)))

(define-public r-rmcfs
  (package
    (name "r-rmcfs")
    (version "1.3.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmcfs" version))
       (sha256
        (base32 "0hj3nnbihvy37ky89x8frfd95slh8ff6l6msr0xdm03bl8jqcd72"))))
    (properties `((upstream-name . "rmcfs")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-yaml
                             r-stringi
                             r-rjava
                             r-reshape2
                             r-igraph
                             r-gridextra
                             r-ggplot2
                             r-dplyr
                             r-data-table))
    (native-inputs (list r-r-rsp))
    (home-page "https://home.ipipan.waw.pl/m.draminski/mcfs.html")
    (synopsis
     "The MCFS-ID Algorithm for Feature Selection and Interdependency Discovery")
    (description
     "MCFS-ID (Monte Carlo Feature Selection and Interdependency Discovery) is a Monte
Carlo method-based tool for feature selection.  It also allows for the discovery
of interdependencies between the relevant features.  MCFS-ID is particularly
suitable for the analysis of high-dimensional, small n large p transactional and
biological data.  M. Draminski, J. Koronacki (2018) <doi:10.18637/jss.v085.i12>.")
    (license license:gpl3)))

(define-public r-rmcc
  (package
    (name "r-rmcc")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMCC" version))
       (sha256
        (base32 "0nzbjnayp85541pnibal517dhc0s7mhlllshx36m44lv2x3figpl"))))
    (properties `((upstream-name . "RMCC")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (home-page "https://cran.r-project.org/package=RMCC")
    (synopsis "Airborne LiDAR Filtering Method Based on Multiscale Curvature")
    (description
     "Multiscale Curvature Classification of ground returns in 3-D @code{LiDAR} point
clouds, designed for forested environments.  RMCC is a porting to R of the
MCC-lidar method by Evans and Hudak (2007) <doi:10.1109/TGRS.2006.890412>.")
    (license license:expat)))

(define-public r-rmbc
  (package
    (name "r-rmbc")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMBC" version))
       (sha256
        (base32 "1fqbr28d09j01rmr9gylzkpvrd6bc9rnjbyzv06hmlx5mmjmzkb4"))))
    (properties `((upstream-name . "RMBC")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm r-mass r-ktaucenters))
    (home-page "https://cran.r-project.org/package=RMBC")
    (synopsis "Robust Model Based Clustering")
    (description
     "This package provides a robust clustering algorithm (Model-Based) similar to
Expectation Maximization for finite mixture normal distributions is implemented,
its main advantage is that the estimator is resistant to outliers, that means
that results of parameter estimation are still correct when there are atypical
values in the sample (see Gonzalez, Maronna, Yohai and Zamar (2021)
<arxiv:2102.06851>).")
    (license license:gpl2+)))

(define-public r-rmbayes
  (package
    (name "r-rmbayes")
    (version "0.1.16")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmBayes" version))
       (sha256
        (base32 "1a32xghqphnyx8w8dy6970f5d30m5ghjgwxa5g7qbzw3fc0b7ic3"))))
    (properties `((upstream-name . "rmBayes")))
    (build-system r-build-system)
    (propagated-inputs (list r-stanheaders
                             r-rstantools
                             r-rstan
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-bh))
    (home-page "https://github.com/zhengxiaoUVic/rmBayes")
    (synopsis "Performing Bayesian Inference for Repeated-Measures Designs")
    (description
     "This package provides a Bayesian credible interval is interpreted with respect
to posterior probability, and this interpretation is far more intuitive than
that of a frequentist confidence interval.  However, standard highest-density
intervals can be wide due to between-subjects variability and tends to hide
within-subject effects, rendering its relationship with the Bayes factor less
clear in within-subject (repeated-measures) designs.  This urgent issue can be
addressed by using within-subject intervals in within-subject designs, which
integrate four methods including the Wei-Nathoo-Masson (2023)
<doi:10.3758/s13423-023-02295-1>, the Loftus-Masson (1994)
<doi:10.3758/BF03210951>, the Nathoo-Kilshaw-Masson (2018)
<doi:10.1016/j.jmp.2018.07.005>, and the Heck (2019) <doi:10.31234/osf.io/whp8t>
interval estimates.")
    (license license:gpl3+)))

(define-public r-rmawgen
  (package
    (name "r-rmawgen")
    (version "1.3.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMAWGEN" version))
       (sha256
        (base32 "10hgssy59fcjbv333grpf6f3m7924hav66xxqhdlsdnwix19q7sb"))))
    (properties `((upstream-name . "RMAWGEN")))
    (build-system r-build-system)
    (propagated-inputs (list r-vars r-date r-chron))
    (home-page "https://github.com/ecor/RMAWGEN")
    (synopsis "Multi-Site Auto-Regressive Weather GENerator")
    (description
     "S3 and S4 functions are implemented for spatial multi-site stochastic generation
of daily time series of temperature and precipitation.  These tools make use of
Vector @code{AutoRegressive} models (VARs).  The weather generator model is then
saved as an object and is calibrated by daily instrumental \"Gaussianized\" time
series through the vars package tools.  Once obtained this model, it can it can
be used for weather generations and be adapted to work with several climatic
monthly time series.")
    (license license:gpl2+)))

(define-public r-rmatio
  (package
    (name "r-rmatio")
    (version "0.19.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmatio" version))
       (sha256
        (base32 "0640h71vbhasbankasxi24069g1la8b69vhz82ds0j52pf7kn2rb"))))
    (properties `((upstream-name . "rmatio")))
    (build-system r-build-system)
    (inputs (list zlib))
    (propagated-inputs (list r-matrix))
    (native-inputs (list pkg-config))
    (home-page "https://github.com/stewid/rmatio")
    (synopsis "Read and Write 'Matlab' Files")
    (description
     "Read and write Matlab MAT files from R. The rmatio package supports reading MAT
version 4, MAT version 5 and MAT compressed version 5.  The rmatio package can
write version 5 MAT files and version 5 files with variable compression.")
    (license license:gpl3)))

(define-public r-rmat
  (package
    (name "r-rmat")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMAT" version))
       (sha256
        (base32 "15bn9smlw9czryh6dvkpqxcp25sqd1vfq2cbs8wpg7nq58xyc6y4"))))
    (properties `((upstream-name . "RMAT")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr r-magrittr r-dplyr))
    (home-page "https://cran.r-project.org/package=RMAT")
    (synopsis "Random Matrix Analysis Toolkit")
    (description
     "Simulate random matrices and ensembles and compute their eigenvalue spectra and
dispersions.")
    (license license:expat)))

(define-public r-rmass2
  (package
    (name "r-rmass2")
    (version "0.0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmass2" version))
       (sha256
        (base32 "0bbjqna65ldxv3wjidzv89fnsxm939scfsiba4pi54saxa7d9vqc"))))
    (properties `((upstream-name . "rmass2")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rmass2")
    (synopsis
     "Repeated Measures with Attrition: Sample Sizes and Power Levels for 2 Groups")
    (description
     "For the calculation of sample size or power in a two-group repeated measures
design, accounting for attrition and accommodating a variety of correlation
structures for the repeated measures; details of the method can be found in the
scientific paper: Donald Hedeker, Robert D. Gibbons, Christine Waternaux (1999)
<doi:10.3102/10769986024001070>.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rmark
  (package
    (name "r-rmark")
    (version "3.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMark" version))
       (sha256
        (base32 "0nrh55rmfkrncpc58hranjww37dp8qrngkcazs5nmznw8r10z8h8"))))
    (properties `((upstream-name . "RMark")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-msm r-matrixcalc r-coda))
    (home-page "https://cran.r-project.org/package=RMark")
    (synopsis "R Code for Mark Analysis")
    (description
     "An interface to the software package MARK that constructs input files for MARK
and extracts the output.  MARK was developed by Gary White and is freely
available at <http://www.phidot.org/software/mark/downloads/> but is not open
source.")
    (license license:gpl2+)))

(define-public r-rmarineheatwaves
  (package
    (name "r-rmarineheatwaves")
    (version "0.17.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RmarineHeatWaves" version))
       (sha256
        (base32 "09lrrxnkkfnbidnmag1czx2xzssdl09348nkc6pqgq6xz36a3mqc"))))
    (properties `((upstream-name . "RmarineHeatWaves")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-tidyr
                             r-tibble
                             r-rlang
                             r-raster
                             r-plyr
                             r-lubridate
                             r-lazyeval
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ajsmit/RmarineHeatWaves")
    (synopsis "Detect Marine Heat Waves and Marine Cold Spells")
    (description
     "Given a time series of daily temperatures, the package provides tools to detect
extreme thermal events, including marine heat waves, and to calculate the
exceedances above or below specified threshold values.  It outputs the
properties of all detected events and exceedances.")
    (license license:expat)))

(define-public r-rmariadb
  (package
    (name "r-rmariadb")
    (version "1.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMariaDB" version))
       (sha256
        (base32 "0a38hbc9nc25x9a8z91wc24h4llmyhjim6vavmwrx2r14c3fz1vw"))))
    (properties `((upstream-name . "RMariaDB")))
    (build-system r-build-system)
    (inputs (list zlib openssl))
    (propagated-inputs (list r-rlang
                             r-plogr
                             r-lubridate
                             r-hms
                             r-dbi
                             r-cpp11
                             r-blob
                             r-bit64))
    (home-page "https://rmariadb.r-dbi.org")
    (synopsis "Database Interface and MariaDB Driver")
    (description
     "This package implements a DBI-compliant interface to @code{MariaDB}
(<https://mariadb.org/>) and @code{MySQL} (<https://www.mysql.com/>) databases.")
    (license license:expat)))

(define-public r-rmargint
  (package
    (name "r-rmargint")
    (version "2.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmargint" version))
       (sha256
        (base32 "1z76wz067jnd8zg343gkmn4ac4zyzxyafpndkhdrrh5h33y2whjs"))))
    (properties `((upstream-name . "rmargint")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rmargint")
    (synopsis "Robust Marginal Integration Procedures")
    (description
     "Three robust marginal integration procedures for additive models based on local
polynomial kernel smoothers.  As a preliminary estimator of the multivariate
function for the marginal integration procedure, a first approach uses local
constant M-estimators, a second one uses local polynomials of order 1 over all
the components of covariates, and the third one uses M-estimators based on local
polynomials but only in the direction of interest.  For this last approach,
estimators of the derivatives of the additive functions can be obtained.  All
three procedures can compute predictions for points outside the training set if
desired.  See Boente and Martinez (2017) <doi:10.1007/s11749-016-0508-0> for
details.")
    (license license:gpl3+)))

(define-public r-rmarchingcubes
  (package
    (name "r-rmarchingcubes")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmarchingcubes" version))
       (sha256
        (base32 "0cdmy728irmbd40xsc2k4r2g8am7s72ks7cw465fa92ml2xa6iq8"))))
    (properties `((upstream-name . "rmarchingcubes")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/shwilks/rmarchingcubes")
    (synopsis "Calculate 3D Contour Meshes Using the Marching Cubes Algorithm")
    (description
     "This package provides a port of the C++ routine for applying the marching cubes
algorithm written by Thomas Lewiner et al. (2012)
<doi:10.1080/10867651.2003.10487582> into an R package.  The package supplies
the contour3d() function, which takes a 3-dimensional array of voxel data and
calculates the vertices, vertex normals, and faces for a 3d mesh representing
the contour(s) at a given level.")
    (license license:expat)))

(define-public r-rmapzen
  (package
    (name "r-rmapzen")
    (version "0.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmapzen" version))
       (sha256
        (base32 "17nphlsck1fjkhfjbwdxzyxxn23z626wy49gpkf2jvan4lg7bb84"))))
    (properties `((upstream-name . "rmapzen")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-sf
                             r-purrr
                             r-jsonlite
                             r-isocodes
                             r-httr
                             r-geojsonio
                             r-dplyr
                             r-digest
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://tarakc02.github.io/rmapzen/")
    (synopsis "Client for 'Mapzen' and Related Map APIs")
    (description
     "This package provides an interface to Mapzen'-based APIs (including
geocode.earth, Nextzen, and NYC @code{GeoSearch}) for geographic search and
geocoding, isochrone calculation, and vector data to draw map tiles.  See
<https://www.mapzen.com/documentation/> for more information.  The original
Mapzen has gone out of business, but rmapzen can be set up to work with any
provider who implements the Mapzen API.")
    (license license:expat)))

(define-public r-rmalschains
  (package
    (name "r-rmalschains")
    (version "0.2-10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rmalschains" version))
       (sha256
        (base32 "15z2jz5zv3cw18kgvpm11g2i5p397h4a34j08wbkgmnjca76sgmd"))))
    (properties `((upstream-name . "Rmalschains")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=Rmalschains")
    (synopsis
     "Continuous Optimization using Memetic Algorithms with Local Search Chains (MA-LS-Chains)")
    (description
     "An implementation of an algorithm family for continuous optimization called
memetic algorithms with local search chains (MA-LS-Chains), as proposed in
Molina et al. (2010) <doi:10.1162/evco.2010.18.1.18102> and Molina et al. (2011)
<doi:10.1007/s00500-010-0647-2>.  Rmalschains is further discussed in Bergmeir
et al. (2016) <doi:10.18637/jss.v075.i04>.  Memetic algorithms are
hybridizations of genetic algorithms with local search methods.  They are
especially suited for continuous optimization.")
    (license license:gpl3)))

(define-public r-rmallow
  (package
    (name "r-rmallow")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMallow" version))
       (sha256
        (base32 "1s6a3347739rfc8rrh2773b278gcbp8hf5j5psm61fz7bavy9gcj"))))
    (properties `((upstream-name . "RMallow")))
    (build-system r-build-system)
    (propagated-inputs (list r-combinat))
    (home-page "https://cran.r-project.org/package=RMallow")
    (synopsis "Fit Multi-Modal Mallows' Models to Ranking Data")
    (description
     "An EM algorithm to fit Mallows Models to full or partial rankings, with or
without ties.  Based on Adkins and Flinger (1998)
<doi:10.1080/03610929808832223>.")
    (license license:gpl2+)))

(define-public r-rmake
  (package
    (name "r-rmake")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmake" version))
       (sha256
        (base32 "00qlki2vps505nxzmfykf1iyq4b0y20nb75hbfcj63ap46z7zk3c"))))
    (properties `((upstream-name . "rmake")))
    (build-system r-build-system)
    (propagated-inputs (list r-visnetwork r-rmarkdown r-pryr r-assertthat))
    (home-page "https://cran.r-project.org/package=rmake")
    (synopsis "Makefile Generator for R Analytical Projects")
    (description
     "This package creates and maintains a build process for complex analytic tasks in
R. Package allows to easily generate Makefile for the (GNU) make tool, which
drives the build process by (in parallel) executing build commands in order to
update results accordingly to given dependencies on changed data or updated
source files.")
    (license license:gpl3+)))

(define-public r-rmaczek
  (package
    (name "r-rmaczek")
    (version "1.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RMaCzek" version))
       (sha256
        (base32 "17vnan5c4yxzbx95x4mk9j7ff0nz26rzdpxydv7dnsqygpcf58a5"))))
    (properties `((upstream-name . "RMaCzek")))
    (build-system r-build-system)
    (propagated-inputs (list r-seriation
                             r-rcolorbrewer
                             r-ga
                             r-fuzzydbscan
                             r-ecp
                             r-e1071))
    (home-page "https://cran.r-project.org/package=RMaCzek")
    (synopsis "Czekanowski's Diagrams")
    (description
     "Allows for production of Czekanowski's Diagrams with clusters.  See K.
Bartoszek, A. Vasterlund (2020) <doi:10.2478/bile-2020-0008> and K. Bartoszek,
Y. Luo (2023) <doi:10.14708/ma.v51i2.7259>.")
    (license license:gpl3)))

(define-public r-rmacrostrat
  (package
    (name "r-rmacrostrat")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rmacrostrat" version))
       (sha256
        (base32 "19q9azaskbnd8bph8lb7fpvmgn0mb1b2xsmfm1iq8mjd18iigv60"))))
    (properties `((upstream-name . "rmacrostrat")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-jsonlite r-httr r-geojsonsf r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://rmacrostrat.palaeoverse.org")
    (synopsis "Fetch Geologic Data from the 'Macrostrat' Platform")
    (description
     "Work with the Macrostrat (<https://macrostrat.org/>) Web Service (v.2,
<https://macrostrat.org/api/v2>) to fetch geological data relevant to the
spatial and temporal distribution of sedimentary, igneous, and metamorphic rocks
as well as data extracted from them.")
    (license license:gpl3+)))

(define-public r-rma-exact
  (package
    (name "r-rma-exact")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rma.exact" version))
       (sha256
        (base32 "1igs92la79akyqj84ah23lpcay7i33k7zgzcwm7sii782fhirivx"))))
    (properties `((upstream-name . "rma.exact")))
    (build-system r-build-system)
    (propagated-inputs (list r-metafor r-abind))
    (home-page "https://cran.r-project.org/package=rma.exact")
    (synopsis "Exact Confidence Intervals for Random Effects Meta-Analyses")
    (description
     "Compute an exact CI for the population mean under a random effects model.  The
routines implement the algorithm described in Michael, Thronton, Xie, and Tian
(2017) <https://haben-michael.github.io/research/Exact_Inference_Meta.pdf>.")
    (license license:gpl3)))

(define-public r-rm2006
  (package
    (name "r-rm2006")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RM2006" version))
       (sha256
        (base32 "1bx2y58c8fkpv0d1sn5abxbajks3sbz2v00idnvbp7rw1i05i5q4"))))
    (properties `((upstream-name . "RM2006")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RM2006")
    (synopsis "RiskMetrics 2006 Methodology")
    (description
     "Estimation of the conditional covariance matrix using the @code{RiskMetrics}
2006 methodology of Zumbach (2007) <doi:10.2139/ssrn.1420185>.")
    (license license:gpl2+)))

(define-public r-rm-weights
  (package
    (name "r-rm-weights")
    (version "2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RM.weights" version))
       (sha256
        (base32 "1by1z7gwwx0jjhhvsjkr7f6m7n0x43bj080ah5275cja7xqr5nm6"))))
    (properties `((upstream-name . "RM.weights")))
    (build-system r-build-system)
    (propagated-inputs (list r-psychotools r-hmisc))
    (home-page "https://cran.r-project.org/package=RM.weights")
    (synopsis
     "Weighted Rasch Modeling and Extensions using Conditional Maximum Likelihood")
    (description
     "Rasch model and extensions for survey data, using Conditional Maximum likelihood
(CML).  Carlo Cafiero, Sara Viviani, Mark Nord (2018)
<doi:10.1016/j.measurement.2017.10.065>.")
    (license (license:fsdg-compatible "GPL (>= 3.0.0)"))))

(define-public r-rly
  (package
    (name "r-rly")
    (version "1.7.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rly" version))
       (sha256
        (base32 "044rpc1gs1jhm2hlmdmwinf24qvh2d0d6kg55zicmwdcdf8gnn8z"))))
    (properties `((upstream-name . "rly")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6 r-futile-logger))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/systemincloud/rly")
    (synopsis "Tools to Create Formal Language Parser")
    (description "R implementation of the common parsing tools lex and yacc'.")
    (license license:expat)))

(define-public r-rlumshiny
  (package
    (name "r-rlumshiny")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RLumShiny" version))
       (sha256
        (base32 "12dc30q41b1vha52mn9rr1m86ykp3yfsyxcxxwklavd60g76b8vd"))))
    (properties `((upstream-name . "RLumShiny")))
    (build-system r-build-system)
    (propagated-inputs (list r-shinydashboard
                             r-shiny
                             r-rhandsontable
                             r-readxl
                             r-rcarb
                             r-markdown
                             r-luminescence
                             r-knitr
                             r-googlevis
                             r-dt
                             r-data-table))
    (home-page "https://tzerk.github.io/RLumShiny/")
    (synopsis "'Shiny' Applications for the R Package 'Luminescence'")
    (description
     "This package provides a collection of shiny applications for the R package
Luminescence'.  These mainly, but not exclusively, include applications for
plotting chronometric data from e.g. luminescence or radiocarbon dating.  It
further provides access to bootstraps tooltip and popover functionality and
contains the jscolor.js library with a custom shiny output binding.")
    (license license:gpl3)))

(define-public r-rlummodel
  (package
    (name "r-rlummodel")
    (version "0.2.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RLumModel" version))
       (sha256
        (base32 "1klb7zvxksij517bi8xi68bia6y7jlp3ils659mmwdm2w0ljmwa6"))))
    (properties `((upstream-name . "RLumModel")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-luminescence r-khroma
                             r-desolve))
    (native-inputs (list r-r-rsp))
    (home-page "https://CRAN.R-project.org/package=RLumModel")
    (synopsis
     "Solving Ordinary Differential Equations to Understand Luminescence")
    (description
     "This package provides a collection of functions to simulate luminescence signals
in quartz and Al2O3 based on published models.")
    (license license:gpl3)))

(define-public r-rlumcarlo
  (package
    (name "r-rlumcarlo")
    (version "0.1.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RLumCarlo" version))
       (sha256
        (base32 "1a57nrhnq2q68yi0djh40kk1ms075kpwnmiq33vvy5pl57axnqpr"))))
    (properties `((upstream-name . "RLumCarlo")))
    (build-system r-build-system)
    (propagated-inputs (list r-scatterplot3d
                             r-rcpparmadillo
                             r-rcpp
                             r-magrittr
                             r-khroma
                             r-foreach
                             r-doparallel
                             r-abind))
    (native-inputs (list r-r-rsp))
    (home-page "https://CRAN.R-project.org/package=RLumCarlo")
    (synopsis "Monte-Carlo Methods for Simulating Luminescence Phenomena")
    (description
     "This package provides a collection of functions to simulate luminescence
production in dosimetric materials using Monte Carlo methods.  Implemented are
models for delocalised transitions (e.g., Chen and @code{McKeever} (1997)
<doi:10.1142/2781>), localised transitions (e.g., Pagonis et al. (2019)
<doi:10.1016/j.jlumin.2018.11.024>) and tunnelling transitions (Jain et al.
(2012) <doi:10.1088/0953-8984/24/38/385402> and Pagonis et al. (2019)
<doi:10.1016/j.jlumin.2018.11.024>).  Supported stimulation methods are thermal
luminescence (TL), continuous-wave optically stimulated luminescence (CW-OSL),
linearly-modulated optically stimulated luminescence (LM-OSL),
linearly-modulated infrared stimulated luminescence (LM-IRSL), and isothermal
luminescence (ITL or ISO-TL).")
    (license license:gpl3)))

(define-public r-rltp
  (package
    (name "r-rltp")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rLTP" version))
       (sha256
        (base32 "04w432m03xwh0szshsrfw5h7wy43q4lj8z0y07k8w6gsf27cy5bx"))))
    (properties `((upstream-name . "rLTP")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl))
    (home-page "https://github.com/hetong007/rLTP")
    (synopsis "R Interface to the 'LTP'-Cloud Service")
    (description
     "R interface to the LTP'-Cloud service for Natural Language Processing in Chinese
(http://www.ltp-cloud.com/).")
    (license license:lgpl2.0+)))

(define-public r-rlt
  (package
    (name "r-rlt")
    (version "3.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RLT" version))
       (sha256
        (base32 "0s2bb8cdvc5ab2n5xxi76c5szgizwbcy21z6762hpqms4g2yhvc6"))))
    (properties `((upstream-name . "RLT")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RLT")
    (synopsis "Reinforcement Learning Trees")
    (description
     "Random forest with a variety of additional features for regression,
classification and survival analysis.  The features include: parallel computing
with @code{OpenMP}, embedded model for selecting the splitting variable, based
on Zhu, Zeng & Kosorok (2015) <doi:10.1080/01621459.2015.1036994>, subject
weight, variable weight, tracking subjects used in each tree, etc.")
    (license license:gpl2+)))

(define-public r-rloptimal
  (package
    (name "r-rloptimal")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RLoptimal" version))
       (sha256
        (base32 "12ac1py0sayhlmnbxahrqzj71kf4z078fxk65k69jhi5rg3hbd61"))))
    (properties `((upstream-name . "RLoptimal")))
    (build-system r-build-system)
    (propagated-inputs (list r-reticulate r-r6 r-glue r-dosefinding))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/MatsuuraKentaro/RLoptimal")
    (synopsis "Optimal Adaptive Allocation Using Deep Reinforcement Learning")
    (description
     "An implementation to compute an optimal adaptive allocation rule using deep
reinforcement learning in a dose-response study (Matsuura et al. (2022)
<doi:10.1002/sim.9247>).  The adaptive allocation rule can directly optimize a
performance metric, such as power, accuracy of the estimated target dose, or
mean absolute error over the estimated dose-response curve.")
    (license license:expat)))

(define-public r-rlogicalops
  (package
    (name "r-rlogicalops")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RLogicalOps" version))
       (sha256
        (base32 "1qyn80x3x3bb5wgzyzw6pxs8a6q26yq1fkmkz7f5wywsnrj8hzfj"))))
    (properties `((upstream-name . "RLogicalOps")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-rstackdeque))
    (home-page "https://cran.r-project.org/package=RLogicalOps")
    (synopsis "Process Logical Operations")
    (description
     "Processing logical operations such as AND/OR/NOT operations dynamically.  It
also handles nesting in the operations.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rlog
  (package
    (name "r-rlog")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlog" version))
       (sha256
        (base32 "0g9gjf37gly68drm8a8zcnwxcigm2djsm3angglzwd04mmlkgwpy"))))
    (properties `((upstream-name . "rlog")))
    (build-system r-build-system)
    (home-page "https://github.com/sellorm/rlog")
    (synopsis "Simple, Opinionated Logging Utility")
    (description
     "This package provides a very lightweight package that writes out log messages in
an opinionated way.  Simpler and lighter than other logging packages, rlog
provides a compact feature set that focuses on getting the job done in a
Unix-like way.")
    (license license:expat)))

(define-public r-rlof
  (package
    (name "r-rlof")
    (version "1.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rlof" version))
       (sha256
        (base32 "068898i310ylddpndh0dsiaiimmdk8pc1rbvh4a8ikihwbc9hk55"))))
    (properties `((upstream-name . "Rlof")))
    (build-system r-build-system)
    (propagated-inputs (list r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=Rlof")
    (synopsis "R Parallel Implementation of Local Outlier Factor(LOF)")
    (description
     "R parallel implementation of Local Outlier Factor(LOF) which uses multiple CPUs
to significantly speed up the LOF computation for large datasets. (Note: The
overall performance depends on the computers especially the number of the
cores).It also supports multiple k values to be calculated in parallel, as well
as various distance measures in addition to the default Euclidean distance.")
    (license license:gpl2+)))

(define-public r-rlme
  (package
    (name "r-rlme")
    (version "0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlme" version))
       (sha256
        (base32 "0p26mw4g12l279lh80vqcjs3pvjr759ap2m622490k1i2ralxzif"))))
    (properties `((upstream-name . "rlme")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-robustbase
                             r-rcpp
                             r-quantreg
                             r-nlme
                             r-mgcv
                             r-mass
                             r-magic))
    (home-page "https://cran.r-project.org/package=rlme")
    (synopsis
     "Rank-Based Estimation and Prediction in Random Effects Nested Models")
    (description
     "Estimates robust rank-based fixed effects and predicts robust random effects in
two- and three- level random effects nested models.  The methodology is
described in Bilgic & Susmann (2013)
<https://journal.r-project.org/archive/2013/RJ-2013-027/>.")
    (license license:gpl2+)))

(define-public r-rlmdatadriven
  (package
    (name "r-rlmdatadriven")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlmDataDriven" version))
       (sha256
        (base32 "1fhh2siafpqmvpxi2piccxvvn5n38s5d6as6iyn43rgpsslswc8g"))))
    (properties `((upstream-name . "rlmDataDriven")))
    (build-system r-build-system)
    (propagated-inputs (list r-tseries r-mass))
    (home-page "https://cran.r-project.org/package=rlmDataDriven")
    (synopsis "Robust Regression with Data Driven Tuning Parameter")
    (description
     "Data driven approach for robust regression estimation in homoscedastic and
heteroscedastic context.  See Wang et al. (2007), <doi:10.1198/106186007X180156>
regarding homoscedastic framework.")
    (license license:gpl2+)))

(define-public r-rllama
  (package
    (name "r-rllama")
    (version "0.4.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rllama" version))
       (sha256
        (base32 "0waxh1di0ga9ya40n3gs9r12vwsb2nq9hd38nqcasy98y2x9p5b7"))))
    (properties `((upstream-name . "rllama")))
    (build-system r-build-system)
    (propagated-inputs (list r-httr r-data-table))
    (home-page "https://github.com/AlexTwoR/rllama")
    (synopsis "Access and Analyze Data from 'DeFiLlama'")
    (description
     "This package provides an interface to access and analyze data from
@code{DeFiLlama'<https://defillama.com>}.  This package simplifies the process
of fetching and manipulating @code{DeFiLlama} data for further analysis and
visualization.")
    (license license:expat)))

(define-public r-rlistings
  (package
    (name "r-rlistings")
    (version "0.2.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlistings" version))
       (sha256
        (base32 "09rgmjh88lp27bfw7rm0xbfw4f1m73hmjcz7f33lvvkbrydc4h91"))))
    (properties `((upstream-name . "rlistings")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-formatters r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://insightsengineering.github.io/rlistings/")
    (synopsis "Clinical Trial Style Data Readout Listings")
    (description
     "Listings are often part of the submission of clinical trial data in regulatory
settings.  We provide a framework for the specific formatting features often
used when displaying large datasets in that context.")
    (license license:asl2.0)))

(define-public r-rlinkedinads
  (package
    (name "r-rlinkedinads")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlinkedinads" version))
       (sha256
        (base32 "1d35imrikv94ldsf0c3x5hilzrsdyisshbw7hby1d76ki40gcj03"))))
    (properties `((upstream-name . "rlinkedinads")))
    (build-system r-build-system)
    (propagated-inputs (list r-urltools
                             r-tidyr
                             r-stringr
                             r-snakecase
                             r-rlang
                             r-rappdirs
                             r-pbapply
                             r-httr2
                             r-dplyr
                             r-cli))
    (home-page "https://cran.r-project.org/package=rlinkedinads")
    (synopsis "Load Data from 'Linkedin Advertising API'")
    (description
     "Get data from Linkedin Advertising API
<https://learn.microsoft.com/en-us/linkedin/marketing/overview?view=li-lms-2023-10>.
 You can load ad account hierarchy (accounts, users, campaign groups, campaigns
and creatives) and also you can load ad analytics data from your Linkedin Ad
account.")
    (license license:expat)))

(define-public r-rlinkedin
  (package
    (name "r-rlinkedin")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rlinkedin" version))
       (sha256
        (base32 "15sbiis1d0s466nqk1adjhflb01sb9kn25f4y6sagkdggvyz6b56"))))
    (properties `((upstream-name . "Rlinkedin")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml r-httr r-httpuv))
    (home-page "https://github.com/mpiccirilli/Rlinkedin")
    (synopsis "Access to the LinkedIn API via R")
    (description
     "This package provides a series of functions that allow users to access the
@code{LinkedIn} API to get information about connections, search for people and
jobs, share updates with their network, and create group discussions.  For more
information about using the API please visit <https://developer.linkedin.com/>.")
    (license license:gpl2)))

(define-public r-rlibkriging
  (package
    (name "r-rlibkriging")
    (version "0.9-0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlibkriging" version))
       (sha256
        (base32 "1d1i1xk2vd80nc8w6n8gxy3a5mxxvbb7vkk425mh68c5qlwgxhrk"))))
    (properties `((upstream-name . "rlibkriging")))
    (build-system r-build-system)
    (inputs (list gfortran gcc cmake))
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-dicekriging))
    (native-inputs (list gfortran))
    (home-page "https://github.com/libKriging")
    (synopsis "Kriging Models using the 'libKriging' Library")
    (description
     "Interface to @code{libKriging} C++ library
<https://github.com/@code{libKriging>} that should provide most standard Kriging
/ Gaussian process regression features (like in @code{DiceKriging}', kergp or
@code{RobustGaSP} packages). @code{libKriging} relies on Armadillo linear
algebra library (Apache 2 license) by Conrad Sanderson, lbfgsb_cpp is a C++ port
around lbfgsb library (BSD-3 license) by Ciyou Zhu, Richard Byrd, Jorge Nocedal
and Jose Luis Morales used for hyperparameters optimization.")
    (license (license:fsdg-compatible "Apache License (>= 2)"))))

(define-public r-rlibkdv
  (package
    (name "r-rlibkdv")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rlibkdv" version))
       (sha256
        (base32 "1lcmnc50bfnrnw03bs3lsxdsj2n3qylfw51w6kvnz9x1qmr9p54p"))))
    (properties `((upstream-name . "Rlibkdv")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-rcpp r-raster r-magrittr r-leaflet))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/bojianzhu/Rlibkdv")
    (synopsis
     "Versatile Kernel Density Visualization Library for Geospatial Analytics (Heatmap)")
    (description
     "Unlock the power of large-scale geospatial analysis, quickly generate
high-resolution kernel density visualizations, supporting advanced analysis
tasks such as bandwidth-tuning and spatiotemporal analysis.  Regardless of the
size of your dataset, our library delivers efficient and accurate results.  Tsz
Nam Chan, Leong Hou U, Byron Choi, Jianliang Xu, Reynold Cheng (2023)
<doi:10.1145/3555041.3589401>.  Tsz Nam Chan, Rui Zang, Pak Lon Ip, Leong Hou U,
Jianliang Xu (2023) <doi:10.1145/3555041.3589711>.  Tsz Nam Chan, Leong Hou U,
Byron Choi, Jianliang Xu (2022) <doi:10.1145/3514221.3517823>.  Tsz Nam Chan,
Pak Lon Ip, Kaiyan Zhao, Leong Hou U, Byron Choi, Jianliang Xu (2022)
<doi:10.14778/3554821.3554855>.  Tsz Nam Chan, Pak Lon Ip, Leong Hou U, Byron
Choi, Jianliang Xu (2022) <doi:10.14778/3503585.3503591>.  Tsz Nam Chan, Pak Lon
Ip, Leong Hou U, Byron Choi, Jianliang Xu (2022) <doi:10.14778/3494124.3494135>.
 Tsz Nam Chan, Pak Lon Ip, Leong Hou U, Weng Hou Tong, Shivansh Mittal, Ye Li,
Reynold Cheng (2021) <doi:10.14778/3476311.3476312>.  Tsz Nam Chan, Zhe Li,
Leong Hou U, Jianliang Xu, Reynold Cheng (2021) <doi:10.14778/3461535.3461540>.
Tsz Nam Chan, Reynold Cheng, Man Lung Yiu (2020) <doi:10.1145/3318464.3380561>.
Tsz Nam Chan, Leong Hou U, Reynold Cheng, Man Lung Yiu, Shivansh Mittal (2020)
<doi:10.1109/TKDE.2020.3018376>.  Tsz Nam Chan, Man Lung Yiu, Leong Hou U (2019)
<doi:10.1109/ICDE.2019.00055>.")
    (license license:expat)))

(define-public r-rlibeemd
  (package
    (name "r-rlibeemd")
    (version "1.4.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rlibeemd" version))
       (sha256
        (base32 "1r3yqs9pc1mllwvw8asppr59kxvmw8dd15wbvn57ngij7kq6aj1l"))))
    (properties `((upstream-name . "Rlibeemd")))
    (build-system r-build-system)
    (inputs (list gsl))
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=Rlibeemd")
    (synopsis
     "Ensemble Empirical Mode Decomposition (EEMD) and Its Complete Variant (CEEMDAN)")
    (description
     "An R interface for libeemd (Luukko, Helske, RÃ¤sÃ¤nen, 2016)
<doi:10.1007/s00180-015-0603-9>, a C library of highly efficient parallelizable
functions for performing the ensemble empirical mode decomposition (EEMD), its
complete variant (CEEMDAN), the regular empirical mode decomposition (EMD), and
bivariate EMD (BEMD).  Due to the possible portability issues CRAN version no
longer supports @code{OpenMP}, you can install @code{OpenMP-supported} version
from @code{GitHub}: <https://github.com/helske/Rlibeemd/>.")
    (license license:gpl3)))

(define-public r-rlgt
  (package
    (name "r-rlgt")
    (version "0.2-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rlgt" version))
       (sha256
        (base32 "1c23flwrw2b361dgjms3h5407w3ll98gsbsy0nmi3000wza5xdzz"))))
    (properties `((upstream-name . "Rlgt")))
    (build-system r-build-system)
    (propagated-inputs (list r-truncnorm
                             r-stanheaders
                             r-sn
                             r-rstantools
                             r-rstan
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-forecast
                             r-bh))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/cbergmeir/Rlgt")
    (synopsis "Bayesian Exponential Smoothing Models with Trend Modifications")
    (description
     "An implementation of a number of Global Trend models for time series forecasting
that are Bayesian generalizations and extensions of some Exponential Smoothing
models.  The main differences/additions include 1) nonlinear global trend, 2)
Student-t error distribution, and 3) a function for the error size, so
heteroscedasticity.  The methods are particularly useful for short time series.
When tested on the well-known M3 dataset, they are able to outperform all
classical time series algorithms.  The models are fitted with MCMC using the
rstan package.")
    (license license:gpl3)))

(define-public r-rlft
  (package
    (name "r-rlft")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rLFT" version))
       (sha256
        (base32 "0d86z5ckhkavgr2xi9pk7pw8ss3whrssa7na43kj0pirax9cys4z"))))
    (properties `((upstream-name . "rLFT")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rLFT")
    (synopsis "Processing Linear Features")
    (description
     "Assists in the manipulation and processing of linear features with the help of
the sf package.  Makes use of linear referencing to extract data from most shape
files.  Reference for this packages methods: Albeke, S.E. et al. (2010)
<doi:10.1007/s10980-010-9528-4>.")
    (license license:gpl3+)))

(define-public r-rlfsm
  (package
    (name "r-rlfsm")
    (version "1.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlfsm" version))
       (sha256
        (base32 "0qlyz4v1966x73hx3lwv1kgk18304xfp9qm66cb9a6g8bk54xp8z"))))
    (properties `((upstream-name . "rlfsm")))
    (build-system r-build-system)
    (propagated-inputs (list r-stabledist
                             r-reshape2
                             r-rdpack
                             r-rcpp
                             r-plyr
                             r-ggplot2
                             r-foreach
                             r-doparallel))
    (home-page
     "https://gitlab.com/Dmitry_Otryakhin/Tools-for-parameter-estimation-of-the-linear-fractional-stable-motion")
    (synopsis
     "Simulations and Statistical Inference for Linear Fractional Stable Motions")
    (description
     "This package contains functions for simulating the linear fractional stable
motion according to the algorithm developed by Mazur and Otryakhin
<doi:10.32614/RJ-2020-008> based on the method from Stoev and Taqqu (2004)
<doi:10.1142/S0218348X04002379>, as well as functions for estimation of
parameters of these processes introduced by Mazur, Otryakhin and Podolskij
(2018) <@code{arXiv:1802.06373>}, and also different related quantities.")
    (license license:gpl3)))

(define-public r-rless
  (package
    (name "r-rless")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rless" version))
       (sha256
        (base32 "0ham8kf2hbswrcnc5i5b3svywdwq3kwp9n66n4k9sllahl4x9jdn"))))
    (properties `((upstream-name . "rless")))
    (build-system r-build-system)
    (propagated-inputs (list r-v8))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ciirc-kso/rless")
    (synopsis "Leaner Style Sheets")
    (description
     "Converts LESS to CSS. It uses V8 engine, where LESS parser is run.  Functions
for LESS text, file or folder conversion are provided.  This work was supported
by a junior grant research project by Czech Science Foundation GACR no.
GJ18-04150Y'.")
    (license license:expat)))

(define-public r-rlemon
  (package
    (name "r-rlemon")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlemon" version))
       (sha256
        (base32 "0x83l5i30ppmq5mhq0qxwz5ql6qzwk02bbwdykd6hz0r9w1zl62a"))))
    (properties `((upstream-name . "rlemon")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://errickson.net/rlemon/")
    (synopsis "R Access to LEMON Graph Algorithms")
    (description
     "Allows easy access to the LEMON Graph Library set of algorithms, written in C++.
 See the LEMON project page at <https://lemon.cs.elte.hu/trac/lemon>.  Current
LEMON version is 1.3.1.")
    (license (license:fsdg-compatible "BSL-1.0"))))

(define-public r-rleafmap
  (package
    (name "r-rleafmap")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rleafmap" version))
       (sha256
        (base32 "19ad38pqwv8ayyzb1aln9gn7rfn3gam0dbw93pl37nb9vnl81002"))))
    (properties `((upstream-name . "rleafmap")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp r-raster r-knitr))
    (home-page "http://www.francoiskeck.fr/rleafmap/")
    (synopsis "Interactive Maps with R and Leaflet")
    (description
     "Display spatial data with interactive maps powered by the open- source
@code{JavaScript} library Leaflet (see <https://leafletjs.com/>).  Maps can be
rendered in a web browser or displayed in the HTML viewer pane of RStudio'.
This package is designed to be easy to use and can create complex maps with
vector and raster data, web served map tiles and interface elements.")
    (license license:gpl3)))

(define-public r-rleafangle
  (package
    (name "r-rleafangle")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RLeafAngle" version))
       (sha256
        (base32 "1anks22hn6qpac556p99kilkhc80h572dvcyz3wj1nqffdrhgrh3"))))
    (properties `((upstream-name . "RLeafAngle")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RLeafAngle")
    (synopsis
     "Estimates, Plots and Evaluates Leaf Angle Distribution Functions, Calculates Extinction Coefficients")
    (description
     "Leaf angle distribution is described by a number of functions (e.g. ellipsoidal,
Beta and rotated ellipsoidal).  The parameters of leaf angle distributions
functions are estimated through different empirical relationship.  This package
includes estimations of parameters of different leaf angle distribution
function, plots and evaluates leaf angle distribution functions, calculates
extinction coefficients given leaf angle distribution.  Reference:
Wang(2007)<doi:10.1016/j.agrformet.2006.12.003>.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rldcp
  (package
    (name "r-rldcp")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rLDCP" version))
       (sha256
        (base32 "0k7zc1xyqmcl7070hhpqw1d2k1ij6bd4wjym8cw263pds2n7nx21"))))
    (properties `((upstream-name . "rLDCP")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml))
    (home-page "http://phedes.com/rLDCP")
    (synopsis "Text Generation from Data")
    (description
     "Linguistic Descriptions of Complex Phenomena (LDCP) is an architecture and
methodology that allows us to model complex phenomena, interpreting input data,
and generating automatic text reports customized to the user needs (see
<doi:10.1016/j.ins.2016.11.002> and <doi:10.1007/s00500-016-2430-5>).  The
proposed package contains a set of methods that facilitates the development of
LDCP systems.  It main goal is increasing the visibility and practical use of
this research line.")
    (license (list license:gpl2+
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rlcv
  (package
    (name "r-rlcv")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlcv" version))
       (sha256
        (base32 "00fz949jabbzci22yjlhc7bh4j2h44llplcrgsrbi3h97lrg7hc0"))))
    (properties `((upstream-name . "rlcv")))
    (build-system r-build-system)
    (propagated-inputs (list r-statmod))
    (native-inputs (list r-knitr))
    (home-page "https://sites.google.com/tamu.edu/ximingwu/")
    (synopsis "Robust Likelihood Cross Validation Bandwidth Selection")
    (description
     "Robust likelihood cross validation bandwidth for uni- and multi-variate kernel
densities.  It is robust against fat-tailed distributions and/or outliers.
Based on \"Robust Likelihood Cross-Validation for Kernel Density Estimation,\" Wu
(2019) <doi:10.1080/07350015.2018.1424633>.")
    (license license:gpl3+)))

(define-public r-rlc
  (package
    (name "r-rlc")
    (version "0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlc" version))
       (sha256
        (base32 "1n13hlspsb118md6nh1w09gww4b58kxqf3lcp8g3zv14hr2dgwkr"))))
    (properties `((upstream-name . "rlc")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-stringr
                             r-r6
                             r-plyr
                             r-jsonlite
                             r-jrc
                             r-hwriter))
    (native-inputs (list esbuild))
    (home-page "https://cran.r-project.org/package=rlc")
    (synopsis "Create Interactive Linked Charts with Minimal Code")
    (description
     "An easy-to-use tool to employ interactivity in every-day exploratory analysis.
It contains a collection of most commonly used types of charts (such as scatter
plots, line plots, heatmaps, bar charts), which can be linked to each other or
to other interactive elements with just few lines of code.")
    (license license:gpl3)))

(define-public r-rlas
  (package
    (name "r-rlas")
    (version "1.8.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlas" version))
       (sha256
        (base32 "0fqlg2hqyxvv7lfrqy8qjf1vbxwf5irsw70h7qqw1n5wrv7h6yfw"))))
    (properties `((upstream-name . "rlas")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-data-table))
    (home-page "https://github.com/r-lidar/rlas")
    (synopsis
     "Read and Write 'las' and 'laz' Binary File Formats Used for Remote Sensing Data")
    (description
     "Read and write las and laz binary file formats.  The LAS file format is a public
file format for the interchange of 3-dimensional point cloud data between data
users.  The LAS specifications are approved by the American Society for
Photogrammetry and Remote Sensing
<https://www.asprs.org/divisions-committees/lidar-division/laser-las-file-format-exchange-activities>.
 The LAZ file format is an open and lossless compression scheme for binary LAS
format versions 1.0 to 1.4 <https://laszip.org/>.")
    (license license:gpl3)))

(define-public r-rlandfire
  (package
    (name "r-rlandfire")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rlandfire" version))
       (sha256
        (base32 "18l5fjx3aw89wybhjbw3lyk8a0619919s6d4mbh293vbyfgng0a8"))))
    (properties `((upstream-name . "rlandfire")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/bcknr/rlandfire")
    (synopsis "Interface to 'LANDFIRE Product Service' API")
    (description
     "This package provides access to a suite of geospatial data layers for wildfire
management, fuel modeling, ecology, natural resource management, climate,
conservation, etc., via the LANDFIRE (<https://www.landfire.gov/index.php>)
Product Service ('LFPS') API.")
    (license license:expat)))

(define-public r-rlakeanalyzer
  (package
    (name "r-rlakeanalyzer")
    (version "1.11.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rLakeAnalyzer" version))
       (sha256
        (base32 "1bwg8mzddsc39km85b41bxp2hwqmb4g5a3010f6yp1qlgcb9rmj1"))))
    (properties `((upstream-name . "rLakeAnalyzer")))
    (build-system r-build-system)
    (propagated-inputs (list r-plyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rLakeAnalyzer")
    (synopsis "Lake Physics Tools")
    (description
     "Standardized methods for calculating common important derived physical features
of lakes including water density based based on temperature, thermal layers,
thermocline depth, lake number, Wedderburn number, Schmidt stability and others.")
    (license license:gpl2+)))

(define-public r-rlabkey
  (package
    (name "r-rlabkey")
    (version "3.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rlabkey" version))
       (sha256
        (base32 "01arnz3q2x0amgx6qqkg7wbpk66nq2abj9s9lbssi7wqw79hwgqy"))))
    (properties `((upstream-name . "Rlabkey")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-jsonlite r-httr))
    (home-page "https://cran.r-project.org/package=Rlabkey")
    (synopsis "Data Exchange Between R and 'LabKey' Server")
    (description
     "The @code{LabKey} client library for R makes it easy for R users to load live
data from a @code{LabKey} Server, <https://www.labkey.com/>, into the R
environment for analysis, provided users have permissions to read the data.  It
also enables R users to insert, update, and delete records stored on a
@code{LabKey} Server, provided they have appropriate permissions to do so.")
    (license license:asl2.0)))

(define-public r-rlab
  (package
    (name "r-rlab")
    (version "4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rlab" version))
       (sha256
        (base32 "019rmciqza5rd5z9hvh8xk20c2rjhzyzp1k5731qm1d3jz5lwx5k"))))
    (properties `((upstream-name . "Rlab")))
    (build-system r-build-system)
    (home-page "https://www.r-project.org")
    (synopsis "Functions and Datasets Required for ST370 Class")
    (description
     "This package provides functions and datasets required for the ST 370 course at
North Carolina State University.")
    (license license:gpl2+)))

(define-public r-rkvo
  (package
    (name "r-rkvo")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rkvo" version))
       (sha256
        (base32 "0ci8jqf9nc8hb063nckxdnp0nlyr4ghby356lxm00anw44jlmw8v"))))
    (properties `((upstream-name . "rkvo")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=rkvo")
    (synopsis "Read Key/Value Pair Observations")
    (description
     "This package provides functionality to read files containing observations which
consist of arbitrary key/value pairs.")
    (license license:gpl3)))

(define-public r-rkum
  (package
    (name "r-rkum")
    (version "0.1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RKUM" version))
       (sha256
        (base32 "0w26ybl8jp5b90lfxj4710bkhb6qchnsg6smvwrry2225x3kfk7v"))))
    (properties `((upstream-name . "RKUM")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RKUM")
    (synopsis "Robust Kernel Unsupervised Methods")
    (description
     "Robust kernel center matrix, robust kernel cross-covariance operator for kernel
unsupervised methods, kernel canonical correlation analysis, influence function
of identifying significant outliers or atypical objects from multimodal
datasets.  Alam, M. A, Fukumizu, K., Wang Y.-P. (2018)
<doi:10.1016/j.neucom.2018.04.008>.  Alam, M. A, Calhoun, C. D., Wang Y.-P.
(2018) <doi:10.1016/j.csda.2018.03.013>.")
    (license license:gpl3)))

(define-public r-rkt
  (package
    (name "r-rkt")
    (version "1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rkt" version))
       (sha256
        (base32 "1hzbrfpp10xfvmrl0wqqf21d886mar8jvipzaiki76ms2a1yp78j"))))
    (properties `((upstream-name . "rkt")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rkt")
    (synopsis "Mann-Kendall Test, Seasonal and Regional Kendall Tests")
    (description
     "This package contains function rkt which computes the Mann-Kendall test (MK) and
the Seasonal and the Regional Kendall Tests for trend (SKT and RKT) and
Theil-Sen's slope estimator.")
    (license license:gpl2)))

(define-public r-rkriging
  (package
    (name "r-rkriging")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rkriging" version))
       (sha256
        (base32 "05hi1b2qlsc93iq4rhczrimc9pqnfmssmxmsa0fcgqwvpn0l934q"))))
    (properties `((upstream-name . "rkriging")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp r-nloptr r-bh))
    (home-page "https://cran.r-project.org/package=rkriging")
    (synopsis "Kriging Modeling")
    (description
     "An Eigen'-based computationally efficient C++ implementation for fitting various
kriging models to data.  This research is supported by U.S. National Science
Foundation grant DMS-2310637.")
    (license license:gpl2+)))

(define-public r-rkorapclient
  (package
    (name "r-rkorapclient")
    (version "0.8.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RKorAPClient" version))
       (sha256
        (base32 "1p3i2h5lw288vgqj6z5xiv0y0f73pwzvi7wlmbvf6i7adr3qcdg6"))))
    (properties `((upstream-name . "RKorAPClient")))
    (build-system r-build-system)
    (propagated-inputs (list r-urltools
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-r-cache
                             r-purrr
                             r-ptxqc
                             r-magrittr
                             r-lubridate
                             r-keyring
                             r-jsonlite
                             r-httr
                             r-highcharter
                             r-ggplot2
                             r-dplyr
                             r-curl
                             r-broom))
    (home-page "https://github.com/KorAP/RKorAPClient/")
    (synopsis "'KorAP' Web Service Client Package")
    (description
     "This package provides a client package that makes the @code{KorAP} web service
API accessible from R. The corpus analysis platform @code{KorAP} has been
developed as a scientific tool to make potentially large, stratified and
multiply annotated corpora, such as the German Reference Corpus @code{DeReKo} or
the Corpus of the Contemporary Romanian Language @code{CoRoLa}', accessible for
linguists to let them verify hypotheses and to find interesting patterns in real
language use.  The R@code{KorAPClient} package provides access to @code{KorAP}
and the corpora behind it for user-created R code, as a programmatic alternative
to the @code{KorAP} web user-interface.  You can learn more about @code{KorAP}
and use it directly on @code{DeReKo} at <https://korap.ids-mannheim.de/>.")
    (license license:bsd-2)))

(define-public r-rkomics
  (package
    (name "r-rkomics")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rKOMICS" version))
       (sha256
        (base32 "0v04f9kjdwxdggk3cv29hrnbykz3yq523gxh1kh7vls9xpm6c5wr"))))
    (properties `((upstream-name . "rKOMICS")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-reshape2
                             r-magrittr
                             r-ggpubr
                             r-ggplot2
                             r-factominer
                             r-factoextra
                             r-dplyr
                             r-complexheatmap
                             r-circlize
                             r-ape))
    (home-page "https://cran.r-project.org/package=rKOMICS")
    (synopsis "Minicircle Sequence Classes (MSC) Analyses")
    (description
     "This is a analysis toolkit to streamline the analyses of minicircle sequence
diversity in population-scale genome projects. @code{rKOMICS} is a user-friendly
R package that has simple installation requirements and that is applicable to
all 27 trypanosomatid genera.  Once minicircle sequence alignments are
generated, @code{rKOMICS} allows to examine, summarize and visualize minicircle
sequence diversity within and between samples through the analyses of minicircle
sequence clusters.  We showcase the functionalities of the (r)KOMICS tool suite
using a whole-genome sequencing dataset from a recently published study on the
history of diversification of the Leishmania braziliensis species complex in
Peru.  Analyses of population diversity and structure highlighted differences in
minicircle sequence richness and composition between Leishmania subspecies, and
between subpopulations within subspecies.  The @code{rKOMICS} package
establishes a critical framework to manipulate, explore and extract biologically
relevant information from mitochondrial minicircle assemblies in tens to
hundreds of samples simultaneously and efficiently.  This should facilitate
research that aims to develop new molecular markers for identifying
species-specific minicircles, or to study the ancestry of parasites for
complementary insights into their evolutionary history. ***** !! WARNING: this
package relies on dependencies from Bioconductor.  For Mac users, this can
generate errors when installing @code{rKOMICS}.  Install Bioconductor and
@code{ComplexHeatmap} at advance: install.packages(\"@code{BiocManager}\");
@code{BiocManager::install(\"ComplexHeatmap}\") *****.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rkolada
  (package
    (name "r-rkolada")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rKolada" version))
       (sha256
        (base32 "0q4npg3f50rx9vx9d3zmh2i6m0rnd2f7pvgr624ickja6s28bjc1"))))
    (properties `((upstream-name . "rKolada")))
    (build-system r-build-system)
    (propagated-inputs (list r-urltools
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-purrr
                             r-magrittr
                             r-jsonlite
                             r-httr
                             r-glue
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://lchansson.github.io/rKolada/")
    (synopsis "Access Data from the 'Kolada' Database")
    (description
     "This package provides methods for downloading and processing data and metadata
from Kolada', the official Swedish regions and municipalities database
<https://www.kolada.se/>.")
    (license license:agpl3)))

(define-public r-rkmetrics
  (package
    (name "r-rkmetrics")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RkMetrics" version))
       (sha256
        (base32 "1k6vnr1r4h69iznib638z45gd0f8wc4g4h0ji9f0017883g77li1"))))
    (properties `((upstream-name . "RkMetrics")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RkMetrics")
    (synopsis "Hybrid Mortality Estimation")
    (description
     "Hybrid Mortality Modelling (HMM) provides a framework in which mortality around
\"the accident hump\" and at very old ages can be modelled under a single model.
The graphics codes necessary for visualization of the models output are included
here.  Specifically, the graphics are based on the assumption that, the
mortality rates can be expressed as a function of the area under the curve
between the crude mortality rates plots and the tangential transform of the
force of mortality.")
    (license license:gpl3)))

(define-public r-rkin
  (package
    (name "r-rkin")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rKIN" version))
       (sha256
        (base32 "0dp8m7x5a9glz7yvbv207j3l0226xjxmgf0k2x6rv7zwg9v6y5qk"))))
    (properties `((upstream-name . "rKIN")))
    (build-system r-build-system)
    (propagated-inputs (list r-shades
                             r-sf
                             r-rcolorbrewer
                             r-randomcolor
                             r-mass
                             r-ks
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/salbeke/rKIN")
    (synopsis "(Kernel) Isotope Niche Estimation")
    (description
     "Applies methods used to estimate animal homerange, but instead of geospatial
coordinates, we use isotopic coordinates.  The estimation methods include: 1)
2-dimensional bivariate normal kernel utilization density estimator, 2)
bivariate normal ellipse estimator, and 3) minimum convex polygon estimator, all
applied to stable isotope data.  Additionally, functions to determine niche
area, polygon overlap between groups and levels (confidence contours) and
plotting capabilities.")
    (license license:gpl3+)))

(define-public r-rkhsmetamod
  (package
    (name "r-rkhsmetamod")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RKHSMetaMod" version))
       (sha256
        (base32 "1h8gqqfmlrzyj4n997yn13vqpaw2kwzl45gscy3fdhskzmyg0ss3"))))
    (properties `((upstream-name . "RKHSMetaMod")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppgsl r-rcppeigen r-rcpp))
    (home-page "https://cran.r-project.org/package=RKHSMetaMod")
    (synopsis
     "Ridge Group Sparse Optimization Problem for Estimation of a Meta Model Based on Reproducing Kernel Hilbert Spaces")
    (description
     "Estimates the Hoeffding decomposition of an unknown function by solving ridge
group sparse optimization problem based on reproducing kernel Hilbert spaces,
and approximates its sensitivity indices (see Kamari, H., Huet, S. and Taupin,
M.-L. (2019) <@code{arXiv:1905.13695>}).")
    (license license:gpl2+)))

(define-public r-rkenyaforex
  (package
    (name "r-rkenyaforex")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rKenyaForex" version))
       (sha256
        (base32 "1y5hdc1n8kan42vzg6kpfgz68s1bpd93pavcisxh03c76zkf9ap9"))))
    (properties `((upstream-name . "rKenyaForex")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rKenyaForex")
    (synopsis "Historical Data for Kenya Foreign Exchange Prices")
    (description
     "Exchange rate for Kenya Shilling against other currencies, US DOLLAR, EURO,
STERLING POUND, Tanzania Shilling, Uganda Shilling.")
    (license license:expat)))

(define-public r-rkelly
  (package
    (name "r-rkelly")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RKelly" version))
       (sha256
        (base32 "0mkpc95j67rg2gcj2fc4w8kv4v31cpiyvh660y8kc2fjr5q4aj3l"))))
    (properties `((upstream-name . "RKelly")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RKelly")
    (synopsis "Translate Odds and Probabilities")
    (description
     "Calculates the Kelly criterion (Kelly, J.L. (1956)
<doi:10.1002/j.1538-7305.1956.tb03809.x>) for bets given quoted prices, model
predictions and commissions.  Additionally it contains helper functions to
calculate the probabilities for wins and draws in multi-leg games.")
    (license license:expat)))

(define-public r-rkeeldata
  (package
    (name "r-rkeeldata")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RKEELdata" version))
       (sha256
        (base32 "1swzqw6j006ya48ahg6n1g8faxhqiv9v5q1zrnihpzj6868lf7y3"))))
    (properties `((upstream-name . "RKEELdata")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RKEELdata")
    (synopsis "Datasets from 'KEEL' for it Use in 'RKEEL'")
    (description
     "KEEL is a popular Java software for a large number of different knowledge data
discovery tasks.  Furthermore, RKEEL is a package with a R code layer between R
and KEEL', for using KEEL in R code.  This package includes the datasets from
KEEL in .dat format for its use in RKEEL package.  For more information about
KEEL', see <http://www.keel.es/>.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rkeel
  (package
    (name "r-rkeel")
    (version "1.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RKEEL" version))
       (sha256
        (base32 "05fwzpa4dixc7lp89x122w07gzblxyyaf5l74gds0zgib9ik5cab"))))
    (properties `((upstream-name . "RKEEL")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-xml
                             r-rkeeldata
                             r-rjava
                             r-r6
                             r-pmml
                             r-openssl
                             r-matrix
                             r-gdata
                             r-foreach
                             r-downloader
                             r-doparallel
                             r-arules))
    (home-page "https://cran.r-project.org/package=RKEEL")
    (synopsis "Using 'KEEL' in R Code")
    (description
     "KEEL is a popular Java software for a large number of different knowledge data
discovery tasks.  This package takes the advantages of KEEL and R, allowing to
use KEEL algorithms in simple R code.  The implemented R code layer between R
and KEEL makes easy both using KEEL algorithms in R as implementing new
algorithms for RKEEL in a very simple way.  It includes more than 100 algorithms
for classification, regression, preprocess, association rules and imbalance
learning, which allows a more complete experimentation process.  For more
information about KEEL', see <http://www.keel.es/>.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rkeajars
  (package
    (name "r-rkeajars")
    (version "5.0-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RKEAjars" version))
       (sha256
        (base32 "1j4643xc8k3zy4rv0h8dd154jafihnjr43wzz3d93j11g2w9xhq3"))))
    (properties `((upstream-name . "RKEAjars")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava))
    (home-page "https://cran.r-project.org/package=RKEAjars")
    (synopsis "R/KEA Interface Jars")
    (description "External jars required for package RKEA.")
    (license license:gpl2)))

(define-public r-rkea
  (package
    (name "r-rkea")
    (version "0.0-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RKEA" version))
       (sha256
        (base32 "1dncplg83b4zznh1zh90wr8jv5259cy93imrry86c5kqdijmhrrp"))))
    (properties `((upstream-name . "RKEA")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-tm r-rkeajars r-rjava))
    (home-page "https://cran.r-project.org/package=RKEA")
    (synopsis "R/KEA Interface")
    (description
     "An R interface to KEA (Version 5.0).  KEA (for Keyphrase Extraction Algorithm)
allows for extracting keyphrases from text documents.  It can be either used for
free indexing or for indexing with a controlled vocabulary.  For more
information see <http://www.nzdl.org/Kea/>.")
    (license license:gpl2)))

(define-public r-rkafkajars
  (package
    (name "r-rkafkajars")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rkafkajars" version))
       (sha256
        (base32 "1z1rn02ymzaq3v3pz206wlm78y591xa9780fwf77i4vfq2k9pxrz"))))
    (properties `((upstream-name . "rkafkajars")))
    (build-system r-build-system)
    (propagated-inputs (list r-runit r-rjava))
    (home-page "https://cran.r-project.org/package=rkafkajars")
    (synopsis "External Jars Required for Package 'rkafka'")
    (description
     "The rkafkajars package collects all the external jars required for the rkafka
package.")
    (license (list license:asl2.0
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rjwsacruncher
  (package
    (name "r-rjwsacruncher")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjwsacruncher" version))
       (sha256
        (base32 "14yg801mxj0kvg3aswxvhbncs6mh63ddk0mnfawm39ycgwc19g3d"))))
    (properties `((upstream-name . "rjwsacruncher")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/AQLT/rjwsacruncher")
    (synopsis "Interface to the 'JWSACruncher' of 'JDemetra+'")
    (description
     "JDemetra+ (<https://github.com/jdemetra/jdemetra-app>) is the seasonal
adjustment software officially recommended to the members of the European
Statistical System and the European System of Central Banks.  Seasonal
adjustment models performed with JDemetra+ can be stored into workspaces.
JWSACruncher (<https://github.com/jdemetra/jwsacruncher/releases>) is a console
tool that re-estimates all the multi-processing defined in a workspace and to
export the result.  rjwsacruncher allows to launch easily the JWSACruncher'.")
    (license license:gpl3)))

(define-public r-rjtools
  (package
    (name "r-rjtools")
    (version "1.0.13")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjtools" version))
       (sha256
        (base32 "14asxv74bdddrc0k8pl8dylmsp6qgii55hmqwg6nci6n35a6qd34"))))
    (properties `((upstream-name . "rjtools")))
    (build-system r-build-system)
    (propagated-inputs (list r-yesno
                             r-yaml
                             r-xfun
                             r-whisker
                             r-tinytex
                             r-stringr
                             r-rmarkdown
                             r-rlang
                             r-purrr
                             r-hunspell
                             r-here
                             r-glue
                             r-fs
                             r-distill
                             r-cli
                             r-callr
                             r-bookdown
                             r-biocmanager))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rjournal/rjtools")
    (synopsis
     "Preparing, Checking, and Submitting Articles to the 'R Journal'")
    (description
     "Create an R Journal Rmarkdown template article, that will generate html and pdf
versions of your paper.  Check that the paper folder has all the required
components needed for submission.  Examples of R Journal publications can be
found at <https://journal.r-project.org>.")
    (license license:expat)))

(define-public r-rjstat
  (package
    (name "r-rjstat")
    (version "0.4.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjstat" version))
       (sha256
        (base32 "1x49x3f00dv0fxnyl0kj03q6z654mv0dhzhh8cbn1r4pg5pj63ns"))))
    (properties `((upstream-name . "rjstat")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-checkmate))
    (home-page "https://github.com/ajschumacher/rjstat")
    (synopsis "Handle 'JSON-stat' Format in R")
    (description
     "Handle JSON-stat format (<https://json-stat.org>) in R. Not all features are
supported, especially the extensive metadata features of JSON-stat'.")
    (license license:expat)))

(define-public r-rjsplot
  (package
    (name "r-rjsplot")
    (version "2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RJSplot" version))
       (sha256
        (base32 "02q5isc137nx7qil2p3903xfsjwk54507rs72dfaiy6a8scys5j9"))))
    (properties `((upstream-name . "RJSplot")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (native-inputs (list esbuild))
    (home-page "https://rjsplot.usal.es")
    (synopsis "Interactive Graphs with R")
    (description
     "This package creates interactive graphs with R'.  It joins the data analysis
power of R and the visualization libraries of @code{JavaScript} in one package.")
    (license (license:fsdg-compatible "CC BY-NC-SA 4.0"))))

(define-public r-rjsoncons
  (package
    (name "r-rjsoncons")
    (version "1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjsoncons" version))
       (sha256
        (base32 "1icp56jimfsjjniq1sg45g89xfq56x8728dkp0c2pv7snjpxjcjl"))))
    (properties `((upstream-name . "rjsoncons")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-cpp11 r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://mtmorgan.github.io/rjsoncons/")
    (synopsis "Query, Pivot, Patch, and Validate 'JSON' and 'NDJSON'")
    (description
     "This package provides functions to query (filter or transform), pivot (convert
from array-of-objects to object-of-arrays, for easy import as R data frame),
search, patch (edit), and validate (against JSON Schema') JSON and NDJSON
strings, files, or URLs.  Query and pivot support JSONpointer', JSONpath or
JMESpath expressions.  The implementation uses the jsoncons
<https://danielaparker.github.io/jsoncons/> header-only library; the library is
easily linked to other packages for direct access to C++ functionality not
implemented here.")
    (license (license:fsdg-compatible "BSL-1.0"))))

(define-public r-rjsdmx
  (package
    (name "r-rjsdmx")
    (version "3.4-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RJSDMX" version))
       (sha256
        (base32 "029lvrk3p54r9h9r0vlcqlpa276c69v5nxiwfdb77wnykxa4qb1p"))))
    (properties `((upstream-name . "RJSDMX")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-zoo r-rjava))
    (home-page "https://github.com/amattioc/SDMX/")
    (synopsis "R Interface to SDMX Web Services")
    (description
     "This package provides functions to retrieve data and metadata from providers
that disseminate data by means of SDMX web services.  SDMX (Statistical Data and
Metadata @code{eXchange}) is a standard that has been developed with the aim of
simplifying the exchange of statistical information.  More about the SDMX
standard and the SDMX Web Services can be found at: <https://sdmx.org>.")
    (license (license:fsdg-compatible "EUPL"))))

(define-public r-rjqpd
  (package
    (name "r-rjqpd")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjqpd" version))
       (sha256
        (base32 "14vbp9s2859h4n3m3bq830nvxvk58h3mvvdnb27qsalbcfwd94v5"))))
    (properties `((upstream-name . "rjqpd")))
    (build-system r-build-system)
    (home-page "https://github.com/bobbyingram/rjqpd")
    (synopsis "The Johnson Quantile-Parameterised Distribution")
    (description
     "Implementation of the Johnson Quantile-Parameterised Distribution in R. The
Johnson Quantile-Parameterised Distribution (J-QPD) is a flexible distribution
system that is parameterised by a symmetric percentile triplet of quantile
values (typically the 10th-50th-90th) along with known support bounds for the
distribution.  The J-QPD system was developed by Hadlock and Bickel (2017)
<doi:10.1287/deca.2016.0343>.  This package implements the density, quantile,
CDF and random number generator functions.")
    (license license:expat)))

(define-public r-rjmcmc
  (package
    (name "r-rjmcmc")
    (version "0.4.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjmcmc" version))
       (sha256
        (base32 "14rzvp6z5avlcnmlmvb6w4gvlh6v4ncbcai3v4c4svnjv555vz45"))))
    (properties `((upstream-name . "rjmcmc")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm r-madness r-coda))
    (home-page "https://cran.r-project.org/package=rjmcmc")
    (synopsis "Reversible-Jump MCMC Using Post-Processing")
    (description
     "This package performs reversible-jump Markov chain Monte Carlo (Green, 1995)
<doi:10.2307/2337340>, specifically the restriction introduced by Barker & Link
(2013) <doi:10.1080/00031305.2013.791644>.  By utilising a universal parameter
space, RJMCMC is treated as a Gibbs sampling problem.  Previously-calculated
posterior distributions are used to quickly estimate posterior model
probabilities.  Jacobian matrices are found using automatic differentiation.
For a detailed description of the package, see Gelling, Schofield & Barker
(2019) <doi:10.1111/anzs.12263>.")
    (license license:gpl3)))

(define-public r-rje
  (package
    (name "r-rje")
    (version "1.12.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rje" version))
       (sha256
        (base32 "07a1wbn5ps9ygfi25fffgmrzw90izj4yk8gxb47r85x6lvqv1p0h"))))
    (properties `((upstream-name . "rje")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rje")
    (synopsis "Miscellaneous Useful Functions for Statistics")
    (description
     "This package provides a series of functions in some way considered useful to the
author.  These include methods for subsetting tables and generating indices for
arrays, conditioning and intervening in probability distributions, generating
combinations, fast transformations, and more...")
    (license license:gpl2+)))

(define-public r-rjdworkspace
  (package
    (name "r-rjdworkspace")
    (version "1.1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjdworkspace" version))
       (sha256
        (base32 "19knl5qynwa3f2f77fkxv0fg13hqcdrkh5rwrpzd3gv71iifzc8r"))))
    (properties `((upstream-name . "rjdworkspace")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml r-rjdemetra r-rjava))
    (home-page "https://github.com/InseeFrLab/rjdworkspace")
    (synopsis "Manipulate 'JDemetra+' Workspaces")
    (description
     "Set of tools to manipulate the JDemetra+ workspaces.  Based on the RJDemetra
package (which interfaces with version 2 of the JDemetra+
(<https://github.com/jdemetra/jdemetra-app>), the seasonal adjustment software
officially recommended to the members of the European Statistical System (ESS)
and the European System of Central Banks).  This package provides access to
additional workspace manipulation functions such as metadata manipulation, raw
paths and wrangling of several workspaces simultaneously.  These additional
functionalities are useful as part of a CVS data production chain.")
    (license (license:fsdg-compatible "EUPL"))))

(define-public r-rjdqa
  (package
    (name "r-rjdqa")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjdqa" version))
       (sha256
        (base32 "0m3r5ficsj1hlp72imb1v2fbl2kvh9gni2rkff66wag805v0sjxp"))))
    (properties `((upstream-name . "rjdqa")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjdemetra r-plotrix r-ggdemetra))
    (home-page "https://aqlt.github.io/rjdqa/")
    (synopsis "Quality Assessment for Seasonal Adjustment")
    (description
     "Add-in to the RJDemetra package on seasonal adjustments.  It allows to produce
dashboards to summarise models and quickly check the quality of the seasonal
adjustment.")
    (license (license:fsdg-compatible "EUPL"))))

(define-public r-rjdmarkdown
  (package
    (name "r-rjdmarkdown")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjdmarkdown" version))
       (sha256
        (base32 "1g1r11zi8agifndlnayrh1vbz570s2x535kn89yz1llrk378v9c5"))))
    (properties `((upstream-name . "rjdmarkdown")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjdemetra r-magrittr r-knitr r-kableextra))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/AQLT/rjdmarkdown")
    (synopsis "'rmarkdown' Extension for Formatted 'RJDemetra' Outputs")
    (description
     "This package provides functions to have nice rmarkdown outputs of the seasonal
and trading day adjustment models made with RJDemetra'.")
    (license (license:fsdg-compatible "EUPL"))))

(define-public r-rjdemetra
  (package
    (name "r-rjdemetra")
    (version "0.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RJDemetra" version))
       (sha256
        (base32 "0q1jxcg95r1av0glqapvn9np3gv8gvpwrh4pm70kb2d03yhycv7p"))))
    (properties `((upstream-name . "RJDemetra")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava))
    (home-page "https://rjdverse.github.io/rjdemetra/")
    (synopsis "Interface to 'JDemetra+' Seasonal Adjustment Software")
    (description
     "Interface around JDemetra+ (<https://github.com/jdemetra/jdemetra-app>), the
seasonal adjustment software officially recommended to the members of the
European Statistical System (ESS) and the European System of Central Banks.  It
offers full access to all options and outputs of JDemetra+', including the two
leading seasonal adjustment methods TRAMO/SEATS+ and X-12ARIMA/X-13ARIMA-SEATS.")
    (license (license:fsdg-compatible "EUPL"))))

(define-public r-rjdbc
  (package
    (name "r-rjdbc")
    (version "0.2-10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RJDBC" version))
       (sha256
        (base32 "06b2gw76jwmm3lw3knmn6slc6824d4gzry94n96d97ii4fm4gwrp"))))
    (properties `((upstream-name . "RJDBC")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjava r-dbi))
    (home-page "http://www.rforge.net/RJDBC/")
    (synopsis "Provides Access to Databases Through the JDBC Interface")
    (description
     "The RJDBC package is an implementation of R's DBI interface using JDBC as a
back-end.  This allows R to connect to any DBMS that has a JDBC driver.")
    (license license:expat)))

(define-public r-rjcluster
  (package
    (name "r-rjcluster")
    (version "3.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RJcluster" version))
       (sha256
        (base32 "157dmi5gksq7s16ip4n9j5bj9s9bawl078rh13s1xxyr6f51yp09"))))
    (properties `((upstream-name . "RJcluster")))
    (build-system r-build-system)
    (inputs (list zlib))
    (propagated-inputs (list r-rlang
                             r-rcpparmadillo
                             r-rcpp
                             r-profvis
                             r-mclust
                             r-matrixstats
                             r-infotheo
                             r-foreach))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RJcluster")
    (synopsis
     "Fast Clustering Algorithm for High Dimensional Data Based on the Gram Matrix Decomposition")
    (description
     "Clustering algorithm for high dimensional data.  Assuming that P feature
measurements on N objects are arranged in an NÃP matrix X, this package
provides clustering based on the left Gram matrix XX^T. To simulate test data,
type \"help('simulate_HD_data')\" and to learn how to use the clustering
algorithm, type \"help('RJclust')\".  To cite this package, type
citation(\"RJcluster\")'.")
    (license license:gpl2+)))

(define-public r-rjavaenv
  (package
    (name "r-rjavaenv")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rJavaEnv" version))
       (sha256
        (base32 "1shh4w3lw5lgjqxwbkggafsa9kj2fdfsymd4jjfs9vm7kzz8l75d"))))
    (properties `((upstream-name . "rJavaEnv")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-curl r-cli r-checkmate))
    (native-inputs (list r-quarto))
    (home-page "https://github.com/e-kotov/rJavaEnv")
    (synopsis "'Java' Environments for R Projects")
    (description
     "Quickly install Java Development Kit (JDK) without administrative privileges and
set environment variables in current R session or project to solve common issues
with Java environment management in R'.  Recommended to users of
Java'/'@code{rJava'-dependent} R packages such as r5r', opentripplanner', xlsx',
@code{openNLP}', @code{rWeka}', RJDBC', tabulapdf', and many more.
@code{rJavaEnv} prevents common problems like Java not found, Java version
conflicts, missing Java installations, and the inability to install Java due to
lack of administrative privileges. @code{rJavaEnv} automates the download,
installation, and setup of the Java on a per-project basis by setting the
relevant JAVA_HOME in the current R session or the current working directory
(via .Rprofile', with the user's consent).  Similar to what renv does for R
packages, @code{rJavaEnv} allows different Java versions to be used across
different projects, but can also be configured to allow multiple versions within
the same project (e.g. with the help of targets package).  Note: there are a few
extra steps for Linux users, who don't have any Java previously installed in
their system, and who prefer package installation from source, rather then
installing binaries from Posit Package Manager'.  See documentation for details.")
    (license license:expat)))

(define-public r-rjalalidate
  (package
    (name "r-rjalalidate")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RJalaliDate" version))
       (sha256
        (base32 "0q03q95wy3zj98fn0fg9k4vqkkfvfn59v9ajsfm3b6baqkj8ppdk"))))
    (properties `((upstream-name . "RJalaliDate")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-stringi r-settings r-lubridate))
    (home-page "https://cran.r-project.org/package=RJalaliDate")
    (synopsis "Handling Jalali Date (Persian / Solar Hijri)")
    (description
     "Jalali calendar, or solar Hijri, is calendar of Iran and Afghanistan
(<https://en.wikipedia.org/wiki/Solar_Hijri_calendar>).  This package is
designed to working with Jalali date.  For this purpose, It defines
@code{JalaliDate} class that is similar to Date class.")
    (license license:gpl3+)))

(define-public r-rjafroc
  (package
    (name "r-rjafroc")
    (version "2.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RJafroc" version))
       (sha256
        (base32 "1immjb2313ss7pc61m3y59h6m3i0257lhvrkkvhrprl9jsyanfca"))))
    (properties `((upstream-name . "RJafroc")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-readxl
                             r-rcpp
                             r-openxlsx
                             r-numderiv
                             r-mvtnorm
                             r-ggplot2
                             r-dplyr
                             r-binom
                             r-bbmle))
    (home-page "https://dpc10ster.github.io/RJafroc/")
    (synopsis "Artificial Intelligence Systems and Observer Performance")
    (description
     "Analyzing the performance of artificial intelligence (AI) systems/algorithms
characterized by a search-and-report strategy.  Historically observer
performance has dealt with measuring radiologists performances in search tasks,
e.g., searching for lesions in medical images and reporting them, but the
implicit location information has been ignored.  The implemented methods apply
to analyzing the absolute and relative performances of AI systems, comparing AI
performance to a group of human readers or optimizing the reporting threshold of
an AI system.  In addition to performing historical receiver operating receiver
operating characteristic (ROC) analysis (localization information ignored), the
software also performs free-response receiver operating characteristic (FROC)
analysis, where lesion localization information is used.  A book using the
software has been published: Chakraborty DP: Observer Performance Methods for
Diagnostic Imaging - Foundations, Modeling, and Applications with R-Based
Examples, Taylor-Francis LLC; 2017:
<https://www.routledge.com/Observer-Performance-Methods-for-Diagnostic-Imaging-Foundations-Modeling/Chakraborty/p/book/9781482214840>.
 Online updates to this book, which use the software, are at
<https://dpc10ster.github.io/R@code{JafrocQuickStart/>},
<https://dpc10ster.github.io/R@code{JafrocRocBook/>} and at
<https://dpc10ster.github.io/R@code{JafrocFrocBook/>}.  Supported data
collection paradigms are the ROC, FROC and the location ROC (LROC).  ROC data
consists of single ratings per images, where a rating is the perceived
confidence level that the image is that of a diseased patient.  An ROC curve is
a plot of true positive fraction vs. false positive fraction.  FROC data
consists of a variable number (zero or more) of mark-rating pairs per image,
where a mark is the location of a reported suspicious region and the rating is
the confidence level that it is a real lesion.  LROC data consists of a rating
and a location of the most suspicious region, for every image.  Four models of
observer performance, and curve-fitting software, are implemented: the binormal
model (BM), the contaminated binormal model (CBM), the correlated contaminated
binormal model (CORCBM), and the radiological search model (RSM).  Unlike the
binormal model, CBM, CORCBM and RSM predict proper ROC curves that do not
inappropriately cross the chance diagonal.  Additionally, RSM parameters are
related to search performance (not measured in conventional ROC analysis) and
classification performance.  Search performance refers to finding lesions, i.e.,
true positives, while simultaneously not finding false positive locations.
Classification performance measures the ability to distinguish between true and
false positive locations.  Knowing these separate performances allows principled
optimization of reader or AI system performance.  This package supersedes
Windows JAFROC (jackknife alternative FROC) software V4.2.1,
<https://github.com/dpc10ster/@code{WindowsJafroc>}.  Package functions are
organized as follows.  Data file related function names are preceded by Df',
curve fitting functions by Fit', included data sets by dataset', plotting
functions by Plot', significance testing functions by St', sample size related
functions by Ss', data simulation functions by Simulate and utility functions by
Util'.  Implemented are figures of merit (FOMs) for quantifying performance and
functions for visualizing empirical or fitted operating characteristics: e.g.,
ROC, FROC, alternative FROC (AFROC) and weighted AFROC (@code{wAFROC}) curves.
For fully crossed study designs significance testing of reader-averaged FOM
differences between modalities is implemented via either Dorfman-Berbaum-Metz or
the Obuchowski-Rockette methods.  Also implemented is single treatment analysis,
which allows comparison of performance of a group of radiologists to a specified
value, or comparison of AI to a group of radiologists interpreting the same
cases.  Crossed-modality analysis is implemented wherein there are two crossed
treatment factors and the aim is to determined performance in each treatment
factor averaged over all levels of the second factor.  Sample size estimation
tools are provided for ROC and FROC studies; these use estimates of the relevant
variances from a pilot study to predict required numbers of readers and cases in
a pivotal study to achieve the desired power.  Utility and data file
manipulation functions allow data to be read in any of the currently used input
formats, including Excel, and the results of the analysis can be viewed in text
or Excel output files.  The methods are illustrated with several included
datasets from the author's collaborations.  This update includes improvements to
the code, some as a result of user-reported bugs and new feature requests, and
others discovered during ongoing testing and code simplification.")
    (license license:gpl3)))

(define-public r-rjade
  (package
    (name "r-rjade")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rjade" version))
       (sha256
        (base32 "0wv1vpy8ql1r9ya5mfqxdj7jv5wk029g8hjjp0xqp8dm507vj11x"))))
    (properties `((upstream-name . "rjade")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-v8))
    (native-inputs (list r-knitr esbuild))
    (home-page "https://cran.r-project.org/package=rjade")
    (synopsis "Clean, Whitespace-Sensitive Template Language for Writing HTML")
    (description
     "Jade is a high performance template engine heavily influenced by Haml and
implemented with @code{JavaScript} for node and browsers.")
    (license license:expat)))

(define-public r-rix
  (package
    (name "r-rix")
    (version "0.12.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rix" version))
       (sha256
        (base32 "0m2njhb9cbl9qvrvwxjjh07416diw4r5zbdnrdxv0szpb7s58i09"))))
    (properties `((upstream-name . "rix")))
    (build-system r-build-system)
    (propagated-inputs (list r-sys r-jsonlite r-curl r-codetools))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rix/")
    (synopsis "Reproducible Data Science Environments with 'Nix'")
    (description
     "Simplifies the creation of reproducible data science environments using the Nix
package manager, as described in Dolstra (2006) <ISBN 90-393-4130-3>.  The
included `rix()` function generates a complete description of the environment as
a `default.nix` file, which can then be built using Nix'.  This results in
project specific software environments with pinned versions of R, packages,
linked system dependencies, and other tools.  Additional helpers make it easy to
run R code in Nix software environments for testing and production.")
    (license license:gpl3+)))

(define-public r-rivretrieve
  (package
    (name "r-rivretrieve")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RivRetrieve" version))
       (sha256
        (base32 "1lrm5rmnn9wk5r1xfmlnhgfwjz1s0kyck9iy71fc01d2b37lh6wz"))))
    (properties `((upstream-name . "RivRetrieve")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tidyhydat
                             r-tibble
                             r-stringr
                             r-rvest
                             r-rselenium
                             r-rlist
                             r-rlang
                             r-readr
                             r-lubridate
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-devtools
                             r-dataretrieval
                             r-bbmisc))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/Ryan-Riggs/RivRetrieve")
    (synopsis "Retrieve Global River Gauge Data")
    (description
     "This package provides access to global river gauge data from a variety of
national-level river agencies.  The package interfaces with the national-level
agency websites to provide access to river gauge locations, river discharge, and
river stage.  Currently, the package is available for the following countries:
Australia, Brazil, Canada, Chile, France, Japan, South Africa, the United
Kingdom, and the United States.")
    (license license:expat)))

(define-public r-rivr
  (package
    (name "r-rivr")
    (version "1.2-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rivr" version))
       (sha256
        (base32 "10k4cqrlzcy5g0yqbkrzxfz0dwsnf8kgmfq011lj13kxpb38bpvy"))))
    (properties `((upstream-name . "rivr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/mkoohafkan/rivr")
    (synopsis "Steady and Unsteady Open-Channel Flow Computation")
    (description
     "This package provides a tool for undergraduate and graduate courses in
open-channel hydraulics.  Provides functions for computing normal and critical
depths, steady-state water surface profiles (e.g. backwater curves) and unsteady
flow computations (e.g. flood wave routing) as described in Koohafkan MC, Younis
BA (2015). \"Open-channel computation with R.\" The R Journal, 7(2), 249â262.
<doi: 10.32614/RJ-2015-034>.")
    (license license:gpl3+)))

(define-public r-rivnet
  (package
    (name "r-rivnet")
    (version "0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rivnet" version))
       (sha256
        (base32 "19ncnyfhh1rmq2xp0779j9fp7cfv99jam7ac5l0wzyp087f4w9g0"))))
    (properties `((upstream-name . "rivnet")))
    (build-system r-build-system)
    (propagated-inputs (list r-traudem
                             r-terra
                             r-spam
                             r-sf
                             r-rcpp
                             r-raster
                             r-parallelly
                             r-ocnet
                             r-fields
                             r-elevatr
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://lucarraro.github.io/rivnet/")
    (synopsis "Extract and Analyze Rivers from Elevation Data")
    (description
     "Seamless extraction of river networks from digital elevation models data.  The
package allows analysis of digital elevation models that can be either
externally provided or downloaded from open source repositories (thus
interfacing with the elevatr package).  Extraction is performed via the D8 flow
direction algorithm of @code{TauDEM} (Terrain Analysis Using Digital Elevation
Models), thus interfacing with the traudem package.  Resulting river networks
are compatible with functions from the OCNet package.  See Carraro (2023)
<doi:10.5194/hess-27-3733-2023> for a presentation of the package.")
    (license license:expat)))

(define-public r-rivivc
  (package
    (name "r-rivivc")
    (version "0.9.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rivivc" version))
       (sha256
        (base32 "0vbnkid5cp9af0m2kk3cblb3fr69llzmk6ckjy1brgyvrrmw5hz3"))))
    (properties `((upstream-name . "Rivivc")))
    (build-system r-build-system)
    (propagated-inputs (list r-signal))
    (home-page "https://cran.r-project.org/package=Rivivc")
    (synopsis "In Vitro in Vivo Correlation Linear Level \"A\"")
    (description
     "It is devoted to the IVIVC linear level A with numerical deconvolution method.
The latter is working for inequal and incompatible timepoints between impulse
and response curves.  A numerical convolution method is also available.
Application domains include pharamaceutical industry QA/QC and R&D together with
academic research.")
    (license license:gpl3+)))

(define-public r-rivernet
  (package
    (name "r-rivernet")
    (version "1.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rivernet" version))
       (sha256
        (base32 "197y3sv75a7wg1i7a7m5yxpsv6j5hyv0fs5anqkxbz45qhhf163z"))))
    (properties `((upstream-name . "rivernet")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rivernet")
    (synopsis "Read, Analyze and Plot River Networks")
    (description
     "This package provides functions for reading, analysing and plotting river
networks.  For this package, river networks consist of sections and nodes with
associated attributes, e.g. to characterise their morphological, chemical and
biological state.  The package provides functions to read this data from text
files, to analyse the network structure and network paths and regions consisting
of sections and nodes that fulfill prescribed criteria, and to plot the river
network and associated properties.")
    (license license:gpl3)))

(define-public r-riverdist
  (package
    (name "r-riverdist")
    (version "0.17.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riverdist" version))
       (sha256
        (base32 "1l01b7j3bas5swxl8vjk62g7br4ifg58p4x0pmgd2d4v9vm3ibc1"))))
    (properties `((upstream-name . "riverdist")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=riverdist")
    (synopsis "River Network Distance Computation and Applications")
    (description
     "Reads river network shape files and computes network distances.  Also included
are a variety of computation and graphical tools designed for fisheries
telemetry research, such as minimum home range, kernel density estimation, and
clustering analysis using empirical k-functions with a bootstrap envelope.
Tools are also provided for editing the river networks, meaning there is no
reliance on external software.")
    (license license:gpl2)))

(define-public r-riverconn
  (package
    (name "r-riverconn")
    (version "0.3.31")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riverconn" version))
       (sha256
        (base32 "094w6mkndpvwldmlak2z1dm7n093n3s81mnz4x9dac6mrdl63s19"))))
    (properties `((upstream-name . "riverconn")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-rlang
                             r-reshape2
                             r-magrittr
                             r-igraph
                             r-foreach
                             r-dplyr
                             r-doparallel
                             r-dodgr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/damianobaldan/riverconn")
    (synopsis "Fragmentation and Connectivity Indices for Riverscapes")
    (description
     "Indices for assessing riverscape fragmentation, including the Dendritic
Connectivity Index, the Population Connectivity Index, the River Fragmentation
Index, the Probability of Connectivity, and the Integral Index of connectivity.
For a review, see Jumani et al. (2020) <doi:10.1088/1748-9326/abcb37> and Baldan
et al. (2022) <doi:10.1016/j.envsoft.2022.105470> Functions to calculate
temporal indices improvement when fragmentation due to barriers is reduced are
also included.")
    (license license:expat)))

(define-public r-riverbuilder
  (package
    (name "r-riverbuilder")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RiverBuilder" version))
       (sha256
        (base32 "06cd1m4liv2bsh2sxplq2zl45g9zq8gsgvh14d0zr0pqm8z4dsyw"))))
    (properties `((upstream-name . "RiverBuilder")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RiverBuilder")
    (synopsis "River Generation for Given Data Sets")
    (description
     "Generates graphs, CSV files, and coordinates related to river valleys when
calling the riverbuilder() function.")
    (license license:gpl3)))

(define-public r-riv
  (package
    (name "r-riv")
    (version "2.0-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riv" version))
       (sha256
        (base32 "0n19jlrs12iysq45xyi3zvghkircg0ww5vbsfpnqkw5b22zsv30s"))))
    (properties `((upstream-name . "riv")))
    (build-system r-build-system)
    (propagated-inputs (list r-rrcov r-quantreg r-mass))
    (home-page "https://cran.r-project.org/package=riv")
    (synopsis "Robust Instrumental Variables Estimator")
    (description
     "Finds a robust instrumental variables estimator using a high breakdown point
S-estimator of multivariate location and scatter matrix.")
    (license license:gpl2)))

(define-public r-ritools
  (package
    (name "r-ritools")
    (version "0.3-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RItools" version))
       (sha256
        (base32 "1msjxrlil82sa8xm705zi5kqy74nq8jndgm7aq0skn9ms6w88xh4"))))
    (properties `((upstream-name . "RItools")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-tidyr
                             r-tibble
                             r-svd
                             r-survival
                             r-sparsem
                             r-ggplot2
                             r-dplyr
                             r-abind))
    (home-page "https://cran.r-project.org/package=RItools")
    (synopsis "Randomization Inference Tools")
    (description
     "This package provides tools for randomization-based inference.  Current focus is
on the d^2 omnibus test of differences of means following Hansen and Bowers
(2008) <doi:10.1214/08-STS254> .  This test is useful for assessing balance in
matched observational studies or for analysis of outcomes in block-randomized
experiments.")
    (license license:gpl2+)))

(define-public r-ritis
  (package
    (name "r-ritis")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ritis" version))
       (sha256
        (base32 "0dk1hpj2cahlw4lcdjnnllpnvdimaml57sfcw07iz2s0f8c24yrj"))))
    (properties `((upstream-name . "ritis")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-solrium r-jsonlite r-data-table r-crul))
    (home-page
     "https://github.com/ropensci/ritishttps://docs.ropensci.org/ritis/")
    (synopsis "Integrated Taxonomic Information System Client")
    (description
     "An interface to the Integrated Taxonomic Information System ('ITIS')
(<https://www.itis.gov>).  Includes functions to work with the ITIS REST API
methods (<https://www.itis.gov/ws_description.html>), as well as the Solr web
service (<https://www.itis.gov/solr_documentation.html>).")
    (license license:expat)))

(define-public r-ritch
  (package
    (name "r-ritch")
    (version "0.1.26")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RITCH" version))
       (sha256
        (base32 "0n8vd7jdw5hb4vx3nspg64m52j2n2pmjh649nr87444dkfnaf4wc"))))
    (properties `((upstream-name . "RITCH")))
    (build-system r-build-system)
    (inputs (list zlib))
    (propagated-inputs (list r-rcpp r-nanotime r-data-table r-bit64))
    (home-page "https://davzim.github.io/RITCH/")
    (synopsis "R Parser for the ITCH-Protocol")
    (description
     "Allows to efficiently parse, filter, and write binary ITCH Files (Version 5.0)
containing detailed financial transactions as distributed by NASDAQ to an R
data.table.")
    (license license:expat)))

(define-public r-ritc
  (package
    (name "r-ritc")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Ritc" version))
       (sha256
        (base32 "03smhxjhjfkc9pxhlgg54b6v2jznpmnws8373qpvn9a9ky5bcq2l"))))
    (properties `((upstream-name . "Ritc")))
    (build-system r-build-system)
    (propagated-inputs (list r-minpack-lm))
    (home-page "https://cran.r-project.org/package=Ritc")
    (synopsis "Isothermal Titration Calorimetry (ITC) Data Analysis")
    (description
     "This package implements the simulation and regression of integrated Isothermal
Titration Calorimetry (ITC) data using the most commonly used one-to-one binding
reaction model.")
    (license license:gpl3)))

(define-public r-rita
  (package
    (name "r-rita")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rita" version))
       (sha256
        (base32 "0qc969pjs7bn8c7alisqb2pvba22kkvd3lsfqz5wnrpy311s4jxr"))))
    (properties `((upstream-name . "Rita")))
    (build-system r-build-system)
    (propagated-inputs (list r-lattice))
    (home-page "https://cran.r-project.org/package=Rita")
    (synopsis "Automated Transformations, Normality Testing, and Reporting")
    (description
     "Automated performance of common transformations used to fulfill parametric
assumptions of normality and identification of the best performing method for
the user.  Output for various normality tests (Thode, 2002) corresponding to the
best performing method and a descriptive statistical report of the input data in
its original units (5-number summary and mathematical moments) are also
presented.  Lastly, the Rankit, an empirical normal quantile transformation
(ENQT) (Soloman & Sawilowsky, 2009), is provided to accommodate non-standard use
cases and facilitate adoption. <DOI: 10.1201/9780203910894>. <DOI:
10.22237/jmasm/1257034080>.")
    (license license:expat)))

(define-public r-riskyr
  (package
    (name "r-riskyr")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riskyr" version))
       (sha256
        (base32 "1ki3r46d73ws0gnm93llmkv42yfm0mfwvxxafnrhsdcj5kinl4ir"))))
    (properties `((upstream-name . "riskyr")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://riskyr.org/")
    (synopsis "Rendering Risk Literacy more Transparent")
    (description
     "Risk-related information (like the prevalence of conditions, the sensitivity and
specificity of diagnostic tests, or the effectiveness of interventions or
treatments) can be expressed in terms of frequencies or probabilities.  By
providing a toolbox of corresponding metrics and representations, riskyr
computes, translates, and visualizes risk-related information in a variety of
ways.  Adopting multiple complementary perspectives provides insights into the
interplay between key parameters and renders teaching and training programs on
risk literacy more transparent.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-risksimul
  (package
    (name "r-risksimul")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riskSimul" version))
       (sha256
        (base32 "05n5ffkjdhy799zhv7jd38am0yp3k8240z0abf73bi4mm3bw2raq"))))
    (properties `((upstream-name . "riskSimul")))
    (build-system r-build-system)
    (propagated-inputs (list r-runuran))
    (home-page "https://cran.r-project.org/package=riskSimul")
    (synopsis
     "Risk Quantification for Stock Portfolios under the T-Copula Model")
    (description
     "This package implements efficient simulation procedures to estimate tail loss
probabilities and conditional excess for a stock portfolio.  The log-returns are
assumed to follow a t-copula model with generalized hyperbolic or t marginals.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-risksetroc
  (package
    (name "r-risksetroc")
    (version "1.0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "risksetROC" version))
       (sha256
        (base32 "11x6qga8m8xgl4hlnjsznd4sicfxc5pbi4gv27s0gnjml0f3irhg"))))
    (properties `((upstream-name . "risksetROC")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-mass))
    (home-page "https://cran.r-project.org/package=risksetROC")
    (synopsis "Riskset ROC Curve Estimation from Censored Survival Data")
    (description
     "Compute time-dependent Incident/dynamic accuracy measures (ROC curve, AUC,
integrated AUC )from censored survival data under proportional or
non-proportional hazard assumption of Heagerty & Zheng (Biometrics, Vol 61 No 1,
2005, PP 92-105).")
    (license license:gpl2+)))

(define-public r-riskscorescvd
  (package
    (name "r-riskscorescvd")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RiskScorescvd" version))
       (sha256
        (base32 "0mv4xk98l8pq7s6bx246h5w8k49yhv4x5m5gajrg5kxq1mgcjfh4"))))
    (properties `((upstream-name . "RiskScorescvd")))
    (build-system r-build-system)
    (propagated-inputs (list r-pooledcohort r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/dvicencio/RiskScorescvd")
    (synopsis "Cardiovascular Risk Scores Calculator")
    (description
     "This package provides a tool to calculate Cardiovascular Risk Scores in large
data frames.  Cardiovascular risk scores are statistical tools used to assess an
individual's likelihood of developing a cardiovascular disease based on various
risk factors, such as age, gender, blood pressure, cholesterol levels, and
smoking.  Here we bring together the six most commonly used in the emergency
department.  Using @code{RiskScorescvd}', you can calculate all the risk scores
in an extended dataset in seconds.  PCE (ASCVD) described in Goff, et al (2013)
<doi:10.1161/01.cir.0000437741.48606.98>.  EDACS described in Mark DG, et al
(2016) <doi:10.1016/j.jacc.2017.11.064>.  GRACE described in Fox KA, et al
(2006) <doi:10.1136/bmj.38985.646481.55>.  HEART is described in Mahler SA, et
al (2017) <doi:10.1016/j.clinbiochem.2017.01.003>.  SCORE2/OP described in
SCORE2 working group and ESC Cardiovascular risk collaboration (2021)
<doi:10.1093/eurheartj/ehab309>.  TIMI described in Antman EM, et al (2000)
<doi:10.1001/jama.284.7.835>.  SCORE2-Diabetes described in SCORE2-Diabetes
working group and ESC Cardiovascular risk collaboration (2023)
<doi:10.1093/eurheartj/ehab260>.  SCORE2/OP with CKD add-on described in
Kunihiro M et al (2022) <doi:10.1093/eurjpc/zwac176>.")
    (license license:expat)))

(define-public r-riskscores
  (package
    (name "r-riskscores")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riskscores" version))
       (sha256
        (base32 "0m2f4mk8zghnqvry949lqajv9q9l7p663qqx7j62mnax41y9ylx2"))))
    (properties `((upstream-name . "riskscores")))
    (build-system r-build-system)
    (propagated-inputs (list r-magrittr r-ggplot2 r-foreach r-dplyr))
    (native-inputs (list r-knitr r-kableextra))
    (home-page "https://github.com/hjeglinton/riskscores")
    (synopsis "Optimized Integer Risk Score Models")
    (description
     "This package implements an optimized approach to learning risk score models,
where sparsity and integer constraints are integrated into the model-fitting
process.")
    (license license:gpl3+)))

(define-public r-risks
  (package
    (name "r-risks")
    (version "0.4.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "risks" version))
       (sha256
        (base32 "1f28v9yqcbg2qp0xilggm61phyqcwfn9rw0vlg09wv12g3ii05xp"))))
    (properties `((upstream-name . "risks")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-sandwich
                             r-rlang
                             r-purrr
                             r-dplyr
                             r-broom
                             r-boot
                             r-bcaboot))
    (native-inputs (list r-knitr))
    (home-page "https://stopsack.github.io/risks/")
    (synopsis "Estimate Risk Ratios and Risk Differences using Regression")
    (description
     "Risk ratios and risk differences are estimated using regression models that
allow for binary, categorical, and continuous exposures and confounders.
Implemented are marginal standardization after fitting logistic models
(g-computation) with delta-method and bootstrap standard errors, Miettinen's
case-duplication approach (Schouten et al.  1993, <doi:10.1002/sim.4780121808>),
log-binomial (Poisson) models with empirical variance (Zou 2004,
<doi:10.1093/aje/kwh090>), binomial models with starting values from Poisson
models (Spiegelman and Hertzmark 2005, <doi:10.1093/aje/kwi188>), and others.")
    (license license:gpl3)))

(define-public r-riskregression
  (package
    (name "r-riskregression")
    (version "2023.12.21")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riskRegression" version))
       (sha256
        (base32 "07cvj86v2k1i34yrsqcgl2wqxlbbmslbbilvcnvkwfsk9l6ajk5c"))))
    (properties `((upstream-name . "riskRegression")))
    (build-system r-build-system)
    (propagated-inputs (list r-timereg
                             r-survival
                             r-rms
                             r-rcpparmadillo
                             r-rcpp
                             r-ranger
                             r-publish
                             r-prodlim
                             r-plotrix
                             r-mvtnorm
                             r-mets
                             r-lava
                             r-lattice
                             r-ggplot2
                             r-foreach
                             r-doparallel
                             r-data-table
                             r-cmprsk))
    (native-inputs (list r-r-rsp))
    (home-page "https://github.com/tagteam/riskRegression")
    (synopsis
     "Risk Regression Models and Prediction Scores for Survival Analysis with Competing Risks")
    (description
     "Implementation of the following methods for event history analysis.  Risk
regression models for survival endpoints also in the presence of competing risks
are fitted using binomial regression based on a time sequence of binary event
status variables.  A formula interface for the Fine-Gray regression model and an
interface for the combination of cause-specific Cox regression models.  A
toolbox for assessing and comparing performance of risk predictions (risk
markers and risk prediction models).  Prediction performance is measured by the
Brier score and the area under the ROC curve for binary possibly time-dependent
outcome.  Inverse probability of censoring weighting and pseudo values are used
to deal with right censored data.  Lists of risk markers and lists of risk
models are assessed simultaneously.  Cross-validation repeatedly splits the
data, trains the risk prediction models on one part of each split and then
summarizes and compares the performance across splits.")
    (license license:gpl2+)))

(define-public r-riskpredictclustdata
  (package
    (name "r-riskpredictclustdata")
    (version "0.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riskPredictClustData" version))
       (sha256
        (base32 "0mvy9299pg374gvvqs9lmj2j0f3bzyy279kjpz7jq35hkgz5wif3"))))
    (properties `((upstream-name . "riskPredictClustData")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm r-mass r-hmisc r-gee))
    (home-page "https://cran.r-project.org/package=riskPredictClustData")
    (synopsis "Assessing Risk Predictions for Clustered Data")
    (description
     "Assessing and comparing risk prediction rules for clustered data.  The method is
based on the paper: Rosner B, Qiu W, and Lee MLT.(2013) <doi:
10.1007/s10985-012-9240-6>.")
    (license license:gpl2+)))

(define-public r-riskportfolios
  (package
    (name "r-riskportfolios")
    (version "2.1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RiskPortfolios" version))
       (sha256
        (base32 "07mhn8imn4y8kf50x2g7i55dyksh0sryjkzb09rkf64x49vq7ban"))))
    (properties `((upstream-name . "RiskPortfolios")))
    (build-system r-build-system)
    (propagated-inputs (list r-quadprog r-nloptr r-mass))
    (home-page "https://github.com/ArdiaD/RiskPortfolios")
    (synopsis "Computation of Risk-Based Portfolios")
    (description
     "Collection of functions designed to compute risk-based portfolios as described
in Ardia et al. (2017) <doi:10.1007/s10479-017-2474-7> and Ardia et al. (2017)
<doi:10.21105/joss.00171>.")
    (license license:gpl2+)))

(define-public r-riskparityportfolio
  (package
    (name "r-riskparityportfolio")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riskParityPortfolio" version))
       (sha256
        (base32 "1n2z1vhslrip209j79wm03wmwqdcnbm939sir2wfs5h2cfv126xk"))))
    (properties `((upstream-name . "riskParityPortfolio")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen
                             r-rcpp
                             r-quadprog
                             r-nloptr
                             r-matrix
                             r-alabama))
    (native-inputs (list r-rmarkdown r-r-rsp r-knitr))
    (home-page "https://CRAN.R-project.org/package=riskParityPortfolio")
    (synopsis "Design of Risk Parity Portfolios")
    (description
     "Fast design of risk parity portfolios for financial investment.  The goal of the
risk parity portfolio formulation is to equalize or distribute the risk
contributions of the different assets, which is missing if we simply consider
the overall volatility of the portfolio as in the mean-variance Markowitz
portfolio.  In addition to the vanilla formulation, where the risk contributions
are perfectly equalized subject to no shortselling and budget constraints, many
other formulations are considered that allow for box constraints and
shortselling, as well as the inclusion of additional objectives like the
expected return and overall variance.  See vignette for a detailed documentation
and comparison, with several illustrative examples.  The package is based on the
papers: Y. Feng, and D. P. Palomar (2015).  SCRIP: Successive Convex
Optimization Methods for Risk Parity Portfolio Design.  IEEE Trans.  on Signal
Processing, vol.  63, no.  19, pp.  5285-5300. <doi:10.1109/TSP.2015.2452219>.
F. Spinu (2013), An Algorithm for Computing Risk Parity Weights.
<doi:10.2139/ssrn.2297383>.  T. Griveau-Billion, J. Richard, and T. Roncalli
(2013).  A fast algorithm for computing High-dimensional risk parity portfolios.
<@code{arXiv:1311.4057>}.")
    (license license:gpl3)))

(define-public r-riskmetric
  (package
    (name "r-riskmetric")
    (version "0.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riskmetric" version))
       (sha256
        (base32 "00zc0jnnkx8z4mgr4h7w1xh8id4bai5l8jvh10xhylsvc1gy4ysg"))))
    (properties `((upstream-name . "riskmetric")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-vctrs
                             r-urltools
                             r-tibble
                             r-pkgload
                             r-pillar
                             r-memoise
                             r-httr
                             r-devtools
                             r-curl
                             r-cranlogs
                             r-covr
                             r-biocmanager
                             r-backports))
    (native-inputs (list r-knitr))
    (home-page "https://pharmar.github.io/riskmetric/")
    (synopsis "Risk Metrics to Evaluating R Packages")
    (description
     "Facilities for assessing R packages against a number of metrics to help quantify
their robustness.")
    (license license:expat)))

(define-public r-riskmap
  (package
    (name "r-riskmap")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RiskMap" version))
       (sha256
        (base32 "17najil5lddwbzwd1ja44jpiwp2iva2y27p6lw0s0qhnlyr8vz4y"))))
    (properties `((upstream-name . "RiskMap")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-terra
                             r-sf
                             r-maxlik
                             r-matrix
                             r-ggplot2))
    (home-page "https://claudiofronterre.github.io/RiskMap/")
    (synopsis "Geo-Statistical Modeling of Spatially Referenced Data")
    (description
     "This package provides functions for geo-statistical analysis of both continuous
and count data using maximum likelihood methods.  The models implemented in the
package use stationary Gaussian processes with Matern correlation function to
carry out spatial prediction in a geographical area of interest.  The
underpinning theory of the methods implemented in the package are found in
Diggle and Giorgi (2019, ISBN: 978-1-138-06102-7).")
    (license license:expat)))

(define-public r-riskcommunicator
  (package
    (name "r-riskcommunicator")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riskCommunicator" version))
       (sha256
        (base32 "07rfqaf5dpj0wgbz65kdxzl762w8k5a2fsfmg1g895y2i5npq6mz"))))
    (properties `((upstream-name . "riskCommunicator")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-rlang
                             r-purrr
                             r-mass
                             r-magrittr
                             r-ggpubr
                             r-ggplot2
                             r-dplyr
                             r-boot))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=riskCommunicator")
    (synopsis
     "G-Computation to Estimate Interpretable Epidemiological Effects")
    (description
     "Estimates flexible epidemiological effect measures including both differences
and ratios using the parametric G-formula developed as an alternative to inverse
probability weighting.  It is useful for estimating the impact of interventions
in the presence of treatment-confounder-feedback.  G-computation was originally
described by Robbins (1986) <doi:10.1016/0270-0255(86)90088-6> and has been
described in detail by Ahern, Hubbard, and Galea (2009)
<doi:10.1093/aje/kwp015>; Snowden, Rose, and Mortimer (2011)
<doi:10.1093/aje/kwq472>; and Westreich et al. (2012) <doi:10.1002/sim.5316>.")
    (license license:gpl3)))

(define-public r-riskclustr
  (package
    (name "r-riskclustr")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riskclustr" version))
       (sha256
        (base32 "0c5gc4kllhf8i5x0dw0lkdkp40r6smv5hkiq57pih9ahz18did9i"))))
    (properties `((upstream-name . "riskclustr")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-mlogit r-matrix))
    (native-inputs (list r-knitr))
    (home-page "https://www.emilyzabor.com/riskclustr/")
    (synopsis "Functions to Study Etiologic Heterogeneity")
    (description
     "This package provides a collection of functions related to the study of
etiologic heterogeneity both across disease subtypes and across individual
disease markers.  The included functions allow one to quantify the extent of
etiologic heterogeneity in the context of a case-control study, and provide
p-values to test for etiologic heterogeneity across individual risk factors.
Begg CB, Zabor EC, Bernstein JL, Bernstein L, Press MF, Seshan VE (2013)
<doi:10.1002/sim.5902>.")
    (license license:gpl2)))

(define-public r-risk
  (package
    (name "r-risk")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Risk" version))
       (sha256
        (base32 "1i42xcc699syj108mvgklwb30wkf9c9jrg5rmd2ypnqk9mnyg2fg"))))
    (properties `((upstream-name . "Risk")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=Risk")
    (synopsis
     "Computes 26 Financial Risk Measures for Any Continuous Distribution")
    (description
     "Computes 26 financial risk measures for any continuous distribution.  The 26
financial risk measures include value at risk, expected shortfall due to Artzner
et al. (1999) <DOI:10.1007/s10957-011-9968-2>, tail conditional median due to
Kou et al. (2013) <DOI:10.1287/moor.1120.0577>, expectiles due to Newey and
Powell (1987) <DOI:10.2307/1911031>, beyond value at risk due to Longin (2001)
<DOI:10.3905/jod.2001.319161>, expected proportional shortfall due to Belzunce
et al. (2012) <DOI:10.1016/j.insmatheco.2012.05.003>, elementary risk measure
due to Ahmadi-Javid (2012) <DOI:10.1007/s10957-011-9968-2>, omega due to
Shadwick and Keating (2002), sortino ratio due to Rollinger and Hoffman (2013),
kappa due to Kaplan and Knowles (2004), Wang (1998)'s
<DOI:10.1080/10920277.1998.10595708> risk measures, Stone (1973)'s
<DOI:10.2307/2978638> risk measures, Luce (1980)'s <DOI:10.1007/BF00135033> risk
measures, Sarin (1987)'s <DOI:10.1007/BF00126387> risk measures, Bronshtein and
Kurelenkova (2009)'s risk measures.")
    (license license:gpl2+)))

(define-public r-rising
  (package
    (name "r-rising")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rIsing" version))
       (sha256
        (base32 "1208lwfk9j8gghj8xf6i8v6s18h89ydqsd4jq3r88n403yzbzzck"))))
    (properties `((upstream-name . "rIsing")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp r-data-table))
    (home-page "https://cran.r-project.org/package=rIsing")
    (synopsis "High-Dimensional Ising Model Selection")
    (description
     "Fits an Ising model to a binary dataset using L1 regularized logistic regression
and extended BIC. Also includes a fast lasso logistic regression function for
high-dimensional problems.  Uses the @code{libLBFGS} optimization library by
Naoaki Okazaki.")
    (license license:gpl2+)))

(define-public r-rise
  (package
    (name "r-rise")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rise" version))
       (sha256
        (base32 "12r7mbaxp9pjypbpjxlsbqg7spw80gjgm2w0lsvgvclffc50a6ni"))))
    (properties `((upstream-name . "rise")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2 r-dplyr))
    (home-page "https://cran.r-project.org/package=rise")
    (synopsis "Conduct RISE Analysis")
    (description
     "This package implements techniques for educational resource inspection,
selection, and evaluation (RISE) described in Bodily, Nyland, and Wiley (2017)
<doi:10.19173/irrodl.v18i2.2952>.	Automates the process of identifying learning
materials that are not effectively supporting student learning in
technology-mediated courses by synthesizing information about access to course
content and performance on assessments.")
    (license license:expat)))

(define-public r-risca
  (package
    (name "r-risca")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RISCA" version))
       (sha256
        (base32 "1ysd3al4bai3nrzqxrs4bq9613h77d4wm54pchp6g89cgnrgzn3v"))))
    (properties `((upstream-name . "RISCA")))
    (build-system r-build-system)
    (propagated-inputs (list r-tune
                             r-survival
                             r-superlearner
                             r-statmod
                             r-rpart
                             r-reticulate
                             r-relsurv
                             r-nnet
                             r-nlme
                             r-mvtnorm
                             r-mosaic
                             r-mass
                             r-kernlab
                             r-glmnet
                             r-foreach
                             r-doparallel
                             r-date
                             r-cubature
                             r-caret))
    (home-page "https://cran.r-project.org/package=RISCA")
    (synopsis "Causal Inference and Prediction in Cohort-Based Analyses")
    (description
     "Numerous functions for cohort-based analyses, either for prediction or causal
inference.  For causal inference, it includes Inverse Probability Weighting and
G-computation for marginal estimation of an exposure effect when confounders are
expected.  We deal with binary outcomes, times-to-events, competing events, and
multi-state data.  For multistate data, semi-Markov model with interval
censoring may be considered, and we propose the possibility to consider the
excess of mortality related to the disease compared to reference lifetime
tables.  For predictive studies, we propose a set of functions to estimate
time-dependent receiver operating characteristic (ROC) curves with the possible
consideration of right-censoring times-to-events or the presence of confounders.
 Finally, several functions are available to assess time-dependent ROC curves or
survival curves from aggregated data.")
    (license license:gpl2+)))

(define-public r-rirt
  (package
    (name "r-rirt")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rirt" version))
       (sha256
        (base32 "0npd2g3a4dh5hlj6l06k1pf0j4731ybqqd4mpi4id16nf81cg104"))))
    (properties `((upstream-name . "Rirt")))
    (build-system r-build-system)
    (propagated-inputs (list r-reshape2 r-rcpp r-ggplot2))
    (home-page "https://github.com/xluo11/Rirt")
    (synopsis
     "Data Analysis and Parameter Estimation Using Item Response Theory")
    (description
     "Parameter estimation, computation of probability, information, and
(log-)likelihood, and visualization of item/test characteristic curves and
item/test information functions for three uni-dimensional item response theory
models: the 3-parameter-logistic model, generalized partial credit model, and
graded response model.  The full documentation and tutorials are at
<https://github.com/xluo11/Rirt>.")
    (license license:gpl3+)))

(define-public r-rirods
  (package
    (name "r-rirods")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rirods" version))
       (sha256
        (base32 "1ca82i240cy74ig8fb71lcbabw3pbg0w5df8nc8c2yhqymgclxdc"))))
    (properties `((upstream-name . "rirods")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-testthat
                             r-rappdirs
                             r-jsonlite
                             r-httr2
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/irods/irods_client_library_rirods")
    (synopsis "R Client for 'iRODS'")
    (description
     "The open sourced data management software Integrated Rule-Oriented Data System
('@code{iRODS}') offers solutions for the whole data life cycle
(<https://irods.org/>).  The loosely constructed and highly configurable
architecture of @code{iRODS} frees the user from strict formatting constraints
and single-vendor solutions.  This package provides an interface to the
@code{iRODS} HTTP API, allowing you to manage your data and metadata in
@code{iRODS} with R. Storage of annotated files and R objects in @code{iRODS}
ensures findability, accessibility, interoperability, and reusability of data.")
    (license license:expat)))

(define-public r-ripserr
  (package
    (name "r-ripserr")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ripserr" version))
       (sha256
        (base32 "1rwsd1yi5vrzdscjgr27fw0d1a6nkc8g2w5hqgqijiwm25h4wl17"))))
    (properties `((upstream-name . "ripserr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://rrrlw.github.io/ripserr/")
    (synopsis "Calculate Persistent Homology with Ripser-Based Engines")
    (description
     "Ports the Ripser <@code{arXiv:1908.02518>} and Cubical Ripser
<@code{arXiv:2005.12692>} persistent homology calculation engines from C++.  Can
be used as a rapid calculation tool in topological data analysis pipelines.")
    (license license:gpl3)))

(define-public r-ripc
  (package
    (name "r-ripc")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ripc" version))
       (sha256
        (base32 "0pb19jx682xabfymyc97hnw4w5im285gkjmsa6pa5y5gd4gc8ikb"))))
    (properties `((upstream-name . "ripc")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-sf
                             r-rlang
                             r-readr
                             r-purrr
                             r-lubridate
                             r-lifecycle
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-countrycode))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ocha-dap/ripc")
    (synopsis "Download and Tidy IPC and CH Data")
    (description
     "Utilities to access Integrated Food Security Phase Classification (IPC) and
Cadre HarmonisÃ© (CH) food security data.  Wrapper functions are available for
all of the IPC-CH Public API (<https://docs.api.ipcinfo.org>) simplified and
advanced endpoints to easily download the data in a clean and tidy format.")
    (license license:gpl3+)))

(define-public r-rioplot
  (package
    (name "r-rioplot")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rioplot" version))
       (sha256
        (base32 "02la6a8rbj7ksjb4yzywp96hlblkv2vww7s5qizs78r5r5z13hwb"))))
    (properties `((upstream-name . "rioplot")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rioplot")
    (synopsis "Turn a Regression Model Inside Out")
    (description
     "Turns regression models inside out.  Functions decompose variances and
coefficients for various regression model types.  Functions also visualize
regression model objects using techniques developed in Schoon, Melamed, and
Breiger (2024) <doi:10.1017/9781108887205>.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rioja
  (package
    (name "r-rioja")
    (version "1.0-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rioja" version))
       (sha256
        (base32 "1xmw12hg8q37bxzh0x9wbk9nbi9mx9q40v734ap1azq0c4bf2k0k"))))
    (properties `((upstream-name . "rioja")))
    (build-system r-build-system)
    (propagated-inputs (list r-vegan r-mgcv))
    (home-page "http://www.staff.ncl.ac.uk/stephen.juggins/")
    (synopsis "Analysis of Quaternary Science Data")
    (description
     "Constrained clustering, transfer functions, and other methods for analysing
Quaternary science data.")
    (license license:gpl2)))

(define-public r-rintimg
  (package
    (name "r-rintimg")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rintimg" version))
       (sha256
        (base32 "0jzs4mdwpzbpl0wchyhl3cpywk25ayaxalr12p4cnjl7vnmdm7dp"))))
    (properties `((upstream-name . "rintimg")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-htmltools r-glue))
    (native-inputs (list esbuild))
    (home-page "https://github.com/feddelegrand7/rintimg")
    (synopsis
     "View Images on Full Screen in 'RMarkdown' Documents and 'shiny' Applications")
    (description
     "Allows the user to view an image in full screen when clicking on it in RMarkdown
documents and shiny applications.  The package relies on the @code{JavaScript}
library intense-images'.  See <https://tholman.com/intense-images/> for more
information.")
    (license license:expat)))

(define-public r-rintervaltree
  (package
    (name "r-rintervaltree")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rIntervalTree" version))
       (sha256
        (base32 "0xd6wcra4zvphfgnz1rnnslx96p840zlgms367370xm4hyg6d37x"))))
    (properties `((upstream-name . "rIntervalTree")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rIntervalTree")
    (synopsis "An Interval Tree Tool for Real Numbers")
    (description
     "This tool can be used to build binary interval trees using real number inputs.
The tree supports queries of intervals overlapping a single number or an
interval (start, end).  Intervals with same bounds but different names are
treated as distinct intervals.  Insertion of intervals is also allowed.
Deletion of intervals is not implemented at this point.  See Mark de Berg,
Otfried Cheong, Marc van Kreveld, Mark Overmars (2008).  Computational Geometry:
Algorithms and Applications, for a reference.")
    (license license:gpl2)))

(define-public r-rintcal
  (package
    (name "r-rintcal")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rintcal" version))
       (sha256
        (base32 "1n757cibw87gsy3dviv1l5h6inalwan156kbi509ldyhh0y02mf3"))))
    (properties `((upstream-name . "rintcal")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rintcal")
    (synopsis "Radiocarbon Calibration Curves")
    (description
     "The @code{IntCal20} radiocarbon calibration curves (Reimer et al.  2020
<doi:10.1017/RDC.2020.68>) are provided as a data package, together with
previous @code{IntCal} curves (@code{IntCal13}, @code{IntCal09},
@code{IntCal04}, @code{IntCal98}) and postbomb curves.  Also provided are
functions to copy the curves into memory, and to read, query and plot the data
underlying the @code{IntCal20} curves.")
    (license license:gpl2+)))

(define-public r-rinsp
  (package
    (name "r-rinsp")
    (version "1.2.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RInSp" version))
       (sha256
        (base32 "06kpr2iq1xcsfajv9xph4mqazvdp5r5d2zs1lzp0bmsyi3xsd3rb"))))
    (properties `((upstream-name . "RInSp")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RInSp")
    (synopsis "R Individual Specialization")
    (description
     "This package provides functions to calculate several ecological indices of
individual and population niche width (Araujo's E, clustering and pairwise
similarity among individuals, IS, Petraitis W, and Roughgarden's WIC/TNW) to
assess individual specialization based on data of resource use.  Resource use
can be quantified by counts of categories, measures of mass or length, or
proportions.  Monte Carlo resampling procedures are available for hypothesis
testing against multinomial null models.  Details are provided in Zaccarelli et
al. (2013) <doi:10.1111/2041-210X.12079> and associated references.")
    (license license:gpl2+)))

(define-public r-rinside
  (package
    (name "r-rinside")
    (version "0.2.18")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RInside" version))
       (sha256
        (base32 "0dmpdi39dv5a0i7v507cbm2vr2d0cl310n9w1qz66r53y3q18l40"))))
    (properties `((upstream-name . "RInside")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/eddelbuettel/rinside/")
    (synopsis "C++ Classes to Embed R in C++ (and C) Applications")
    (description
     "C++ classes to embed R in C++ (and C) applications A C++ class providing the R
interpreter is offered by this package making it easier to have \"R inside\" your
C++ application.  As R itself is embedded into your application, a shared
library build of R is required.  This works on Linux, OS X and even on Windows
provided you use the same tools used to build R itself.  Numerous examples are
provided in the nine subdirectories of the examples/ directory of the installed
package: standard, mpi (for parallel computing), qt (showing how to embed
RInside inside a Qt GUI application), wt (showing how to build a
\"web-application\" using the Wt toolkit), armadillo (for RInside use with
@code{RcppArmadillo}'), eigen (for RInside use with @code{RcppEigen}'), and
c_interface for a basic C interface and Ruby illustration.  The examples use
GNUmakefile(s) with GNU extensions, so a GNU make is required (and will use the
GNUmakefile automatically).  Doxygen'-generated documentation of the C++ classes
is available at the RInside website as well.")
    (license license:gpl2+)))

(define-public r-rinno
  (package
    (name "r-rinno")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RInno" version))
       (sha256
        (base32 "0z95j2nl7ksybjb47dgjpxivzn9v2ad6jzldiqx664y6crcnvm18"))))
    (properties `((upstream-name . "RInno")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-shiny
                             r-rmarkdown
                             r-remotes
                             r-pkgbuild
                             r-magrittr
                             r-jsonlite
                             r-installr
                             r-httr
                             r-glue
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "www.ficonsulting.com")
    (synopsis "An Installation Framework for Shiny Apps")
    (description
     "Installs shiny apps packaged as stand-alone Electron apps using Inno Setup, an
open source software that builds installers for Windows programs
<http://www.jrsoftware.org/ishelp/>.")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-ringostat
  (package
    (name "r-ringostat")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ringostat" version))
       (sha256
        (base32 "1g2425jig3zhrv0vmr5nb5fqj34vcpmvbly7gc94plsv7wvgxvv3"))))
    (properties `((upstream-name . "ringostat")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-readr r-httr2 r-cli))
    (home-page "https://cran.r-project.org/package=ringostat")
    (synopsis "Load Data from 'Ringostat API'")
    (description
     "Loading calls data from Ringostat API'.  See
<https://help.ringostat.com/knowledge-base/article/integration-with-ringostat-via-api>.")
    (license license:expat)))

(define-public r-ring
  (package
    (name "r-ring")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ring" version))
       (sha256
        (base32 "0mmjlbmv46wz2ph2cmkxrn1kldih581wpfj8398vrajajkx8k35l"))))
    (properties `((upstream-name . "ring")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6))
    (native-inputs (list r-knitr))
    (home-page "https://mrc-ide.gitub.io/ring")
    (synopsis "Circular / Ring Buffers")
    (description
     "Circular / ring buffers in R and C. There are a couple of different buffers here
with different implementations that represent different trade-offs.")
    (license license:expat)))

(define-public r-rineq
  (package
    (name "r-rineq")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rineq" version))
       (sha256
        (base32 "0z8ngd11nbi0ibc3cqg20ihzhf2gcs4w4nkbb69wnyf86fxf001w"))))
    (properties `((upstream-name . "rineq")))
    (build-system r-build-system)
    (home-page "https://github.com/kdevkdev/rineq/")
    (synopsis "Concentration Index and Decomposition for Health Inequalities")
    (description
     "Relative, generalized, and Erreygers corrected concentration index; plot Lorenz
curves; and decompose health inequalities into contributing factors.  The
package currently works with (generalized) linear models, survival models,
complex survey models, and marginal effects probit models.  originally forked by
Brecht Devleesschauwer from the decomp package (no longer on CRAN), rineq is now
maintained by Kaspar Walter Meili.  Compared to the earlier rineq version on
github by Brecht Devleesschauwer (<https://github.com/brechtdv/rineq>), the
regression tree functionality has been removed.  Improvements compared to
earlier versions include improved plotting of decomposition and concentration,
added functionality to calculate the concentration index with different methods,
calculation of robust standard errors, and support for the decomposition
analysis using marginal effects probit regression models.  The development
version is available at <https://github.com/kdevkdev/rineq>.")
    (license license:gpl2+)))

(define-public r-rinat
  (package
    (name "r-rinat")
    (version "0.1.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rinat" version))
       (sha256
        (base32 "05vi5fggqkj64z0sndngjs7vdvxgy2j5xarccllkcrk9mbzyipvc"))))
    (properties `((upstream-name . "rinat")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp
                             r-plyr
                             r-maps
                             r-jsonlite
                             r-httr
                             r-ggplot2
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page
     "https://docs.ropensci.org/rinat/https://github.com/ropensci/rinat")
    (synopsis "Access 'iNaturalist' Data Through APIs")
    (description
     "This package provides a programmatic interface to the API provided by the
@code{iNaturalist} website <https://www.inaturalist.org/> to download species
occurrence data submitted by citizen scientists.")
    (license license:expat)))

(define-public r-rimu
  (package
    (name "r-rimu")
    (version "0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rimu" version))
       (sha256
        (base32 "0233dxj6z87piz88v15yg7gby0vm44mqhf76944lr8z17w2rrf8m"))))
    (properties `((upstream-name . "rimu")))
    (build-system r-build-system)
    (propagated-inputs (list r-upsetr r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rimu")
    (synopsis "Responses in Multiplex")
    (description
     "This package provides tools for manipulating, exploring, and visualising
multiple-response data, including scored or ranked responses.  Conversions to
and from factors, lists, strings, matrices; reordering, lumping, flattening; set
operations; tables; frequency and co-occurrence plots.")
    (license license:gpl3)))

(define-public r-rimpact
  (package
    (name "r-rimpact")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RImpact" version))
       (sha256
        (base32 "010bdq6r2fv4rs78kl1ixnw1di39v90ckh8bblzi0wv4adlbaza4"))))
    (properties `((upstream-name . "RImpact")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RImpact")
    (synopsis "Calculates Measures of Scholarly Impact")
    (description
     "The metrics() function calculates measures of scholarly impact.  These include
conventional measures, such as the number of publications and the total
citations to all publications, as well as modern and robust metrics based on the
vector of citations associated with each publication, such as the h index and
many of its variants or rivals.  These methods are described in Ruscio et al.
(2012) <DOI: 10.1080/15366367.2012.711147>.")
    (license license:expat)))

(define-public r-rimagepalette
  (package
    (name "r-rimagepalette")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RImagePalette" version))
       (sha256
        (base32 "054w8xzsn330qg7piq6ajhji9na2swkkdis2567cy3q099npfl5v"))))
    (properties `((upstream-name . "RImagePalette")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2))
    (home-page "https://cran.r-project.org/package=RImagePalette")
    (synopsis "Extract the Colors from Images")
    (description
     "This package provides a pure R implementation of the median cut algorithm.
Extracts the dominant colors from an image, and turns them into a scale for use
in plots or for fun!")
    (license license:expat)))

(define-public r-rimagejroi
  (package
    (name "r-rimagejroi")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RImageJROI" version))
       (sha256
        (base32 "058l1lgxjw70cn1dmmxd9ap7lrnj98kl495v3j6zn91afwshic4w"))))
    (properties `((upstream-name . "RImageJROI")))
    (build-system r-build-system)
    (propagated-inputs (list r-spatstat-geom))
    (home-page "https://github.com/davidcsterratt/RImageJROI")
    (synopsis "Read and Write 'ImageJ' Region of Interest (ROI) Files")
    (description
     "This package provides functions to read and write @code{ImageJ}
(<https://imagej.net>) Region of Interest (ROI) files, to plot the ROIs and to
convert them to spatstat (<https://spatstat.org/>) spatial patterns.")
    (license license:gpl3)))

(define-public r-rim
  (package
    (name "r-rim")
    (version "0.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rim" version))
       (sha256
        (base32 "05bi61zwrmwd3nm5jvmlaq8cxwabpb3xfji45q2wggvbgj63wm9f"))))
    (properties `((upstream-name . "rim")))
    (build-system r-build-system)
    (inputs (list maxima))
    (propagated-inputs (list r-rcpp r-r6 r-knitr r-globaloptions))
    (home-page "https://rcst.github.io/rim/")
    (synopsis "Interface to 'Maxima', Enabling Symbolic Computation")
    (description
     "An interface to the powerful and fairly complete computer algebra system
Maxima'.  It can be used to start and control Maxima from within R by entering
Maxima commands.  Results from Maxima can be parsed and evaluated in R. It
facilitates outputting results from Maxima in @code{LaTeX} and @code{MathML}'.
2D and 3D plots can be displayed directly.  This package also registers a
knitr'-engine enabling Maxima code chunks to be written in RMarkdown documents.")
    (license license:gpl3+)))

(define-public r-rilostat
  (package
    (name "r-rilostat")
    (version "2.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rilostat" version))
       (sha256
        (base32 "1j8pmd9xm27abyghfvifmh0mvlkn5hc11y6lhn365is1a95zy29a"))))
    (properties `((upstream-name . "Rilostat")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-stringr
                             r-readr
                             r-plyr
                             r-haven
                             r-dplyr
                             r-data-table))
    (home-page "https://ilostat.github.io/Rilostat/")
    (synopsis "ILO Open Data via Ilostat Bulk Download Facility")
    (description
     "This package provides tools to download data from the ilostat database
<https://ilostat.ilo.org> together with search and manipulation utilities.")
    (license license:bsd-2)))

(define-public r-riingo
  (package
    (name "r-riingo")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riingo" version))
       (sha256
        (base32 "1ww9ps0v1yga9dwb68crbhf56xw2svl7az95ifrdrswyyikj02vj"))))
    (properties `((upstream-name . "riingo")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-tibble
                             r-rlang
                             r-purrr
                             r-jsonlite
                             r-httr
                             r-glue
                             r-crayon))
    (home-page "https://github.com/business-science/riingo")
    (synopsis "An R Interface to the 'Tiingo' Stock Price API")
    (description
     "Functionality to download stock prices, cryptocurrency data, and more from the
Tiingo API <https://api.tiingo.com/>.")
    (license license:expat)))

(define-public r-rigr
  (package
    (name "r-rigr")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rigr" version))
       (sha256
        (base32 "0x0f8a33zqid6gld2mc0k8jsmbfz2d58myr8zn7i5cr6w02lpi35"))))
    (properties `((upstream-name . "rigr")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-sandwich))
    (native-inputs (list r-knitr))
    (home-page "https://statdivlab.github.io/rigr/")
    (synopsis "Regression, Inference, and General Data Analysis Tools in R")
    (description
     "This package provides a set of tools to streamline data analysis.  Learning both
R and introductory statistics at the same time can be challenging, and so we
created rigr to facilitate common data analysis tasks and enable learners to
focus on statistical concepts.  We provide easy-to-use interfaces for
descriptive statistics, one- and two-sample inference, and regression analyses.
rigr output includes key information while omitting unnecessary details that can
be confusing to beginners.  Heteroscedasticity-robust (\"sandwich\") standard
errors are returned by default, and multiple partial F-tests and tests for
contrasts are easy to specify.  A single regression function can fit both linear
and generalized linear models, allowing students to more easily make connections
between different classes of models.")
    (license license:expat)))

(define-public r-rigma
  (package
    (name "r-rigma")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rigma" version))
       (sha256
        (base32 "0h0fblnsbrkkvd0cimywa3gq4q7ay9p39f7x2rpis58kj28ra6fn"))))
    (properties `((upstream-name . "Rigma")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-withr
                             r-tidyr
                             r-tibble
                             r-rlang
                             r-purrr
                             r-png
                             r-magrittr
                             r-lubridate
                             r-httr2
                             r-glue
                             r-fs
                             r-dplyr
                             r-checkmate
                             r-bslib))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/AleKoure/Rigma")
    (synopsis "Access to the 'Figma' API")
    (description
     "The goal of Rigma is to provide a user friendly client to the Figma API
<https://www.figma.com/developers/api>.  It uses the latest `httr2` for a stable
interface with the REST API. More than 20 methods are provided to interact with
Figma files, and teams.  Get design data into R by reading published components
and styles, converting and downloading images, getting access to the full Figma
file as a hierarchical data structure, and much more.  Enhance your creativity
and streamline the application development by automating the extraction,
transformation, and loading of design data to your applications and HTML
documents.")
    (license license:expat)))

(define-public r-rifs
  (package
    (name "r-rifs")
    (version "0.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RIFS" version))
       (sha256
        (base32 "0cbz2vg8adqjkbn9r8cikqxlzhk01ba3nlnh8rqbwdcpiz90l1ip"))))
    (properties `((upstream-name . "RIFS")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RIFS")
    (synopsis "Random Iterated Function System")
    (description
     "Pointwise generation and display of attractors (prefractals) of the random
iterated function system (RIFS) for various combinations of probabilistic and
geometric parameters of some fixed point sets (protofractals), described by
Bukhovets A.G. (2012) <doi:10.1134/S0005117912020154>.")
    (license license:gpl3)))

(define-public r-rifreg
  (package
    (name "r-rifreg")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rifreg" version))
       (sha256
        (base32 "053hlvx3yibiadzwjsv55qvysc0bkznzqk61rjwb23lyxvjbb3rq"))))
    (properties `((upstream-name . "rifreg")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich r-pbapply r-hmisc r-ggplot2 r-formula))
    (home-page "https://cran.r-project.org/package=rifreg")
    (synopsis "Estimate Recentered Influence Function Regression")
    (description
     "This package provides functions to compute recentered influence functions (RIF)
of a distributional variable at the mean, quantiles, variance, gini or any
custom functional of interest.  The package allows to regress the RIF on any
number of covariates.  Generic print, plot and summary functions are also
provided.  Reference: Firpo, Sergio, Nicole M. Fortin, and Thomas Lemieux.
(2009) <doi:10.3982/ECTA6822>. \"Unconditional Quantile Regressions.\".")
    (license license:gpl3+)))

(define-public r-rifle
  (package
    (name "r-rifle")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rifle" version))
       (sha256
        (base32 "1r0cfj3vzndgiarl9sb38zmpnpm4p8v9l5cm9c1m6g2q9kvpgpbs"))))
    (properties `((upstream-name . "rifle")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass))
    (home-page "https://cran.r-project.org/package=rifle")
    (synopsis "Sparse Generalized Eigenvalue Problem")
    (description
     "This package implements the algorithms for solving sparse generalized eigenvalue
problem by Tan, et.  al. (2018).  Sparse Generalized Eigenvalue Problem: Optimal
Statistical Rates via Truncated Rayleigh Flow.  To appear in Journal of the
Royal Statistical Society: Series B. <@code{arXiv:1604.08697>}.")
    (license license:gpl2+)))

(define-public r-riex
  (package
    (name "r-riex")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Riex" version))
       (sha256
        (base32 "03627dik6dd9d2kwv757zanh0i4invmcwg162m9ayhv41ygj5z1l"))))
    (properties `((upstream-name . "Riex")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-urltools
                             r-ttr
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rjson
                             r-quantmod
                             r-purrr
                             r-httr
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/TheEliteAnalyst/Riex")
    (synopsis "IEX Stocks and Market Data")
    (description
     "Retrieves efficiently and reliably Investors Exchange ('IEX') stock and market
data using IEX Cloud API'.  The platform is offered by Investors Exchange Group
(IEX Group).  Main goal is to leverage R capabilities including existing
packages to effectively provide financial and statistical analysis as well as
visualization in support of fact-based decisions.  In addition, continuously
improve and enhance Riex by applying best practices and being in tune with users
feedback and requirements.  Please, make sure to review and acknowledge
Investors Exchange Group (IEX Group) terms and conditions before using Riex
(<https://iexcloud.io/terms/>).")
    (license license:gpl2)))

(define-public r-riembase
  (package
    (name "r-riembase")
    (version "0.2.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RiemBase" version))
       (sha256
        (base32 "1ikv7n8hp23a5dbmnfypdkx74vxwjd9br0hvysnhhpg1ffvr5vhi"))))
    (properties `((upstream-name . "RiemBase")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-rcpparmadillo r-rcpp r-pracma))
    (home-page "https://github.com/kisungyou/RiemBase")
    (synopsis "Functions and C++ Header Files for Computation on Manifolds")
    (description
     "We provide a number of algorithms to estimate fundamental statistics including
FrÃ©chet mean and geometric median for manifold-valued data.  Also, C++ header
files are contained that implement elementary operations on manifolds such as
Sphere, Grassmann, and others.  See Bhattacharya and Bhattacharya (2012)
<doi:10.1017/CBO9781139094764> if you are interested in statistics on manifolds,
and Absil et al (2007, ISBN:9780691132983) on computational aspects of
optimization on matrix manifolds.")
    (license license:expat)))

(define-public r-riemann
  (package
    (name "r-riemann")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Riemann" version))
       (sha256
        (base32 "1a3mlfgnzdvl5x1nqnmm4v3xb2nkdq87c21m6xyxbm7zh5vx5b6m"))))
    (properties `((upstream-name . "Riemann")))
    (build-system r-build-system)
    (propagated-inputs (list r-t4cluster
                             r-riembase
                             r-rdpack
                             r-rdimtools
                             r-rcpparmadillo
                             r-rcpp
                             r-matrix
                             r-maotai
                             r-lpsolve
                             r-deoptim
                             r-cvxr))
    (native-inputs (list r-r-rsp r-knitr))
    (home-page "https://kisungyou.com/Riemann/")
    (synopsis "Learning with Data on Riemannian Manifolds")
    (description
     "We provide a variety of algorithms for manifold-valued data, including FrÃ©chet
summaries, hypothesis testing, clustering, visualization, and other learning
tasks.  See Bhattacharya and Bhattacharya (2012) <doi:10.1017/CBO9781139094764>
for general exposition to statistics on manifolds.")
    (license license:expat)))

(define-public r-riem
  (package
    (name "r-riem")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riem" version))
       (sha256
        (base32 "0cvgddp7k7905k7cfz12cz48iv8ygli2n2nk1jyaxjxqvghv5zql"))))
    (properties `((upstream-name . "riem")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-rlang
                             r-purrr
                             r-magrittr
                             r-lubridate
                             r-jsonlite
                             r-httr2
                             r-cli))
    (home-page "https://docs.ropensci.org/riem/")
    (synopsis "Accesses Weather Data from the Iowa Environment Mesonet")
    (description
     "Allows to get weather data from Automated Surface Observing System (ASOS)
stations (airports) in the whole world thanks to the Iowa Environment Mesonet
website.")
    (license license:gpl2+)))

(define-public r-ridittools
  (package
    (name "r-ridittools")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ridittools" version))
       (sha256
        (base32 "1m9xbwxb277l4cd85qxmpw66gyavpwamgwr8kyf8vqarzfbwiilr"))))
    (properties `((upstream-name . "ridittools")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=ridittools")
    (synopsis "Useful Functions for Ridit Analysis")
    (description
     "This package provides functions to compute ridit scores of vectors, compute mean
ridits and their standard errors for vectors compared to a reference vector, as
described in Fleiss (1981, ISBN:0-471-06428-9), and compute means/SEs for
multiple groups in matrices.  Data can be either counts or proportions.
Emphasis is on ridit analysis of ordered categorical data such as Likert items
and pain-rating scales.")
    (license (list license:gpl2 license:gpl3 license:expat))))

(define-public r-ridigbio
  (package
    (name "r-ridigbio")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ridigbio" version))
       (sha256
        (base32 "0wrxi3flazjdwd5pf76ix7cmdaxbb2k9jccgn861ax98hjf4s7pg"))))
    (properties `((upstream-name . "ridigbio")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyverse
                             r-plyr
                             r-leaflet
                             r-kableextra
                             r-jsonlite
                             r-httr
                             r-cowplot))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/iDigBio/ridigbio")
    (synopsis "Interface to the iDigBio Data API")
    (description
     "An interface to @code{iDigBio's} search API that allows downloading specimen
records.  Searches are returned as a data.frame.  Other functions such as the
metadata end points return lists of information. @code{iDigBio} is a US project
focused on digitizing and serving museum specimen collections on the web.  See
<https://www.idigbio.org> for information on @code{iDigBio}.")
    (license license:expat)))

(define-public r-ridgregextra
  (package
    (name "r-ridgregextra")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ridgregextra" version))
       (sha256
        (base32 "1xv6icprb2i5cy80i8aqv72yxpg4ybi6hc5y4hvbhvs6m22ydkiq"))))
    (properties `((upstream-name . "ridgregextra")))
    (build-system r-build-system)
    (propagated-inputs (list r-plotly r-mctest r-isdals))
    (home-page "https://github.com/filizkrdg/ridgregextra")
    (synopsis "Ridge Regression Parameter Estimation")
    (description
     "It is a package that provides alternative approach for finding optimum
parameters of ridge regression.  This package focuses on finding the ridge
parameter value k which makes the variance inflation factors closest to 1, while
keeping them above 1 as addressed by Michael Kutner, Christopher Nachtsheim,
John Neter, William Li (2004, ISBN:978-0073108742).  Moreover, the package
offers end-to-end functionality to find optimum k value and presents the
detailed ridge regression results.  Finally it shows three sets of graphs
consisting k versus variance inflation factors, regression coefficients and
standard errors of them.")
    (license license:gpl3+)))

(define-public r-ridgetorus
  (package
    (name "r-ridgetorus")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ridgetorus" version))
       (sha256
        (base32 "04wabvf7agyk8djfqn41zcsj33940vx32zzf6811h4n5bs14kp65"))))
    (properties `((upstream-name . "ridgetorus")))
    (build-system r-build-system)
    (propagated-inputs (list r-sphunif
                             r-sdetorus
                             r-rootsolve
                             r-rcpparmadillo
                             r-rcpp
                             r-circular))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/egarpor/ridgetorus")
    (synopsis "PCA on the Torus via Density Ridges")
    (description
     "Implementation of a Principal Component Analysis (PCA) in the torus via density
ridge estimation.  The main function, ridge_pca(), obtains the relevant density
ridge for bivariate sine von Mises and bivariate wrapped Cauchy distribution
models and provides the associated scores and variance decomposition.  Auxiliary
functions for evaluating, fitting, and sampling these models are also provided.
The package provides replicability to GarcÃ­a-PortuguÃ©s and Prieto-Tirado
(2023) <doi:10.1007/s11222-023-10273-9>.")
    (license license:gpl3)))

(define-public r-ridge
  (package
    (name "r-ridge")
    (version "3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ridge" version))
       (sha256
        (base32 "1xb03ir706k2c3y2kpa4dvnz5i0qhm2ghm7syng0kalpdz7swbaw"))))
    (properties `((upstream-name . "ridge")))
    (build-system r-build-system)
    (inputs (list gsl))
    (home-page "https://github.com/SteffenMoritz/ridge")
    (synopsis
     "Ridge Regression with Automatic Selection of the Penalty Parameter")
    (description
     "Linear and logistic ridge regression functions.  Additionally includes special
functions for genome-wide single-nucleotide polymorphism (SNP) data.  More
details can be found in <doi: 10.1002/gepi.21750> and <doi:
10.1186/1471-2105-12-372>.")
    (license license:gpl2)))

(define-public r-rideogram
  (package
    (name "r-rideogram")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RIdeogram" version))
       (sha256
        (base32 "0wvzlnisnxwzdzfh8ph4yspr8abi5qk6p4z2qa14ykzn8yry61ni"))))
    (properties `((upstream-name . "RIdeogram")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-scales r-rsvg r-grimport2 r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RIdeogram")
    (synopsis
     "Drawing SVG Graphics to Visualize and Map Genome-Wide Data on Idiograms")
    (description
     "For whole-genome analysis, idiograms are virtually the most intuitive and
effective way to map and visualize the genome-wide information.  RIdeogram was
developed to visualize and map whole-genome data on idiograms with no
restriction of species.")
    (license license:artistic2.0)))

(define-public r-rid
  (package
    (name "r-rid")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rid" version))
       (sha256
        (base32 "1m213jxqhb95q7cj9nl1wj8ikzmpx3sn9xn9q1p7vhczp58yb578"))))
    (properties `((upstream-name . "rid")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp r-purrr r-pracma
                             r-circularsilhouette))
    (home-page "https://cran.r-project.org/package=rid")
    (synopsis "Multiple Change-Point Detection in Multivariate Time Series")
    (description
     "This package provides efficient functions for detecting multiple change points
in multidimensional time series.  The models can be piecewise constant or
polynomial.  Adaptive threshold selection methods are available, see Fan and Wu
(2024)	<@code{arXiv:2403.00600>}.")
    (license license:gpl3)))

(define-public r-ricu
  (package
    (name "r-ricu")
    (version "0.5.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ricu" version))
       (sha256
        (base32 "0ajj15hpmsnhkxsnlsbvrdp3bwsbkrl1479p5zfgmzym8rdfirsj"))))
    (properties `((upstream-name . "ricu")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-tibble
                             r-rlang
                             r-readr
                             r-prt
                             r-openssl
                             r-jsonlite
                             r-fst
                             r-fansi
                             r-data-table
                             r-curl
                             r-cli
                             r-backports
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/eth-mds/ricu")
    (synopsis "Intensive Care Unit Data with R")
    (description
     "Focused on (but not exclusive to) data sets hosted on @code{PhysioNet}
(<https://physionet.org>), ricu provides utilities for download, setup and
access of intensive care unit (ICU) data sets.  In addition to functions for
running arbitrary queries against available data sets, a system for defining
clinical concepts and encoding their representations in tabular ICU data is
presented.")
    (license license:gpl3)))

(define-public r-ricrt
  (package
    (name "r-ricrt")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Ricrt" version))
       (sha256
        (base32 "12fj6q5disl5vmpcwfvf64zqxjw2srrvbvpy10gy81k5lidzznqc"))))
    (properties `((upstream-name . "Ricrt")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyverse
                             r-superlearner
                             r-rlang
                             r-rdpack
                             r-randomforest
                             r-glmnet
                             r-dplyr))
    (home-page "https://cran.r-project.org/package=Ricrt")
    (synopsis "Randomization Inference of Clustered Randomized Trials")
    (description
     "This package provides methods for randomization inference in group-randomized
trials.  Specifically, it can be used to analyze the treatment effect of
stratified data with multiple clusters in each stratum with treatment given on
cluster level.  User may also input as many covariates as they want to fit the
data.  Methods are described by Dylan S Small et al., (2012)
<doi:10.1198/016214507000000897>.")
    (license license:expat)))

(define-public r-riceware
  (package
    (name "r-riceware")
    (version "0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riceware" version))
       (sha256
        (base32 "0pky0bwf10qcdgg9fgysafr35xbmnr9q0jbh56fawj99nbyj3m70"))))
    (properties `((upstream-name . "riceware")))
    (build-system r-build-system)
    (propagated-inputs (list r-random))
    (home-page "https://github.com/fmichonneau/riceware")
    (synopsis "Diceware Passphrase Implementation")
    (description
     "The Diceware method can be used to generate strong passphrases.  In short, you
roll a 6-faced dice 5 times in a row, the number obtained is matched against a
dictionary of easily remembered words.  By combining together 7 words thus
generated, you obtain a password that is relatively easy to remember, but would
take several millions years (on average) for a powerful computer to guess.")
    (license license:expat)))

(define-public r-riceidconverter
  (package
    (name "r-riceidconverter")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riceidconverter" version))
       (sha256
        (base32 "143f76v3k2q9ddcxf2nzvd04pjgy7p120ln0zkmxpal20c81dwq6"))))
    (properties `((upstream-name . "riceidconverter")))
    (build-system r-build-system)
    (propagated-inputs (list r-dplyr))
    (home-page "https://cran.r-project.org/package=riceidconverter")
    (synopsis
     "Convert Biological ID from RAP or MSU to SYMBOL for Oryza Sativa")
    (description
     "Convert one biological ID to another of rice (Oryza sativa).  Rice(Oryza sativa)
has more than one form gene ID for the genome.  The two main gene ID for rice
genome are the RAP (The Rice Annotation Project,
<https://rapdb.dna.affrc.go.jp/>, and the MSU(The Rice Genome Annotation
Project, <http://rice.plantbiology.msu.edu/>.  All RAP rice gene IDs are of the
form Os##g####### as explained on the website <https://rapdb.dna.affrc.go.jp/>.
All MSU rice gene IDs are of the form LOC_Os##g##### as explained on the website
<http://rice.plantbiology.msu.edu/analyses_nomenclature.shtml>.  All SYMBOL rice
gene IDs are the unique name on the NCBI(National Center for Biotechnology
Information, <https://www.ncbi.nlm.nih.gov/>.  The TRANSCRIPTID, is the
transcript id of rice, are of the form Os##t#######.  The researchers usually
need to converter between various IDs.  Such as converter RAP to SYMBOLS for
function searching on NCBI. There are a lot of websites with the function for
converting RAP to MSU or MSU to RA, such as ID Converter
<https://rapdb.dna.affrc.go.jp/tools/converter>.  But it is difficult to convert
super multiple IDs on these websites.  The package can convert all IDs between
the three IDs (RAP, MSU and SYMBOL) regardless of the number.")
    (license license:artistic2.0)))

(define-public r-ricegeneann
  (package
    (name "r-ricegeneann")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ricegeneann" version))
       (sha256
        (base32 "0wxqp4pfdhvq4mwzjrqi3m9jiayk5bp1ha222mpm4qz1pl41cy9w"))))
    (properties `((upstream-name . "ricegeneann")))
    (build-system r-build-system)
    (propagated-inputs (list r-riceidconverter))
    (home-page "https://cran.r-project.org/package=ricegeneann")
    (synopsis "Gene Annotation of Rice (Oryza Sativa L.spp.japonica)")
    (description
     "Gene annotation of rice (Oryza Sativa L.spp.japonica).  The package is based on
the annotation file from the website
<http://plants.ensembl.org/Oryza_sativa/Info/Index>.  Input gene's name then
return some information, including the from position, the end position, the
position type and the chromosome number.")
    (license license:artistic2.0)))

(define-public r-rice
  (package
    (name "r-rice")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rice" version))
       (sha256
        (base32 "08m1d79zjr47x6zvy4n11hs5p4a897fn9dn2ks0ihyrrx75ynw69"))))
    (properties `((upstream-name . "rice")))
    (build-system r-build-system)
    (propagated-inputs (list r-rnaturalearthdata r-rnaturalearth r-rlang
                             r-rintcal r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rice")
    (synopsis "Radiocarbon Equations")
    (description
     "This package provides functions for the calibration of radiocarbon dates, as
well as options to calculate different radiocarbon realms (C14 age, F14C,
@code{pMC}, D14C) and estimating the effects of contamination or local reservoir
offsets (Reimer and Reimer 2001 <doi:10.1017/S0033822200038339>).  The methods
follow long-established recommendations such as Stuiver and Polach (1977)
<doi:10.1017/S0033822200003672> and Reimer et al. (2004)
<doi:10.1017/S0033822200033154>.  This package accompanies the data package
rintcal'.")
    (license license:gpl2+)))

(define-public r-ribench
  (package
    (name "r-ribench")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RIbench" version))
       (sha256
        (base32 "0dfxwcm3q8bgwprv0vn440w3186g04a4rm4i33pnpvg2c0qph0sp"))))
    (properties `((upstream-name . "RIbench")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcolorbrewer r-optparse r-digest r-data-table))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://cran.r-project.org/package=RIbench")
    (synopsis "Benchmark Suite for Indirect Methods for RI Estimation")
    (description
     "The provided benchmark suite enables the automated evaluation and comparison of
any existing and novel indirect method for reference interval ('RI') estimation
in a systematic way.  Indirect methods take routine measurements of diagnostic
tests, containing pathological and non-pathological samples as input and use
sophisticated statistical methods to derive a model describing the distribution
of the non-pathological samples, which can then be used to derive reference
intervals.  The benchmark suite contains 5,760 simulated test sets with varying
difficulty.  To include any indirect method, a custom wrapper function needs to
be provided.  The package offers functions for generating the test sets,
executing the indirect method and evaluating the results.  See ?RIbench or
vignette(\"RIbench_package\") for a more comprehensive description of the
features.  A detailed description and application is described in Ammer T.,
Schuetzenmeister A., Prokosch H.-U., Zierk J., Rank C.M., Rauh M. \"RIbench: A
Proposed Benchmark for the Standardized Evaluation of Indirect Methods for
Reference Interval Estimation\".  Clinical Chemistry (2022)
<doi:10.1093/clinchem/hvac142>.")
    (license license:gpl3+)))

(define-public r-ribd
  (package
    (name "r-ribd")
    (version "1.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ribd" version))
       (sha256
        (base32 "1g378kpi6660176d64r84kw8zk662sai83r33ayjxbfn6w8s48xy"))))
    (properties `((upstream-name . "ribd")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam r-pedtools r-kinship2 r-glue))
    (home-page "https://github.com/magnusdv/ribd")
    (synopsis "Pedigree-based Relatedness Coefficients")
    (description
     "Recursive algorithms for computing various relatedness coefficients, including
pairwise kinship, kappa and identity coefficients.  Both autosomal and X-linked
coefficients are computed.  Founders are allowed to be inbred, which enables
construction of any given kappa coefficients, as described in Vigeland (2020)
<doi:10.1007/s00285-020-01505-x>.  In addition to the standard coefficients,
ribd also computes a range of lesser-known coefficients, including generalised
kinship coefficients, multi-person coefficients and two-locus coefficients
(Vigeland, 2023, <doi:10.1093/g3journal/jkac326>).  Many features of ribd are
available through the online app @code{QuickPed} at
<https://magnusdv.shinyapps.io/quickped>; see Vigeland (2022)
<doi:10.1186/s12859-022-04759-y>.")
    (license license:gpl3)))

(define-public r-rib
  (package
    (name "r-rib")
    (version "0.23.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rib" version))
       (sha256
        (base32 "17wjqyhjz2rdqg7vhcms50pjhm1k4vprwy14p5k8i8p90f7p5hwf"))))
    (properties `((upstream-name . "rib")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6))
    (home-page "https://github.com/lbilli/rib")
    (synopsis "An Implementation of 'Interactive Brokers' API")
    (description
     "Allows interaction with Interactive Brokers Trader Workstation
<https://interactivebrokers.github.io/tws-api/>.  Handles the connection over
the network and the exchange of messages.  Data is encoded and decoded between
user and wire formats.  Data structures and functionality closely mirror the
official implementations.")
    (license license:gpl3)))

(define-public r-riaftbart
  (package
    (name "r-riaftbart")
    (version "0.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "riAFTBART" version))
       (sha256
        (base32 "0wcnw955zqmr7qqwwb3d37km6nkhwvhvaissv97fxkq9rwyz67ky"))))
    (properties `((upstream-name . "riAFTBART")))
    (build-system r-build-system)
    (propagated-inputs (list r-twang
                             r-tidyr
                             r-survival
                             r-stringr
                             r-rrf
                             r-randomforest
                             r-nnet
                             r-msm
                             r-mcmcpack
                             r-magrittr
                             r-ggplot2
                             r-foreach
                             r-dplyr
                             r-doparallel
                             r-dbarts
                             r-cowplot
                             r-bart))
    (home-page "https://cran.r-project.org/package=riAFTBART")
    (synopsis
     "Flexible Approach for Causal Inference with Multiple Treatments and Clustered Survival Outcomes")
    (description
     "Random-intercept accelerated failure time (AFT) model utilizing Bayesian
additive regression trees (BART) for drawing causal inferences about multiple
treatments while accounting for the multilevel survival data structure.  It also
includes an interpretable sensitivity analysis approach to evaluate how the
drawn causal conclusions might be altered in response to the potential magnitude
of departure from the no unmeasured confounding assumption.This package
implements the methods described by Hu et al. (2022) <doi:10.1002/sim.9548>.")
    (license license:expat)))

(define-public r-ria
  (package
    (name "r-ria")
    (version "1.7.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RIA" version))
       (sha256
        (base32 "0ahz8kjp3rqm3cyh1mzqsfh4iqd6jw6pb7j7rdl2qyi5j0dzsv4c"))))
    (properties `((upstream-name . "RIA")))
    (build-system r-build-system)
    (propagated-inputs (list r-oro-nifti r-oro-dicom))
    (home-page "https://pubmed.ncbi.nlm.nih.gov/29233836/")
    (synopsis "Radiomics Image Analysis Toolbox for Medial Images")
    (description
     "Radiomics image analysis toolbox for 2D and 3D radiological images.  RIA
supports DICOM, N@code{IfTI}, nrrd and npy (numpy array) file formats.  RIA
calculates first-order, gray level co-occurrence matrix, gray level run length
matrix and geometry-based statistics.  Almost all calculations are done using
vectorized formulas to optimize run speeds.  Calculation of several thousands of
parameters only takes minutes on a single core of a conventional PC. Detailed
methodology has been published: Kolossvary et al.  Circ: Cardiovascular Imaging.
 2017;10(12):e006843 <doi: 10.1161/CIRCIMAGING.117.006843>.")
    (license license:agpl3)))

(define-public r-ri2by2
  (package
    (name "r-ri2by2")
    (version "1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RI2by2" version))
       (sha256
        (base32 "1kaphphc21jxizm3h6kfh0ky17pyq3ykh30v7b582d7km00hivg8"))))
    (properties `((upstream-name . "RI2by2")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-gtools))
    (home-page "https://cran.r-project.org/package=RI2by2")
    (synopsis
     "Randomization Inference for Treatment Effects on a Binary Outcome")
    (description
     "Computes attributable effects based confidence interval, permutation test
confidence interval, or asymptotic confidence interval for the average treatment
effect on a binary outcome.  Methods outlined in further detail in Rigdon and
Hudgens (2015) <doi:10.1002/sim.6384>.")
    (license license:gpl3+)))

(define-public r-ri2
  (package
    (name "r-ri2")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ri2" version))
       (sha256
        (base32 "0k85rmjl0inida4wx6d612vp35sr4cg2zsmrby8rl7p4gwrbix5v"))))
    (properties `((upstream-name . "ri2")))
    (build-system r-build-system)
    (propagated-inputs (list r-randomizr r-pbapply r-ggplot2 r-generics
                             r-estimatr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=ri2")
    (synopsis "Randomization Inference for Randomized Experiments")
    (description
     "Randomization inference procedures for simple and complex randomized designs,
including multi-armed trials, as described in Gerber and Green (2012, ISBN:
978-0393979954).  Users formally describe their randomization procedure and test
statistic.  The randomization distribution of the test statistic under some null
hypothesis is efficiently simulated.")
    (license license:expat)))

(define-public r-rhype
  (package
    (name "r-rhype")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhype" version))
       (sha256
        (base32 "16nzycgvp8xrjjly7j96kvy816xna5i5rdnd27gmyjmpf0dvp429"))))
    (properties `((upstream-name . "rhype")))
    (build-system r-build-system)
    (propagated-inputs (list r-rspectra r-r6 r-matrix))
    (home-page "https://cran.r-project.org/package=rhype")
    (synopsis "Work with Hypergraphs in R")
    (description
     "Create and manipulate hypergraph objects.  This early version of rhype allows
for the output of matrices associated with the hypergraphs themselves.  It also
uses these matrices to calculate hypergraph spectra and perform spectral
comparison.  Functionality coming soon includes calculation of hyperpaths and
hypergraph centrality measures.")
    (license license:gpl3+)))

(define-public r-rhymer
  (package
    (name "r-rhymer")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhymer" version))
       (sha256
        (base32 "0pjazv3daysg14ikilq0gly1d9fl1rfs3j92wg67wyy8hwqd74zx"))))
    (properties `((upstream-name . "rhymer")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://landesbergn.github.io/rhymer/index.html")
    (synopsis
     "Wrapper for the 'Datamuse' API to Find Rhyming and Associated Words")
    (description
     "Wrapper for Datamuse API to find rhyming and other associated words.  This
includes words of similar meaning, spelling, or other related words.  Learn more
about the Datamuse API here <https://www.datamuse.com/api/>.")
    (license license:expat)))

(define-public r-rhybridfinder
  (package
    (name "r-rhybridfinder")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RHybridFinder" version))
       (sha256
        (base32 "0g8kvzir8kfgg3ifww164lbqhsi2yw3dp80r68g36vxfzy11y230"))))
    (properties `((upstream-name . "RHybridFinder")))
    (build-system r-build-system)
    (propagated-inputs (list r-seqinr r-foreach r-doparallel))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RHybridFinder")
    (synopsis "Identification of Hybrid Peptides in Immunopeptidomic Analyses")
    (description
     "Tool for the analysis Mass Spectrometry (MS) data in the context of
immunopeptidomic analysis for the identification of hybrid peptides and the
predictions of binding affinity of all peptides using @code{netMHCpan}
<doi:10.1093/nar/gkaa379> while providing a summary of the @code{netMHCpan}
output.  R@code{HybridFinder} (RHF) is destined for researchers who are looking
to analyze their MS data for the purpose of identification of potential spliced
peptides.  This package, developed mainly in base R, is based on the workflow
published by Faridi et al.  in 2018 <doi:10.1126/sciimmunol.aar3947>.")
    (license license:expat)))

(define-public r-rhub
  (package
    (name "r-rhub")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhub" version))
       (sha256
        (base32 "05q1jv7c2l09ssb72d17hhcisvzqmcd3d1njc1j6w8lhvc5kqs47"))))
    (properties `((upstream-name . "rhub")))
    (build-system r-build-system)
    (propagated-inputs (list r-whoami
                             r-rprojroot
                             r-rematch
                             r-rappdirs
                             r-r6
                             r-processx
                             r-pkgbuild
                             r-jsonlite
                             r-glue
                             r-gitcreds
                             r-gert
                             r-desc
                             r-curl
                             r-cli
                             r-callr))
    (home-page "https://github.com/r-hub/rhub")
    (synopsis "Tools for R Package Developers")
    (description
     "R-hub v2 uses @code{GitHub} Actions to run R CMD check and similar package
checks.  The rhub package helps you set up R-hub v2 for your R package, and
start running checks.")
    (license license:expat)))

(define-public r-rhsdb
  (package
    (name "r-rhsdb")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RHSDB" version))
       (sha256
        (base32 "0k23vdb9p2c2hnac8rk2dnls47fw5qc66ifhx47q8myi1479vvll"))))
    (properties `((upstream-name . "RHSDB")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RHSDB")
    (synopsis "Ryan-Holm Step-Down Bonferroni or Sidak Procedure")
    (description
     "The Ryan-Holm step-down Bonferroni or Sidak procedure is to control the
family-wise (experiment-wise) type I error rate in the multiple comparisons.
This procedure provides the adjusting p-values and adjusting CIs.  The methods
used in this package are referenced from John Ludbrook (2000)
<doi:10.1046/j.1440-1681.2000.03223.x>.")
    (license license:gpl3)))

(define-public r-rhrv
  (package
    (name "r-rhrv")
    (version "5.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RHRV" version))
       (sha256
        (base32 "1r7drf82z7ws7j9xjb308zy0wzxs42rlv6kxr4cqk75jsw45hhi3"))))
    (properties `((upstream-name . "RHRV")))
    (build-system r-build-system)
    (propagated-inputs (list r-writexl
                             r-waveslim
                             r-tidyr
                             r-tibble
                             r-segmented
                             r-pmcmrplus
                             r-plotrix
                             r-nonlineartseries
                             r-lomb
                             r-iterators
                             r-foreach
                             r-doparallel
                             r-broom
                             r-boot))
    (native-inputs (list r-knitr))
    (home-page "http://rhrv.r-forge.r-project.org/")
    (synopsis "Heart Rate Variability Analysis of ECG Data")
    (description
     "Allows users to import data files containing heartbeat	positions in the most
broadly used formats, to remove outliers or points with unacceptable
physiological values present in the time series, to plot HRV data, and to
perform time domain, frequency domain and nonlinear HRV analysis.  See Garcia et
al. (2017) <DOI:10.1007/978-3-319-65355-6>.")
    (license license:gpl2)))

(define-public r-rhrt
  (package
    (name "r-rhrt")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RHRT" version))
       (sha256
        (base32 "0km93m1bgh64r174bm5pj2hhsa39kghjrzjlmpdrxr9wa1z8wdni"))))
    (properties `((upstream-name . "RHRT")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RHRT")
    (synopsis "Heart Rate Turbulence Analysis")
    (description
     "This package provides methods to scan RR interval data for Premature Ventricular
Complexes (PVCs) and parameterise and plot the resulting Heart Rate Turbulence
(HRT).  The methodology of HRT analysis is based on the original publication by
Schmidt et al. <doi:10.1016/S0140-6736(98)08428-1> and extended with suggestions
from <doi:10.1088/1361-6579/ab98b3>.")
    (license license:gpl2)))

(define-public r-rhpcbenchmark
  (package
    (name "r-rhpcbenchmark")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RHPCBenchmark" version))
       (sha256
        (base32 "1f94d8z15ybqgc2pccsi1m6563xf26ygri6f4pwxkqjmxkxnk34y"))))
    (properties `((upstream-name . "RHPCBenchmark")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm r-matrix r-cluster))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RHPCBenchmark")
    (synopsis "Benchmarks for High-Performance Computing Environments")
    (description
     "Microbenchmarks for determining the run time performance of aspects of the R
programming environment and packages relevant to high-performance computation.
The benchmarks are divided into three categories: dense matrix linear algebra
kernels, sparse matrix linear algebra kernels, and machine learning
functionality.")
    (license (list license:asl2.0
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rhosp
  (package
    (name "r-rhosp")
    (version "1.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhosp" version))
       (sha256
        (base32 "1k0rb4fchjlzinky6ysdvyk0xjsx5986aqwn3yc6s7m3v7y9wb9m"))))
    (properties `((upstream-name . "rhosp")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rhosp")
    (synopsis "Side Effect Risks in Hospital : Simulation and Estimation")
    (description
     "Evaluating risk (that a patient arises a side effect) during hospitalization is
the main purpose of this package.  Several methods (Parametric, non parametric
and De Vielder estimation) to estimate the risk constant (R) are implemented in
this package.  There are also functions to simulate the different models of this
issue in order to quantify the previous estimators.  It is necessary to read at
least the first six pages of the report to understand the topic.")
    (license license:gpl2+)))

(define-public r-rhosa
  (package
    (name "r-rhosa")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhosa" version))
       (sha256
        (base32 "170k380vmp2h78vysxzvarr7ar0fcr9xd6rh8bj6f9pfxzkyyjmg"))))
    (properties `((upstream-name . "rhosa")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://tabe.github.io/rhosa/")
    (synopsis "Higher-Order Spectral Analysis")
    (description
     "Higher-order spectra or polyspectra of time series, such as bispectrum and
bicoherence, have been investigated in abundant literature and applied to
problems of signal detection in a wide range of fields.  This package aims to
provide a simple API to estimate and analyze them.  The current implementation
is based on Brillinger and Irizarry (1998) <doi:10.1016/S0165-1684(97)00217-X>
for estimating bispectrum or bicoherence, Lii and Helland (1981)
<doi:10.1145/355958.355961> for cross-bispectrum, and Kim and Powers (1979)
<doi:10.1109/TPS.1979.4317207> for cross-bicoherence.")
    (license license:gpl3)))

(define-public r-rhor
  (package
    (name "r-rhor")
    (version "1.3.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhoR" version))
       (sha256
        (base32 "0l387m6l2x3djn1liag4m49835m2mny006sjzqbravb1famrvawi"))))
    (properties `((upstream-name . "rhoR")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (home-page "https://rhor.qe-libs.org")
    (synopsis "Rho for Inter Rater Reliability")
    (description
     "Rho is used to test the generalization of inter rater reliability (IRR)
statistics.  Calculating rho starts by generating a large number of simulated,
fully-coded data sets: a sizable collection of hypothetical populations, all of
which have a kappa value below a given threshold -- which indicates unacceptable
agreement.  Then kappa is calculated on a sample from each of those sets in the
collection to see if it is equal to or higher than the kappa in then real
sample.  If less than five percent of the distribution of samples from the
simulated data sets is greater than actual observed kappa, the null hypothesis
is rejected and one can conclude that if the two raters had coded the rest of
the data, we would have acceptable agreement (kappa above the threshold).")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rhoneycomb
  (package
    (name "r-rhoneycomb")
    (version "2.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhoneycomb" version))
       (sha256
        (base32 "1vh6y4hfpcbpm448hd083ln197fc7h6pg6bngvmla2aj9vp6rlmx"))))
    (properties `((upstream-name . "rhoneycomb")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rhoneycomb")
    (synopsis "Analysis of Honeycomb Selection Designs")
    (description
     "This package provides a useful statistical tool for the construction and
analysis of Honeycomb Selection Designs.  More information about this type of
designs: Fasoula V. (2013) <doi:10.1002/9781118497869.ch6> Fasoula V.A., and
Tokatlidis I.S. (2012) <doi:10.1007/s13593-011-0034-0> Fasoulas A.C., and
Fasoula V.A. (1995) <doi:10.1002/9780470650059.ch3> Tokatlidis I. (2016)
<doi:10.1017/S0014479715000150> Tokatlidis I., and Vlachostergios D. (2016)
<doi:10.3390/d8040029>.")
    (license license:gpl2+)))

(define-public r-rhnerm
  (package
    (name "r-rhnerm")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhnerm" version))
       (sha256
        (base32 "1fkh2pr4kzvqvagdyjlyab7p591s913104gyq05q170gmvlpmiww"))))
    (properties `((upstream-name . "rhnerm")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rhnerm")
    (synopsis "Random Heteroscedastic Nested Error Regression")
    (description
     "This package performs the random heteroscedastic nested error regression model
described in Kubokawa, Sugasawa, Ghosh and Chaudhuri (2016)
<doi:10.5705/ss.202014.0070>.")
    (license license:gpl2+)))

(define-public r-rhms
  (package
    (name "r-rhms")
    (version "1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RHMS" version))
       (sha256
        (base32 "1fld5y39a4xq40wh23944ngcrkqk2pw8w9raxir9wn2z2nysr7zg"))))
    (properties `((upstream-name . "RHMS")))
    (build-system r-build-system)
    (propagated-inputs (list r-pso r-network r-hmisc r-ggplot2 r-ggally))
    (home-page "https://cran.r-project.org/package=RHMS")
    (synopsis "Hydrologic Modelling System for R Users")
    (description
     "Hydrologic modelling system is an object oriented tool for simulation and
analysis of hydrologic events.  The package proposes functions and methods for
construction, simulation, visualization, and calibration of a hydrologic model.")
    (license license:gpl2)))

(define-public r-rhmc
  (package
    (name "r-rhmc")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhmc" version))
       (sha256
        (base32 "1m79f1hx404y0k8lk3n6jnzhr6wwrk83xiym68sq1zvj0wjqiqmw"))))
    (properties `((upstream-name . "rhmc")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rhmc")
    (synopsis "Hamiltonian Monte Carlo")
    (description
     "This package implements simple Hamiltonian Monte Carlo routines in R for
sampling from any desired target distribution which is continuous and smooth.
See Neal (2017) <@code{arXiv:1701.02434>} for further details on Hamiltonian
Monte Carlo.  Automatic parameter selection is not supported.")
    (license license:gpl3)))

(define-public r-rhino
  (package
    (name "r-rhino")
    (version "1.10.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhino" version))
       (sha256
        (base32 "15lbn4ymhjqhhklprs2zxx8qm1gy0vx54zycn25jpq633i7jczsf"))))
    (properties `((upstream-name . "rhino")))
    (build-system r-build-system)
    (arguments
     (list
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'set-HOME
                    (lambda _
                      (setenv "HOME" "/tmp"))))))
    (propagated-inputs (list r-yaml
                             r-withr
                             r-testthat
                             r-styler
                             r-shiny
                             r-sass
                             r-rstudioapi
                             r-renv
                             r-purrr
                             r-logger
                             r-lintr
                             r-glue
                             r-fs
                             r-config
                             r-cli
                             r-box-lsp
                             r-box-linters
                             r-box))
    (home-page "https://appsilon.github.io/rhino/")
    (synopsis "Framework for Enterprise Shiny Applications")
    (description
     "This package provides a framework that supports creating and extending
enterprise Shiny applications using best practices.")
    (license license:lgpl3)))

(define-public r-rhierbaps
  (package
    (name "r-rhierbaps")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhierbaps" version))
       (sha256
        (base32 "0717h3j9pamz0hkwcfadivhfh9n2bd9l55kvll1ipc4dz85cp324"))))
    (properties `((upstream-name . "rhierbaps")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr r-patchwork r-matrixstats r-ggplot2 r-ape))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/gtonkinhill/rhierbaps")
    (synopsis "Clustering Genetic Sequence Data Using the HierBAPS Algorithm")
    (description
     "This package implements the hierarchical Bayesian analysis of populations
structure (@code{hierBAPS}) algorithm of Cheng et al. (2013)
<doi:10.1093/molbev/mst028> for clustering DNA sequences from multiple sequence
alignments in FASTA format.  The implementation includes improved defaults and
plotting capabilities and unlike the original MATLAB version removes singleton
SNPs by default.")
    (license license:expat)))

(define-public r-rheroicons
  (package
    (name "r-rheroicons")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rheroicons" version))
       (sha256
        (base32 "02yknpdgfjjkkk9456pxfl9qhaphwrhbxw7fh04ki9a1rgalk0xw"))))
    (properties `((upstream-name . "rheroicons")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-shiny r-htmltools))
    (home-page "https://cran.r-project.org/package=rheroicons")
    (synopsis "Zero Dependency 'SVG' Icon Library for 'Shiny'")
    (description
     "An implementation of the Heroicons icon library for shiny applications and other
R web-based projects.  You can search, render, and customize icons without CSS
or @code{JavaScript} dependencies.")
    (license license:expat)))

(define-public r-rhcoclust
  (package
    (name "r-rhcoclust")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rhcoclust" version))
       (sha256
        (base32 "0ck5slv3y08vcxkdxhw5j6n3jjsg4jj6r8hkb0yhkq2k59b18rg0"))))
    (properties `((upstream-name . "rhcoclust")))
    (build-system r-build-system)
    (propagated-inputs (list r-igraph r-fields))
    (home-page "https://cran.r-project.org/package=rhcoclust")
    (synopsis
     "Robust Hierarchical Co-Clustering to Identify Significant Co-Cluster")
    (description
     "Here we performs robust hierarchical co-clustering between row and column
entities of a data matrix in absence and presence of outlying observations.  It
can be used to explore important co-clusters consisting of important samples and
their regulatory significant features.  Please see Hasan, Badsha and Mollah
(2020) <doi:10.1101/2020.05.13.094946>.")
    (license license:gpl2+)))

(define-public r-rhclust
  (package
    (name "r-rhclust")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RHclust" version))
       (sha256
        (base32 "0hfi1p1y3kfi7kmmwvpzf7j2rlkamfl2s6sb26h2qz07fp5ha3p5"))))
    (properties `((upstream-name . "RHclust")))
    (build-system r-build-system)
    (propagated-inputs (list r-runuran))
    (home-page "https://cran.r-project.org/package=RHclust")
    (synopsis "Vector in Partition")
    (description
     "Non-parametric clustering of joint pattern multi-genetic/epigenetic factors.
This package contains functions designed to cluster subjects based on gene
features including single nucleotide polymorphisms (SNPs), DNA methylation
(CPG), gene expression (GE), and covariate data.  The novel concept follows the
general K-means (Hartigan and Wong (1979) <doi:10.2307/2346830> framework but
uses weighted Euclidean distances across the gene features to cluster subjects.
This approach is unique in that it attempts to capture all pairwise interactions
in an effort to cluster based on their complex biological interactions.")
    (license license:artistic2.0)))

(define-public r-rhawkes
  (package
    (name "r-rhawkes")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RHawkes" version))
       (sha256
        (base32 "1ishfdbyk9g6lh5q6apbaw7vh9cfwyykag27imrfpx3c40sbwmd4"))))
    (properties `((upstream-name . "RHawkes")))
    (build-system r-build-system)
    (propagated-inputs (list r-ihsep))
    (home-page "https://cran.r-project.org/package=RHawkes")
    (synopsis "Renewal Hawkes Process")
    (description
     "The renewal Hawkes (RHawkes) process (Wheatley, Filimonov, and Sornette, 2016
<doi:10.1016/j.csda.2015.08.007>) is an extension to the classical Hawkes
self-exciting point process widely used in the modelling of clustered event
sequence data.  This package provides functions to simulate the RHawkes process
with a given immigrant hazard rate function and offspring birth time density
function, to compute the exact likelihood of a RHawkes process using the
recursive algorithm proposed by Chen and Stindl (2018)
<doi:10.1080/10618600.2017.1341324>, to compute the Rosenblatt residuals for
goodness-of-fit assessment, and to predict future event times based on observed
event times up to a given time.  A function implementing the linear time RHawkes
process likelihood approximation algorithm proposed in Stindl and Chen (2021)
<doi:10.1007/s11222-021-10002-0> is also included.")
    (license license:gpl2+)))

(define-public r-rh2
  (package
    (name "r-rh2")
    (version "0.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RH2" version))
       (sha256
        (base32 "14590l3a2znd56nrq1zfbfv7fgii4672qy1xfwiynrh3mjad217k"))))
    (properties `((upstream-name . "RH2")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjdbc r-rjava r-chron))
    (home-page "https://github.com/dmkaplan2000/RH2.git")
    (synopsis "DBI/RJDBC Interface to H2 Database")
    (description
     "DBI/RJDBC interface to h2 database.  h2 version 1.3.175 is included.")
    (license (license:fsdg-compatible "Mozilla Public License 1.1"))))

(define-public r-rgw
  (package
    (name "r-rgw")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgw" version))
       (sha256
        (base32 "0hzkajmvqkmv6c238rdgyc6g16h96d5a0lnajnn5m87j0gwsl6wa"))))
    (properties `((upstream-name . "rgw")))
    (build-system r-build-system)
    (home-page "https://github.com/abmantz/rgw")
    (synopsis "Goodman-Weare Affine-Invariant Sampling")
    (description
     "Implementation of the affine-invariant method of Goodman & Weare (2010)
<DOI:10.2140/camcos.2010.5.65>, a method of producing Monte-Carlo samples from a
target distribution.")
    (license license:expat)))

(define-public r-rgv
  (package
    (name "r-rgv")
    (version "0.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rGV" version))
       (sha256
        (base32 "1a2nlvwdw9zhqp8hw2di68y5y0zbp50xwb8fdgzyvx6l80y3z8b4"))))
    (properties `((upstream-name . "rGV")))
    (build-system r-build-system)
    (propagated-inputs (list r-chron))
    (home-page "https://cran.r-project.org/package=rGV")
    (synopsis "Analysis of Continuous Glucose Monitor Data")
    (description
     "Reads in continuous glucose monitor data of many different formats, calculates a
host of glycemic variability metrics, and plots glucose over time.")
    (license license:expat)))

(define-public r-rgugik
  (package
    (name "r-rgugik")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgugik" version))
       (sha256
        (base32 "0a3bk0p7p4ay9nx3vz22fnlvb928isgab5ll50s1mffbzx32iwqd"))))
    (properties `((upstream-name . "rgugik")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-jsonlite))
    (native-inputs (list r-knitr))
    (home-page "https://kadyb.github.io/rgugik/")
    (synopsis "Search and Retrieve Spatial Data from 'GUGiK'")
    (description
     "Automatic open data acquisition from resources of Polish Head Office of Geodesy
and Cartography ('GÅÃ³wny UrzÄd Geodezji i Kartografii')
(<https://www.gov.pl/web/gugik>).  Available datasets include various types of
numeric, raster and vector data, such as orthophotomaps, digital elevation
models (digital terrain models, digital surface model, point clouds), state
register of borders, spatial databases, geometries of cadastral parcels, 3D
models of buildings, and more.  It is also possible to geocode addresses or
objects using the @code{geocodePL_get}() function.")
    (license license:expat)))

(define-public r-rgtmx
  (package
    (name "r-rgtmx")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgtmx" version))
       (sha256
        (base32 "0zqab6zhfkc302nsa13nbi5bc45xwrhsrn42g2jnjw2xpnfk3ynz"))))
    (properties `((upstream-name . "rgtmx")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/RomanAbashin/rgtmx")
    (synopsis "Manage GTmetrix Tests in R")
    (description
     "This is a library to access the current API of the web speed test service
GTmetrix'.  It provides a convenient wrapper to start tests, get reports, and
access all kinds of meta data.  For more information about using the API please
visit <https://gtmetrix.com/api/docs/2.0/>.")
    (license license:expat)))

(define-public r-rgtest
  (package
    (name "r-rgtest")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgTest" version))
       (sha256
        (base32 "02cdi05izgl7xkhp9zl01jm762x3dqjmzxjl3akjrid825x6c220"))))
    (properties `((upstream-name . "rgTest")))
    (build-system r-build-system)
    (propagated-inputs (list r-ade4))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rgTest")
    (synopsis "Robust Graph-Based Two-Sample Test")
    (description
     "Useful tools for determining whether two samples are from the same distribution.
 Utilizes a robust method to address the problematic structure of the similarity
graph constructed from high-dimensional data.  The method is provided in Yichuan
Bai and Lynna Chu (2023) <@code{arXiv:2307.12325>}.")
    (license license:expat)))

(define-public r-rgsp
  (package
    (name "r-rgsp")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgsp" version))
       (sha256
        (base32 "1fk0k479srfr0f4a5abyzcrzwy9hr1v5xf0jgs36fbim9bh7njlc"))))
    (properties `((upstream-name . "rgsp")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-magrittr r-dplyr))
    (home-page "https://github.com/myaseen208/rgsp")
    (synopsis "Repetitive Group Sampling Plan Based on Cpk")
    (description
     "This package provides functions to calculate Sample Number and Average Sample
Number for Repetitive Group Sampling Plan Based on Cpk as given in Aslam et al.
(2013) (<DOI:10.1080/00949655.2012.663374>).")
    (license license:gpl2)))

(define-public r-rgroovy
  (package
    (name "r-rgroovy")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rGroovy" version))
       (sha256
        (base32 "172vm4diygzi4ipmw8bl03k0x3aps0h1vkvwvw539kamy7xb5w98"))))
    (properties `((upstream-name . "rGroovy")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava))
    (home-page "http://groovy-lang.org/")
    (synopsis "Groovy Language Integration")
    (description
     "Integrates the Groovy scripting language with the R Project for Statistical
Computing.")
    (license license:lgpl3)))

(define-public r-rgremlinsconjoint
  (package
    (name "r-rgremlinsconjoint")
    (version "0.9.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGremlinsConjoint" version))
       (sha256
        (base32 "0x51bh0l0q320xcyxxfrf5wa2nq1nspq1c61pap2gc45rzv5w4pz"))))
    (properties `((upstream-name . "RGremlinsConjoint")))
    (build-system r-build-system)
    (propagated-inputs (list r-bayesm))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/statuser/RGremlinsConjoint")
    (synopsis
     "Estimate the \"Gremlins in the Data\" Model for Conjoint Studies")
    (description
     "The tools and utilities to estimate the model described in \"Gremlin's in the
Data: Identifying the Information Content of Research Subjects\" (Howell et al.
(2021) <doi:10.1177/0022243720965930>) using conjoint analysis data such as that
collected in Sawtooth Software's Lighthouse or Discover products.  Additional
utilities are included for formatting the input data.")
    (license license:expat)))

(define-public r-rgreenplum
  (package
    (name "r-rgreenplum")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGreenplum" version))
       (sha256
        (base32 "1mc0zmmnb9306j2cjn1j71bp35ri8p35rw6rlmrqyxgpvlw09r3d"))))
    (properties `((upstream-name . "RGreenplum")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpostgres r-dbi))
    (home-page "https://github.com/mwillumz/RGreenplum")
    (synopsis "Interface to 'Greenplum' Database")
    (description
     "Fully DBI'-compliant interface to Greenplum <https://greenplum.org/>, an
open-source parallel database.  This is an extension of the RPostgres package
<https://github.com/r-dbi/RPostgres>.")
    (license license:gpl2)))

(define-public r-rgrass
  (package
    (name "r-rgrass")
    (version "0.4-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgrass" version))
       (sha256
        (base32 "00vbnc5p8fffkxl2bg4p5mvkygp3hqqlsmfqcixgs8mpigqyp04a"))))
    (properties `((upstream-name . "rgrass")))
    (build-system r-build-system)
    (inputs (list grass))
    (propagated-inputs (list r-xml2))
    (native-inputs (list r-knitr))
    (home-page "https://rsbivand.github.io/rgrass/")
    (synopsis
     "Interface Between 'GRASS' Geographical Information System and 'R'")
    (description
     "An interface between the GRASS geographical information system ('GIS') and R',
based on starting R from within the GRASS GIS environment, or running a
free-standing R session in a temporary GRASS location; the package provides
facilities for using all GRASS commands from the R command line.  The original
interface package for GRASS 5 (2000-2010) is described in Bivand (2000)
<doi:10.1016/S0098-3004(00)00057-1> and Bivand (2001)
<https://www.r-project.org/conferences/DSC-2001/Proceedings/Bivand.pdf>.  This
was succeeded by spgrass6 for GRASS 6 (2006-2016) and rgrass7 for GRASS 7
(2015-present).  The rgrass package modernizes the interface for GRASS 8 while
still permitting the use of GRASS 7'.")
    (license license:gpl2+)))

(define-public r-rgraphspace
  (package
    (name "r-rgraphspace")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGraphSpace" version))
       (sha256
        (base32 "1rdq9gnmc2znlpq60n3sn8zpir3wfa2k2ds63pcw1v4w921dmz55"))))
    (properties `((upstream-name . "RGraphSpace")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales r-igraph r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/sysbiolab/RGraphSpace")
    (synopsis "Lightweight Interface Between 'ggplot2' and 'igraph' Objects")
    (description
     "Interface to integrate igraph and ggplot2 graphics within spatial maps.
R@code{GraphSpace} implements new geometric objects using ggplot2 prototypes,
customized for representing large igraph objects in a normalized coordinate
system.  By scaling shapes and graph elements, R@code{GraphSpace} can provide a
framework for layered visualizations.")
    (license license:artistic2.0)))

(define-public r-rgraphics
  (package
    (name "r-rgraphics")
    (version "3.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGraphics" version))
       (sha256
        (base32 "02gp2lqc5qzid81d28cqb7x88zr0ivxppy55a9q649whcd027071"))))
    (properties `((upstream-name . "RGraphics")))
    (build-system r-build-system)
    (propagated-inputs (list r-lattice
                             r-grimport2
                             r-grimport
                             r-gridsvg
                             r-gridgraphics
                             r-gridbase
                             r-ggplot2))
    (home-page "https://www.stat.auckland.ac.nz/~paul/RG3e/index.html")
    (synopsis "Data and Functions from the Book R Graphics, Third Edition")
    (description
     "Data and Functions from the book R Graphics, Third Edition.  There is a function
to produce each figure in the book, plus several functions, classes, and methods
defined in Chapter 8.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rgraph6
  (package
    (name "r-rgraph6")
    (version "2.0-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgraph6" version))
       (sha256
        (base32 "1kyny6a70rarw0p79w8lp09b42178m37lsch3wdrqskphc9gl3cn"))))
    (properties `((upstream-name . "rgraph6")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://mbojan.github.io/rgraph6/")
    (synopsis
     "Representing Graphs as 'graph6', 'digraph6' or 'sparse6' Strings")
    (description
     "Encode network data as strings of printable ASCII characters.  Implemented
functions include encoding and decoding adjacency matrices, edgelists, igraph,
and network objects to/from formats graph6', sparse6', and digraph6'.  The
formats and methods are described in @code{McKay}, B.D. and Piperno, A (2014)
<doi:10.1016/j.jsc.2013.09.003>.")
    (license license:gpl3+)))

(define-public r-rgplates
  (package
    (name "r-rgplates")
    (version "0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgplates" version))
       (sha256
        (base32 "1mxr7h42cbcpapm976c3pwsvhkqfm38kxcpms2pr79blgb2yd12j"))))
    (properties `((upstream-name . "rgplates")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf))
    (home-page "https://gplates.github.io/rgplates/")
    (synopsis
     "R Interface for the GPlates Web Service and Desktop Application")
    (description
     "Query functions to the GPlates <https://www.gplates.org/> Desktop Application
and the GPlates Web Service <https://gws.gplates.org/> allow users to
reconstruct past positions of geographic entities based on user-selected
rotation models without leaving the R running environment.  The online method
(GPlates Web Service) makes the rotation of static plates, coastlines, and a low
number of geographic coordinates available using nothing but an internet
connection.  The offline method requires an external installation of the GPlates
Desktop Application, but allows the efficient batch rotation of thousands of
coordinates, Simple Features (sf) and Spatial (sp) objects with custom
reconstruction trees and partitioning polygons.  Examples of such plate tectonic
models are accessible via the chronosphere
<https://cran.r-project.org/package=chronosphere>.  This R extension is
developed under the umbrella of the DFG (Deutsche Forschungsgemeinschaft)
Research Unit TERSANE2 (For 2332, TEmperature Related Stressors in ANcient
Extinctions).")
    (license (license:fsdg-compatible "CC BY 4.0"))))

(define-public r-rgoogleslides
  (package
    (name "r-rgoogleslides")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgoogleslides" version))
       (sha256
        (base32 "0h9gws1vcf0zdd21d8b65c2yz9kxppp3218h5lhd5iz879ajwa2i"))))
    (properties `((upstream-name . "rgoogleslides")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6 r-jsonlite r-httr r-assertthat))
    (home-page "https://cran.r-project.org/package=rgoogleslides")
    (synopsis "R Interface to Google Slides")
    (description
     "Previously, when one is working with in the Google Ecosystem (Using Google Drive
etc), there is hardly any good workflow of getting the values calculated from R
and getting that into Google Slides.  The normal and easy way out would be to
just copy your work over but when you have a number of analysis to present with
a lot of changes between each environment, it just becomes quite cumbersome.")
    (license license:expat)))

(define-public r-rgooglefit
  (package
    (name "r-rgooglefit")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGoogleFit" version))
       (sha256
        (base32 "0k1vvl4l6pq37llpbq996rbghdfld7mz7bhzbpw393fmrkd45vyi"))))
    (properties `((upstream-name . "RGoogleFit")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl r-jsonlite r-httr r-bit64))
    (home-page "https://cran.r-project.org/package=RGoogleFit")
    (synopsis "R Interface to Google Fit API")
    (description
     "This package provides interface to Google Fit REST API v1 (see
<https://developers.google.com/fit/rest/v1/reference/>).")
    (license license:expat)))

(define-public r-rgoogleclassroom
  (package
    (name "r-rgoogleclassroom")
    (version "0.9.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgoogleclassroom" version))
       (sha256
        (base32 "0s4s5ipvnbwrf76ihzcjqkf3l1j008gn0ncl2a4znp9ka432gk49"))))
    (properties `((upstream-name . "rgoogleclassroom")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-r6
                             r-purrr
                             r-ottrpal
                             r-openssl
                             r-magrittr
                             r-lubridate
                             r-knitr
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-curl
                             r-attempt
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/datatrail-jhu/rgoogleclassroom")
    (synopsis "API Wrapper for Google Classroom and Google Forms")
    (description
     "This is a Google Forms and Google Classroom API Wrapper for R for managing
Google Classrooms from R. The documentation for these APIs is here
<https://developers.google.com/forms/api/guides> .")
    (license license:gpl3)))

(define-public r-rgoogleanalyticspremium
  (package
    (name "r-rgoogleanalyticspremium")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGoogleAnalyticsPremium" version))
       (sha256
        (base32 "0d22pdd5kvnrspikfb66ny07pgx96rvykr0zi78rwn6g1symdb4q"))))
    (properties `((upstream-name . "RGoogleAnalyticsPremium")))
    (build-system r-build-system)
    (propagated-inputs (list r-lubridate r-jsonlite r-httr))
    (home-page "https://cran.r-project.org/package=RGoogleAnalyticsPremium")
    (synopsis "Unsampled Data in R for Google Analytics Premium Accounts")
    (description
     "It fires a query to the API to get the unsampled data in R for Google Analytics
Premium Accounts.  It retrieves data from the Google drive document and stores
it into the local drive.  The path to the excel file is returned by this
package.  The user can read data from the excel file into R using read.csv()
function.")
    (license license:asl2.0)))

(define-public r-rgoogleads
  (package
    (name "r-rgoogleads")
    (version "0.11.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgoogleads" version))
       (sha256
        (base32 "1bw12cwxwk6rvhym6vaz9va2pvg54n9najx611dd10p5cvqgp0gs"))))
    (properties `((upstream-name . "rgoogleads")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-tidyr
                             r-stringr
                             r-snakecase
                             r-rvest
                             r-rlist
                             r-rlang
                             r-rappdirs
                             r-purrr
                             r-pbapply
                             r-memoise
                             r-lifecycle
                             r-jsonlite
                             r-httr
                             r-gargle
                             r-dplyr
                             r-cli
                             r-cachem))
    (native-inputs (list r-knitr))
    (home-page "https://selesnow.github.io/rgoogleads/")
    (synopsis "Loading Data from 'Google Ads API'")
    (description
     "Interface for loading data from Google Ads API', see
<https://developers.google.com/google-ads/api/docs/start>.  Package provide
function for authorization and loading reports.")
    (license license:expat)))

(define-public r-rgof
  (package
    (name "r-rgof")
    (version "2.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rgof" version))
       (sha256
        (base32 "1x1agjbil78mnydhmkm5r4fvmzx6ahlk3png0gps4z1h8lnk58j5"))))
    (properties `((upstream-name . "Rgof")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rgof")
    (synopsis "1d Goodness of Fit Tests")
    (description
     "Routines that allow the user to run a large number of goodness-of-fit tests.  It
allows for data to be continuous or discrete.  It includes routines to estimate
the power of the tests and display them as a power graph.")
    (license license:gpl2+)))

(define-public r-rgnparser
  (package
    (name "r-rgnparser")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgnparser" version))
       (sha256
        (base32 "0fjkbgrglybvjj2cqswkf8wjxqad91h6xv1pf9ly5iggc2z830v1"))))
    (properties `((upstream-name . "rgnparser")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-tibble r-sys r-readr r-lifecycle r-jsonlite))
    (home-page "https://docs.ropensci.org/rgnparser/")
    (synopsis "Parse Scientific Names")
    (description
     "Parse scientific names using gnparser (<https://github.com/gnames/gnparser>),
written in Go.  gnparser parses scientific names into their component parts; it
utilizes a Parsing Expression Grammar specifically for scientific names.")
    (license license:expat)))

(define-public r-rgnoisefilt
  (package
    (name "r-rgnoisefilt")
    (version "1.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgnoisefilt" version))
       (sha256
        (base32 "0rdjbxws1bimpnwfv46yycafvwjc2lcqgdf993f5mm2sg2fxv2da"))))
    (properties `((upstream-name . "rgnoisefilt")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpart
                             r-randomforest
                             r-nnet
                             r-modelr
                             r-kknn
                             r-infotheo
                             r-ggplot2
                             r-gbm
                             r-fnn
                             r-entropy
                             r-e1071
                             r-class
                             r-arules))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/juanmartinsantos/rgnoisefilt")
    (synopsis
     "Elimination of Noisy Samples in Regression Datasets using Noise Filters")
    (description
     "Traditional noise filtering methods aim at removing noisy samples from a
classification dataset.  This package adapts classic and recent filtering
techniques for use in regression problems, and it also incorporates methods
specifically designed for regression data.  In order to do this, it uses
approaches proposed in the specialized literature, such as Martin et al. (2021)
[<doi:10.1109/ACCESS.2021.3123151>] and Arnaiz-Gonzalez et al. (2016)
[<doi:10.1016/j.eswa.2015.12.046>].  Thus, the goal of the implemented noise
filters is to eliminate samples with noise in regression datasets.")
    (license license:gpl3+)))

(define-public r-rgn
  (package
    (name "r-rgn")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGN" version))
       (sha256
        (base32 "1gpn595ywc1yrmr0vgwk5fa2j062pap85rz62dnyz2cncr0kvr48"))))
    (properties `((upstream-name . "RGN")))
    (build-system r-build-system)
    (native-inputs (list gfortran))
    (home-page "https://github.com/ClimateAnalytics/RGN/")
    (synopsis
     "Robust-Gauss Newton (RGN) Optimization of Sum-of-Squares Objective Function")
    (description
     "Implementation of the Robust Gauss-Newton (RGN) algorithm, designed for solving
optimization problems with a sum of least squares objective function.  For
algorithm details please refer to Qin et.  al. (2018)
<doi:10.1029/2017WR022488>.")
    (license license:expat)))

(define-public r-rgmm
  (package
    (name "r-rgmm")
    (version "2.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGMM" version))
       (sha256
        (base32 "1b0r1scxd40d93s96xa1cc9ls1f7vs2g5g8sjnm0kd562mwj4pxp"))))
    (properties `((upstream-name . "RGMM")))
    (build-system r-build-system)
    (propagated-inputs (list r-rspectra
                             r-reshape2
                             r-rcpparmadillo
                             r-rcpp
                             r-mvtnorm
                             r-mclust
                             r-laplacesdemon
                             r-ggplot2
                             r-genieclust
                             r-foreach
                             r-doparallel
                             r-desctools))
    (home-page "https://cran.r-project.org/package=RGMM")
    (synopsis "Robust Mixture Model")
    (description
     "Algorithms for estimating robustly the parameters of a Gaussian, Student, or
Laplace Mixture Model.")
    (license license:gpl2+)))

(define-public r-rgm
  (package
    (name "r-rgm")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgm" version))
       (sha256
        (base32 "0d6149mg0mvnp64dnn3nh9bxqcal324pjipnbqsmfslhk8sw8bwb"))))
    (properties `((upstream-name . "rgm")))
    (build-system r-build-system)
    (propagated-inputs (list r-truncnorm
                             r-reshape2
                             r-rcpp
                             r-proc
                             r-mass
                             r-huge
                             r-ggplot2
                             r-bdgraph))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rgm")
    (synopsis "Advanced Inference with Random Graphical Models")
    (description
     "This package implements state-of-the-art Random Graphical Models (RGMs) for
multivariate data analysis across multiple environments, offering tools for
exploring network interactions and structural relationships.  Capabilities
include joint inference across environments, integration of external covariates,
and a Bayesian framework for uncertainty quantification.  Applicable in various
fields, including microbiome analysis.  Methods based on Vinciotti, V., Wit, E.,
& Richter, F. (2023). \"Random Graphical Model of Microbiome Interactions in
Related Environments.\" <@code{arXiv:2304.01956>}.")
    (license license:expat)))

(define-public r-rglplus
  (package
    (name "r-rglplus")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rglplus" version))
       (sha256
        (base32 "1x2zbisgdvfz868c342lbnc2r3fc849ahsy8kk34qrnpzmawb5f5"))))
    (properties `((upstream-name . "rglplus")))
    (build-system r-build-system)
    (propagated-inputs (list r-rgl))
    (home-page "https://cran.r-project.org/package=rglplus")
    (synopsis "Extension of the 'rgl' 3D Visualization Package")
    (description
     "This package provides 3D plotting routines that facilitate the use of the rgl
package and extend its functionality.  For example, the routines allow the user
to directly control the camera position & orientation, as well as to generate 3D
movies with a moving observer.")
    (license license:gpl3)))

(define-public r-rglobi
  (package
    (name "r-rglobi")
    (version "0.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rglobi" version))
       (sha256
        (base32 "14jwl1cl20q7sgsiidd2sd2p2vjjfvqam0bijg9j8328g27cbi63"))))
    (properties `((upstream-name . "rglobi")))
    (build-system r-build-system)
    (propagated-inputs (list r-readr r-rcurl r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rglobi/")
    (synopsis "Interface to Global Biotic Interactions")
    (description
     "This package provides a programmatic interface to the web service methods
provided by Global Biotic Interactions (@code{GloBI})
(<https://www.globalbioticinteractions.org/>). @code{GloBI} provides access to
spatial-temporal species interaction records from sources all over the world.
rglobi provides methods to search species interactions by location, interaction
type, and taxonomic name.")
    (license license:expat)))

(define-public r-rgl2gltf
  (package
    (name "r-rgl2gltf")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgl2gltf" version))
       (sha256
        (base32 "1idly42kc1qbaiziwdzk3ka0lc6gwi7xzanq9kf3h4wkx3882rsv"))))
    (properties `((upstream-name . "rgl2gltf")))
    (build-system r-build-system)
    (propagated-inputs (list r-rgl r-r6 r-jsonlite r-base64enc))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://github.com/dmurdoch/rgl2gltf")
    (synopsis "Read and Write '.gltf' and '.glb' Files")
    (description
     "The @code{glTF} file format is used to describe 3D models.  This package
provides read and write functions to work with it.")
    (license license:gpl2)))

(define-public r-rgl-cry
  (package
    (name "r-rgl-cry")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgl.cry" version))
       (sha256
        (base32 "0zp7qq893cjs41rml64abdps4mddmsqafsc4mvqrg8lkir4awljw"))))
    (properties `((upstream-name . "rgl.cry")))
    (build-system r-build-system)
    (propagated-inputs (list r-rgl r-pracma r-cry))
    (home-page "https://github.com/SaitouToshihide/rgl.cry/")
    (synopsis "'cry' and 'rgl' â Applications in Crystallography")
    (description
     "Visualizing crystal structures and selected area electron diffraction (SAED)
patterns.  It provides functions cry_demo() and dp_demo() to load a file in CIF
(Crystallographic Information Framework) formats and display crystal structures
and electron diffraction patterns.  The function dp_demo() also performs simple
simulation of powder X-ray diffraction (PXRD) patterns, and the results can be
saved to a file in the working directory.  The package has been tested on
several platforms, including Linux on Crostini with a Coreâ¢ m3-8100Y
Chromebook, I found that even on this low-powered platform, the performance was
acceptable.  T. Hanashima (2001)
<https://www2.kek.jp/imss/pf/tools/sasaki/sinram/sinram.html> Todd Helmenstine
(2019) <https://sciencenotes.org/molecule-atom-colors-cpk-colors/> Wikipedia
contributors (2023)
<https://en.wikipedia.org/w/index.php?title=Atomic_radius&oldid=1179864711>.")
    (license license:gpl2+)))

(define-public r-rgift
  (package
    (name "r-rgift")
    (version "0.1-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGIFT" version))
       (sha256
        (base32 "0ic652d4v3yyj7r6av714vxbriwrjyqlc6d6dg95vi6r02lf7947"))))
    (properties `((upstream-name . "RGIFT")))
    (build-system r-build-system)
    (home-page "https://docs.moodle.org/21/en/GIFT_format")
    (synopsis "Create Quizzes in GIFT Format")
    (description
     "Implementation of some functions to create quizzes in the GIFT format.  This
format is used by several Virtual Learning Environments such as Moodle.")
    (license license:gpl2+)))

(define-public r-rgho
  (package
    (name "r-rgho")
    (version "3.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgho" version))
       (sha256
        (base32 "1j46pkb8n2hn1isz5xgfagwn77cxs48wv3rs4qqvq2nq1r5bpa4x"))))
    (properties `((upstream-name . "rgho")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-rlang
                             r-odataquery
                             r-magrittr
                             r-lifecycle
                             r-httr
                             r-dplyr
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rgho")
    (synopsis "Access WHO Global Health Observatory Data from R")
    (description
     "Access WHO Global Health Observatory (<https://www.who.int/data/gho/>) data from
R via the `OData` API (<https://www.who.int/data/gho/info/gho-odata-api>), an
application program interface providing a simple query interface to the World
Health Organization's data and statistics content.")
    (license license:gpl3+)))

(define-public r-rghanacensus
  (package
    (name "r-rghanacensus")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rGhanaCensus" version))
       (sha256
        (base32 "1i8z2cfzk64yhvkia1khsmw666dflai1sj8bhd8n2d97a45nb230"))))
    (properties `((upstream-name . "rGhanaCensus")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ktemadarko/rGhanaCensus")
    (synopsis
     "2021 Ghana Population and Housing Census Results as Data Frames")
    (description
     "Datasets from the 2021 Ghana Population and Housing Census Results.  Users can
access results as tidyverse and sf'-Ready Data Frames.  The data in this package
is scraped from pdf reports released by the Ghana Statistical Service website
<https://census2021.statsghana.gov.gh/> .  The package currently only contains
datasets from the literacy and education reports.  Namely, school attendance
data for respondents aged 3 years and above.")
    (license license:expat)))

(define-public r-rgff
  (package
    (name "r-rgff")
    (version "0.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rgff" version))
       (sha256
        (base32 "1prcjnr4zvp8ksrnzrvz7zmwbsximhg3aifa1wsz6h9aa3pcl2gl"))))
    (properties `((upstream-name . "Rgff")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-tidyr
                             r-tibble
                             r-stringi
                             r-rlang
                             r-rjsonio
                             r-magrittr
                             r-dplyr
                             r-data-tree))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rgff")
    (synopsis "R Utilities for GFF Files")
    (description
     "R utilities for gff files, either general feature format (GFF3) or gene transfer
format (GTF) formatted files.  This package includes functions for producing
summary stats, check for consistency and sorting errors, conversion from GTF to
GFF3 format, file sorting, visualization and plotting of feature hierarchy, and
exporting user defined feature subsets to SAF format.  This tool was developed
by the @code{BioinfoGP} core facility at CNB-CSIC.")
    (license license:gpl3+)))

(define-public r-rgf
  (package
    (name "r-rgf")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGF" version))
       (sha256
        (base32 "0dld7icq02mc5gdy8lpjwdfpk9l5cwmqc6f8zf083sjvp0b2rgb9"))))
    (properties `((upstream-name . "RGF")))
    (build-system r-build-system)
    (inputs (list python-scipy python-scikit-learn python))
    (propagated-inputs (list r-reticulate r-r6 r-matrix))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/RGF-team/rgf/tree/master/R-package")
    (synopsis "Regularized Greedy Forest")
    (description
     "Regularized Greedy Forest wrapper of the Regularized Greedy Forest
<https://github.com/RGF-team/rgf/tree/master/python-package> python package,
which also includes a Multi-core implementation (@code{FastRGF})
<https://github.com/RGF-team/rgf/tree/master/@code{FastRGF>}.")
    (license license:expat)))

(define-public r-rgeopat2
  (package
    (name "r-rgeopat2")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgeopat2" version))
       (sha256
        (base32 "0l3gj2g4z7fcn5nx9kj3cz4a0g7k4f95gpwxsi82fybsdx5j5byv"))))
    (properties `((upstream-name . "rgeopat2")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-sf r-readr))
    (home-page "https://github.com/Nowosad/rgeopat2")
    (synopsis "Additional Functions for 'GeoPAT' 2")
    (description
     "Supports analysis of spatial data processed with the @code{GeoPAT} 2 software
<https://github.com/Nowosad/geopat2>.  Available features include creation of a
grid based on the @code{GeoPAT} 2 grid header file and reading a @code{GeoPAT} 2
text outputs.")
    (license license:expat)))

(define-public r-rgeomstats
  (package
    (name "r-rgeomstats")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgeomstats" version))
       (sha256
        (base32 "1fy5fvkifv80sf3x0d2y3vyv7adn0h57q1hvip1phcvxg8p5prff"))))
    (properties `((upstream-name . "rgeomstats")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang
                             r-reticulate
                             r-rdpack
                             r-r6
                             r-purrr
                             r-cli))
    (home-page "https://github.com/LMJL-Alea/rgeomstats")
    (synopsis "Interface to 'Geomstats'")
    (description
     "This package provides an interface to the Python package Geomstats authored by
Miolane et al. (2020) <@code{arXiv:2004.04667>}.")
    (license license:expat)))

(define-public r-rgeode
  (package
    (name "r-rgeode")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGeode" version))
       (sha256
        (base32 "1g8ha6zg4pvi8qimiihsa6rjfdcyj0q526l44jajjbqczmwg59lv"))))
    (properties `((upstream-name . "RGeode")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-mass))
    (home-page "https://cran.r-project.org/package=RGeode")
    (synopsis "Geometric Density Estimation")
    (description
     "This package provides the hybrid Bayesian method Geometric Density Estimation.
On the one hand, it scales the dimension of our data, on the other it performs
inference.  The method is fully described in the paper \"Scalable Geometric
Density Estimation\" by Y. Wang, A. Canale, D. Dunson (2016)
<http://proceedings.mlr.press/v51/wang16e.pdf>.")
    (license license:gpl2+)))

(define-public r-rgeoda
  (package
    (name "r-rgeoda")
    (version "0.0.10-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgeoda" version))
       (sha256
        (base32 "18rcrlah1iaqvf90cymh71c8wpgy3yxlwlq84waxilpccwhd68x0"))))
    (properties `((upstream-name . "rgeoda")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-rcpp r-digest r-bh))
    (home-page "https://github.com/geodacenter/rgeoda/")
    (synopsis "R Library for Spatial Data Analysis")
    (description
     "This package provides spatial data analysis functionalities including
Exploratory Spatial Data Analysis, Spatial Cluster Detection and Clustering
Analysis, Regionalization, etc.  based on the C++ source code of @code{GeoDa}',
which is an open-source software tool that serves as an introduction to spatial
data analysis.  The @code{GeoDa} software and its documentation are available at
<https://geodacenter.github.io>.")
    (license license:gpl2+)))

(define-public r-rgeoboundaries
  (package
    (name "r-rgeoboundaries")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgeoboundaries" version))
       (sha256
        (base32 "1hw96fq781zfyy0gq0flpizd6aq0av2hpvrcsvyh43n3vjfhy2n3"))))
    (properties `((upstream-name . "rgeoboundaries")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf
                             r-memoise
                             r-lifecycle
                             r-jsonlite
                             r-hoardr
                             r-glue
                             r-crul
                             r-countrycode))
    (home-page "https://github.com/wmgeolab/rgeoboundaries")
    (synopsis "geoBoundaries Client")
    (description
     "This package provides access to the @code{geoBoundaries} international boundary
database <https://www.geoboundaries.org>, a NSF and foundation supported dataset
of subnational boundaries around the globe.  Methods allow you to access data
directly from the API <https://www.geoboundaries.org/api/current/> to query for
the geometric boundaries for any country, globally.  For more details, refer to
the publication by Runfola et al. (2020) <doi:10.1371/journal.pone.0231866>.")
    (license license:expat)))

(define-public r-rgenoud
  (package
    (name "r-rgenoud")
    (version "5.9-0.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgenoud" version))
       (sha256
        (base32 "12pf7kvyvly0aqrk84k07cx7gnqmnrpfzs41ys960gx70lzf77f6"))))
    (properties `((upstream-name . "rgenoud")))
    (build-system r-build-system)
    (home-page "https://github.com/JasjeetSekhon/rgenoud")
    (synopsis "R Version of GENetic Optimization Using Derivatives")
    (description
     "This package provides a genetic algorithm plus derivative optimizer.")
    (license license:gpl3)))

(define-public r-rgenius
  (package
    (name "r-rgenius")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgenius" version))
       (sha256
        (base32 "1gpglnhicyv16ym224wzaw52w9xr63slm75wvidl3z14izzyy7ga"))))
    (properties `((upstream-name . "rgenius")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-stringr
                             r-rvest
                             r-purrr
                             r-httr
                             r-foreach
                             r-dplyr
                             r-doparallel))
    (home-page "https://github.com/AlbertoAlmuinha/rgenius")
    (synopsis "Get 'Genius' API Lyrics")
    (description
     "Download the lyrics of your favorite songs in text and table formats.  Also
search for related songs or song information.  More information:
<https://docs.genius.com/> .")
    (license license:gpl3)))

(define-public r-rgenetics
  (package
    (name "r-rgenetics")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGenetics" version))
       (sha256
        (base32 "0x5sspd67hh08qm62whlnnd838m0np29q3bfzgwp6j85lhil3jrx"))))
    (properties `((upstream-name . "RGenetics")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RGenetics")
    (synopsis "R packages for genetics research")
    (description "R packages for genetics research.")
    (license license:gpl2+)))

(define-public r-rgenerateprec
  (package
    (name "r-rgenerateprec")
    (version "1.2.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGENERATEPREC" version))
       (sha256
        (base32 "0bnw77vny61pkhp9pb3v3ckz6immm4pp9f7qzyhc97646fci9ysl"))))
    (properties `((upstream-name . "RGENERATEPREC")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-rmawgen
                             r-rgenerate
                             r-matrix
                             r-copula
                             r-blockmatrix))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ecor/RGENERATEPREC")
    (synopsis "Tools to Generate Daily-Precipitation Time Series")
    (description
     "The method generate() is extended for spatial multi-site stochastic generation
of daily precipitation.  It generates precipitation occurrence in several sites
using logit regression (Generalized Linear Models) and the approach by D.S.
Wilks (1998) <doi:10.1016/S0022-1694(98)00186-3> .")
    (license license:gpl2+)))

(define-public r-rgenerate
  (package
    (name "r-rgenerate")
    (version "1.3.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGENERATE" version))
       (sha256
        (base32 "0w6hqrf2lr6qz79skml2vjpfwfv5vxj94rghxxa3rp9dqzhi7rc0"))))
    (properties `((upstream-name . "RGENERATE")))
    (build-system r-build-system)
    (propagated-inputs (list r-rmawgen r-magrittr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ecor/RGENERATE")
    (synopsis "Tools to Generate Vector Time Series")
    (description
     "This package provides a method generate() is implemented in this package for the
random generation of vector time series according to models obtained by
RMAWGEN', vars or other packages.  This package was created to generalize the
algorithms of the RMAWGEN package for the analysis and generation of any
environmental vector time series.")
    (license license:gpl2+)))

(define-public r-rgendata
  (package
    (name "r-rgendata")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGenData" version))
       (sha256
        (base32 "124h2qvp0f6cil7zf4ln3n0jlqcfzdwbihzfaklk2lxxn7gq4mbi"))))
    (properties `((upstream-name . "RGenData")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RGenData")
    (synopsis
     "Generates Multivariate Nonnormal Data and Determines How Many Factors to Retain")
    (description
     "The @code{GenDataSample}() and @code{GenDataPopulation}() functions create,
respectively, a sample or population of multivariate nonnormal data using
methods described in Ruscio and Kaczetow (2008).  Both of these functions call a
@code{FactorAnalysis}() function to reproduce a correlation matrix.  The
EFA@code{CompData}() function allows users to determine how many factors to
retain in an exploratory factor analysis of an empirical data set using a method
described in Ruscio and Roche (2012).  The latter function uses populations of
comparison data created by calling the @code{GenDataPopulation}() function.
<DOI: 10.1080/00273170802285693>. <DOI: 10.1037/a0025697>.")
    (license license:expat)))

(define-public r-rgen
  (package
    (name "r-rgen")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgen" version))
       (sha256
        (base32 "0gl82v09q1ha58wd1014s46wzkx1yf348bc7jkl6s4qdc6c4vsb8"))))
    (properties `((upstream-name . "rgen")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rgen")
    (synopsis "Random Sampling Distribution C++ Routines for Armadillo")
    (description
     "This package provides popular sampling distributions C++ routines based in
armadillo through a header file approach.")
    (license license:gpl2+)))

(define-public r-rgeedim
  (package
    (name "r-rgeedim")
    (version "0.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgeedim" version))
       (sha256
        (base32 "17vxxhkmafm6vlgb5b6lp2mq316gph84i9r58xvx6sya7ckyi8dh"))))
    (properties `((upstream-name . "rgeedim")))
    (build-system r-build-system)
    (inputs (list python))
    (propagated-inputs (list r-reticulate r-jsonlite))
    (native-inputs (list r-knitr))
    (home-page "https://humus.rocks/rgeedim/")
    (synopsis
     "Search, Composite, and Download 'Google Earth Engine' Imagery with the 'Python' Module 'geedim'")
    (description
     "Search, composite, and download Google Earth Engine imagery with reticulate
bindings for the Python module geedim by Dugal Harris.  Read the geedim
documentation here: <https://geedim.readthedocs.io/>.  Wrapper functions are
provided to make it more convenient to use geedim to download images larger than
the Google Earth Engine size limit
<https://developers.google.com/earth-engine/apidocs/ee-image-getdownloadurl>.
By default the \"High Volume\" API endpoint
<https://developers.google.com/earth-engine/cloud/highvolume> is used to
download data and this URL can be customized during initialization of the
package.")
    (license (license:fsdg-compatible "Apache License (>= 2)"))))

(define-public r-rgee
  (package
    (name "r-rgee")
    (version "1.1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgee" version))
       (sha256
        (base32 "1v6xczz7n3gby7ckh323yr5jqvzsvpjy1qszqh9hk7a56m3y31mh"))))
    (properties `((upstream-name . "rgee")))
    (build-system r-build-system)
    (propagated-inputs (list r-rstudioapi
                             r-reticulate
                             r-r6
                             r-processx
                             r-magrittr
                             r-leaflet
                             r-leafem
                             r-jsonlite
                             r-crayon
                             r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/r-spatial/rgee/")
    (synopsis "R Bindings for Calling the 'Earth Engine' API")
    (description
     "Earth Engine <https://earthengine.google.com/> client library for R. All of the
Earth Engine API classes, modules, and functions are made available.  Additional
functions implemented include importing (exporting) of Earth Engine spatial
objects, extraction of time series, interactive map display, assets management
interface, and metadata display.  See <https://r-spatial.github.io/rgee/> for
further details.")
    (license license:asl2.0)))

(define-public r-rge
  (package
    (name "r-rge")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGE" version))
       (sha256
        (base32 "1ild1if10xicfapfcmydz1cgvn5fyydrik8qclb90i95bl9bs4ia"))))
    (properties `((upstream-name . "RGE")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrixmodels r-matrix r-coda))
    (home-page "https://cran.r-project.org/package=RGE")
    (synopsis "Response from Genotype to Environment")
    (description
     "Compute yield-stability index based on Bayesian methodology, which is useful for
analyze multi-environment trials in plant breeding programs.  References: Cotes
Torres JM, Gonzalez Jaimes EP, and Cotes Torres A (2016)
<https://revistas.unimilitar.edu.co/index.php/rfcb/article/view/2037> Seleccion
de Genotipos con Alta Respuesta y Estabilidad Fenotipica en Pruebas Regionales:
Recuperando el Concepto Biologico.")
    (license license:gpl2+)))

(define-public r-rgdax
  (package
    (name "r-rgdax")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgdax" version))
       (sha256
        (base32 "01hpyyhb6jcw9w0q9h4ghgh4cbba27mfl9zdv4vv4ppakvl80czl"))))
    (properties `((upstream-name . "rgdax")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl r-plyr r-jsonlite r-httr r-digest))
    (home-page "https://github.com/DheerajAgarwal/rgdax/")
    (synopsis
     "Wrapper for 'Coinbase Pro (erstwhile GDAX)' Cryptocurrency Exchange")
    (description
     "Allow access to both public and private end points to Coinbase Pro (erstwhile
GDAX) cryptocurrency exchange.  For authenticated flow, users must have valid
api, secret and passphrase to be able to connect.")
    (license license:expat)))

(define-public r-rgcxgc
  (package
    (name "r-rgcxgc")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGCxGC" version))
       (sha256
        (base32 "1hz363pqlx0l3wi4di69fmrv4awl37lz8fzl4g070zchwzbffcpc"))))
    (properties `((upstream-name . "RGCxGC")))
    (build-system r-build-system)
    (propagated-inputs (list r-rnetcdf r-rdpack r-ptw r-colorramps))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/DanielQuiroz97/RGCxGC")
    (synopsis
     "Preprocessing and Multivariate Analysis of Bidimensional Gas Chromatography Data")
    (description
     "Toolbox for chemometrics analysis of bidimensional gas chromatography data.
This package import data for common scientific data format (@code{NetCDF}) and
fold it to 2D chromatogram.  Then, it can perform preprocessing and multivariate
analysis.  In the preprocessing algorithms, baseline correction, smoothing, and
peak alignment are available.  While in multivariate analysis, multiway
principal component analysis is incorporated.")
    (license license:expat)))

(define-public r-rgcca
  (package
    (name "r-rgcca")
    (version "3.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGCCA" version))
       (sha256
        (base32 "00ap665i3vg4nnrs7wasyd05rgvk1mr1gcihrc50awdfkgwjghs8"))))
    (properties `((upstream-name . "RGCCA")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang
                             r-pbapply
                             r-matrixstats
                             r-mass
                             r-gridextra
                             r-ggrepel
                             r-ggplot2
                             r-deriv
                             r-caret))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rgcca-factory/RGCCA")
    (synopsis
     "Regularized and Sparse Generalized Canonical Correlation Analysis for Multiblock Data")
    (description
     "Multi-block data analysis concerns the analysis of several sets of variables
(blocks) observed on the same group of individuals.  The main aims of the RGCCA
package are: to study the relationships between blocks and to identify subsets
of variables of each block which are active in their relationships with the
other blocks.  This package allows to (i) run R/SGCCA and related methods, (ii)
help the user to find out the optimal parameters for R/SGCCA such as
regularization parameters (tau or sparsity), (iii) evaluate the stability of the
RGCCA results and their significance, (iv) build predictive models from the
R/SGCCA. (v) Generic print() and plot() functions apply to all these
functionalities.")
    (license license:gpl3)))

(define-public r-rgbp
  (package
    (name "r-rgbp")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rgbp" version))
       (sha256
        (base32 "1y51sms321sbrl3rgzp5hq4y5mqkrjxsyrq75gkcbwfvlakjcfrg"))))
    (properties `((upstream-name . "Rgbp")))
    (build-system r-build-system)
    (propagated-inputs (list r-sn r-mnormt))
    (home-page "https://cran.r-project.org/package=Rgbp")
    (synopsis
     "Hierarchical Modeling and Frequency Method Checking on Overdispersed Gaussian, Poisson, and Binomial Data")
    (description
     "We utilize approximate Bayesian machinery to fit two-level conjugate
hierarchical models on overdispersed Gaussian, Poisson, and Binomial data and
evaluates whether the resulting approximate Bayesian interval estimates for
random effects meet the nominal confidence levels via frequency coverage
evaluation.  The data that Rgbp assumes comprise observed sufficient statistic
for each random effect, such as an average or a proportion of each group,
without population-level data.  The approximate Bayesian tool equipped with the
adjustment for density maximization produces approximate point and interval
estimates for model parameters including second-level variance component,
regression coefficients, and random effect.  For the Binomial data, the package
provides an option to produce posterior samples of all the model parameters via
the acceptance-rejection method.  The package provides a quick way to evaluate
coverage rates of the resultant Bayesian interval estimates for random effects
via a parametric bootstrapping, which we call frequency method checking.")
    (license license:gpl2)))

(define-public r-rgbm
  (package
    (name "r-rgbm")
    (version "1.0-11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGBM" version))
       (sha256
        (base32 "12pi503n767c707f4nqfn7zzvxb25kb6pks0257bcixwm37a6r54"))))
    (properties `((upstream-name . "RGBM")))
    (build-system r-build-system)
    (propagated-inputs (list r-plyr r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=RGBM")
    (synopsis
     "LS-TreeBoost and LAD-TreeBoost for Gene Regulatory Network Reconstruction")
    (description
     "This package provides an implementation of Regularized LS-@code{TreeBoost} &
LAD-@code{TreeBoost} algorithm for Regulatory Network inference from any type of
expression data (Microarray/RNA-seq etc).")
    (license license:gpl3+)))

(define-public r-rgbif
  (package
    (name "r-rgbif")
    (version "3.8.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgbif" version))
       (sha256
        (base32 "0vmnccwy3dd043c59s9k7y6r40bb7blvn94hiz7sb1vqc37jiphc"))))
    (properties `((upstream-name . "rgbif")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-wk
                             r-whisker
                             r-tibble
                             r-r6
                             r-oai
                             r-magrittr
                             r-lazyeval
                             r-jsonlite
                             r-ggplot2
                             r-data-table
                             r-crul))
    (home-page "https://github.com/ropensci/rgbif")
    (synopsis "Interface to the Global Biodiversity Information Facility API")
    (description
     "This package provides a programmatic interface to the Web Service methods
provided by the Global Biodiversity Information Facility (GBIF;
<https://www.gbif.org/developer/summary>).  GBIF is a database of species
occurrence records from sources all over the globe.  rgbif includes functions
for searching for taxonomic names, retrieving information on data providers,
getting species occurrence records, getting counts of occurrence records, and
using the GBIF tile map service to make rasters summarizing huge amounts of
data.")
    (license license:expat)))

(define-public r-rgb
  (package
    (name "r-rgb")
    (version "1.7.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rgb" version))
       (sha256
        (base32 "1hj7hxvj785qg4j52bvwgczv21fhz2fjncvxn2fahsb4hdkrvfrm"))))
    (properties `((upstream-name . "Rgb")))
    (build-system r-build-system)
    (home-page "https://bioinformatics.ovsa.fr/Rgb")
    (synopsis "The R Genome Browser")
    (description
     "This package provides classes and methods to efficiently handle (slice,
annotate, draw ...) genomic features (such as genes or transcripts), and an
interactive interface to browse them.  Performances and main features are
highlighted in Mareschal et al (2014) <doi:10.1093/bioinformatics/btu185>.")
    (license license:gpl3+)))

(define-public r-rgap
  (package
    (name "r-rgap")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGAP" version))
       (sha256
        (base32 "1gskz1zsr9v30f7w67a7d3fm66cnlafj329zq110ddgbp3agd2ll"))))
    (properties `((upstream-name . "RGAP")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-openxlsx
                             r-kfas
                             r-gridextra
                             r-ggplot2
                             r-dlm))
    (native-inputs (list r-r-rsp))
    (home-page "https://cran.r-project.org/package=RGAP")
    (synopsis "Production Function Output Gap Estimation")
    (description
     "The output gap indicates the percentage difference between the actual output of
an economy and its potential.  Since potential output is a latent process, the
estimation of the output gap poses a challenge and numerous filtering techniques
have been proposed.  RGAP facilitates the estimation of a Cobb-Douglas
production function type output gap, as suggested by the European Commission
(Havik et al.  2014) <https://ideas.repec.org/p/euf/ecopap/0535.html>.  To that
end, the non-accelerating wage rate of unemployment (NAWRU) and the trend of
total factor productivity (TFP) can be estimated in two bivariate unobserved
component models by means of Kalman filtering and smoothing.  RGAP features a
flexible modeling framework for the appropriate state-space models and offers
frequentist as well as Bayesian estimation techniques.  Additional
functionalities include direct access to the AMECO
<https://economy-finance.ec.europa.eu/economic-research-and-databases/economic-databases/ameco-database_en>
database and automated model selection procedures.  See the paper by Streicher
(2022) <http://hdl.handle.net/20.500.11850/552089> for details.")
    (license license:gpl3)))

(define-public r-rgan
  (package
    (name "r-rgan")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RGAN" version))
       (sha256
        (base32 "0820fvmiw853hfls7mydca9lhwxrrkj49vshp151by9mavwkx413"))))
    (properties `((upstream-name . "RGAN")))
    (build-system r-build-system)
    (propagated-inputs (list r-viridis r-torch r-cli))
    (home-page "https://github.com/mneunhoe/RGAN")
    (synopsis "Generative Adversarial Nets (GAN) in R")
    (description
     "An easy way to get started with Generative Adversarial Nets (GAN) in R. The GAN
algorithm was initially described by Goodfellow et al.  2014
<https://proceedings.neurips.cc/paper/2014/file/5ca3e9b122f61f8f06494c97b1afccf3-Paper.pdf>.
 A GAN can be used to learn the joint distribution of complex data by
comparison.  A GAN consists of two neural networks a Generator and a
Discriminator, where the two neural networks play an adversarial minimax game.
Built-in GAN models make the training of GANs in R possible in one line and make
it easy to experiment with different design choices (e.g. different network
architectures, value functions, optimizers).  The built-in GAN models work with
tabular data (e.g. to produce synthetic data) and image data.  Methods to
post-process the output of GAN models to enhance the quality of samples are
available.")
    (license license:expat)))

(define-public r-rgabriel
  (package
    (name "r-rgabriel")
    (version "0.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rgabriel" version))
       (sha256
        (base32 "1za8njmasl7kmmiqgxhr8k2p1kygkadkqgim9wgyjkcnzljg46kb"))))
    (properties `((upstream-name . "rgabriel")))
    (build-system r-build-system)
    (home-page "https://github.com/yufree/rgabriel")
    (synopsis
     "Gabriel Multiple Comparison Test and Plot the Confidence Interval on Barplot")
    (description
     "Analyze multi-level one-way experimental designs where there are unequal sample
sizes and population variance homogeneity can not be assumed.  To conduct the
Gabriel test <doi:10.2307/2286265>, create two vectors: one for your
observations and one for the factor level of each observation.  The function,
rgabriel, conduct the test and save the output as a vector to input into the
gabriel.plot function, which produces a confidence interval plot for Multiple
Comparison.")
    (license license:gpl2+)))

(define-public r-rfviz
  (package
    (name "r-rfviz")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfviz" version))
       (sha256
        (base32 "1pxr9bsqg27vgbngj89hhjq0gyzgdlg69rz6kzvvd8gclg42wisv"))))
    (properties `((upstream-name . "rfviz")))
    (build-system r-build-system)
    (propagated-inputs (list r-randomforest r-loon))
    (home-page
     "https://www.stat.berkeley.edu/~breiman/RandomForests/cc_graphics.htm")
    (synopsis "Interactive Visualization Tool for Random Forests")
    (description
     "An interactive data visualization and exploration toolkit that implements
Breiman and Cutler's original random forest Java based visualization tools in R,
for supervised and unsupervised classification and regression within the
algorithm random forest.")
    (license license:gpl2+)))

(define-public r-rfvimptest
  (package
    (name "r-rfvimptest")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfvimptest" version))
       (sha256
        (base32 "1c14591y4wpi5r7f6azzyac93h6klgk8jqfaszzp01krkb8z2cdy"))))
    (properties `((upstream-name . "rfvimptest")))
    (build-system r-build-system)
    (propagated-inputs (list r-ranger r-permimp r-party))
    (home-page "https://cran.r-project.org/package=rfvimptest")
    (synopsis
     "Sequential Permutation Testing of Random Forest Variable Importance Measures")
    (description
     "Sequential permutation testing for statistical significance of predictors in
random forests.  The main function of the package is rfvimptest(), which allows
to test for the statistical significance of predictors in random forests using
different (sequential) permutation test strategies.  The advantage of sequential
over conventional permutation tests is that they are computationally
considerably less intensive, as the sequential procedure is stopped as soon as
there is sufficient evidence for either the null or the alternative hypothesis.")
    (license license:gpl3)))

(define-public r-rfvarimpoob
  (package
    (name "r-rfvarimpoob")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfVarImpOOB" version))
       (sha256
        (base32 "1f0ljy51xqqrncdg4xpic6ir8zlgvp952pr0s217v7ybgdzs42v6"))))
    (properties `((upstream-name . "rfVarImpOOB")))
    (build-system r-build-system)
    (propagated-inputs (list r-titanic
                             r-ranger
                             r-randomforest
                             r-magrittr
                             r-ggpubr
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rfVarImpOOB")
    (synopsis "Unbiased Variable Importance for Random Forests")
    (description
     "Computes a novel variable importance for random forests: Impurity reduction
importance scores for out-of-bag (OOB) data complementing the existing inbag
Gini importance, see also <doi: 10.1080/03610926.2020.1764042>.  The Gini
impurities for inbag and OOB data are combined in three different ways, after
which the information gain is computed at each split.  This gain is aggregated
for each split variable in a tree and averaged across trees.")
    (license license:gpl2+)))

(define-public r-rfusion
  (package
    (name "r-rfusion")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rFUSION" version))
       (sha256
        (base32 "0xv0532zs6sqmglridrmyp04hiri4hpsd8ifd0zzwcj4kvk4lhd7"))))
    (properties `((upstream-name . "rFUSION")))
    (build-system r-build-system)
    (propagated-inputs (list r-sjmisc r-dplyr))
    (home-page "https://cran.r-project.org/package=rFUSION")
    (synopsis "Interface to FUSION")
    (description
     "Set of functions that enable you to use the FUSION commands (Program available
in: <http://forsys.sefs.uw.edu/fusion/fusionlatest.html>).")
    (license license:gpl3)))

(define-public r-rfssa
  (package
    (name "r-rfssa")
    (version "3.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rfssa" version))
       (sha256
        (base32 "0knz199h29ph6qxbasrjqdyhgsqnrmp83syz3d3mblqnlz3ar1mi"))))
    (properties `((upstream-name . "Rfssa")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-shiny
                             r-rssa
                             r-rspectra
                             r-rcppeigen
                             r-rcpparmadillo
                             r-rcpp
                             r-rainbow
                             r-plotly
                             r-markdown
                             r-lattice
                             r-ggplot2
                             r-ftsa
                             r-fda
                             r-dplyr))
    (home-page "https://github.com/haghbinh/Rfssa")
    (synopsis "Functional Singular Spectrum Analysis")
    (description
     "This package provides methods and tools for implementing functional singular
spectrum analysis and related techniques.")
    (license license:gpl3)))

(define-public r-rfsa
  (package
    (name "r-rfsa")
    (version "0.9.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rFSA" version))
       (sha256
        (base32 "1fxd194iq8jnlsnj76mjq2f6db7ln641qwfsf5v63kx3qqhn8x5s"))))
    (properties `((upstream-name . "rFSA")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-tibble r-rpref r-hash))
    (home-page "https://cran.r-project.org/package=rFSA")
    (synopsis
     "Feasible Solution Algorithm for Finding Best Subsets and Interactions")
    (description
     "Assists in statistical model building to find optimal and semi-optimal higher
order interactions and best subsets.  Uses the lm(), glm(), and other R
functions to fit models generated from a feasible solution algorithm.  Discussed
in Subset Selection in Regression, A Miller (2002).  Applied and explained for
least median of squares in Hawkins (1993) <doi:10.1016/0167-9473(93)90246-P>.
The feasible solution algorithm comes up with model forms of a specific type
that can have fixed variables, higher order interactions and their lower order
terms.")
    (license license:gpl2)))

(define-public r-rfractran
  (package
    (name "r-rfractran")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rfractran" version))
       (sha256
        (base32 "1z1wba2xyas2sa9ny0ii8yd5v5ip8ajxf5szgf3r92cfv3r1s0nj"))))
    (properties `((upstream-name . "Rfractran")))
    (build-system r-build-system)
    (propagated-inputs (list r-gmp))
    (home-page "https://cran.r-project.org/package=Rfractran")
    (synopsis "'FRACTRAN' Interpreter and Some Helper Functions")
    (description
     "FRACTRAN is an obscure yet tantalizing programming language invented by John
Conway of Game of Life fame.  The code consists of a sequence of fractions.  The
rules are simple.  First, select an integer to initialize the process.  Second,
multiply the integer by the first fraction.  If an integer results, start again
with the new integer.  If not, try the next fraction.  Finally, if no such
multiplication yields an integer, terminate the program.  For more information,
see <https://en.wikipedia.org/wiki/FRACTRAN> .")
    (license license:lgpl3)))

(define-public r-rfpredinterval
  (package
    (name "r-rfpredinterval")
    (version "1.0.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFpredInterval" version))
       (sha256
        (base32 "08nr4a5nzwb4wdzi87jangv4yfl8dh3bhbwksipal3dhmmiwgzbf"))))
    (properties `((upstream-name . "RFpredInterval")))
    (build-system r-build-system)
    (propagated-inputs (list r-ranger r-hdrcde r-diagrammer r-data-tree
                             r-data-table))
    (home-page "https://github.com/calakus/RFpredInterval")
    (synopsis "Prediction Intervals with Random Forests and Boosted Forests")
    (description
     "This package implements various prediction interval methods with random forests
and boosted forests.  The package has two main functions: pibf() produces
prediction intervals with boosted forests (PIBF) as described in Alakus et al.
(2022) <doi:10.32614/RJ-2022-012> and rfpi() builds 15 distinct variations of
prediction intervals with random forests (RFPI) proposed by Roy and Larocque
(2020) <doi:10.1177/0962280219829885>.")
    (license license:gpl3+)))

(define-public r-rfpm
  (package
    (name "r-rfpm")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFPM" version))
       (sha256
        (base32 "0qj51z772v1lr1x9mb2akvzbw20fn87w10c6gmw5qv845mg360kj"))))
    (properties `((upstream-name . "RFPM")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-lawstat r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RFPM")
    (synopsis "Floating Percentile Model")
    (description
     "Floating Percentile Model with additional functions for optimizing inputs and
evaluating outputs and assumptions.")
    (license license:gpl3+)))

(define-public r-rfpermute
  (package
    (name "r-rfpermute")
    (version "2.5.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfPermute" version))
       (sha256
        (base32 "060v52jil5zannzinc6nvzwqd8kw0glpj3xflw606p9sxpzx11rl"))))
    (properties `((upstream-name . "rfPermute")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-swfscmisc
                             r-scales
                             r-rlang
                             r-randomforest
                             r-magrittr
                             r-gridextra
                             r-ggplot2
                             r-dplyr
                             r-abind))
    (home-page "https://github.com/EricArcher/rfPermute")
    (synopsis
     "Estimate Permutation p-Values for Random Forest Importance Metrics")
    (description
     "Estimate significance of importance metrics for a Random Forest model by
permuting the response variable.  Produces null distribution of importance
metrics for each predictor variable and p-value of observed.  Provides summary
and visualization functions for @code{randomForest} results.")
    (license license:gpl2+)))

(define-public r-rformatter
  (package
    (name "r-rformatter")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFormatter" version))
       (sha256
        (base32 "0jmzdc2cl4vvffsyfwp493fiygh9xinhv970qxp1667rw8wlap8l"))))
    (properties `((upstream-name . "RFormatter")))
    (build-system r-build-system)
    (propagated-inputs (list r-formatr))
    (home-page "https://github.com/evolutics/RFormatter")
    (synopsis "R Source Code Formatter")
    (description
     "The R Formatter formats R source code.  It is very much based on @code{formatR},
but tries to improve it by heuristics.  For example, spaces can be forced around
the division operator \"/\".")
    (license license:gpl3)))

(define-public r-rforestry
  (package
    (name "r-rforestry")
    (version "0.10.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rforestry" version))
       (sha256
        (base32 "1h5bnaakpig7b2041s43kfljywdbdq6kkvv3agld2953nn8kcbw3"))))
    (properties `((upstream-name . "Rforestry")))
    (build-system r-build-system)
    (propagated-inputs (list r-visnetwork
                             r-rcppthread
                             r-rcpparmadillo
                             r-rcpp
                             r-proc
                             r-onehot
                             r-glmnet))
    (home-page "https://github.com/forestry-labs/Rforestry")
    (synopsis
     "Random Forests, Linear Trees, and Gradient Boosting for Inference and Interpretability")
    (description
     "This package provides fast implementations of Honest Random Forests, Gradient
Boosting, and Linear Random Forests, with an emphasis on inference and
interpretability.  Additionally contains methods for variable importance,
out-of-bag prediction, regression monotonicity, and several methods for missing
data imputation.  Soren R. Kunzel, Theo F. Saarinen, Edward W. Liu, Jasjeet S.
Sekhon (2019) <@code{arXiv:1906.06463>}.")
    (license license:gpl3+)))

(define-public r-rfordummies
  (package
    (name "r-rfordummies")
    (version "0.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfordummies" version))
       (sha256
        (base32 "01xv6ds3h8gvi1wi5hgy3r1dhi0767mcgsnshvhva3bnvf1a8398"))))
    (properties `((upstream-name . "rfordummies")))
    (build-system r-build-system)
    (home-page "https://rfordummies.com")
    (synopsis "Code Examples to Accompany the Book \"R for Dummies\"")
    (description
     "This package contains all the code examples in the book \"R for Dummies\" (2nd
edition) by Andrie de Vries and Joris Meys.  You can view the table of contents
as well as the sample code for each chapter.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rfolding
  (package
    (name "r-rfolding")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rfolding" version))
       (sha256
        (base32 "15lf73zxr1slin9faj9k0z8qkb1g9nb7h080nfv99gsi2ks68ssg"))))
    (properties `((upstream-name . "Rfolding")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rfolding")
    (synopsis "The Folding Test of Unimodality")
    (description
     "The basic algorithm to perform the folding test of unimodality.  Given a dataset
X (d dimensional, n samples), the test checks whether the distribution of the
data are rather unimodal or rather multimodal.  This package stems from the
following research publication: Siffer Alban, Pierre-Alain Fouque, Alexandre
Termier, and Christine LargouÃ«t. \"Are your data gathered?\" In Proceedings of
the 24th ACM SIGKDD International Conference on Knowledge Discovery Data Mining,
pp.  2210-2218.  ACM, 2018. <doi:10.1145/3219819.3219994>.")
    (license license:gpl3)))

(define-public r-rfold
  (package
    (name "r-rfold")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfold" version))
       (sha256
        (base32 "1p83sj362ggwip6hvpbqahhlrh60fb42jqniybwv5f4x86vgrzd1"))))
    (properties `((upstream-name . "rfold")))
    (build-system r-build-system)
    (propagated-inputs (list r-usethis r-here r-glue r-fs r-cli))
    (home-page "https://github.com/feddelegrand7/rfold")
    (synopsis "Working with many R Folders Within an R Package")
    (description
     "Allows developers to work with many R folders inside a package.  It offers
functionalities to transfer R scripts (saved outside the R folder) into the R
folder while making additional checks.")
    (license license:expat)))

(define-public r-rfoc
  (package
    (name "r-rfoc")
    (version "3.4-10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFOC" version))
       (sha256
        (base32 "0011irdbvflqz9r1l6c8d801y6jx0xmwhcv2a6xjwj0bjsw1s8di"))))
    (properties `((upstream-name . "RFOC")))
    (build-system r-build-system)
    (propagated-inputs (list r-rseis r-rpmg r-mass r-geomap r-fields))
    (home-page "https://cran.r-project.org/package=RFOC")
    (synopsis
     "Graphics for Spherical Distributions and Earthquake Focal Mechanisms")
    (description
     "Graphics for statistics on a sphere, as applied to geological fault data,
crystallography, earthquake focal mechanisms, radiation patterns, ternary plots
and geographical/geological maps.  Non-double couple plotting of focal spheres
and source type maps are included for statistical analysis of moment tensors.")
    (license license:gpl2+)))

(define-public r-rfoaas
  (package
    (name "r-rfoaas")
    (version "2.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfoaas" version))
       (sha256
        (base32 "03rz1cas0anmfpnax66nr3bsiqgkq02wbvslvqc0q9ayl6p02avh"))))
    (properties `((upstream-name . "rfoaas")))
    (build-system r-build-system)
    (propagated-inputs (list r-httr))
    (home-page "https://github.com/eddelbuettel/rfoaas/")
    (synopsis "R Interface to 'FOAAS'")
    (description
     "R access to the FOAAS (F...  Off As A Service) web service is provided.")
    (license license:gpl2+)))

(define-public r-rfmtool
  (package
    (name "r-rfmtool")
    (version "5.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rfmtool" version))
       (sha256
        (base32 "17rblvpybnsphvv7gph9pplf6d0wp9d99ni3ird1wyjm4nvvi1zv"))))
    (properties `((upstream-name . "Rfmtool")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=Rfmtool")
    (synopsis "Fuzzy Measure Tools")
    (description
     "Various tools for handling fuzzy measures, calculating Shapley value and
interaction index, Choquet and Sugeno integrals, as well as fitting fuzzy
measures to empirical data are provided.  Construction of fuzzy measures from
empirical data is done by solving a linear programming problem by using lpsolve
package, whose source in C adapted to the R environment is included.  The
description of the basic theory of fuzzy measures is in the manual in the Doc
folder in this package.  Please refer to the following: [1]
<https://personal-sites.deakin.edu.au/~gleb/fmtools.html> [2] G. Beliakov, H.
Bustince, T. Calvo, A Practical Guide to Averaging', Springer, (2016, ISBN:
978-3-319-24753-3). [3] G. Beliakov, S. James, J-Z. Wu, Discrete Fuzzy
Measures', Springer, (2020, ISBN: 978-3-030-15305-2).")
    (license license:lgpl3)))

(define-public r-rfm
  (package
    (name "r-rfm")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfm" version))
       (sha256
        (base32 "0n0sbf9c3p0df0vdymyp6pbfvyf0nh90fxjxwkdg3l5hm8m26hkp"))))
    (properties `((upstream-name . "rfm")))
    (build-system r-build-system)
    (propagated-inputs (list r-xplorerr
                             r-treemapify
                             r-scales
                             r-rlang
                             r-rcolorbrewer
                             r-magrittr
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rsquaredacademy/rfm")
    (synopsis "Recency, Frequency and Monetary Value Analysis")
    (description
     "This package provides tools for RFM (recency, frequency and monetary value)
analysis.  Generate RFM score from both transaction and customer level data.
Visualize the relationship between recency, frequency and monetary value using
heatmap, histograms, bar charts and scatter plots.  Includes a shiny app for
interactive segmentation.  References: i.  Blattberg R.C., Kim BD., Neslin S.A
(2008) <doi:10.1007/978-0-387-72579-6_12>.")
    (license license:expat)))

(define-public r-rflsgen
  (package
    (name "r-rflsgen")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rflsgen" version))
       (sha256
        (base32 "168kb9346fkcv65y0fzm2l946hgmgcycivfl5nqpw26ggmflbz6f"))))
    (properties `((upstream-name . "rflsgen")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-terra r-rjava r-jsonlite r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://dimitri-justeau.github.io/rflsgen/")
    (synopsis "Neutral Landscape Generator with Targets on Landscape Indices")
    (description
     "Interface to the flsgen neutral landscape generator
<https://github.com/dimitri-justeau/flsgen>.  It allows to - Generate fractal
terrain; - Generate landscape structures satisfying user targets over landscape
indices; - Generate landscape raster from landscape structures.")
    (license license:gpl3)))

(define-public r-rflptools
  (package
    (name "r-rflptools")
    (version "2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFLPtools" version))
       (sha256
        (base32 "07hw0hyyxqy31qakkb410gb3i0g5jvpmigv5cqhxqss2cwzpch0d"))))
    (properties `((upstream-name . "RFLPtools")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcolorbrewer))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RFLPtools")
    (synopsis "Tools to Analyse RFLP Data")
    (description
     "This package provides functions to analyse DNA fragment samples (i.e.  derived
from RFLP-analysis) and standalone BLAST report files (i.e.  DNA sequence
analysis).")
    (license license:lgpl3)))

(define-public r-rflocalfdr-data
  (package
    (name "r-rflocalfdr-data")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFlocalfdr.data" version))
       (sha256
        (base32 "0pc3qgs1mjvrlr7c40p0nkiyc19p9z1j8jbcbdrbsvqz16sikcgw"))))
    (properties `((upstream-name . "RFlocalfdr.data")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RFlocalfdr.data")
    (synopsis "Data for the Vignette and Examples in 'RFlocalfdr'")
    (description
     "Data for the vignette and examples in RFlocalfdr'.  Contains a dataset of
1103547 importance values, and the table of variables used in the random forest
splits.  The data is Chromosome 22 taken from Auton et al. (2015)
<doi:10.1038/nature15393>.  It also contains a 51 samples by 22283 genes data
set taken from Spira et al. (2004) <doi:10.1165/rcmb.2004-0273OC>.")
    (license license:gpl3+)))

(define-public r-rflocalfdr
  (package
    (name "r-rflocalfdr")
    (version "0.8.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFlocalfdr" version))
       (sha256
        (base32 "0vp2zblx5419jhs1l6wg18k3wdf4kaslmrys4xml8432pkqmnja0"))))
    (properties `((upstream-name . "RFlocalfdr")))
    (build-system r-build-system)
    (propagated-inputs (list r-vita
                             r-sn
                             r-rflocalfdr-data
                             r-ranger
                             r-randomforest
                             r-minpack-lm
                             r-fitdistrplus))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RFlocalfdr")
    (synopsis
     "Significance Level for Random Forest Impurity Importance Scores")
    (description
     "Sets a significance level for Random Forest MDI (Mean Decrease in Impurity, Gini
or sum of squares) variable importance scores, using an empirical Bayes
approach.  See Dunne et al. (2022) <doi:10.1101/2022.04.06.487300>.")
    (license license:gpl3+)))

(define-public r-rflexscan
  (package
    (name "r-rflexscan")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rflexscan" version))
       (sha256
        (base32 "0jlswyfdmi4c8jd2m56inid08injjjmmjy3m3hmqspm6arv9flq1"))))
    (properties `((upstream-name . "rflexscan")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-rcpp r-igraph))
    (home-page "https://tkhrotn.github.io/rflexscan/")
    (synopsis "The Flexible Spatial Scan Statistic")
    (description
     "This package provides functions for the detection of spatial clusters using the
flexible spatial scan statistic developed by Tango and Takahashi (2005)
<doi:10.1186/1476-072X-4-11>.  This package implements a wrapper for the C
routine used in the @code{FleXScan} 3.1.2
<https://sites.google.com/site/flexscansoftware/home> developed by Takahashi,
Yokoyama, and Tango.  For details, see Otani et al. (2021)
<doi:10.18637/jss.v099.i13>.")
    (license license:gpl3)))

(define-public r-rflashtext
  (package
    (name "r-rflashtext")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rflashtext" version))
       (sha256
        (base32 "12iyd6r6dyjafbpxmd4kah0kqnc6kb4p1lbz2xgxg4v912swxcsm"))))
    (properties `((upstream-name . "rflashtext")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-r6))
    (home-page "https://github.com/AbrJA/rflashtext")
    (synopsis "FlashText Algorithm for Finding and Replacing Words")
    (description
     "Implementation of the @code{FlashText} algorithm, by Singh (2017)
<@code{arXiv:1711.00046>}.  It can be used to find and replace words in a given
text with only one pass over the document.")
    (license license:expat)))

(define-public r-rfit
  (package
    (name "r-rfit")
    (version "0.27.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rfit" version))
       (sha256
        (base32 "1wmp2xx8lcap7aags8zv9p7h2d051wfq9dbsb4n34j0ngc4hyg0s"))))
    (properties `((upstream-name . "Rfit")))
    (build-system r-build-system)
    (native-inputs (list gfortran))
    (home-page "https://cran.r-project.org/package=Rfit")
    (synopsis "Rank-Based Estimation for Linear Models")
    (description
     "Rank-based (R) estimation and inference for linear models.  Estimation is for
general scores and a library of commonly used score functions is included.")
    (license license:gpl2+)))

(define-public r-rfishnet2
  (package
    (name "r-rfishnet2")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfishnet2" version))
       (sha256
        (base32 "0g90h4353kp7szv3971kb4l5x3x08qx4f9ln85n5g3b3zdg77dkz"))))
    (properties `((upstream-name . "rfishnet2")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-rworldmap r-pracma r-ggplot2 r-dplyr))
    (home-page "https://github.com/kdors/rfishnet2")
    (synopsis "Exploratory Data Analysis for FishNet2 Data")
    (description
     "This package provides data processing and summarization of data from
@code{FishNet2.net} in text and graphical outputs.  Allows efficient filtering
of information and data cleaning.")
    (license license:expat)))

(define-public r-rfisheries
  (package
    (name "r-rfisheries")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfisheries" version))
       (sha256
        (base32 "16j3hn1py8khqadmh81qsg76c62wzqkaq3fn39z0z5mgynmcm62j"))))
    (properties `((upstream-name . "rfisheries")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjson r-httr r-ggplot2 r-data-table
                             r-assertthat))
    (home-page "http://www.github.com/ropensci/rfisheries")
    (synopsis "'Programmatic Interface to the 'openfisheries.org' API'")
    (description
     "This package provides a programmatic interface to openfisheries.org'.  This
package is part of the @code{rOpenSci} suite (http://ropensci.org).")
    (license license:expat)))

(define-public r-rfishdraw
  (package
    (name "r-rfishdraw")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfishdraw" version))
       (sha256
        (base32 "0204s8jy6shr694hacrq4j0lia9l59rk8kc75sdw87c09q7kjld2"))))
    (properties `((upstream-name . "rfishdraw")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/Otoliths/rfishdraw")
    (synopsis "Automatically Generated Fish Drawings via JavaScript")
    (description
     "Automatic generation of fish drawings based on @code{JavaScript} library
<https://github.com/@code{LingDong-/fishdraw>}, including @code{JavaScript} code
for dynamic generation of fish drawings.")
    (license license:artistic2.0)))

(define-public r-rfishbc
  (package
    (name "r-rfishbc")
    (version "0.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFishBC" version))
       (sha256
        (base32 "15vdw8lg7g7v0ylh7x90lxmn37fyb31faaq1wnci2zdn177xgy70"))))
    (properties `((upstream-name . "RFishBC")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-tidyr
                             r-stringr
                             r-settings
                             r-rlang
                             r-readbitmap
                             r-crayon
                             r-clisymbols
                             r-cli))
    (home-page "https://fishr-core-team.github.io/RFishBC/")
    (synopsis "Back-Calculation of Fish Length")
    (description
     "Helps fisheries scientists collect measurements from calcified structures and
back-calculate estimated lengths at previous ages using standard procedures and
models.  This is intended to replace much of the functionality provided by the
now out-dated @code{fishBC} software
(<https://fisheries.org/bookstore/all-titles/software/70317/>).")
    (license license:gpl3)))

(define-public r-rfishbase
  (package
    (name "r-rfishbase")
    (version "5.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfishbase" version))
       (sha256
        (base32 "0bpzwsvg9d09xfpscjnyw49m46vam3dvl35rkdfc77zn18gabip8"))))
    (properties `((upstream-name . "rfishbase")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-rlang
                             r-purrr
                             r-memoise
                             r-magrittr
                             r-jsonlite
                             r-glue
                             r-duckdbfs
                             r-dplyr))
    (home-page "https://docs.ropensci.org/rfishbase/")
    (synopsis "R Interface to 'FishBase'")
    (description
     "This package provides a programmatic interface to @code{FishBase}', re-written
based on an accompanying RESTful API. Access tables describing over 30,000
species of fish, their biology, ecology, morphology, and more.  This package
also supports experimental access to @code{SeaLifeBase} data, which contains
nearly 200,000 species records for all types of aquatic life not covered by
@code{FishBase}.'.")
    (license license:cc0)))

(define-public r-rfinterval
  (package
    (name "r-rfinterval")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfinterval" version))
       (sha256
        (base32 "1z7v0sbql6g2h3fr1268nj79rbx1d33hjfaraxhbikrjgb8mbp0w"))))
    (properties `((upstream-name . "rfinterval")))
    (build-system r-build-system)
    (propagated-inputs (list r-ranger r-mass))
    (home-page "http://github.com/haozhestat/rfinterval")
    (synopsis "Predictive Inference for Random Forests")
    (description
     "An integrated package for constructing random forest prediction intervals using
a fast implementation package ranger'.  This package can apply the following
three methods described in Haozhe Zhang, Joshua Zimmerman, Dan Nettleton, and
Daniel J. Nordman (2019) <doi:10.1080/00031305.2019.1585288>: the out-of-bag
prediction interval, the split conformal method, and the quantile regression
forest.")
    (license license:gpl3)))

(define-public r-rfieldclimate
  (package
    (name "r-rfieldclimate")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfieldclimate" version))
       (sha256
        (base32 "0g22lkz8pygmgrj138y15ldcacr6im7gxq579wfrgjaxs3q8ymcp"))))
    (properties `((upstream-name . "rfieldclimate")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-purrr
                             r-magrittr
                             r-lubridate
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-digest))
    (home-page "https://cran.r-project.org/package=rfieldclimate")
    (synopsis "Client for the 'FieldClimate' API")
    (description
     "This package provides functionality to interact with the @code{FieldClimate} API
<https://api.fieldclimate.com/v2/docs/>.")
    (license license:gpl3)))

(define-public r-rferns
  (package
    (name "r-rferns")
    (version "5.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rFerns" version))
       (sha256
        (base32 "1yw3np5iamnr7f3nrd507dkyz76nxmzdpinwxncv87yw30g6gnkq"))))
    (properties `((upstream-name . "rFerns")))
    (build-system r-build-system)
    (home-page "https://gitlab.com/mbq/rFerns")
    (synopsis "Random Ferns Classifier")
    (description
     "This package provides the random ferns classifier by Ozuysal, Calonder, Lepetit
and Fua (2009) <doi:10.1109/TPAMI.2009.23>, modified for generic and multi-label
classification and featuring OOB error approximation and importance measure as
introduced in Kursa (2014) <doi:10.18637/jss.v061.i10>.")
    (license license:gpl2+)))

(define-public r-rfempimp
  (package
    (name "r-rfempimp")
    (version "2.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RfEmpImp" version))
       (sha256
        (base32 "1azcjwf9l4c3ssp565qkvpqx3n28vfdwgcy53z61psgc1nlxnk19"))))
    (properties `((upstream-name . "RfEmpImp")))
    (build-system r-build-system)
    (propagated-inputs (list r-ranger r-mice))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/shangzhi-hong/RfEmpImp")
    (synopsis "Multiple Imputation using Chained Random Forests")
    (description
     "An R package for multiple imputation using chained random forests.  Implemented
methods can handle missing data in mixed types of variables by using
prediction-based or node-based conditional distributions constructed using
random forests.  For prediction-based imputation, the method based on the
empirical distribution of out-of-bag prediction errors of random forests and the
method based on normality assumption for prediction errors of random forests are
provided for imputing continuous variables.  And the method based on predicted
probabilities is provided for imputing categorical variables.  For node-based
imputation, the method based on the conditional distribution formed by the
predicting nodes of random forests, and the method based on proximity measures
of random forests are provided.  More details of the statistical methods can be
found in Hong et al. (2020) <@code{arXiv:2004.14823>}.")
    (license license:gpl3)))

(define-public r-rfclust
  (package
    (name "r-rfclust")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFclust" version))
       (sha256
        (base32 "04cynwsfs07j6kbpnpk4kx7p2a33y5qylpvydv29975z7p871vsm"))))
    (properties `((upstream-name . "RFclust")))
    (build-system r-build-system)
    (propagated-inputs (list r-randomforest r-consensusclusterplus))
    (home-page "https://cran.r-project.org/package=RFclust")
    (synopsis "Random Forest Cluster Analysis")
    (description
     "This package provides tools to perform random forest consensus clustering of
different data types.  The package is designed to accept a list of matrices from
different assays, typically from high-throughput molecular profiling so that
class discovery may be jointly performed.  For references, please see Tao Shi &
Steve Horvath (2006) <doi:10.1198/106186006X94072> & Monti et al (2003)
<doi:10.1023/A:1023949509487> .")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rfcca
  (package
    (name "r-rfcca")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RFCCA" version))
       (sha256
        (base32 "004lgbdfk04vnmdjs02z72awz6mspcd3psd19a2qk85i6hxkycsh"))))
    (properties `((upstream-name . "RFCCA")))
    (build-system r-build-system)
    (propagated-inputs (list r-pma r-cca))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/calakus/RFCCA")
    (synopsis "Random Forest with Canonical Correlation Analysis")
    (description
     "Random Forest with Canonical Correlation Analysis (RFCCA) is a random forest
method for estimating the canonical correlations between two sets of variables
depending on the subject-related covariates.  The trees are built with a
splitting rule specifically designed to partition the data to maximize the
canonical correlation heterogeneity between child nodes.  The method is
described in Alakus et al. (2021) <doi:10.1093/bioinformatics/btab158>.  RFCCA
uses @code{randomForestSRC} package (Ishwaran and Kogalur, 2020) by freezing at
the version 2.9.3.  The custom splitting rule feature is utilised to apply the
proposed splitting rule.  The @code{randomForestSRC} package implements
@code{OpenMP} by default, contingent upon the support provided by the target
architecture and operating system.  In this package, LAPACK and BLAS libraries
are used for matrix decompositions.")
    (license license:gpl3+)))

(define-public r-rfast2
  (package
    (name "r-rfast2")
    (version "0.1.5.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rfast2" version))
       (sha256
        (base32 "125j6qk405i2wjpcyq0x6dmabns8iybqk9g3f43mk6j08n7fgfp1"))))
    (properties `((upstream-name . "Rfast2")))
    (build-system r-build-system)
    (propagated-inputs (list r-rnanoflann r-rfast r-rcppparallel
                             r-rcpparmadillo r-rcpp))
    (home-page "https://github.com/RfastOfficial/Rfast2")
    (synopsis "Collection of Efficient and Extremely Fast R Functions II")
    (description
     "This package provides a collection of fast statistical and utility functions for
data analysis.  Functions for regression, maximum likelihood, column-wise
statistics and many more have been included.  C++ has been utilized to speed up
the functions.  References: Tsagris M., Papadakis M. (2018).  Taking R to its
limits: 70+ tips. @code{PeerJ} Preprints 6:e26605v1
<doi:10.7287/peerj.preprints.26605v1>.")
    (license license:gpl2+)))

(define-public r-rfars
  (package
    (name "r-rfars")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfars" version))
       (sha256
        (base32 "1wk0gzg50hd7iq7l4c4rdzwvn0i6ikarp4pyqnv4ginvwlxyf591"))))
    (properties `((upstream-name . "rfars")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-tidyselect
                             r-tidyr
                             r-stringr
                             r-sas7bdat
                             r-rlang
                             r-readr
                             r-purrr
                             r-magrittr
                             r-lubridate
                             r-janitor
                             r-haven
                             r-dplyr
                             r-downloader
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/s87jackson/rfars")
    (synopsis "Download and Analyze Crash Data")
    (description
     "Download crash data from the National Highway Traffic Safety Administration and
prepare it for research.")
    (license license:cc0)))

(define-public r-rfacts
  (package
    (name "r-rfacts")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfacts" version))
       (sha256
        (base32 "0h2ryyl5zc3pxi85y0qwadfz7sdzz0m6ilwzabw317sb0z5lms5b"))))
    (properties `((upstream-name . "rfacts")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-xml2 r-tibble r-fs r-digest))
    (native-inputs (list r-knitr))
    (home-page "https://elilillyco.github.io/rfacts/")
    (synopsis "R Interface to 'FACTS' on Unix-Like Systems")
    (description
     "The rfacts package is an R interface to the Fixed and Adaptive Clinical Trial
Simulator ('FACTS') on Unix-like systems.  It programmatically invokes FACTS to
run clinical trial simulations, and it aggregates simulation output data into
tidy data frames.  These capabilities provide end-to-end automation for
large-scale simulation pipelines, and they enhance computational
reproducibility.  For more information on FACTS itself, please visit
<https://www.berryconsultants.com/software/>.")
    (license license:expat)))

(define-public r-rfacebookstat
  (package
    (name "r-rfacebookstat")
    (version "2.11.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rfacebookstat" version))
       (sha256
        (base32 "1xlj65pg87hhpc9cg9cz8xzg8f0dx4qcg76bvgpvdsd55pn8qilf"))))
    (properties `((upstream-name . "rfacebookstat")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-stringr
                             r-purrr
                             r-pbapply
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://selesnow.github.io/rfacebookstat/")
    (synopsis "Load Data from Facebook API Marketing")
    (description
     "Load data by campaigns, ads, ad sets and insights, ad account and business
manager from Facebook Marketing API into R. For more details see official
documents by Facebook Marketing API
<https://developers.facebook.com/docs/marketing-apis/>.")
    (license license:expat)))

(define-public r-rfacebook
  (package
    (name "r-rfacebook")
    (version "0.6.15")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rfacebook" version))
       (sha256
        (base32 "0hp2mbm0hnyasizszvh5x9hv7z2q633zck1a1gvk36nbxb1shx7c"))))
    (properties `((upstream-name . "Rfacebook")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjson r-httr r-httpuv))
    (home-page "https://github.com/pablobarbera/Rfacebook")
    (synopsis "Access to Facebook API via R")
    (description "This package provides an interface to the Facebook API.")
    (license license:gpl2)))

(define-public r-rextendr
  (package
    (name "r-rextendr")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rextendr" version))
       (sha256
        (base32 "1jm0vvpqzycbp6an2vi3wmjavhj2wlnncvgxcd1nfzn0fw7vpbrc"))))
    (properties `((upstream-name . "rextendr")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-vctrs
                             r-tibble
                             r-stringi
                             r-rprojroot
                             r-rlang
                             r-purrr
                             r-processx
                             r-pkgbuild
                             r-jsonlite
                             r-glue
                             r-dplyr
                             r-desc
                             r-cli
                             r-callr
                             r-brio))
    (native-inputs (list r-knitr))
    (home-page "https://extendr.github.io/rextendr/")
    (synopsis "Call Rust Code from R using the 'extendr' Crate")
    (description
     "This package provides functions to compile and load Rust code from R, similar to
how Rcpp or cpp11 allow easy interfacing with C++ code.  Also provides helper
functions to create R packages that use Rust code.  Under the hood, the Rust
crate extendr is used to do all the heavy lifting.")
    (license license:expat)))

(define-public r-rexpokit
  (package
    (name "r-rexpokit")
    (version "0.26.6.14")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rexpokit" version))
       (sha256
        (base32 "1fybxxmwm0xw3pwv5lx0vkmi4f215hvnwk3kbwm3031c1vr662l4"))))
    (properties `((upstream-name . "rexpokit")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list gfortran))
    (home-page "http://phylo.wikidot.com/rexpokit")
    (synopsis "R Wrappers for EXPOKIT; Other Matrix Functions")
    (description
     "Wraps some of the matrix exponentiation utilities from EXPOKIT
(<http://www.maths.uq.edu.au/expokit/>), a FORTRAN library that is widely
recommended for matrix exponentiation (Sidje RB, 1998. \"Expokit: A Software
Package for Computing Matrix Exponentials.\" ACM Trans.  Math.  Softw.  24(1):
130-156).  EXPOKIT includes functions for exponentiating both small, dense
matrices, and large, sparse matrices (in sparse matrices, most of the cells have
value 0).  Rapid matrix exponentiation is useful in phylogenetics when we have a
large number of states (as we do when we are inferring the history of
transitions between the possible geographic ranges of a species), but is
probably useful in other ways as well.  NOTE: In case FORTRAN checks temporarily
get rexpokit archived on CRAN, see archived binaries at @code{GitHub} in:
nmatzke/Matzke_R_binaries (binaries install without compilation of source code).")
    (license license:gpl2+)))

(define-public r-rexperigen
  (package
    (name "r-rexperigen")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rexperigen" version))
       (sha256
        (base32 "158ksnd1gvzq7ii0ys2v0wrfnr001hni0i8m77p1fn1arixgmqdw"))))
    (properties `((upstream-name . "Rexperigen")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl r-jsonlite r-digest))
    (home-page "https://github.com/aquincum/Rexperigen")
    (synopsis "R Interface to Experigen")
    (description
     "This package provides convenience functions to communicate with an Experigen
server: Experigen (<http://github.com/aquincum/experigen>) is an online
framework for creating linguistic experiments, and it stores the results on a
dedicated server.  This package can be used to retrieve the results from the
server, and it is especially helpful with registered experiments, as
authentication with the server has to happen.")
    (license license:gpl3)))

(define-public r-rexer
  (package
    (name "r-rexer")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rexer" version))
       (sha256
        (base32 "1r3y27y6lg4mp57bbmffmhmhpd0b1803m9rwa1q6h6qga9x1v2cw"))))
    (properties `((upstream-name . "rexer")))
    (build-system r-build-system)
    (propagated-inputs (list r-xlsx
                             r-tidyr
                             r-stringr
                             r-snakecase
                             r-rmarkdown
                             r-readxl
                             r-readr))
    (native-inputs (list r-knitr))
    (home-page "https://josesamos.github.io/rexer/")
    (synopsis "Random Exercises and Exams Generator")
    (description
     "The main purpose of this package is to streamline the generation of exams that
include random elements in exercises.  Exercises can be defined in a table,
based on text and figures, and may contain gaps to be filled with provided
options.  Exam documents can be generated in various formats.  It allows us to
generate a version for conducting the assessment and another version that
facilitates correction, linked through a code.")
    (license license:expat)))

(define-public r-rewie
  (package
    (name "r-rewie")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rewie" version))
       (sha256
        (base32 "1ysrpd2cqmz27sjj3dh0wpg86685d708kjwiqybwjlw9ap55jb06"))))
    (properties `((upstream-name . "rewie")))
    (build-system r-build-system)
    (propagated-inputs (list r-rockchalk r-plm r-mass r-lme4))
    (home-page "https://github.com/sduxbury/rewie")
    (synopsis
     "Data Preparation and Diagnostics for Random Effects Within Estimator")
    (description
     "Diagnostics and data preparation for random effects within estimator, random
effects within-idiosyncratic estimator, between-within-idiosyncratic model, and
cross-classified between model.  Mundlak, Yair (1978) <doi:10.2307/1913646>.
Hausman, Jeffrey (1978) <doi:10.2307/1913827>.  Allison, Paul (2009)
<doi:10.4135/9781412993869>.  Neuhaus, J.M., and J. D. Kalbfleisch (1998)
<doi:10.2307/3109770>.")
    (license license:gpl2+)))

(define-public r-revulyticsr
  (package
    (name "r-revulyticsr")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "revulyticsR" version))
       (sha256
        (base32 "0dz9c26qwasgpp6a5fqh1rgq0hp9dhsrcm1h2hbp0cisri8iwsjf"))))
    (properties `((upstream-name . "revulyticsR")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-purrr
                             r-magrittr
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (home-page "https://github.com/chrisumphlett/revulyticsR")
    (synopsis "Connect to Your 'Revulytics' Data")
    (description
     "Facilitates making a connection to the Revulytics API and executing various
queries.  You can use it to get event data and metadata.  The Revulytics
documentation is available at <https://docs.revenera.com/ui560/report/>.  This
package is not supported by Flexera (owner of the software).")
    (license license:cc0)))

(define-public r-revtools
  (package
    (name "r-revtools")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "revtools" version))
       (sha256
        (base32 "0nms7rwpdzf3xq2incraxppha4c830gcygpbnhwjs92c836hh2f0"))))
    (properties `((upstream-name . "revtools")))
    (build-system r-build-system)
    (propagated-inputs (list r-viridislite
                             r-topicmodels
                             r-tm
                             r-stringdist
                             r-snowballc
                             r-slam
                             r-shinydashboard
                             r-shiny
                             r-plotly
                             r-ngram
                             r-modeltools
                             r-ade4))
    (home-page "https://revtools.net")
    (synopsis "Tools to Support Evidence Synthesis")
    (description
     "Researchers commonly need to summarize scientific information, a process known
as evidence synthesis'.  The first stage of a synthesis process (such as a
systematic review or meta-analysis) is to download a list of references from
academic search engines such as Web of Knowledge or Scopus'.  The traditional
approach to systematic review is then to sort these data manually, first by
locating and removing duplicated entries, and then screening to remove
irrelevant content by viewing titles and abstracts (in that order).  revtools
provides interfaces for each of these tasks.  An alternative approach, however,
is to draw on tools from machine learning to visualise patterns in the corpus.
In this case, you can use revtools to render ordinations of text drawn from
article titles, keywords and abstracts, and interactively select or exclude
individual references, words or topics.")
    (license license:gpl3)))

(define-public r-revticulate
  (package
    (name "r-revticulate")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Revticulate" version))
       (sha256
        (base32 "00pz8nnbl7dcbbqw8kdbdai1i3jc941l42nppaa1kxk6i3dci7gs"))))
    (properties `((upstream-name . "Revticulate")))
    (build-system r-build-system)
    (propagated-inputs (list r-usethis
                             r-stringr
                             r-rstudioapi
                             r-knitr
                             r-jsonlite
                             r-comprehenr
                             r-ape))
    (home-page "https://cran.r-project.org/package=Revticulate")
    (synopsis "Interaction with \"RevBayes\" in R")
    (description
     "Interaction with \"@code{RevBayes}\" via R. Objects created in \"@code{RevBayes}\"
can be passed into the R environment, and many types can be converted into
similar R objects.  To download \"@code{RevBayes}\", go to
<https://revbayes.github.io/download>.")
    (license license:expat)))

(define-public r-revss
  (package
    (name "r-revss")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "revss" version))
       (sha256
        (base32 "1m3bkgvbq7x8s89a26a6kah3f141rig306jwvcb3h35f7kp72cpg"))))
    (properties `((upstream-name . "revss")))
    (build-system r-build-system)
    (home-page "https://github.com/aadler/revss")
    (synopsis "Robust Estimation in Very Small Samples")
    (description
     "This package implements the estimation techniques described in Rousseeuw &
Verboven (2002) <doi:10.1016/S0167-9473(02)00078-6> for the location and scale
of very small samples.")
    (license license:bsd-2)))

(define-public r-revsd
  (package
    (name "r-revsd")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RevSD" version))
       (sha256
        (base32 "1wqcfpqd0rm6cbr7nfx85890rhl25aixyvf8kg205z5931c3z710"))))
    (properties `((upstream-name . "RevSD")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RevSD")
    (synopsis "Visualizing the Standard Deviation via Revolution")
    (description
     "We visualize the standard deviation of a data set as the radius of a cylinder
whose volume equals the total volume of several cylinders made by revolving the
empirical cumulative distribution function about the vertical line through the
mean.  For more details see Sarkar and Rashid (2016)
<doi:10.1080/00031305.2016.1165734>.")
    (license license:gpl3)))

(define-public r-revpref
  (package
    (name "r-revpref")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "revpref" version))
       (sha256
        (base32 "07gbwrwmnq5b48fgdb7m2j8ygz60qm5m23ai7g7yidwk2fayq7ym"))))
    (properties `((upstream-name . "revpref")))
    (build-system r-build-system)
    (propagated-inputs (list r-gtools))
    (home-page "https://github.com/ksurana21/revpref")
    (synopsis "Tools for Computational Revealed Preference Analysis")
    (description
     "This package provides tools to (i) check consistency of a finite set of consumer
demand observations with a number of revealed preference axioms at a given
efficiency level, (ii) compute goodness-of-fit indices when the data do not obey
the axioms, and (iii) compute power against uniformly random behavior.")
    (license license:expat)))

(define-public r-reviewr
  (package
    (name "r-reviewr")
    (version "2.3.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReviewR" version))
       (sha256
        (base32 "1h5vgqxvx5cjcwgrj7ayc7b1xzkgyndif46pjfmaz4pw1sz8990h"))))
    (properties `((upstream-name . "ReviewR")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-stringr
                             r-snakecase
                             r-shinywidgets
                             r-shinyjs
                             r-shinydashboardplus
                             r-shinydashboard
                             r-shinycssloaders
                             r-shiny
                             r-rsqlite
                             r-rpostgres
                             r-rlang
                             r-redcapr
                             r-redcapapi
                             r-purrr
                             r-magrittr
                             r-jsonlite
                             r-httr
                             r-golem
                             r-glue
                             r-gargle
                             r-dt
                             r-dplyr
                             r-dbplyr
                             r-dbi
                             r-config
                             r-bigrquery))
    (native-inputs (list r-knitr))
    (home-page "https://reviewr.thewileylab.org/")
    (synopsis
     "Light-Weight, Portable Tool for Reviewing Individual Patient Records")
    (description
     "This package provides a portable Shiny tool to explore patient-level electronic
health record data and perform chart review in a single integrated framework.
This tool supports browsing clinical data in many different formats including
multiple versions of the OMOP common data model as well as the MIMIC-III data
model.  In addition, chart review information is captured and stored securely
via the Shiny interface in a REDCap (Research Electronic Data Capture) project
using the REDCap API. See the @code{ReviewR} website for additional information,
documentation, and examples.")
    (license license:bsd-3)))

(define-public r-revgadgets
  (package
    (name "r-revgadgets")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RevGadgets" version))
       (sha256
        (base32 "02f4wrm6b99s7dwqn5xlsynlfh5clpcgv6dh4d35xj7x71l2h7cv"))))
    (properties `((upstream-name . "RevGadgets")))
    (build-system r-build-system)
    (propagated-inputs (list r-treeio
                             r-tidytree
                             r-tidyr
                             r-tibble
                             r-scales
                             r-reshape
                             r-png
                             r-phytools
                             r-ggtree
                             r-ggpp
                             r-ggplotify
                             r-ggplot2
                             r-gginnards
                             r-ggimage
                             r-dplyr
                             r-deeptime
                             r-ape))
    (home-page "https://github.com/revbayes/RevGadgets")
    (synopsis "Visualization and Post-Processing of 'RevBayes' Analyses")
    (description
     "Processes and visualizes the output of complex phylogenetic analyses from the
@code{RevBayes} phylogenetic graphical modeling software.")
    (license license:gpl3)))

(define-public r-revert
  (package
    (name "r-revert")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "revert" version))
       (sha256
        (base32 "1x3ykqlyhy9z1rizp4y1p90mkl2wv56k87z2qcz69dznys34z5xy"))))
    (properties `((upstream-name . "revert")))
    (build-system r-build-system)
    (propagated-inputs (list r-rsamtools
                             r-iranges
                             r-genomicranges
                             r-bsgenome-hsapiens-ucsc-hg38
                             r-bsgenome
                             r-biostrings))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=revert")
    (synopsis "Reversion Mutation Identifier for Sequencing Data")
    (description
     "This package provides a tool for detecting reversions for a given pathogenic
mutation from next-generation DNA sequencing data.  It analyses reads aligned to
the locus of the pathogenic mutation and reports reversion events where
secondary mutations have restored or undone the deleterious effect of the
original pathogenic mutation, e.g., secondary indels complement to a frameshift
pathogenic mutation converting the orignal frameshift mutation into inframe
mutaions, deletions or SNVs that replaced the original pathogenic mutation
restoring the open reading frame, SNVs changing the stop codon caused by the
original nonsense SNV into an amino acid, etc.")
    (license license:gpl2)))

(define-public r-reverser
  (package
    (name "r-reverser")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reverseR" version))
       (sha256
        (base32 "1rgp0i4f332w6bshaw0vjch7pgs2jsxqv2292281p2j6wsm9c99b"))))
    (properties `((upstream-name . "reverseR")))
    (build-system r-build-system)
    (propagated-inputs (list r-robustbase
                             r-quantreg
                             r-l1pack
                             r-isotree
                             r-boot-pval
                             r-boot))
    (home-page "https://cran.r-project.org/package=reverseR")
    (synopsis "Linear Regression Stability to Significance Reversal")
    (description "Tests linear regressions for significance reversal through
leave-one(multiple)-out.")
    (license license:gpl2+)))

(define-public r-revengc
  (package
    (name "r-revengc")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "revengc" version))
       (sha256
        (base32 "1nipkff9zmkdi509qfdrmvsq5c643xd7bzzw5bchxd8nmfqb412i"))))
    (properties `((upstream-name . "revengc")))
    (build-system r-build-system)
    (propagated-inputs (list r-truncdist r-stringr r-mipfp r-dplyr))
    (native-inputs (list r-r-rsp))
    (home-page "https://github.com/GIST-ORNL/revengc")
    (synopsis "Reverse Engineering Summarized Data")
    (description
     "Decoupled (e.g. separate averages) and censored (e.g. > 100 species) variables
are continually reported by many well-established organizations (e.g. World
Health Organization (WHO), Centers for Disease Control and Prevention (CDC),
World Bank, and various national censuses).  The challenge therefore is to infer
what the original data could have been given summarized information.  We present
an R package that reverse engineers decoupled and/or censored count data with
two main functions.  The cnbinom.pars function estimates the average and
dispersion parameter of a censored univariate frequency table.  The rec function
reverse engineers summarized data into an uncensored bivariate table of
probabilities.")
    (license license:expat)))

(define-public r-revenerar
  (package
    (name "r-revenerar")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reveneraR" version))
       (sha256
        (base32 "0l5l9lqwisphjpf2ni0c0a3cg4xpkxy3sk4nvj93f6pra2fmg4rg"))))
    (properties `((upstream-name . "reveneraR")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-purrr
                             r-magrittr
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (home-page "https://github.com/chrisumphlett/reveneraR")
    (synopsis "Connect to Your 'Revenera' (Formerly 'Revulytics') Data")
    (description
     "Facilitates making a connection to the Revenera API and executing various
queries.  You can use it to get event data and metadata.  The Revenera
documentation is available at <https://docs.revenera.com/ui560/report/>.  This
package is not supported by Flexera (owner of the software).")
    (license license:cc0)))

(define-public r-revecor
  (package
    (name "r-revecor")
    (version "0.99.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RevEcoR" version))
       (sha256
        (base32 "1nym263ynjdir5kxv35jnmki9mshlplq0sk3xnjd4ac6f1cfbfqj"))))
    (properties `((upstream-name . "RevEcoR")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-stringr
                             r-purrr
                             r-plyr
                             r-matrix
                             r-magrittr
                             r-igraph
                             r-gtools))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RevEcoR")
    (synopsis "Reverse Ecology Analysis on Microbiome")
    (description
     "An implementation of the reverse ecology framework.  Reverse ecology refers to
the use of genomics to study ecology with no a priori assumptions about the
organism(s) under consideration, linking organisms to their environment.  It
allows researchers to reconstruct the metabolic networks and study the ecology
of poorly characterized microbial species from their genomic information, and
has substantial potentials for microbial community ecological analysis.")
    (license license:gpl2+)))

(define-public r-revealjs
  (package
    (name "r-revealjs")
    (version "0.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "revealjs" version))
       (sha256
        (base32 "0h4csxrcl1rzmj3g01nf0mr990zc8swrf4jvmxwqsyzx9v2cqbnc"))))
    (properties `((upstream-name . "revealjs")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-rmarkdown))
    (native-inputs (list esbuild))
    (home-page "https://github.com/rstudio/revealjs")
    (synopsis "R Markdown Format for 'reveal.js' Presentations")
    (description
     "R Markdown format for reveal.js presentations, a framework for easily creating
beautiful presentations using HTML.")
    (license license:expat)))

(define-public r-revealedprefs
  (package
    (name "r-revealedprefs")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "revealedPrefs" version))
       (sha256
        (base32 "1m8y1mj39bnf9q0n9mi0ashvb79lksx5dfkxb04qj2h5kkyxg49g"))))
    (properties `((upstream-name . "revealedPrefs")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-pso))
    (home-page "https://cran.r-project.org/package=revealedPrefs")
    (synopsis "Revealed Preferences and Microeconomic Rationality")
    (description
     "Computation of (direct and indirect) revealed preferences, fast non-parametric
tests of rationality axioms (WARP, SARP, GARP), simulation of axiom-consistent
data, and detection of axiom-consistent subpopulations.  Rationality tests
follow Varian (1982) <doi:10.2307/1912771>, axiom-consistent subpopulations
follow Crawford and Pendakur (2012) <doi:10.1111/j.1468-0297.2012.02545.x>.")
    (license license:gpl3+)))

(define-public r-revdbayes
  (package
    (name "r-revdbayes")
    (version "1.5.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "revdbayes" version))
       (sha256
        (base32 "1s8hnc2izd2117njidgw4jj5qpwgn28nmghg69i0dhbw6vb5mhk0"))))
    (properties `((upstream-name . "revdbayes")))
    (build-system r-build-system)
    (propagated-inputs (list r-rust r-rcpparmadillo r-rcpp r-exdex r-bayesplot))
    (native-inputs (list r-knitr))
    (home-page "https://paulnorthrop.github.io/revdbayes/")
    (synopsis "Ratio-of-Uniforms Sampling for Bayesian Extreme Value Analysis")
    (description
     "This package provides functions for the Bayesian analysis of extreme value
models.  The rust package <https://cran.r-project.org/package=rust> is used to
simulate a random sample from the required posterior distribution.  The
functionality of revdbayes is similar to the evdbayes package
<https://cran.r-project.org/package=evdbayes>, which uses Markov Chain Monte
Carlo ('MCMC') methods for posterior simulation.  In addition, there are
functions for making inferences about the extremal index, using the models for
threshold inter-exceedance times of Suveges and Davison (2010)
<doi:10.1214/09-AOAS292> and Holesovsky and Fusek (2020)
<doi:10.1007/s10687-020-00374-3>.  Also provided are d,p,q,r functions for the
Generalised Extreme Value ('GEV') and Generalised Pareto ('GP') distributions
that deal appropriately with cases where the shape parameter is very close to
zero.")
    (license license:gpl2+)))

(define-public r-reval
  (package
    (name "r-reval")
    (version "3.1-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reval" version))
       (sha256
        (base32 "1a2dmcfmnyzpfkyir3g1sz6s8dan2lzapq8v1dph5znmascv1180"))))
    (properties `((upstream-name . "reval")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-purrr r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/mkoohafkan/reval")
    (synopsis "Argument Table Generation for Sensitivity Analysis")
    (description
     "Simplified scenario testing and sensitivity analysis, redesigned to use packages
future and furrr'.  Provides functions for generating function argument sets
using one-factor-at-a-time (OFAT) and (sampled) permutations.")
    (license license:gpl3+)))

(define-public r-reutils
  (package
    (name "r-reutils")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reutils" version))
       (sha256
        (base32 "09dhf4s7wz3anrkzqi16abx64gk8ck2142kfd8pv71mjy3x548l7"))))
    (properties `((upstream-name . "reutils")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml r-tibble r-rcurl r-jsonlite r-assertthat))
    (home-page "https://github.com/gschofl/reutils")
    (synopsis "Talk to the NCBI EUtils")
    (description
     "An interface to NCBI databases such as @code{PubMed}, @code{GenBank}, or GEO
powered by the Entrez Programming Utilities (EUtils).  The nine EUtils provide
programmatic access to the NCBI Entrez query and database system for searching
and retrieving biological data.")
    (license license:expat)))

(define-public r-returncurves
  (package
    (name "r-returncurves")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReturnCurves" version))
       (sha256
        (base32 "0bcj8qcky9hqgnm2b1m7c207bx6ybzmd9v6v7ri20mddmxbpkz15"))))
    (properties `((upstream-name . "ReturnCurves")))
    (build-system r-build-system)
    (propagated-inputs (list r-shinydashboard
                             r-shiny
                             r-rdpack
                             r-openair
                             r-mathjaxr
                             r-ismev
                             r-gridextra
                             r-ggplot2
                             r-evd
                             r-dt))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=ReturnCurves")
    (synopsis "Estimation of Return Curves")
    (description
     "Estimates the p-probability return curve proposed by Murphy-Barltrop et al.
(2023) <doi:10.1002/env.2797>.  Implements pointwise and smooth estimation of
the angular dependence function introduced by Wadsworth and Tawn (2013)
<doi:10.3150/12-BEJ471>.")
    (license license:gpl3+)))

(define-public r-retry
  (package
    (name "r-retry")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "retry" version))
       (sha256
        (base32 "0vjfck3yf52zxpllp8ffqcm0cqps84p0kr1b89kih5068dxl3kr3"))))
    (properties `((upstream-name . "retry")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-later))
    (home-page "https://github.com/randy3k/retry")
    (synopsis "Repeated Evaluation")
    (description
     "Provide simple mechanism to repeatedly evaluate an expression until either it
succeeds or timeout exceeded.  It is useful in situations that random failures
could happen.")
    (license license:expat)))

(define-public r-retrosheet
  (package
    (name "r-retrosheet")
    (version "1.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "retrosheet" version))
       (sha256
        (base32 "0j4c3a7rm26gx0avn4wgz0jzgff23hxb35j04hdly2h36vhw38xf"))))
    (properties `((upstream-name . "retrosheet")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-stringr r-stringi r-rvest r-httr))
    (home-page "https://github.com/colindouglas/retrosheet")
    (synopsis "Import Professional Baseball Data from 'Retrosheet'")
    (description
     "This package provides a collection of tools to import and structure the
(currently) single-season event, game-log, roster, and schedule data available
from <https://www.retrosheet.org>.  In particular, the event (a.k.a.
play-by-play) files can be especially difficult to parse.  This package does the
parsing on those files, returning the requested data in the most practical R
structure to use for sabermetric or other analyses.")
    (license license:gpl2+)))

(define-public r-retroharmonize
  (package
    (name "r-retroharmonize")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "retroharmonize" version))
       (sha256
        (base32 "10fwmm91p3dgad99a7imkg9cjlk0gy2bkpmzgfr6s9bp07splj6i"))))
    (properties `((upstream-name . "retroharmonize")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-snakecase
                             r-rlang
                             r-purrr
                             r-pillar
                             r-magrittr
                             r-labelled
                             r-here
                             r-haven
                             r-glue
                             r-fs
                             r-dplyr
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://retroharmonize.dataobservatory.eu/")
    (synopsis "Ex Post Survey Data Harmonization")
    (description
     "Assist in reproducible retrospective (ex-post) harmonization of data,
particularly individual level survey data, by providing tools for organizing
metadata, standardizing the coding of variables, and variable names and value
labels, including missing values, and documenting the data transformations, with
the help of comprehensive s3 classes.")
    (license license:gpl3)))

(define-public r-retrodesign
  (package
    (name "r-retrodesign")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "retrodesign" version))
       (sha256
        (base32 "0iq1xiqhqp2na9dqyx30hyzsjqi22xq0z11j1zb6h2l2rxbx163p"))))
    (properties `((upstream-name . "retrodesign")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/andytimm/retrodesign")
    (synopsis "Tools for Type S (Sign) and Type M (Magnitude) Errors")
    (description
     "This package provides tools for working with Type S (Sign) and Type M
(Magnitude) errors, as proposed in Gelman and Tuerlinckx (2000)
<doi:10.1007/s001800000040> and Gelman & Carlin (2014)
<doi:10.1177/1745691614551642>.  In addition to simply calculating the
probability of Type S/M error, the package includes functions for calculating
these errors across a variety of effect sizes for comparison, and recommended
sample size given \"tolerances\" for Type S/M errors.  To improve the speed of
these calculations, closed forms solutions for the probability of a Type S/M
error from Lu, Qiu, and Deng (2018) <doi:10.1111/bmsp.12132> are implemented.
As of 1.0.0, this includes support only for simple research designs.  See the
package vignette for a fuller exposition on how Type S/M errors arise in
research, and how to analyze them using the type of design analysis proposed in
the above papers.")
    (license license:expat)))

(define-public r-retriever
  (package
    (name "r-retriever")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "retriever" version))
       (sha256
        (base32 "0vachj8rzh8g55y18hz85bsrzr86614frdmr7wz6hszgiq8qgcxy"))))
    (properties `((upstream-name . "retriever")))
    (build-system r-build-system)
    (propagated-inputs (list r-preprocesscore r-pbapply))
    (home-page "https://cran.r-project.org/package=retriever")
    (synopsis
     "Generate Disease-Specific Response Signatures from the LINCS-L1000 Data")
    (description
     "Generates disease-specific drug-response profiles that are independent of time,
concentration, and cell-line.  Based on the cell lines used as surrogates, the
returned profiles represent the unique transcriptional changes induced by a
compound in a given disease.")
    (license license:gpl3)))

(define-public r-rethnicity
  (package
    (name "r-rethnicity")
    (version "0.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rethnicity" version))
       (sha256
        (base32 "1wmy0anrcz2ww028k5i7fcfa5vyl7gzb1qyymh6xdpgijk4b32rr"))))
    (properties `((upstream-name . "rethnicity")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-rcppthread r-rcppeigen r-rcpp r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/fangzhou-xie/rethnicity")
    (synopsis "Predicting Ethnic Group from Names")
    (description
     "Implementation of the race/ethnicity prediction method, described in
\"rethnicity: An R package for predicting ethnicity from names\" by Fangzhou Xie
(2022) <doi:10.1016/j.softx.2021.100965> and \"Rethnicity: Predicting Ethnicity
from Names\" by Fangzhou Xie (2021) <doi:10.48550/@code{arXiv.2109.09228>}.")
    (license (license:fsdg-compatible "CC BY-NC-SA 4.0"))))

(define-public r-rethinker
  (package
    (name "r-rethinker")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rethinker" version))
       (sha256
        (base32 "02zfx08s5xisv1v4y16iqbddi9kb3fcr249b3414fzvs4nm5as94"))))
    (properties `((upstream-name . "rethinker")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjson))
    (home-page "https://github.com/mbq/rethinker")
    (synopsis "RethinkDB Client")
    (description "Simple, native @code{RethinkDB} client.")
    (license license:gpl3)))

(define-public r-retel
  (package
    (name "r-retel")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "retel" version))
       (sha256
        (base32 "1rajv6y3zsk7hd9wr7szxi685rh377hhvj69rvg77fn0pk56g40b"))))
    (properties `((upstream-name . "retel")))
    (build-system r-build-system)
    (propagated-inputs (list r-nloptr r-matrixcalc r-matrix r-checkmate))
    (home-page "https://github.com/markean/retel")
    (synopsis "Regularized Exponentially Tilted Empirical Likelihood")
    (description
     "This package implements the regularized exponentially tilted empirical
likelihood method.  Details of the methods are given in Kim, @code{MacEachern},
and Peruggia (2023) <doi:10.48550/@code{arXiv.2312.17015>}.  This work was
supported by the U.S. National Science Foundation under Grants No.  SES-1921523
and DMS-2015552.")
    (license license:gpl3+)))

(define-public r-resumer
  (package
    (name "r-resumer")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resumer" version))
       (sha256
        (base32 "0k3s2i102hvsag7jiahgfpjc09646xjpxcpv5x3d91ch3xipdc0b"))))
    (properties `((upstream-name . "resumer")))
    (build-system r-build-system)
    (propagated-inputs (list r-useful r-rmarkdown r-dplyr))
    (home-page "https://github.com/jaredlander/resumer")
    (synopsis "Build Resumes with R")
    (description
     "Using a CSV, @code{LaTeX} and R to easily build attractive resumes.")
    (license license:bsd-3)))

(define-public r-resultmodelmanager
  (package
    (name "r-resultmodelmanager")
    (version "0.5.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ResultModelManager" version))
       (sha256
        (base32 "14m9nb4pq3c5wasz7npmc2yhf3n8w100nl3hk8105jcwwkddk478"))))
    (properties `((upstream-name . "ResultModelManager")))
    (build-system r-build-system)
    (propagated-inputs (list r-zip
                             r-withr
                             r-sqlrender
                             r-rlang
                             r-readr
                             r-r6
                             r-pool
                             r-parallellogger
                             r-lubridate
                             r-fastmap
                             r-dplyr
                             r-dbplyr
                             r-dbi
                             r-databaseconnector
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/OHDSI/ResultModelManager")
    (synopsis "Result Model Manager")
    (description
     "Database data model management utilities for R packages in the Observational
Health Data Sciences and Informatics program <https://ohdsi.org>.
@code{ResultModelManager} provides utility functions to allow package
maintainers to migrate existing SQL database models, export and import results
in consistent patterns.")
    (license license:asl2.0)))

(define-public r-resultant
  (package
    (name "r-resultant")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resultant" version))
       (sha256
        (base32 "0d9mql0cn48mx3id6gfi3lqgbn1vbx0dpp3lvfcd7x3n3j9wdw1x"))))
    (properties `((upstream-name . "resultant")))
    (build-system r-build-system)
    (inputs (list mpfr gmp))
    (propagated-inputs (list r-rcppcgal r-rcpp r-qspray r-gmp r-bh))
    (native-inputs (list pkg-config))
    (home-page "https://github.com/stla/resultant")
    (synopsis
     "Utilities for Multivariate Polynomials with Rational Coefficients")
    (description
     "Computation of resultant, subresultants, greatest common divisor, integral
division (aka division without remainder) of two multivariate polynomials with
rational coefficients, Sturm-Habicht sequence and square-free factorization of a
multivariate polynomial with rational coefficients.  The computations are
performed by the C++ library CGAL (<https://www.cgal.org/>).  Resultants have
applications in polynomial systems solving, number theory, and algebraic
geometry.  The package also contains some functions computing the number of real
roots of a univariate polynomial with rational coefficients, and a function
computing the division with remainder of two univariate polynomials with
rational coefficients.")
    (license license:gpl3)))

(define-public r-result
  (package
    (name "r-result")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "result" version))
       (sha256
        (base32 "031vviwvn85k7hl04c4hqxycj8mnr2j00gi2jqpwdxrxjaaf1dzb"))))
    (properties `((upstream-name . "result")))
    (build-system r-build-system)
    (home-page "https://github.com/soumyaray/result")
    (synopsis
     "Result Type for Safely Handling Operations that can Succeed or Fail")
    (description
     "Allows wrapping values in success() and failure() types to capture the result of
operations, along with any status codes.  Risky expressions can be wrapped in
as_result() and functions wrapped in result() to catch errors and assign the
relevant result types.  Monadic functions can be bound together as pipelines or
transaction scripts using then_try(), to gracefully handle errors at any step.")
    (license license:expat)))

(define-public r-restriktor
  (package
    (name "r-restriktor")
    (version "0.5-90")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "restriktor" version))
       (sha256
        (base32 "1fsai03i25idd59n20ca268123plmiw5v1yjys4pvgaf7zj6a18j"))))
    (properties `((upstream-name . "restriktor")))
    (build-system r-build-system)
    (propagated-inputs (list r-tmvtnorm
                             r-scales
                             r-quadprog
                             r-progressr
                             r-norm
                             r-mvtnorm
                             r-mass
                             r-lavaan
                             r-gridextra
                             r-ggplot2
                             r-future-apply
                             r-future
                             r-boot))
    (native-inputs (list r-knitr))
    (home-page "https://restriktor.org")
    (synopsis
     "Restricted Statistical Estimation and Inference for Linear Models")
    (description
     "Allow for easy-to-use testing or evaluating of linear equality and inequality
restrictions about parameters and effects in (generalized) linear statistical
models.")
    (license license:gpl2+)))

(define-public r-restorenet
  (package
    (name "r-restorenet")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RestoreNet" version))
       (sha256
        (base32 "1lgdx6kqd5hqrj36p3vhgy42haj74dwb75gdjka61ms4j7l514hf"))))
    (properties `((upstream-name . "RestoreNet")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-stringr
                             r-scatterpie
                             r-scales
                             r-rcolorbrewer
                             r-matrix
                             r-ggplot2))
    (native-inputs (list r-r-rsp))
    (home-page "https://cran.r-project.org/package=RestoreNet")
    (synopsis "Random-Effects Stochastic Reaction Networks")
    (description
     "This package provides a random-effects stochastic model that allows quick
detection of clonal dominance events from clonal tracking data collected in gene
therapy studies.  Starting from the Ito-type equation describing the dynamics of
cells duplication, death and differentiation at clonal level, we first
considered its local linear approximation as the base model.  The parameters of
the base model, which are inferred using a maximum likelihood approach, are
assumed to be shared across the clones.  Although this assumption makes
inference easier, in some cases it can be too restrictive and does not take into
account possible scenarios of clonal dominance.  Therefore we extended the base
model by introducing random effects for the clones.  In this extended
formulation the dynamic parameters are estimated using a tailor-made expectation
maximization algorithm.  Further details on the methods can be found in L. Del
Core et al., (2022) <doi:10.1101/2022.05.31.494100>.")
    (license license:gpl3)))

(define-public r-restoptr
  (package
    (name "r-restoptr")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "restoptr" version))
       (sha256
        (base32 "0m7nw277qgjdxfwx3i1k73l93rqyf766l2af9ymap9dl7hrp8jaq"))))
    (properties `((upstream-name . "restoptr")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-units
                             r-terra
                             r-rjava
                             r-magrittr
                             r-crayon
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://dimitri-justeau.github.io/restoptr/")
    (synopsis "Ecological Restoration Planning")
    (description
     "Flexible framework for ecological restoration planning.  It aims to identify
priority areas for restoration efforts using optimization algorithms (based on
Justeau-Allaire et al.  2021 <doi:10.1111/1365-2664.13803>).  Priority areas can
be identified by maximizing landscape indices, such as the effective mesh size
(Jaeger 2000 <doi:10.1023/A:1008129329289>), or the integral index of
connectivity (Pascual-Hortal & Saura 2006 <doi:10.1007/s10980-006-0013-z>).
Additionally, constraints can be used to ensure that priority areas exhibit
particular characteristics (e.g., ensure that particular places are not selected
for restoration, ensure that priority areas form a single contiguous network).
Furthermore, multiple near-optimal solutions can be generated to explore
multiple options in restoration planning.  The package leverages the
Choco-solver software to perform optimization using constraint programming (CP)
techniques (<https://choco-solver.org/>).")
    (license license:gpl3+)))

(define-public r-restk
  (package
    (name "r-restk")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RESTK" version))
       (sha256
        (base32 "0pz3gafzvaaxd4qm731ayk7kbjj4w8ylq7z696avcs01r66prrk7"))))
    (properties `((upstream-name . "RESTK")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr))
    (home-page "https://cran.r-project.org/package=RESTK")
    (synopsis "An Implementation of the RESTK Algorithm")
    (description
     "Implementation of the RESTK algorithm based on Markov's Inequality from
Vilardell, Sergi, Serra, Isabel, Mezzetti, Enrico, Abella, Jaume, Cazorla,
Francisco J. and Del Castillo, J. (2022). \"Using Markov's Inequality with
Power-Of-k Function for Probabilistic WCET Estimation\".  In 34th Euromicro
Conference on Real-Time Systems (ECRTS 2022).  Leibniz International Proceedings
in Informatics (LIPIcs) 231 20:1-20:24. <doi:10.4230/LIPIcs.ECRTS.2022.20>.
This work has been supported by the European Research Council (ERC) under the
European Union's Horizon 2020 research and innovation programme (grant agreement
No.  772773).")
    (license license:gpl3)))

(define-public r-restimizeapi
  (package
    (name "r-restimizeapi")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "restimizeapi" version))
       (sha256
        (base32 "1ss6fng5pmqg6cafc256g9ddz8f660c68ysxfan6mn4gdaigz7lb"))))
    (properties `((upstream-name . "restimizeapi")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjsonio r-rcurl))
    (home-page "http://www.r-project.org")
    (synopsis "Functions for Working with the 'www.estimize.com' Web Services")
    (description
     "This package provides the user with functions to develop their trading strategy,
uncover actionable trading ideas, and monitor consensus shifts with crowdsourced
earnings and economic estimate data directly from <www.estimize.com>.  Further
information regarding the web services this package invokes can be found at
<www.estimize.com/api>.")
    (license license:lgpl3)))

(define-public r-restez
  (package
    (name "r-restez")
    (version "2.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "restez" version))
       (sha256
        (base32 "1jzffv1lsxwa2dvkqx48ldwffghkg91vz99d9l3kjdxmg9gb8y9k"))))
    (properties `((upstream-name . "restez")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringi
                             r-rentrez
                             r-fs
                             r-duckdb
                             r-dbi
                             r-curl
                             r-crayon
                             r-cli
                             r-assertthat
                             r-ape))
    (home-page "https://github.com/ropensci/restez")
    (synopsis "Create and Query a Local Copy of 'GenBank' in R")
    (description
     "Download large sections of @code{GenBank}
<https://www.ncbi.nlm.nih.gov/genbank/> and generate a local SQL-based database.
 A user can then query this database using restez functions or through rentrez
<https://CRAN.R-project.org/package=rentrez> wrappers.")
    (license license:expat)))

(define-public r-restaurant
  (package
    (name "r-restaurant")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "restaurant" version))
       (sha256
        (base32 "1dr9nw5xkll1wnra2xi8dg2yiv85nibdg1i9lsn44v7cgr9vb32j"))))
    (properties `((upstream-name . "restaurant")))
    (build-system r-build-system)
    (home-page "https://github.com/resteorts/restaurant")
    (synopsis "Restaurant Data for Entity Resolution")
    (description
     "Duplicated restaurant data (pre-processed and formatted) for entity resolution.
This package contains formatted data from a data set that contains information
about different restaurants, with the Zagats portion containing 331 records and
the Fodors portion containing 533 records.  The following variables are included
in the data set: id, name, address, city, phone, type.  The data set has a
respective gold data set that provides information on which records match based
on id.")
    (license license:cc0)))

(define-public r-restatis
  (package
    (name "r-restatis")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "restatis" version))
       (sha256
        (base32 "0n55gn2srd6m4a62bv6c6dcnfxy4lb4zhk7i2ggg8vz9xhxxwhnd"))))
    (properties `((upstream-name . "restatis")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-tibble
                             r-readr
                             r-purrr
                             r-memoise
                             r-httr2
                             r-askpass))
    (native-inputs (list r-knitr))
    (home-page "https://correlaid.github.io/restatis/")
    (synopsis
     "R Wrapper to Access a Wide Range of Germany's Federal Statistical System Databases Based on the GENESIS Web Service RESTful API of the German Federal Statistical Office (Statistisches Bundesamt/Destatis)")
    (description
     "This package provides a RESTful API wrapper for accessing the GENESIS database
of the German Federal Statistical Office (Destatis) as well as its Census
Database and the database of Germany's regional statistics.  Supports data
search functions, credential management, result caching, and handling remote
background jobs for large datasets.")
    (license license:expat)))

(define-public r-restatapi
  (package
    (name "r-restatapi")
    (version "0.23.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "restatapi" version))
       (sha256
        (base32 "1779ish3ny48961fp0fz9d22f72iqx4np0h34z5hjqah1g5pfjcb"))))
    (properties `((upstream-name . "restatapi")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-rjson r-data-table))
    (home-page "https://github.com/eurostat/restatapi")
    (synopsis "Search and Retrieve Data from Eurostat Database")
    (description
     "Eurostat is the statistical office of the European Union and provides high
quality statistics for Europe.  Large set of the data is disseminated through
the Eurostat database (<https://ec.europa.eu/eurostat/web/main/data/database>).
The tools are using the REST API with the Statistical Data and Metadata
@code{eXchange} (SDMX) Web Services
(<https://wikis.ec.europa.eu/pages/viewpage.action?@code{pageId=44165555>}) to
search and download data from the Eurostat database using the SDMX standard.")
    (license (license:fsdg-compatible "EUPL"))))

(define-public r-ress
  (package
    (name "r-ress")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RESS" version))
       (sha256
        (base32 "1vddmifp47ia0sk35rnjpvw6gr9ygygafqczq268h17i1qs6ar22"))))
    (properties `((upstream-name . "RESS")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RESS")
    (synopsis "Integrates R and Essentia")
    (description
     "This package contains three functions that query @code{AuriQ} Systems Essentia
Database and return the results in R. @code{essQuery} takes a single Essentia
command and captures the output in R, where you can save the output to a
dataframe or stream it directly into additional analysis.  read.essentia takes
an Essentia script and captures the output csv data into R, where you can save
the output to a dataframe or stream it directly into additional analysis.
capture.essentia takes a file containing any number of Essentia commands and
captures the output of the specified statements into R dataframes.  Essentia can
be downloaded for free at
http://www.auriq.com/documentation/source/install/index.html.")
    (license license:lgpl3)))

(define-public r-resquin
  (package
    (name "r-resquin")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resquin" version))
       (sha256
        (base32 "0h3wmmhx3bqy1li6nvgdxfvdr9k2yiw2b7h74jbc4mvpil747l7l"))))
    (properties `((upstream-name . "resquin")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs r-purrr r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/MatRoth/resquin")
    (synopsis "Response Quality Indicators for Survey Research")
    (description
     "Calculate common survey data quality indicators for multi-item scales and matrix
questions.  Currently supports the calculation of response style indicators and
response distribution indicators.  For an overview on response quality
indicators see Bhaktha N, Henning S, Clemens L (2024).  Characterizing response
quality in surveys with multi-item scales: A unified framework
<https://osf.io/9gs67/>.")
    (license license:gpl3+)))

(define-public r-respr
  (package
    (name "r-respr")
    (version "2.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "respR" version))
       (sha256
        (base32 "1dcgfqln7q2y1mvgr85f5linsscj6rsla1dbnrmf81gci0lzk19k"))))
    (properties `((upstream-name . "respR")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-stringr
                             r-segmented
                             r-roll
                             r-purrr
                             r-marelac
                             r-magrittr
                             r-lubridate
                             r-glue
                             r-dplyr
                             r-data-table))
    (home-page "https://github.com/januarharianto/respr")
    (synopsis
     "Import, Process, Analyse, and Calculate Rates from Respirometry Data")
    (description
     "This package provides a structural, reproducible workflow for the processing and
analysis of respirometry data.  It contains analytical functions and utilities
for working with oxygen time-series to determine respiration or oxygen
production rates, and to make it easier to report and share analyses.  See
Harianto et al.  2019 <doi:10.1111/2041-210X.13162>.")
    (license license:gpl3)))

(define-public r-responsepatterns
  (package
    (name "r-responsepatterns")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "responsePatterns" version))
       (sha256
        (base32 "0ym6jbacsi4lv9rcw3k80wiil94ymivm55c4hz6hwbv54ybkzlcj"))))
    (properties `((upstream-name . "responsePatterns")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=responsePatterns")
    (synopsis "Screening for Careless Responding Patterns")
    (description
     "Some survey participants tend to respond carelessly which complicates data
analysis.  This package provides functions that make it easier to explore
responses and identify those that may be problematic.  See Gottfried et al.
(2022) <doi:10.7275/vyxb-gt24> for more information.")
    (license license:expat)))

(define-public r-respirometry
  (package
    (name "r-respirometry")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "respirometry" version))
       (sha256
        (base32 "0z8600bwh8c7kg69qf4nab26sqbxs73h24dfwk2fiispxvs1c83k"))))
    (properties `((upstream-name . "respirometry")))
    (build-system r-build-system)
    (propagated-inputs (list r-segmented
                             r-seacarb
                             r-rlang
                             r-plyr
                             r-minpack-lm
                             r-measurements
                             r-marelac
                             r-lubridate
                             r-dplyr
                             r-birk))
    (home-page "https://cran.r-project.org/package=respirometry")
    (synopsis "Tools for Conducting and Analyzing Respirometry Experiments")
    (description
     "This package provides tools to enable the researcher to more precisely conduct
respirometry experiments.  Strong emphasis is on aquatic respirometry.  Tools
focus on helping the researcher setup and conduct experiments.  Functions for
analysis of resulting respirometry data are also provided.  This package
provides tools for intermittent, flow-through, and closed respirometry
techniques.")
    (license license:gpl3)))

(define-public r-respiranalyzer
  (package
    (name "r-respiranalyzer")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RespirAnalyzer" version))
       (sha256
        (base32 "00qyylmnjlw7hd56bgf48p2za4dqmm7nk7j17g9n219hz11yx0pi"))))
    (properties `((upstream-name . "RespirAnalyzer")))
    (build-system r-build-system)
    (propagated-inputs (list r-signal r-rcpp r-pracma))
    (home-page "https://cran.r-project.org/package=RespirAnalyzer")
    (synopsis "Analysis Functions of Respiratory Data")
    (description
     "This package provides functions for the complete analysis of respiratory data.
Consists of a set of functions that allow to preprocessing respiratory data,
calculate both regular statistics and nonlinear statistics, conduct group
comparison and visualize the results.  Especially, Power Spectral Density
('PSD') (A. Eke (2000) <doi:10.1007/s004249900135>), @code{MultiScale}
Entropy(MSE) ('Madalena Costa(2002) <doi:10.1103/@code{PhysRevLett.89.068102>})
and @code{MultiFractal} Detrended Fluctuation Analysis(MFDFA) ('Jan
W.Kantelhardt (2002) <doi:10.1016/S0378-4371(02)01383-3>) were applied for the
analysis of respiratory data.")
    (license license:expat)))

(define-public r-respbibd
  (package
    (name "r-respbibd")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ResPBIBD" version))
       (sha256
        (base32 "00a3qbam4dc9lwfyqq63j8q9yppd4nr7pk0wbikjfw6rnbjsl1sh"))))
    (properties `((upstream-name . "ResPBIBD")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=ResPBIBD")
    (synopsis
     "\"Resolvable Partially Balanced Incomplete Block Designs (PBIBDs)\"")
    (description
     "This package provides a collection of several utility functions related to
resolvable and affine resolvable Partially Balanced Incomplete Block Designs
(PBIBDs), have been developed.  In the class of resolvable designs, affine
resolvable designs are said to be optimal, Bailey (1995) <doi:10.2307/2337638>.
Here, the package contains three functions to generate and study the
characterization properties of these designs.  Developed functions are named as
PBIBD1(), PBIBD2() and PBIBD3(), in which first two functions are used to
generate two new series of affine resolvable PBIBDs and last one is used to
generate a new series of resolvable PBIBDs, respectively.  In addition, these
functions can also be used to generate design parameters (v, b, r and k),
canonical efficiency factors, variance factor between associates and average
variance factors of the generated designs.  Here v is the number of treatments,
b (= b1 + b2, in case of non-proper design) is the number of blocks, r is the
number of replications and k (= k1 + k2; k1 is the size of b1 and k2 is the size
of b2) is the block size.")
    (license license:gpl3)))

(define-public r-resourceselection
  (package
    (name "r-resourceselection")
    (version "0.3-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ResourceSelection" version))
       (sha256
        (base32 "03vilnchjnl34k07cr7qkc993qh6wdgmrgswrnclnc2pm95fm0qf"))))
    (properties `((upstream-name . "ResourceSelection")))
    (build-system r-build-system)
    (propagated-inputs (list r-pbapply r-matrix r-mass))
    (home-page "https://github.com/psolymos/ResourceSelection")
    (synopsis
     "Resource Selection (Probability) Functions for Use-Availability Data")
    (description
     "Resource Selection (Probability) Functions for use-availability wildlife data
based on weighted distributions as described in Lele and Keim (2006)
<doi:10.1890/0012-9658(2006)87%5B3021:WDAEOR%5D2.0.CO;2>, Lele (2009)
<doi:10.2193/2007-535>, and Solymos & Lele (2016) <doi:10.1111/2041-210X.12432>.")
    (license license:gpl2)))

(define-public r-resourcer
  (package
    (name "r-resourcer")
    (version "1.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resourcer" version))
       (sha256
        (base32 "0rffkz2ybvr58jpa3kfiw4s3rk0cmrm9r5ca2abbzlcny7kxb7v5"))))
    (properties `((upstream-name . "resourcer")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6 r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=resourcer")
    (synopsis "Resource Resolver")
    (description
     "This package provides a resource represents some data or a computation unit.  It
is described by a URL and credentials.  This package proposes a Resource model
with \"resolver\" and \"client\" classes to facilitate the access and the usage of
the resources.")
    (license license:lgpl2.1+)))

(define-public r-resmush
  (package
    (name "r-resmush")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resmush" version))
       (sha256
        (base32 "0d4mldxxgfypfm9p2b38iqr55j31vcyim018m7csqxplmvxrs45b"))))
    (properties `((upstream-name . "resmush")))
    (build-system r-build-system)
    (propagated-inputs (list r-httr2 r-curl r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://dieghernan.github.io/resmush/")
    (synopsis "Optimize and Compress Image Files with 'reSmush.it'")
    (description
     "Compress local and online images using the @code{reSmush.it} API service
<https://resmush.it/>.")
    (license license:expat)))

(define-public r-reslr
  (package
    (name "r-reslr")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reslr" version))
       (sha256
        (base32 "0hklhkr0fxrhhi6apskq498z1vv1w90zsfvvc344rmj9qid2lj2a"))))
    (properties `((upstream-name . "reslr")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tidybayes
                             r-stringr
                             r-r2jags
                             r-purrr
                             r-posterior
                             r-plyr
                             r-ncdf4
                             r-magrittr
                             r-ggplot2
                             r-geosphere
                             r-fields
                             r-fastdummies
                             r-dplyr
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/maeveupton/reslr")
    (synopsis "Modelling Relative Sea Level Data")
    (description
     "The Bayesian modelling of relative sea-level data using a comprehensive approach
that incorporates various statistical models within a unifying framework.
Details regarding each statistical models; linear regression (Ashe et al 2019)
<doi:10.1016/j.quascirev.2018.10.032>, change point models (Cahill et al 2015)
<doi:10.1088/1748-9326/10/8/084002>, integrated Gaussian process models (Cahill
et al 2015) <doi:10.1214/15-AOAS824>, temporal splines (Upton et al 2023)
<@code{arXiv:2301.09556>}, spatio-temporal splines (Upton et al 2023)
<@code{arXiv:2301.09556>} and generalised additive models (Upton et al 2023)
<@code{arXiv:2301.09556>}.  This package facilitates data loading, model fitting
and result summarisation.  Notably, it accommodates the inherent measurement
errors found in relative sea-level data across multiple dimensions, allowing for
their inclusion in the statistical models.")
    (license license:expat)))

(define-public r-reslife
  (package
    (name "r-reslife")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reslife" version))
       (sha256
        (base32 "17n9p0kj5sx0zhdyfs4s15rwjkcx9hmly8m51xyv2y70vr1nl4cc"))))
    (properties `((upstream-name . "reslife")))
    (build-system r-build-system)
    (propagated-inputs (list r-pracma r-gsl r-flexsurv))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/an-crawford/reslife")
    (synopsis
     "Calculate Mean Residual Life (MRL) and Related Values for Different Distributions")
    (description
     "This package provides a pair of functions for calculating mean residual life
(MRL) , median residual life, and percentile residual life using the outputs of
either the flexsurv package or parameters provided by the user.  Input
information about the distribution, the given life value, the percentile, and
the type of residual life, and the function will return your desired values.
For the flexsurv option, the function allows the user to input their own data
for making predictions.  This function is based on Jackson (2016)
<doi:10.18637/jss.v070.i08>.")
    (license license:gpl3+)))

(define-public r-resistorarray
  (package
    (name "r-resistorarray")
    (version "1.0-32")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ResistorArray" version))
       (sha256
        (base32 "0zqnl0bbqrj5hn5ywhlqyrlz5ryql88qahlgs9989v4rljcxxlam"))))
    (properties `((upstream-name . "ResistorArray")))
    (build-system r-build-system)
    (home-page "https://github.com/RobinHankin/ResistorArray.git")
    (synopsis "Electrical Properties of Resistor Networks")
    (description
     "Electrical properties of resistor networks using matrix methods.")
    (license license:gpl2)))

(define-public r-resin
  (package
    (name "r-resin")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ResIN" version))
       (sha256
        (base32 "0by098xmbikvprbp2x860jvvdic3w1x09n2qcg1ipdj1pcdppz0g"))))
    (properties `((upstream-name . "ResIN")))
    (build-system r-build-system)
    (propagated-inputs (list r-wcorr
                             r-shadowtext
                             r-readr
                             r-qgraph
                             r-psych
                             r-parallelly
                             r-matrix
                             r-igraph
                             r-ggplot2
                             r-foreach
                             r-fastdummies
                             r-dplyr
                             r-dosnow
                             r-directedclustering))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/pwarncke77/ResIN")
    (synopsis "Response Item Networks")
    (description
     "This package contains various tools to perform and visualize Response Item
Networks ('@code{ResIN's}'). @code{ResIN} binarizes ordered-categorical and
qualitative response choices from (survey) data, calculates pairwise
associations and maps the location of each item response as a node in a
force-directed network.  Please refer to <https://www.resinmethod.net/> for more
details.")
    (license license:gpl3)))

(define-public r-resilience
  (package
    (name "r-resilience")
    (version "2024.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resilience" version))
       (sha256
        (base32 "05rwyw77sws7d04gxafj41x5amih39lf63mb71vn6b16fgf6mg61"))))
    (properties `((upstream-name . "resilience")))
    (build-system r-build-system)
    (propagated-inputs (list r-nptest r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=resilience")
    (synopsis "Predictors of Resilience to a Stressor in a Single-Arm Study")
    (description
     "Studies of resilience in older adults employ a single-arm design where everyone
experiences the stressor.  The simplistic approach of regressing change versus
baseline yields biased estimates due to regression-to-the-mean.  This package
provides a method to correct the bias.  It also allows covariates to be
included.  The method implemented in the package is described in Varadhan, R.,
Zhu, J., and Bandeen-Roche, K (2023), Biostatistics (To appear).")
    (license license:gpl2+)))

(define-public r-residentialenergyconsumption
  (package
    (name "r-residentialenergyconsumption")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ResidentialEnergyConsumption" version))
       (sha256
        (base32 "0m24x5mha58ihsd06jkcb3wi796v3gkjg78w8vah21p9gqdmqxw1"))))
    (properties `((upstream-name . "ResidentialEnergyConsumption")))
    (build-system r-build-system)
    (home-page
     "https://cran.r-project.org/package=ResidentialEnergyConsumption")
    (synopsis "Residential Energy Consumption Data")
    (description
     "Datasets with energy consumption data of different data measurement frequencies.
 The data stems from several publicly funded research projects of the Chair of
Information Systems and Energy Efficient Systems at the University of Bamberg.")
    (license license:cc-by-sa4.0)))

(define-public r-reside
  (package
    (name "r-reside")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RESIDE" version))
       (sha256
        (base32 "1f0llk8g8flirh5kwjfbnba1np6bm6jqs16sgsymz8f2jcx23mni"))))
    (properties `((upstream-name . "RESIDE")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-simstudy
                             r-rdp
                             r-matrixcalc
                             r-magrittr
                             r-dplyr
                             r-bestnormalize))
    (native-inputs (list r-knitr))
    (home-page "https://hehta.github.io/RESIDE/")
    (synopsis "Rapid Easy Synthesis to Inform Data Extraction")
    (description
     "Developed to assist researchers with planning analysis, prior to obtaining data
from Trusted Research Environments (TREs) also known as safe havens.  With
functionality to export and import marginal distributions as well as synthesise
data, both with and without correlations from these marginal distributions.
Using a multivariate cumulative distribution (COPULA).  Additionally the
International Stroke Trial (IST) is included as an example dataset under ODC-By
licence Sandercock et al. (2011) <doi:10.7488/ds/104>, Sandercock et al. (2011)
<doi:10.1186/1745-6215-12-101>.")
    (license license:gpl3+)))

(define-public r-resi
  (package
    (name "r-resi")
    (version "1.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RESI" version))
       (sha256
        (base32 "100w8a28bz2x9sihd9ghmiha9p5dxbwnzkrdgxg42211zmbil8cb"))))
    (properties `((upstream-name . "RESI")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich
                             r-nlme
                             r-lmtest
                             r-ggplot2
                             r-clubsandwich
                             r-car
                             r-boot
                             r-aod))
    (native-inputs (list r-knitr))
    (home-page "https://statimagcoll.github.io/RESI/")
    (synopsis "Robust Effect Size Index (RESI) Estimation")
    (description
     "Summarize model output using a robust effect size index.  The index is
introduced in Vandekar, Tao, & Blume (2020) <doi:10.1007/s11336-020-09698-2>.")
    (license license:gpl3)))

(define-public r-resevol
  (package
    (name "r-resevol")
    (version "0.3.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resevol" version))
       (sha256
        (base32 "0h716h7n11r95sv72j5rqn7x2bfnl7hi4nhhypy534i2cc8v4zr9"))))
    (properties `((upstream-name . "resevol")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://bradduthie.github.io/resevol/")
    (synopsis
     "Simulate Agricultural Production and Evolution of Pesticide Resistance")
    (description
     "Simulates individual-based models of agricultural pest management and the
evolution of pesticide resistance.  Management occurs on a spatially explicit
landscape that is divided into an arbitrary number of farms that can grow one of
up to 10 crops and apply one of up to 10 pesticides.  Pest genomes are modelled
in a way that allows for any number of pest traits with an arbitrary covariance
structure that is constructed using an evolutionary algorithm in the
mine_gmatrix() function.  Simulations are then run using the run_farm_sim()
function.  This package thereby allows for highly mechanistic social-ecological
models of the evolution of pesticide resistance under different types of crop
rotation and pesticide application regimes.")
    (license license:gpl2+)))

(define-public r-reset
  (package
    (name "r-reset")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RESET" version))
       (sha256
        (base32 "0v1a9fk4w30kvvxs91918gzx6k7mshv6djq5d5q501qrr3svhgrw"))))
    (properties `((upstream-name . "RESET")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix))
    (home-page "https://cran.r-project.org/package=RESET")
    (synopsis "Reconstruction Set Test")
    (description
     "This package contains logic for sample-level variable set scoring using
randomized reduced rank reconstruction error.  Frost, H. Robert (2023)
\"Reconstruction Set Test (RESET): a computationally efficient method for single
sample gene set testing based on randomized reduced rank reconstruction error\"
<doi:10.1101/2023.04.03.535366>.")
    (license license:gpl2+)))

(define-public r-reservr
  (package
    (name "r-reservr")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reservr" version))
       (sha256
        (base32 "1p0jxjv5kc6ggxynvxs3ikrrkdn5nv68h0sk2bvnvdariqhn0cny"))))
    (properties `((upstream-name . "reservr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang
                             r-rcppparallel
                             r-rcpparmadillo
                             r-rcpp
                             r-r6
                             r-purrr
                             r-numderiv
                             r-nloptr
                             r-matrixstats
                             r-keras3
                             r-glue
                             r-generics
                             r-bh
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://ashesitr.github.io/reservr/")
    (synopsis
     "Fit Distributions and Neural Networks to Censored and Truncated Data")
    (description
     "Define distribution families and fit them to interval-censored and
interval-truncated data, where the truncation bounds may depend on the
individual observation.  The defined distributions feature density, probability,
sampling and fitting methods as well as efficient implementations of the
log-density log f(x) and log-probability log P(x0 <= X <= x1) for use in
@code{TensorFlow} neural networks via the tensorflow package.  Allows training
parametric neural networks on interval-censored and interval-truncated data with
flexible parameterization.  Applications include Claims Development in Non-Life
Insurance, e.g. modelling reporting delay distributions from incomplete data,
see BÃ¼cher, Rosenstock (2022) <doi:10.1007/s13385-022-00314-4>.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-reservoirnet
  (package
    (name "r-reservoirnet")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reservoirnet" version))
       (sha256
        (base32 "0x87jglv7zyldagrz1kz68xi9l4j920zgpsbpzbj1ksxi2ypp98s"))))
    (properties `((upstream-name . "reservoirnet")))
    (build-system r-build-system)
    (inputs (list python))
    (propagated-inputs (list r-testthat
                             r-rlang
                             r-reticulate
                             r-magrittr
                             r-janitor
                             r-ggpubr
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/reservoirpy")
    (synopsis "Reservoir Computing and Echo State Networks")
    (description
     "This package provides a simple user-friendly library based on the python module
reservoirpy'.  It provides a flexible interface to implement efficient Reservoir
Computing (RC) architectures with a particular focus on Echo State Networks
(ESN).  Some of its features are: offline and online training, parallel
implementation, sparse matrix computation, fast spectral initialization,
advanced learning rules (e.g. Intrinsic Plasticity) etc.  It also makes possible
to easily create complex architectures with multiple reservoirs (e.g. deep
reservoirs), readouts, and complex feedback loops.  Moreover, graphical tools
are included to easily explore hyperparameters.  Finally, it includes several
tutorials exploring time series forecasting, classification and hyperparameter
tuning.  For more information about reservoirpy', please see Trouvain et al.
(2020) <doi:10.1007/978-3-030-61616-8_40>.  This package was developed in the
framework of the University of Bordeauxâs @code{IdEx} \"Investments for the
Future\" program / RRI PHDS.")
    (license license:gpl3+)))

(define-public r-reservoir
  (package
    (name "r-reservoir")
    (version "1.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reservoir" version))
       (sha256
        (base32 "1qvjq8j2gxp6b8m3k3822f9na8a1kbwzzsmq70m763dcq293rgiz"))))
    (properties `((upstream-name . "reservoir")))
    (build-system r-build-system)
    (propagated-inputs (list r-gtools))
    (home-page "https://cran.r-project.org/package=reservoir")
    (synopsis
     "Tools for Analysis, Design, and Operation of Water Supply Storages")
    (description
     "Measure single-storage water supply system performance using resilience,
reliability, and vulnerability metrics; assess storage-yield-reliability
relationships; determine no-fail storage with sequent peak analysis; optimize
release decisions for water supply, hydropower, and multi-objective reservoirs
using deterministic and stochastic dynamic programming; generate inflow
replicates using parametric and non-parametric models; evaluate inflow
persistence using the Hurst coefficient.")
    (license license:gpl2+)))

(define-public r-resemble
  (package
    (name "r-resemble")
    (version "2.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resemble" version))
       (sha256
        (base32 "1m27y1wmig4d7gxmli1n8mbqid9sh6vij0aj7vi1wk4vnwxgnq6w"))))
    (properties `((upstream-name . "resemble")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo
                             r-rcpp
                             r-mathjaxr
                             r-magrittr
                             r-lifecycle
                             r-iterators
                             r-foreach
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "http://l-ramirez-lopez.github.io/resemble/")
    (synopsis "Memory-Based Learning in Spectral Chemometrics")
    (description
     "This package provides functions for dissimilarity analysis and memory-based
learning (MBL, a.k.a local modeling) in complex spectral data sets.  Most of
these functions are based on the methods presented in Ramirez-Lopez et al.
(2013) <doi:10.1016/j.geoderma.2012.12.014>.")
    (license license:expat)))

(define-public r-researchassociate
  (package
    (name "r-researchassociate")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ResearchAssociate" version))
       (sha256
        (base32 "00j339ngc72gn2gyn1irjmazrv6l5nbsy3z25r6j1zrjwsbay15p"))))
    (properties `((upstream-name . "ResearchAssociate")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml r-rentrez r-plyr r-ggplot2))
    (home-page "https://cran.r-project.org/package=ResearchAssociate")
    (synopsis
     "Retrieving Publications from PubMed Database Based on User Query")
    (description
     "Connects to Pubmed <https://pubmed.ncbi.nlm.nih.gov/> to retrieve publications
related to user-defined search query.")
    (license license:gpl3)))

(define-public r-resde
  (package
    (name "r-resde")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resde" version))
       (sha256
        (base32 "016m9z4agwklq7704vsic8ykyla1b1vj6rgkwjmirpfa11wqn3h1"))))
    (properties `((upstream-name . "resde")))
    (build-system r-build-system)
    (propagated-inputs (list r-nlme r-deriv))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ogarciav/resde/")
    (synopsis "Estimation in Reducible Stochastic Differential Equations")
    (description
     "Maximum likelihood estimation for univariate reducible stochastic differential
equation models.  Discrete, possibly noisy observations, not necessarily evenly
spaced in time.  Can fit multiple individuals/units with global and local
parameters, by fixed-effects or mixed-effects methods.  Ref.: Garcia, O. (2019)
\"Estimating reducible stochastic differential equations by conversion to a
least-squares problem\", Computational Statistics 34(1): 23-46,
<doi:10.1007/s00180-018-0837-4>.")
    (license license:gpl2+)))

(define-public r-resampledata3
  (package
    (name "r-resampledata3")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resampledata3" version))
       (sha256
        (base32 "1nankfkvf1cncm0p4qnwdamxinaggaga9654w2bmh6363fkc40j0"))))
    (properties `((upstream-name . "resampledata3")))
    (build-system r-build-system)
    (home-page "https://github.com/lchihara/MathStatsResamplingR")
    (synopsis
     "Data Sets for \"Mathematical Statistics with Resampling and R\" (3rd Ed)")
    (description
     "Data sets for Chihara and Hesterberg (2022, ISBN: 978-1-119-87404-1)
\"Mathematical Statistics with Resampling in R\" (3rd Ed).")
    (license license:cc0)))

(define-public r-resampledata
  (package
    (name "r-resampledata")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resampledata" version))
       (sha256
        (base32 "1nxjqvxxvycccmh1n7lpc4k8zmwnciicfr5rzfid1icij5fzw3ak"))))
    (properties `((upstream-name . "resampledata")))
    (build-system r-build-system)
    (home-page "https://github.com/rudeboybert/resampledata")
    (synopsis "Data Sets for Mathematical Statistics with Resampling in R")
    (description
     "Package of data sets from \"Mathematical Statistics with Resampling in R\" (1st
Ed.  2011, 2nd Ed.  2018) by Laura Chihara and Tim Hesterberg.")
    (license license:cc0)))

(define-public r-resample
  (package
    (name "r-resample")
    (version "0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "resample" version))
       (sha256
        (base32 "0rajp5kmr8qgwzhy7wfmhm7fllk9ywm7hz44f5ws94lcn44q158v"))))
    (properties `((upstream-name . "resample")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=resample")
    (synopsis "Resampling Functions")
    (description
     "Bootstrap, permutation tests, and jackknife, featuring easy-to-use syntax.")
    (license license:bsd-3)))

(define-public r-rereg
  (package
    (name "r-rereg")
    (version "1.4.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reReg" version))
       (sha256
        (base32 "0irf6x03w1hb5mh30nffwpdiy7sg7m4aypwg1bbcmbwcyb1n6fx8"))))
    (properties `((upstream-name . "reReg")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-squarem
                             r-scam
                             r-rootsolve
                             r-reda
                             r-rcpparmadillo
                             r-rcpp
                             r-optimx
                             r-nleqslv
                             r-mass
                             r-ggplot2
                             r-directlabels
                             r-dfoptim
                             r-bb))
    (home-page "https://github.com/stc04003/reReg")
    (synopsis "Recurrent Event Regression")
    (description
     "This package provides a comprehensive collection of practical and easy-to-use
tools for regression analysis of recurrent events, with or without the presence
of a (possibly) informative terminal event described in Chiou et al. (2023)
<doi:10.18637/jss.v105.i05>.  The modeling framework is based on a joint frailty
scale-change model, that includes models described in Wang et al. (2001)
<doi:10.1198/016214501753209031>, Huang and Wang (2004)
<doi:10.1198/016214504000001033>, Xu et al. (2017)
<doi:10.1080/01621459.2016.1173557>, and Xu et al. (2019)
<doi:10.5705/SS.202018.0224> as special cases.  The implemented estimating
procedure does not require any parametric assumption on the frailty
distribution.  The package also allows the users to specify different model
forms for both the recurrent event process and the terminal event.")
    (license license:gpl3+)))

(define-public r-rerddapxtracto
  (package
    (name "r-rerddapxtracto")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rerddapXtracto" version))
       (sha256
        (base32 "0bamid5820zxbr4byqbzvflvgcbagd8lyyr72hbnfns9ficnj7xc"))))
    (properties `((upstream-name . "rerddapXtracto")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp
                             r-sf
                             r-rerddap
                             r-readr
                             r-plotdap
                             r-parsedate
                             r-ncdf4
                             r-maps
                             r-httr
                             r-ggplot2
                             r-dplyr
                             r-abind))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rmendels/rerddapXtracto")
    (synopsis "Extracts Environmental Data from 'ERDDAPâ¢' Web Services")
    (description
     "This package contains three functions that access environmental data from any
ERDDAPâ¢ data web service.  The rxtracto() function extracts data along a
trajectory for a given \"radius\" around the point.  The rxtracto_3D() function
extracts data in a box.  The rxtractogon() function extracts data in a polygon.
All of those three function use the rerddap package to extract the data, and
should work with any ERDDAPâ¢ server.  There are also two functions,
@code{plotBBox}() and @code{plotTrack}() that use the plotdap package to
simplify the creation of maps of the data.")
    (license license:cc0)))

(define-public r-rerddap
  (package
    (name "r-rerddap")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rerddap" version))
       (sha256
        (base32 "0s3xgk7z2j6g5f67j899f6d49igx1si562mbfqywba830a3ixn40"))))
    (properties `((upstream-name . "rerddap")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-tibble
                             r-ncdf4
                             r-lubridate
                             r-jsonlite
                             r-hoardr
                             r-dplyr
                             r-digest
                             r-data-table
                             r-crul))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rerddap/")
    (synopsis "General Purpose Client for 'ERDDAP' Servers")
    (description
     "General purpose R client for ERDDAP servers.  Includes functions to search for
datasets', get summary information on datasets', and fetch datasets', in either
csv or @code{netCDF} format.  ERDDAP information:
<https://upwell.pfeg.noaa.gov/erddap/information.html>.")
    (license license:expat)))

(define-public r-rerandpower
  (package
    (name "r-rerandpower")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rerandPower" version))
       (sha256
        (base32 "1vk0lrd7hc499prshj3dfyyn2iaz9z6916xsw31ax1l5mipys4mk"))))
    (properties `((upstream-name . "rerandPower")))
    (build-system r-build-system)
    (propagated-inputs (list r-runuran))
    (home-page "https://cran.r-project.org/package=rerandPower")
    (synopsis
     "Power and Sample Size Calculations for Completely Randomized and Rerandomized Experiments")
    (description
     "Computes the power resulting from completely randomized and rerandomized
experiments with two groups.  Furthermore, computes the sample size necessary to
obtain a desired level of power for completely randomized and rerandomized
experiments.")
    (license license:expat)))

(define-public r-requirer
  (package
    (name "r-requirer")
    (version "1.0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "requireR" version))
       (sha256
        (base32 "192l7i3q7s2a6n737an3fn258agjsdzh0q2w0vc8jbz7v4f3i92d"))))
    (properties `((upstream-name . "requireR")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=requireR")
    (synopsis "R Source Code Modularizer")
    (description
     "Modularizes source code.  Keeps the global environment clean, explicifies
interdependencies.  Inspired by @code{RequireJS'<http://requirejs.org/>}.")
    (license license:expat)))

(define-public r-requirements
  (package
    (name "r-requirements")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "requiRements" version))
       (sha256
        (base32 "1x8sl77qwzrnfbh668s51sd71r19n5gjl95xh5hnc41avkdkn5by"))))
    (properties `((upstream-name . "requiRements")))
    (build-system r-build-system)
    (propagated-inputs (list r-remotes))
    (home-page "https://github.com/joundso/requirements")
    (synopsis "Helper Package to Install Packages for R")
    (description
     "Helper function to install packages for R using an external requirements.txt or
a string containing diverse packages from several resources like Github or CRAN.")
    (license license:gpl3)))

(define-public r-require
  (package
    (name "r-require")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Require" version))
       (sha256
        (base32 "0038rr91hfx7q0rcbkl76sjjykx2wnxr5fc6zdgfqy31p0j6c9aj"))))
    (properties `((upstream-name . "Require")))
    (build-system r-build-system)
    (propagated-inputs (list r-sys r-data-table))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://Require.predictiveecology.org")
    (synopsis "Installing and Loading R Packages for Reproducible Workflows")
    (description
     "This package provides a single key function, Require that makes rerun-tolerant
versions of install.packages and `require` for CRAN packages, packages no longer
on CRAN (i.e., archived), specific versions of packages, and @code{GitHub}
packages.  This approach is developed to create reproducible workflows that are
flexible and fast enough to use while in development stages, while able to build
snapshots once a stable package collection is found.  As with other functions in
a reproducible workflow, this package emphasizes functions that return the same
result whether it is the first or subsequent times running the function, with
subsequent times being sufficiently fast that they can be run every time without
undue waiting burden on the user or developer.")
    (license license:gpl3)))

(define-public r-request
  (package
    (name "r-request")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "request" version))
       (sha256
        (base32 "1q7zd6q00gdqmgq7s7nq1ixmns8zn2amr5zah9rwnsn8dkllj9yh"))))
    (properties `((upstream-name . "request")))
    (build-system r-build-system)
    (propagated-inputs (list r-whisker
                             r-r6
                             r-magrittr
                             r-lazyeval
                             r-jsonlite
                             r-httr
                             r-curl))
    (home-page "https://github.com/sckott/request")
    (synopsis "High Level 'HTTP' Client")
    (description
     "High level and easy HTTP client for R'.  Provides functions for building HTTP
queries, including query parameters, body requests, headers, authentication, and
more.")
    (license license:expat)))

(define-public r-reqs
  (package
    (name "r-reqs")
    (version "0.8-13")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REQS" version))
       (sha256
        (base32 "1yzd37kqkg477p501l6s8iah9pkjsnsbxmk32w0rji7jpj7r2rs5"))))
    (properties `((upstream-name . "REQS")))
    (build-system r-build-system)
    (propagated-inputs (list r-gtools))
    (home-page "https://cran.r-project.org/package=REQS")
    (synopsis "R/EQS Interface")
    (description
     "This package contains the function run.eqs() which calls an EQS script file,
executes the EQS estimation, and, finally, imports the results as R objects.
These two steps can be performed separately: call.eqs() calls and executes EQS,
whereas read.eqs() imports existing EQS outputs as objects into R. It requires
EQS 6.2 (build 98 or higher).")
    (license license:gpl3)))

(define-public r-reqres
  (package
    (name "r-reqres")
    (version "0.2.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reqres" version))
       (sha256
        (base32 "1j8gxacbfnaqvrhjqy851yb8shc73issv08yca6mbnx6aq34wcrd"))))
    (properties `((upstream-name . "reqres")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-webutils
                             r-urltools
                             r-stringi
                             r-r6
                             r-jsonlite
                             r-brotli
                             r-assertthat))
    (home-page "https://reqres.data-imaginist.com")
    (synopsis "Powerful Classes for HTTP Requests and Responses")
    (description
     "In order to facilitate parsing of http requests and creating appropriate
responses this package provides two classes to handle a lot of the housekeeping
involved in working with http exchanges.  The infrastructure builds upon the
rook specification and is thus well suited to be combined with httpuv based web
servers.")
    (license license:expat)))

(define-public r-repurrrsive
  (package
    (name "r-repurrrsive")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repurrrsive" version))
       (sha256
        (base32 "123hf7qhhs4jyjbmw4246zmhyngjq7r9ihgg3nxg594kja40khd9"))))
    (properties `((upstream-name . "repurrrsive")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble))
    (home-page "https://jennybc.github.io/repurrrsive/")
    (synopsis "Examples of Recursive Lists and Nested or Split Data Frames")
    (description
     "Recursive lists in the form of R objects, JSON', and XML', for use in teaching
and examples.  Examples include color palettes, Game of Thrones characters,
@code{GitHub} users and repositories, music collections, and entities from the
Star Wars universe.  Data from the gapminder package is also included, as a
simple data frame and in nested and split forms.")
    (license license:cc0)))

(define-public r-reptile
  (package
    (name "r-reptile")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REPTILE" version))
       (sha256
        (base32 "11swy4jrmmb0xjjxm1wyxd628fxxcqnialvijdrjwjpdbvraz4gq"))))
    (properties `((upstream-name . "REPTILE")))
    (build-system r-build-system)
    (propagated-inputs (list r-randomforest r-optparse r-foreach r-flux
                             r-doparallel))
    (home-page "https://github.com/yupenghe/REPTILE")
    (synopsis "Regulatory DNA Element Prediction")
    (description
     "Predicting regulatory DNA elements based on epigenomic signatures.  This package
is more of a set of building blocks than a direct solution.  REPTILE regulatory
prediction pipeline is built on this R package.  See
<https://github.com/yupenghe/REPTILE> for more information.")
    (license license:bsd-2)))

(define-public r-repsd
  (package
    (name "r-repsd")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repsd" version))
       (sha256
        (base32 "102rnc2g31aijhwsmad86k2wjcvbvzi51c2rp0wk711riq5v7cm1"))))
    (properties `((upstream-name . "repsd")))
    (build-system r-build-system)
    (propagated-inputs (list r-progress))
    (home-page "https://cran.r-project.org/package=repsd")
    (synopsis "Root Expected Proportion Squared Difference for Detecting DIF")
    (description
     "Root Expected Proportion Squared Difference (REPSD) is a nonparametric
differential item functioning (DIF) method that (a) allows practitioners to
explore for DIF related to small, fine-grained focal groups of examinees, and
(b) compares the focal group directly to the composite group that will be used
to develop the reported test score scale.  Using your provided response matrix
with a column that identifies focal group membership, this package provides the
REPSD values, a simulated null distribution of possible REPSD values, and the
simulated p-values identifying items possibly displaying DIF without requiring
enormous sample sizes.")
    (license license:expat)))

(define-public r-reproj
  (package
    (name "r-reproj")
    (version "0.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reproj" version))
       (sha256
        (base32 "1r2m8j75hmy61h7ld0ra1kpigr1ax6zap8kjxkgjkxcdlqznbbxj"))))
    (properties `((upstream-name . "reproj")))
    (build-system r-build-system)
    (inputs (list proj))
    (propagated-inputs (list r-proj4 r-proj r-crsmeta))
    (home-page "https://github.com/hypertidy/reproj")
    (synopsis "Coordinate System Transformations for Generic Map Data")
    (description
     "Transform coordinates from a specified source to a specified target map
projection.  This uses the PROJ library directly, by wrapping the PROJ package
which leverages libproj', otherwise the proj4 package.  The reproj() function is
generic, methods may be added to remove the need for an explicit source
definition.  If proj4 is in use reproj() handles the requirement for conversion
of angular units where necessary.  This is for use primarily to transform
generic data formats and direct leverage of the underlying PROJ library. (There
are transformations that aren't possible with PROJ and that are provided by the
GDAL library, a limitation which users of this package should be aware of.) The
PROJ library is available at <https://proj.org/>.")
    (license license:gpl3)))

(define-public r-reproducible
  (package
    (name "r-reproducible")
    (version "2.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reproducible" version))
       (sha256
        (base32 "0axrhjzd8wv17f2djx6yg8f4kiwrcs267jwj4h4a10jykqrl9p4v"))))
    (properties `((upstream-name . "reproducible")))
    (build-system r-build-system)
    (propagated-inputs (list r-lobstr
                             r-fs
                             r-fpcompare
                             r-filelock
                             r-digest
                             r-data-table))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://reproducible.predictiveecology.org")
    (synopsis "Enhance Reproducibility of R Code")
    (description
     "This package provides a collection of high-level, machine- and OS-independent
tools for making reproducible and reusable content in R. The two workhorse
functions are Cache() and @code{prepInputs}().  Cache() allows for nested
caching, is robust to environments and objects with environments (like
functions), and has deals with some classes of file-backed R objects e.g., from
terra and raster packages.  Both functions have been developed to be
foundational components of data retrieval and processing in continuous workflow
situations.  In both functions, efforts are made to make the first and
subsequent calls of functions have the same result, but faster at subsequent
times by way of checksums and digesting.  Several features are still under
development, including cloud storage of cached objects, allowing for sharing
between users.  Several advanced options are available, see
?@code{reproducibleOptions}().")
    (license license:gpl3)))

(define-public r-reproducer
  (package
    (name "r-reproducer")
    (version "0.5.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reproducer" version))
       (sha256
        (base32 "0nm8x1bwigbvkz7bbr313fmxb9ypk6dw2yl9g1cppdws2c6rq1mr"))))
    (properties `((upstream-name . "reproducer")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-reshape
                             r-readr
                             r-openxlsx
                             r-nortest
                             r-metafor
                             r-mass
                             r-lme4
                             r-jsonlite
                             r-httr
                             r-gridextra
                             r-ggplot2
                             r-getoptlong
                             r-dplyr))
    (home-page "https://madeyski.e-informatyka.pl/reproducible-research/")
    (synopsis "Reproduce Statistical Analyses and Meta-Analyses")
    (description
     "Includes data analysis and meta-analysis functions (e.g., to calculate effect
sizes and 95% Confidence Intervals (CI) on Standardised Effect Sizes (d) for
AB/BA cross-over repeated-measures experimental designs), data presentation
functions (e.g., density curve overlaid on histogram),and the data sets analyzed
in different research papers in software engineering (e.g., related to software
defect prediction or multi- site experiment concerning the extent to which
structured abstracts were clearer and more complete than conventional abstracts)
to streamline reproducible research in software engineering.")
    (license license:gpl2+)))

(define-public r-represtools
  (package
    (name "r-represtools")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "represtools" version))
       (sha256
        (base32 "00hnvzkkcl9d3k115i5l9gs0wah5d11amn7q62m1j158lkqlcfza"))))
    (properties `((upstream-name . "represtools")))
    (build-system r-build-system)
    (propagated-inputs (list r-whisker))
    (native-inputs (list r-knitr))
    (home-page "https://pirategrunt.com/represtools/")
    (synopsis "Reproducible Research Tools")
    (description
     "Reproducible research tools automates the creation of an analysis directory
structure and work flow.  There are R markdown skeletons which encapsulate
typical analytic work flow steps.  Functions will create appropriate modules
which may pass data from one step to another.")
    (license license:gpl3+)))

(define-public r-representr
  (package
    (name "r-representr")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "representr" version))
       (sha256
        (base32 "0w84kh9nsa8861yfhj13f29wcdfs1mrhjr6jyvxk55f34vj7fhf1"))))
    (properties `((upstream-name . "representr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-foreach r-dplyr r-doparallel))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=representr")
    (synopsis "Create Representative Records After Entity Resolution")
    (description
     "An implementation of Kaplan, Betancourt, Steorts (2022)
<doi:10.1080/00031305.2022.2041482> that creates representative records for use
in downstream tasks after entity resolution is performed.  Multiple methods for
creating the representative records (data sets) are provided.")
    (license license:gpl3)))

(define-public r-represent
  (package
    (name "r-represent")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "represent" version))
       (sha256
        (base32 "1n1gc363a07zgjxyzkdf75yks1agayzzmlqvr2h2n6l0g89m4gnz"))))
    (properties `((upstream-name . "represent")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=represent")
    (synopsis
     "Determine How Representative Two Multidimensional Data Sets are")
    (description
     "Compute the values of various parameters evaluating how similar two
multidimensional datasets structures are in multidimensional space, as described
in: Jouan-Rimbaud, D., Massart, D. L., Saby, C. A., Puel, C. (1998),
<doi:10.1016/S0169-7439(98)00005-7>.  The computed parameters evaluate three
properties, namely, the direction of the data sets, the variance-covariance of
the data points, and the location of the data sets centroids.  The package
contains workhorse function jrparams(), as well as two helper functions
Mboxtest() and J@code{RsMahaldist}(), and four example data sets.")
    (license license:gpl3)))

(define-public r-repplabshiny
  (package
    (name "r-repplabshiny")
    (version "0.4.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REPPlabShiny" version))
       (sha256
        (base32 "0mm815pf90xqp1fgz955cdgc9k72kpq8zlpfa18pb478c02kvwg3"))))
    (properties `((upstream-name . "REPPlabShiny")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny r-repplab r-dt))
    (home-page "https://cran.r-project.org/package=REPPlabShiny")
    (synopsis "'REPPlab' via a Shiny Application")
    (description
     "This package performs exploratory projection pursuit via REPPlab (Daniel
Fischer, Alain Berro, Klaus Nordhausen & Anne Ruiz-Gazen (2019)
<doi:10.1080/03610918.2019.1626880>) using a Shiny app.")
    (license license:gpl2+)))

(define-public r-repplab
  (package
    (name "r-repplab")
    (version "0.9.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REPPlab" version))
       (sha256
        (base32 "1hiv6fz2s7dwjixnlqckvpa4dns8wannpinjjpxs3fcskgxmkgrz"))))
    (properties `((upstream-name . "REPPlab")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjava r-ldrtools r-lattice))
    (home-page "https://cran.r-project.org/package=REPPlab")
    (synopsis
     "R Interface to 'EPP-Lab', a Java Program for Exploratory Projection Pursuit")
    (description
     "An R Interface to EPP-lab v1.0.  EPP-lab is a Java program for projection
pursuit using genetic algorithms written by Alain Berro and S. Larabi
Marie-Sainte and is included in the package.")
    (license license:gpl2+)))

(define-public r-reporttools
  (package
    (name "r-reporttools")
    (version "1.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reporttools" version))
       (sha256
        (base32 "0sx89qb66lczmzcsybxac4razcncf2xcxr0vfkvb3f8jqc7xwcik"))))
    (properties `((upstream-name . "reporttools")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable))
    (home-page "http://www.kasparrufibach.ch")
    (synopsis "Generate \"LaTeX\"\" Tables of Descriptive Statistics")
    (description
     "These functions are especially helpful when writing reports of data analysis
using \"Sweave\".")
    (license license:gpl2+)))

(define-public r-reportroc
  (package
    (name "r-reportroc")
    (version "3.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reportROC" version))
       (sha256
        (base32 "1hfgyikd7l14yfr2cnabjbb67svydj1snfcagc4w4fxhdwqhd3f2"))))
    (properties `((upstream-name . "reportROC")))
    (build-system r-build-system)
    (propagated-inputs (list r-vcd r-proc))
    (home-page "https://cran.r-project.org/package=reportROC")
    (synopsis "An Easy Way to Report ROC Analysis")
    (description
     "This package provides an easy way to report the results of ROC analysis,
including: 1.  an ROC curve.  2.  the value of Cutoff, AUC (Area Under Curve),
ACC (accuracy), SEN (sensitivity), SPE (specificity), PLR (positive likelihood
ratio), NLR (negative likelihood ratio), PPV (positive predictive value), NPV
(negative predictive value), PPA (percentage of positive accordance), NPA
(percentage of negative accordance), TPA (percentage of total accordance), KAPPA
(kappa value).")
    (license license:gpl3)))

(define-public r-reportrmd
  (package
    (name "r-reportrmd")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reportRmd" version))
       (sha256
        (base32 "0z0k6g0dxxni78x9z6h29ybgdj38cyb8ywn1b1lbjqb1nkjc9phs"))))
    (properties `((upstream-name . "reportRmd")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-survival
                             r-scales
                             r-rstatix
                             r-rlang
                             r-plyr
                             r-pander
                             r-mass
                             r-lifecycle
                             r-knitr
                             r-kableextra
                             r-gridextra
                             r-ggpubr
                             r-ggplot2
                             r-geepack
                             r-cowplot
                             r-cmprsk
                             r-aod))
    (native-inputs (list r-rmarkdown r-knitr esbuild))
    (home-page "https://cran.r-project.org/package=reportRmd")
    (synopsis "Tidy Presentation of Clinical Reporting")
    (description
     "Streamlined statistical reporting in Rmarkdown environments.  Facilitates the
automated reporting of descriptive statistics, multiple univariate models,
multivariable models and tables combining these outputs.  Plotting functions
include customisable survival curves, forest plots from logistic and ordinal
regression and bivariate comparison plots.")
    (license license:expat)))

(define-public r-reportreg
  (package
    (name "r-reportreg")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reportReg" version))
       (sha256
        (base32 "0qwrpn61x69hmgln5fpc58dqfa3pba0lgjjyj0f3fh96wc9jyhq1"))))
    (properties `((upstream-name . "reportReg")))
    (build-system r-build-system)
    (propagated-inputs (list r-nlme))
    (home-page "https://cran.r-project.org/package=reportReg")
    (synopsis "An Easy Way to Report Regression Analysis")
    (description
     "This package provides an easy way to report the results of regression analysis,
including: 1.  Proportional hazards regression from function coxph of package
survival'; 2.  Conditional logistic regression from function clogit of package
survival'; 3.  Ordered logistic regression from function polr of package MASS';
4.  Binary logistic regression from function glm of package stats'; 5.  Linear
regression from function lm of package stats'; 6.  Risk regression model for
survival analysis with competing risks from function FGR of package
@code{riskRegression}'; 7.  Multilevel model from function lme of package nlme'.")
    (license license:gpl3)))

(define-public r-reportfactory
  (package
    (name "r-reportfactory")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reportfactory" version))
       (sha256
        (base32 "0mkk9gyd3l6m33mkc6w3fmgrzc6na03kwxxwgn0zb83bjpmyyl1z"))))
    (properties `((upstream-name . "reportfactory")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml
                             r-rstudioapi
                             r-rprojroot
                             r-rmarkdown
                             r-knitr
                             r-fs
                             r-callr))
    (home-page "https://github.com/reconverse/reportfactory")
    (synopsis
     "Lightweight Infrastructure for Handling Multiple R Markdown Documents")
    (description
     "This package provides an infrastructure for handling multiple R Markdown
reports, including automated curation and time-stamping of outputs,
parameterisation and provision of helper functions to manage dependencies.")
    (license license:expat)))

(define-public r-reporterscore
  (package
    (name "r-reporterscore")
    (version "0.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReporterScore" version))
       (sha256
        (base32 "0h56g0mdyldn4j7v3qs0qgspi3gv3jfxf9w5s05sg8rhis64z947"))))
    (properties `((upstream-name . "ReporterScore")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-scales
                             r-reshape2
                             r-pcutils
                             r-magrittr
                             r-ggrepel
                             r-ggplot2
                             r-ggnewscale
                             r-foreach
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/Asa12138/ReporterScore")
    (synopsis
     "Generalized Reporter Score-Based Enrichment Analysis for Omics Data")
    (description
     "Inspired by the classic RSA', we developed the improved Generalized Reporter
Score-based Analysis (GRSA) method, implemented in the R package
@code{ReporterScore}', along with comprehensive visualization methods and
pathway databases.  GRSA is a threshold-free method that works well with all
types of biomedical features, such as genes, chemical compounds, and microbial
species.  Importantly, the GRSA supports multi-group and longitudinal
experimental designs, because of the included multi-group-compatible statistical
methods.")
    (license license:gpl3)))

(define-public r-reporter-nih
  (package
    (name "r-reporter-nih")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repoRter.nih" version))
       (sha256
        (base32 "0y3kx8hj8pg1rn1n8bp46r4nzmbgv6s44w5ydgh47vn8yav635qg"))))
    (properties `((upstream-name . "repoRter.nih")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-purrr
                             r-magrittr
                             r-lubridate
                             r-jsonlite
                             r-janitor
                             r-httr
                             r-dplyr
                             r-crayon
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/bikeactuary/repoRter.nih")
    (synopsis "R Interface to the 'NIH RePORTER Project' API")
    (description
     "This package provides methods to easily build requests in the non-standard JSON
schema required by the National Institute of Health (NIH)'s @code{RePORTER}
Project API <https://api.reporter.nih.gov/#/Search/post_v2_projects_search>.
Also retrieve and process result sets as either a ragged or flattened tibble'.")
    (license license:expat)))

(define-public r-reporter
  (package
    (name "r-reporter")
    (version "1.4.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reporter" version))
       (sha256
        (base32 "15b0by9m0yshjq9ajwwnlbir49d7h7s7f8d4npw942l69i27r7aa"))))
    (properties `((upstream-name . "reporter")))
    (build-system r-build-system)
    (propagated-inputs (list r-zip
                             r-withr
                             r-stringi
                             r-jpeg
                             r-glue
                             r-fmtr
                             r-crayon
                             r-common))
    (native-inputs (list r-knitr))
    (home-page "https://reporter.r-sassy.org")
    (synopsis "Creates Statistical Reports")
    (description
     "This package contains functions to create regulatory-style statistical reports.
Originally designed to create tables, listings, and figures for the
pharmaceutical, biotechnology, and medical device industries, these reports are
generalized enough that they could be used in any industry.  Generates text,
rich-text, PDF, HTML, and Microsoft Word file formats.  The package specializes
in printing wide and long tables with automatic page wrapping and splitting.
Reports can be produced with a minimum of function calls, and without relying on
other table packages.  The package supports titles, footnotes, page header, page
footers, spanning headers, page by variables, and automatic page numbering.")
    (license license:cc0)))

(define-public r-report
  (package
    (name "r-report")
    (version "0.5.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "report" version))
       (sha256
        (base32 "075x4kzqjwrfqp2130ahcvj70vip9k000pg6z48y75ry58y80iyx"))))
    (properties `((upstream-name . "report")))
    (build-system r-build-system)
    (propagated-inputs (list r-performance
                             r-parameters
                             r-insight
                             r-effectsize
                             r-datawizard
                             r-bayestestr))
    (native-inputs (list r-knitr))
    (home-page "https://easystats.github.io/report/")
    (synopsis "Automated Reporting of Results and Statistical Models")
    (description
     "The aim of the report package is to bridge the gap between Râs output and the
formatted results contained in your manuscript.  This package converts
statistical models and data frames into textual reports suited for publication,
ensuring standardization and quality in results reporting.")
    (license license:expat)))

(define-public r-repolr
  (package
    (name "r-repolr")
    (version "3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repolr" version))
       (sha256
        (base32 "13kmy09c7lk8p1mkdss0krcsfb6d7zcnqpwnl38zkanvh8q3fqhm"))))
    (properties `((upstream-name . "repolr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-matrix))
    (home-page "https://cran.r-project.org/package=repolr")
    (synopsis "Repeated Measures Proportional Odds Logistic Regression")
    (description
     "Fits linear models to repeated ordinal scores using GEE methodology.")
    (license license:gpl3)))

(define-public r-repogenerator
  (package
    (name "r-repogenerator")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RepoGenerator" version))
       (sha256
        (base32 "0d6s2sqyycaqrg32xdkp3pr5i7qmvwrfrjcd7f94a9y3lz4bz5b5"))))
    (properties `((upstream-name . "RepoGenerator")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-rstudioapi r-rmarkdown r-httr r-git2r))
    (home-page "https://github.com/jaredlander/RepoGenerator")
    (synopsis
     "Generates a Project and Repo for Easy Initialization of a Workshop")
    (description
     "Generates a project and repo for easy initialization of a @code{GitHub} repo for
R workshops.  The repo includes a README with instructions to ensure that all
users have the needed packages, an RStudio project with the right directories
and the proper data.  The repo can then be used for hosting code taught during
the workshop.")
    (license license:expat)))

(define-public r-repo
  (package
    (name "r-repo")
    (version "2.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repo" version))
       (sha256
        (base32 "13gdka37kbs4mp16pf65bh28f0dkyalrcrdik6lc67jw8r9h94f9"))))
    (properties `((upstream-name . "repo")))
    (build-system r-build-system)
    (propagated-inputs (list r-digest))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=repo")
    (synopsis "Data-Centered Data Flow Manager")
    (description
     "This package provides a data manager meant to avoid manual storage/retrieval of
data to/from the file system.  It builds one (or more) centralized repository
where R objects are stored with rich annotations, including corresponding code
chunks, and easily searched and retrieved.  See Napolitano (2017)
<doi:10.1037/a0028240> for further information.")
    (license license:gpl3)))

(define-public r-repmod
  (package
    (name "r-repmod")
    (version "0.1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repmod" version))
       (sha256
        (base32 "1rpmvxfw2m3bisi5g90sdfm8wmwg2gv9rzblq9kl70kvrs8pj1qs"))))
    (properties `((upstream-name . "repmod")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-officer
                             r-lmertest
                             r-lme4
                             r-flextable
                             r-boot))
    (home-page "https://cran.r-project.org/package=repmod")
    (synopsis "Create Report Table from Different Objects")
    (description
     "This package provides tools for generating descriptives and report tables for
different models, data.frames and tables and exporting them to different
formats.")
    (license license:gpl2+)))

(define-public r-repliscope
  (package
    (name "r-repliscope")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Repliscope" version))
       (sha256
        (base32 "04sxcnsd8vz5kbzqz52iqzwayrmkzc51bcwnfkp53wymiw4vppiz"))))
    (properties `((upstream-name . "Repliscope")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny r-ggplot2 r-colourpicker))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Repliscope")
    (synopsis "Replication Timing Profiling using DNA Copy Number")
    (description
     "Create, Plot and Compare Replication Timing Profiles.  The method is described
in Muller et al., (2014) <doi: 10.1093/nar/gkt878>.")
    (license license:gpl3)))

(define-public r-replicationsuccess
  (package
    (name "r-replicationsuccess")
    (version "1.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReplicationSuccess" version))
       (sha256
        (base32 "0li1sza6afxizfgcczdi8916mb5z63agpx828a48f50ldc25rlvd"))))
    (properties `((upstream-name . "ReplicationSuccess")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://crsuzh.github.io/ReplicationSuccess/")
    (synopsis "Design and Analysis of Replication Studies")
    (description
     "This package provides utilities for the design and analysis of replication
studies.  Features both traditional methods based on statistical significance
and more recent methods such as the sceptical p-value; Held L. (2020)
<doi:10.1111/rssa.12493>, Held et al. (2022) <doi:10.1214/21-AOAS1502>,
Micheloud et al. (2023) <doi:10.1111/stan.12312>.  Also provides related methods
including the harmonic mean chi-squared test; Held, L. (2020)
<doi:10.1111/rssc.12410>, and intrinsic credibility; Held, L. (2019)
<doi:10.1098/rsos.181534>.  Contains datasets from five large-scale replication
projects.")
    (license license:gpl2+)))

(define-public r-replicatedpp2w
  (package
    (name "r-replicatedpp2w")
    (version "0.1-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "replicatedpp2w" version))
       (sha256
        (base32 "10iqzzqck58jz47p46xav28806kpxcsaac8xj4w03lnaza9msm8x"))))
    (properties `((upstream-name . "replicatedpp2w")))
    (build-system r-build-system)
    (propagated-inputs (list r-spatstat-utils r-spatstat-geom
                             r-spatstat-explore r-spatstat))
    (home-page "https://cran.r-project.org/package=replicatedpp2w")
    (synopsis "Two-Way ANOVA-Like Method to Analyze Replicated Point Patterns")
    (description
     "Test for effects of both individual factors and their interaction on replicated
spatial patterns in a two factorial design, as explained in Ramon et al. (2016)
<doi:10.1111/ecog.01848>.")
    (license license:gpl2+)))

(define-public r-replicatebe
  (package
    (name "r-replicatebe")
    (version "1.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "replicateBE" version))
       (sha256
        (base32 "079fkrp9jhp3qr5a1wvz66ldqxbj2pqarmxq5f1adqnyym2aw684"))))
    (properties `((upstream-name . "replicateBE")))
    (build-system r-build-system)
    (propagated-inputs (list r-readxl r-powertost r-pbkrtest r-nlme r-lmertest))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/Helmut01/replicateBE")
    (synopsis "Average Bioequivalence with Expanding Limits (ABEL)")
    (description
     "This package performs comparative bioavailability calculations for Average
Bioequivalence with Expanding Limits (ABEL).  Implemented are Method A / Method
B and the detection of outliers.  If the design allows, assessment of the
empiric Type I Error and iteratively adjusting alpha to control the consumer
risk.  Average Bioequivalence - optionally with a tighter (narrow therapeutic
index drugs) or wider acceptance range (South Africa: Cmax) - is implemented as
well.")
    (license license:gpl3+)))

(define-public r-replicate
  (package
    (name "r-replicate")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Replicate" version))
       (sha256
        (base32 "0kqy248c8n7qr5hwzvqm7flnjlwd60c577r1d4vzgfxn7azd5v3v"))))
    (properties `((upstream-name . "Replicate")))
    (build-system r-build-system)
    (propagated-inputs (list r-metafor r-ggplot2))
    (home-page "https://cran.r-project.org/package=Replicate")
    (synopsis "Statistical Metrics for Multisite Replication Studies")
    (description
     "For a multisite replication project, computes the consistency metric P_orig,
which is the probability that the original study would observe an estimated
effect size as extreme or more extreme than it actually did, if in fact the
original study were statistically consistent with the replications.  Other
recommended metrics are: (1) the probability of a true effect of scientifically
meaningful size in the same direction as the estimate the original study; and
(2) the probability of a true effect of meaningful size in the direction
opposite the original study's estimate.  These two can be computed using the
package \\code{@code{MetaUtility::prop_stronger}}.  Additionally computes older
metrics used in replication projects (namely expected agreement in \"statistical
significance\" between an original study and replication studies as well as
prediction intervals for the replication estimates).  See Mathur and
@code{VanderWeele} (under review; <https://osf.io/apnjk/>) for details.")
    (license license:gpl2)))

(define-public r-replesentr
  (package
    (name "r-replesentr")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REPLesentR" version))
       (sha256
        (base32 "0rwd7hxk12f4f1kpj6sl424yhbxi3h9dz6km5awijazmgv95carz"))))
    (properties `((upstream-name . "REPLesentR")))
    (build-system r-build-system)
    (propagated-inputs (list r-modules r-knitr r-dat))
    (home-page "https://cran.r-project.org/package=REPLesentR")
    (synopsis "Presentations in the REPL")
    (description
     "Create presentations and display them inside the R REPL (Read-Eval-Print loop),
aka the R console.  Presentations can be written in RMarkdown or any other text
format.  A set of convenient navigation options as well as code evaluation
during a presentation is provided.  It is great for tech talks with live coding
examples and tutorials.  While this is not a replacement for standard
presentation formats, it's old-school looks might just be what sets it apart.
This project has been inspired by the REPLesent project for presentations in the
Scala REPL'.")
    (license license:expat)))

(define-public r-replacer
  (package
    (name "r-replacer")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "replacer" version))
       (sha256
        (base32 "1vpa3v64nsxqalw9ca6zysfaqii797mm3qsn4cfdi7q72nl46pr1"))))
    (properties `((upstream-name . "replacer")))
    (build-system r-build-system)
    (propagated-inputs (list r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=replacer")
    (synopsis "Value Replacement Utility")
    (description
     "Updates values within csv format data files using a custom, User-built csv
format lookup file.  Based on data.table package.")
    (license license:gpl3)))

(define-public r-repfdr
  (package
    (name "r-repfdr")
    (version "1.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repfdr" version))
       (sha256
        (base32 "0jpk44arg1jib0h2w90h851bs5cd1ss32fab9bfvf9iir2jk8985"))))
    (properties `((upstream-name . "repfdr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-r-rsp))
    (home-page "https://github.com/barakbri/repfdr")
    (synopsis "Replicability Analysis for Multiple Studies of High Dimension")
    (description
     "Estimation of Bayes and local Bayes false discovery rates for replicability
analysis (Heller & Yekutieli, 2014 <doi:10.1214/13-AOAS697> ; Heller at al.,
2015 <doi: 10.1093/bioinformatics/btu434>).")
    (license license:gpl2+)))

(define-public r-repertoir
  (package
    (name "r-repertoir")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RepertoiR" version))
       (sha256
        (base32 "1m7n7p40n3djy91z8z3gqqwscqgij63rjrj2bqbl3baqz16nf4hc"))))
    (properties `((upstream-name . "RepertoiR")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-stringi
                             r-stringdist
                             r-reshape2
                             r-igraph
                             r-circlize))
    (home-page "https://github.com/systemsbiomed/RepertoiR")
    (synopsis "Repertoire Graphical Visualization")
    (description
     "Visualization platform for T cell receptor repertoire analysis output results.
It includes comparison of sequence frequency among samples, network of similar
sequences and convergent recombination source between species.  Currently
repertoire analysis is in early stage of development and requires new approaches
for repertoire data examination and assessment as we intend to develop.  No
publication is available yet (will be available in the near future), Efroni
(2021) <https:>.")
    (license license:expat)))

(define-public r-repello
  (package
    (name "r-repello")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repello" version))
       (sha256
        (base32 "118m0vybgf5ys856zivn7gvjxqq163gkrhrpyl1avylib4bp3mcq"))))
    (properties `((upstream-name . "repello")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-httr r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/thomasgstewart/repello")
    (synopsis "Reports from Trello in R")
    (description
     "This package creates reports from Trello, a collaborative, project organization
and list-making application. <https://trello.com/> Reports are created by
comparing individual Trello board cards from two different points in time and
documenting any changes made to the cards.")
    (license license:expat)))

(define-public r-repec
  (package
    (name "r-repec")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repec" version))
       (sha256
        (base32 "0alr9fbmfxmnnnn1qymy65crcycynwz435jj0vangbb4p0qhv8pm"))))
    (properties `((upstream-name . "repec")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite))
    (home-page "https://github.com/chrMongeau/repec")
    (synopsis "Access RePEc Data Through API")
    (description
     "Utilities for accessing @code{RePEc} (Research Papers in Economics) through a
RESTful API. You can request a code and get detailed information at the
following page: <https://ideas.repec.org/api.html>.")
    (license license:expat)))

(define-public r-repeatedhighdim
  (package
    (name "r-repeatedhighdim")
    (version "2.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RepeatedHighDim" version))
       (sha256
        (base32 "17zgmw78lz6ymz8371g03kasfnrj5z9dhhfpgjpfq4ba3g0mvxlx"))))
    (properties `((upstream-name . "RepeatedHighDim")))
    (build-system r-build-system)
    (propagated-inputs (list r-rgl
                             r-progress
                             r-nlme
                             r-netmeta
                             r-mvtnorm
                             r-mass
                             r-geometry
                             r-ddalpha))
    (home-page "https://software.klausjung-lab.de")
    (synopsis "Methods for High-Dimensional Repeated Measures Data")
    (description
     "This package provides a toolkit for the analysis of high-dimensional repeated
measurements, providing functions for outlier detection, differential expression
analysis, gene-set tests, and binary random data generation.")
    (license license:gpl3+)))

(define-public r-repeated
  (package
    (name "r-repeated")
    (version "1.1.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repeated" version))
       (sha256
        (base32 "09zpjw2f44vabhxdk2mgcr8xx8hyxgfmszgdnavg2xj77dc948wr"))))
    (properties `((upstream-name . "repeated")))
    (build-system r-build-system)
    (propagated-inputs (list r-rmutil))
    (native-inputs (list gfortran))
    (home-page "https://www.commanster.eu/rcode.html")
    (synopsis "Non-Normal Repeated Measurements Models")
    (description
     "Various functions to fit models for non-normal repeated measurements, such as
Binary Random Effects Models with Two Levels of Nesting, Bivariate Beta-binomial
Regression Models, Marginal Bivariate Binomial Regression Models, Cormack
capture-recapture models, Continuous-time Hidden Markov Chain Models,
Discrete-time Hidden Markov Chain Models, Changepoint Location Models using a
Continuous-time Two-state Hidden Markov Chain, generalized nonlinear
autoregression models, multivariate Gaussian copula models, generalized
non-linear mixed models with one random effect, generalized non-linear mixed
models using h-likelihood for one random effect, Repeated Measurements Models
for Counts with Frailty or Serial Dependence, Repeated Measurements Models for
Continuous Variables with Frailty or Serial Dependence, Ordinal Random Effects
Models with Dropouts, marginal homogeneity models for square contingency tables,
correlated negative binomial models with Kalman update.  References include
Lindsey's text books, JK Lindsey (2001) <isbn:10-0198508123> and JK Lindsey
(1999) <isbn:10-0198505590>.")
    (license license:gpl2+)))

(define-public r-repaymentplan
  (package
    (name "r-repaymentplan")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RepaymentPlan" version))
       (sha256
        (base32 "1fd4n24bd5s2kqmls7mmsidblaf8nzm97kz52mfsb6i6fci0pgah"))))
    (properties `((upstream-name . "RepaymentPlan")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RepaymentPlan")
    (synopsis "Calculation of Mortgage Plan or Repayment Plan")
    (description
     "The function @code{RepaymentPlan}() calculates repayment schedule for
repayment/mortgage plans.")
    (license license:gpl3)))

(define-public r-repana
  (package
    (name "r-repana")
    (version "2.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repana" version))
       (sha256
        (base32 "1iyxyq8fl7cbbw374xc32fsrxsl40306anvyia6fwjr5j5dy7v5g"))))
    (properties `((upstream-name . "repana")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml
                             r-rstudioapi
                             r-rmarkdown
                             r-readr
                             r-processx
                             r-pool
                             r-openxlsx
                             r-magrittr
                             r-lubridate
                             r-dplyr
                             r-digest
                             r-dbi
                             r-config))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/johnaponte/repana")
    (synopsis "Repeatable Analysis in R")
    (description
     "Set of utilities to facilitate the reproduction of analysis in R. It allow to
make_structure(), clean_structure(), and run and log programs in a predefined
order to allow secondary files, analysis and reports be constructed in an
ordered and reproducible form.")
    (license license:gpl3+)))

(define-public r-repairdata
  (package
    (name "r-repairdata")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "repairData" version))
       (sha256
        (base32 "1l5ag952165b0nm59mp9v768dp53xm51ckg01i4c6l04qfzx1lm7"))))
    (properties `((upstream-name . "repairData")))
    (build-system r-build-system)
    (home-page "https://github.com/petzi53/repairData")
    (synopsis "Open Repair Alliance Datasets 2021")
    (description
     "The complete data set of open repair data, full compliant with the Open Repair
Data Standards (ORDS).  It combines the datasets contributed by partner
organizations of the Open Repair Alliance (ORA).  Last updated: 2021-02-22.  The
package also contains via quests enriched datasets on batteries, printer,
mobiles, and tablets.")
    (license license:expat)))

(define-public r-renz
  (package
    (name "r-renz")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "renz" version))
       (sha256
        (base32 "06zj7qkpjvl0zy33d67g4ig9z3mvay66bxz08l0sshgkas9nxbjq"))))
    (properties `((upstream-name . "renz")))
    (build-system r-build-system)
    (propagated-inputs (list r-vgam))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=renz")
    (synopsis "R-Enzymology")
    (description
     "This package contains utilities for the analysis of Michaelian kinetic data.
Beside the classical linearization methods (Lineweaver-Burk, Eadie-Hofstee,
Hanes-Woolf and Eisenthal-Cornish-Bowden), features include the ability to carry
out weighted regression analysis that, in most cases, substantially improves the
estimation of kinetic parameters (Aledo (2021) <doi:10.1002/bmb.21522>).  To
avoid data transformation and the potential biases introduced by them, the
package also offers functions to directly fitting data to the Michaelis-Menten
equation, either using ([S], v) or (time, [S]) data.  Utilities to simulate
substrate progress-curves (making use of the Lambert W function) are also
provided.  The package is accompanied of vignettes that aim to orientate the
user in the choice of the most suitable method to estimate the kinetic parameter
of an Michaelian enzyme.")
    (license license:gpl2+)))

(define-public r-renvmodule
  (package
    (name "r-renvmodule")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RenvModule" version))
       (sha256
        (base32 "1wmz6k0f9lpa8d7qxqm308l7h11k0cj07q3qisfjic5sp308c3d2"))))
    (properties `((upstream-name . "RenvModule")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RenvModule")
    (synopsis
     "Interface to Allow Full Use of the Environment Modules System for Unix")
    (description
     "This package provides environment modules functionality, which enables use of
the Environment Modules system (<http://modules.sourceforge.net/>) from within
the R environment.  By default the user's login shell environment (ie. \"bash
-l\") will be used to initialize the current session.  The module function can
also; load or unload specific software, list all the loaded software within the
current session, and list all the applications available for loading from the
module system.  Lastly, the module function can remove all loaded software from
the current session.")
    (license license:gpl2)))

(define-public r-renvlp
  (package
    (name "r-renvlp")
    (version "3.4.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Renvlp" version))
       (sha256
        (base32 "1af1hjv66kxjljrx1ryr4c8w969jjvdd284nxsh1b7rms80iw16r"))))
    (properties `((upstream-name . "Renvlp")))
    (build-system r-build-system)
    (propagated-inputs (list r-rsolnp r-pls r-orthogonalsplinebasis
                             r-matrixcalc r-matrix))
    (home-page "https://cran.r-project.org/package=Renvlp")
    (synopsis "Computing Envelope Estimators")
    (description
     "This package provides a general routine, @code{envMU}, which allows estimation
of the M envelope of span(U) given root n consistent estimators of M and U. The
routine @code{envMU} does not presume a model.  This package implements response
envelopes, partial response envelopes, envelopes in the predictor space,
heteroscedastic envelopes, simultaneous envelopes, scaled response envelopes,
scaled envelopes in the predictor space, groupwise envelopes, weighted
envelopes, envelopes in logistic regression, envelopes in Poisson regression
envelopes in function-on-function linear regression, envelope-based Partial
Partial Least Squares, envelopes with non-constant error covariance, envelopes
with t-distributed errors, reduced rank envelopes and reduced rank envelopes
with non-constant error covariance.  For each of these model-based routines the
package provides inference tools including bootstrap, cross validation,
estimation and prediction, hypothesis testing on coefficients are included
except for weighted envelopes.  Tools for selection of dimension include AIC,
BIC and likelihood ratio testing.  Background is available at Cook, R. D.,
Forzani, L. and Su, Z. (2016) <doi:10.1016/j.jmva.2016.05.006>.  Optimization is
based on a clockwise coordinate descent algorithm.")
    (license license:gpl2)))

(define-public r-renpow
  (package
    (name "r-renpow")
    (version "0.1-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "renpow" version))
       (sha256
        (base32 "0kbfpzr17fvf5zzxpzdhvfmrqmlkba2w3rzxl5q5ac1w3h75gfhc"))))
    (properties `((upstream-name . "renpow")))
    (build-system r-build-system)
    (home-page "https://www.r-project.org/")
    (synopsis "Renewable Power Systems and the Environment")
    (description
     "Supports calculations and visualization for renewable power systems and the
environment.  Analysis and graphical tools for DC and AC circuits and their use
in electric power systems.  Analysis and graphical tools for thermodynamic
cycles and heat engines, supporting efficiency calculations in coal-fired power
plants, gas-fired power plants.  Calculations of carbon emissions and
atmospheric CO2 dynamics.  Analysis of power flow and demand for the grid, as
well as power models for microgrids and off-grid systems.  Provides resource and
power generation for hydro power, wind power, and solar power.")
    (license license:gpl2+)))

(define-public r-renext
  (package
    (name "r-renext")
    (version "3.1-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Renext" version))
       (sha256
        (base32 "17vg9mjijy80qs9asjbsjfp5nhk056nlqj3w7mld6lbprlbyhkkh"))))
    (properties `((upstream-name . "Renext")))
    (build-system r-build-system)
    (propagated-inputs (list r-numderiv r-evd))
    (home-page "https://github.com/IRSN/Renext")
    (synopsis "Renewal Method for Extreme Values Extrapolation")
    (description
     "Peaks Over Threshold (POT) or methode du renouvellement'.  The distribution for
the excesses can be chosen, and heterogeneous data (including historical data or
block data) can be used in a Maximum-Likelihood framework.")
    (license license:gpl2+)))

(define-public r-rendo
  (package
    (name "r-rendo")
    (version "2.4.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REndo" version))
       (sha256
        (base32 "08wxk8s4bwxbvk4d49dd3nb5nhngd0rvh8nfnncsm0agrly82k78"))))
    (properties `((upstream-name . "REndo")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen
                             r-rcpp
                             r-optimx
                             r-mvtnorm
                             r-matrix
                             r-lmtest
                             r-lme4
                             r-formula
                             r-data-table
                             r-corpcor
                             r-aer))
    (native-inputs (list r-r-rsp))
    (home-page "https://github.com/mmeierer/REndo")
    (synopsis
     "Fitting Linear Models with Endogenous Regressors using Latent Instrumental Variables")
    (description
     "Fits linear models with endogenous regressor using latent instrumental variable
approaches.  The methods included in the package are Lewbel's (1997)
<doi:10.2307/2171884> higher moments approach as well as Lewbel's (2012)
<doi:10.1080/07350015.2012.643126> heteroscedasticity approach, Park and Gupta's
(2012) <doi:10.1287/mksc.1120.0718> joint estimation method that uses Gaussian
copula and Kim and Frees's (2007) <doi:10.1007/s11336-007-9008-1> multilevel
generalized method of moment approach that deals with endogeneity in a
multilevel setting.  These are statistical techniques to address the endogeneity
problem where no external instrumental variables are needed.  See the
publication related to this package in the Journal of Statistical Software for
more details: <doi:10.18637/jss.v107.i03>.  Note that with version 2.0.0
sweeping changes were introduced which greatly improve functionality and
usability but break backwards compatibility.")
    (license license:gpl3)))

(define-public r-rena
  (package
    (name "r-rena")
    (version "0.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rENA" version))
       (sha256
        (base32 "136rlzm4pkip0j1zhn4ycsfmq4hjwvhp4d5359wsjkym6lr9n846"))))
    (properties `((upstream-name . "rENA")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales
                             r-rcpparmadillo
                             r-rcpp
                             r-r6
                             r-plotly
                             r-magrittr
                             r-foreach
                             r-doparallel
                             r-data-table
                             r-concatenate))
    (home-page "https://gitlab.com/epistemic-analytics/qe-packages/rENA")
    (synopsis "Epistemic Network Analysis")
    (description
     "ENA (Shaffer, D. W. (2017) Quantitative Ethnography.  ISBN: 0578191687) is a
method used to identify meaningful and quantifiable patterns in discourse or
reasoning.  ENA moves beyond the traditional frequency-based assessments by
examining the structure of the co-occurrence, or connections in coded data.
Moreover, compared to other methodological approaches, ENA has the novelty of
(1) modeling whole networks of connections and (2) affording both quantitative
and qualitative comparisons between different network models.  Shaffer, D.W.,
Collier, W., & Ruis, A.R. (2016).")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-ren
  (package
    (name "r-ren")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REN" version))
       (sha256
        (base32 "0cw22p8qy5fv3y3xwplwj0ydfr12l8nymsnyg1iksyqa6jah01y2"))))
    (properties `((upstream-name . "REN")))
    (build-system r-build-system)
    (propagated-inputs (list r-tictoc
                             r-reshape2
                             r-quadprog
                             r-matrix
                             r-lubridate
                             r-glmnet
                             r-ggplot2
                             r-foreach
                             r-doparallel
                             r-corpcor))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=REN")
    (synopsis "Regularization Ensemble for Robust Portfolio Optimization")
    (description
     "Portfolio optimization is achieved through a combination of regularization
techniques and ensemble methods that are designed to generate stable
out-of-sample return predictions, particularly in the presence of strong
correlations among assets.  The package includes functions for data preparation,
parallel processing, and portfolio analysis using methods such as Mean-Variance,
James-Stein, LASSO, Ridge Regression, and Equal Weighting.  It also provides
visualization tools and performance metrics, such as the Sharpe ratio,
volatility, and maximum drawdown, to assess the results.")
    (license license:agpl3+)))

(define-public r-remstimate
  (package
    (name "r-remstimate")
    (version "2.3.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remstimate" version))
       (sha256
        (base32 "0sa1fxpy9cpfxkm9pkb7kq6qbkv9bvq900j2182yrsx4g02sxa41"))))
    (properties `((upstream-name . "remstimate")))
    (build-system r-build-system)
    (propagated-inputs (list r-trust
                             r-remstats
                             r-remify
                             r-rcpparmadillo
                             r-rcpp
                             r-mvnfast))
    (native-inputs (list r-knitr))
    (home-page "https://tilburgnetworkgroup.github.io/remstimate/")
    (synopsis
     "Optimization Frameworks for Tie-Oriented and Actor-Oriented Relational Event Models")
    (description
     "This package provides a comprehensive set of tools designed for optimizing
likelihood within a tie-oriented (Butts, C., 2008,
<doi:10.1111/j.1467-9531.2008.00203.x>) or an actor-oriented modelling framework
(Stadtfeld, C., & Block, P., 2017, <doi:10.15195/v4.a14>) in relational event
networks.  The package accommodates both frequentist and Bayesian approaches.
The frequentist approaches that the package incorporates are the Maximum
Likelihood Optimization (MLE) and the Gradient-based Optimization (GDADAMAX).
The Bayesian methodologies included in the package are the Bayesian Sampling
Importance Resampling (BSIR) and the Hamiltonian Monte Carlo (HMC).  The
flexibility of choosing between frequentist and Bayesian optimization approaches
allows researchers to select the estimation approach which aligns the most with
their analytical preferences.")
    (license license:expat)))

(define-public r-remstats
  (package
    (name "r-remstats")
    (version "3.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remstats" version))
       (sha256
        (base32 "0ismgr1kj35hgaiam0xs03y28jmxl030l3xb46c45cdg44avhhdk"))))
    (properties `((upstream-name . "remstats")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppprogress r-rcpparmadillo r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://tilburgnetworkgroup.github.io/remstats/")
    (synopsis "Computes Statistics for Relational Event History Data")
    (description
     "Computes a variety of statistics for relational event models.  Relational event
models enable researchers to investigate both exogenous and endogenous factors
influencing the evolution of a time-ordered sequence of events.  These models
are categorized into tie-oriented models (Butts, C., 2008,
<doi:10.1111/j.1467-9531.2008.00203.x>), where the probability of a dyad
interacting next is modeled in a single step, and actor-oriented models
(Stadtfeld, C., & Block, P., 2017, <doi:10.15195/v4.a14>), which first model the
probability of a sender initiating an interaction and subsequently the
probability of the sender's choice of receiver.  The package is designed to
compute a variety of statistics that summarize exogenous and endogenous
influences on the event stream for both types of models.")
    (license license:expat)))

(define-public r-remss
  (package
    (name "r-remss")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remss" version))
       (sha256
        (base32 "15s3qvcfyp1880ddzpvgiw3q5av21052iy1vnpw0hib5pb7xfkfb"))))
    (properties `((upstream-name . "remss")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=remss")
    (synopsis "Refining Evaluation Methodology on Stage System")
    (description
     "T (extent of the primary tumor), N (absence or presence and extent of regional
lymph node metastasis) and M (absence or presence of distant metastasis) are
three components to describe the anatomical tumor extent.  TNM stage is
important in treatment decision-making and outcome predicting.  The existing
oropharyngeal Cancer (OPC) TNM stages have not made distinction of the two sub
sites of Human papillomavirus positive (HPV+) and Human papillomavirus negative
(HPV-) diseases.  We developed novel criteria to assess performance of the TNM
stage grouping schemes based on parametric modeling adjusting on important
clinical factors.  These criteria evaluate the TNM stage grouping scheme in five
different measures: hazard consistency, hazard discrimination, explained
variation, likelihood difference, and balance.  The methods are described in Xu,
W., et al. (2015)
<https://www.austinpublishinggroup.com/biometrics/fulltext/biometrics-v2-id1014.php>.")
    (license license:gpl2)))

(define-public r-rempsyc
  (package
    (name "r-rempsyc")
    (version "0.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rempsyc" version))
       (sha256
        (base32 "0y5b0cv6zpdg51jlxkhnyvpk55v4pd188y87q2rx1zkj82v6cdlh"))))
    (properties `((upstream-name . "rempsyc")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://rempsyc.remi-theriault.com")
    (synopsis "Convenience Functions for Psychology")
    (description
     "Make your workflow faster and easier.  Easily customizable plots (via ggplot2'),
nice APA tables (following the style of the *American Psychological
Association*) exportable to Word (via flextable'), easily run statistical tests
or check assumptions, and automatize various other tasks.")
    (license license:gpl3+)))

(define-public r-remoteparts
  (package
    (name "r-remoteparts")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remotePARTS" version))
       (sha256
        (base32 "0rhbvqiixzzwkyicd1w75xvbchhillsdwllgrglsbn04b4hzqa73"))))
    (properties `((upstream-name . "remotePARTS")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen
                             r-rcpp
                             r-iterators
                             r-geosphere
                             r-foreach
                             r-doparallel
                             r-compquadform))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/morrowcj/remotePARTS")
    (synopsis "Spatiotemporal Autoregression Analyses for Large Data Sets")
    (description
     "These tools were created to test map-scale hypotheses about trends in large
remotely sensed data sets but any data with spatial and temporal variation can
be analyzed.  Tests are conducted using the PARTS method for analyzing spatially
autocorrelated time series (Ives et al., 2021: <doi:10.1016/j.rse.2021.112678>).
 The method's unique approach can handle extremely large data sets that other
spatiotemporal models cannot, while still appropriately accounting for spatial
and temporal autocorrelation.  This is done by partitioning the data into
smaller chunks, analyzing chunks separately and then combining the separate
analyses into a single, correlated test of the map-scale hypotheses.")
    (license license:gpl3+)))

(define-public r-remote
  (package
    (name "r-remote")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remote" version))
       (sha256
        (base32 "1ihzjxbvas7396cwsi9am4pl94naxa9dnhbnh8k0l5p4a50mk33w"))))
    (properties `((upstream-name . "remote")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales
                             r-rcpp
                             r-raster
                             r-mapdata
                             r-latticeextra
                             r-gridextra))
    (home-page "https://cran.r-project.org/package=remote")
    (synopsis "Empirical Orthogonal Teleconnections in R")
    (description
     "Empirical orthogonal teleconnections in R. remote is short for R(-based)
EMpirical Orthogonal TEleconnections'.  It implements a collection of functions
to facilitate empirical orthogonal teleconnection analysis.  Empirical
Orthogonal Teleconnections (EOTs) denote a regression based approach to
decompose spatio-temporal fields into a set of independent orthogonal patterns.
They are quite similar to Empirical Orthogonal Functions (EOFs) with EOTs
producing less abstract results.  In contrast to EOFs, which are orthogonal in
both space and time, EOT analysis produces patterns that are orthogonal in
either space or time.")
    (license (list license:gpl3+
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-remmy
  (package
    (name "r-remmy")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remmy" version))
       (sha256
        (base32 "180b943fb1134r22avidv0s8gvsbx21kpl865l1xfzz95gzj6d7w"))))
    (properties `((upstream-name . "remmy")))
    (build-system r-build-system)
    (propagated-inputs (list r-httr2 r-curl))
    (home-page "https://github.com/long39ng/remmy")
    (synopsis "API Client for 'Lemmy'")
    (description
     "An HTTP API client for Lemmy (<https://github.com/@code{LemmyNet/lemmy>}) in R.
Code and documentation are generated from the official @code{JavaScript} client
source (<https://github.com/@code{LemmyNet/lemmy-js-client>}).")
    (license license:expat)))

(define-public r-remm
  (package
    (name "r-remm")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rEMM" version))
       (sha256
        (base32 "13pxw0np8pn895wcb3rxvc0s7ayr968567fx4p2z8gnz2hp7g62j"))))
    (properties `((upstream-name . "rEMM")))
    (build-system r-build-system)
    (propagated-inputs (list r-stream
                             r-proxy
                             r-mass
                             r-igraph
                             r-clustergeneration
                             r-cluster))
    (home-page "https://github.com/mhahsler/rEMM")
    (synopsis
     "Extensible Markov Model for Modelling Temporal Relationships Between Clusters")
    (description
     "This package implements TRACDS (Temporal Relationships between Clusters for Data
Streams), a generalization of Extensible Markov Model (EMM).  TRACDS adds a
temporal or order model to data stream clustering by superimposing a dynamically
adapting Markov Chain.  Also provides an implementation of EMM (TRACDS on top of
@code{tNN} data stream clustering).  Development of this package was supported
in part by NSF IIS-0948893 and R21HG005912 from the National Human Genome
Research Institute.  Hahsler and Dunham (2010) <doi:10.18637/jss.v035.i05>.")
    (license license:gpl2)))

(define-public r-remla
  (package
    (name "r-remla")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REMLA" version))
       (sha256
        (base32 "1j094h38047vlbql8vvlbbdnwxqpw7vnvc08qa2c95jqw8kvhwa6"))))
    (properties `((upstream-name . "REMLA")))
    (build-system r-build-system)
    (propagated-inputs (list r-gparotation r-geex))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/knieser/REM")
    (synopsis
     "Robust Expectation-Maximization Estimation for Latent Variable Models")
    (description
     "Traditional latent variable models assume that the population is homogeneous,
meaning that all individuals in the population are assumed to have the same
latent structure.  However, this assumption is often violated in practice given
that individuals may differ in their age, gender, socioeconomic status, and
other factors that can affect their latent structure.  The robust expectation
maximization (REM) algorithm is a statistical method for estimating the
parameters of a latent variable model in the presence of population
heterogeneity as recommended by Nieser & Cochran (2023)
<doi:10.1037/met0000413>.  The REM algorithm is based on the
expectation-maximization (EM) algorithm, but it allows for the case when all the
data are generated by the assumed data generating model.")
    (license license:gpl3+)))

(define-public r-remiod
  (package
    (name "r-remiod")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remiod" version))
       (sha256
        (base32 "1darwljspxm6mkkp0d7xx375kvhlfwpzxc93yr2mb0mwi2877yi9"))))
    (properties `((upstream-name . "remiod")))
    (build-system r-build-system)
    (inputs (list jags))
    (propagated-inputs (list r-survival
                             r-rjags
                             r-progressr
                             r-ordinal
                             r-mcmcse
                             r-matrix
                             r-mathjaxr
                             r-jointai
                             r-ggplot2
                             r-future
                             r-foreach
                             r-dofuture
                             r-data-table
                             r-coda))
    (native-inputs (list r-r-rsp r-knitr))
    (home-page "https://github.com/xsswang/remiod")
    (synopsis
     "Reference-Based Multiple Imputation for Ordinal/Binary Response")
    (description
     "Reference-based multiple imputation of ordinal and binary responses under
Bayesian framework, as described in Wang and Liu (2022)
<@code{arXiv:2203.02771>}.  Methods for missing-not-at-random include
Jump-to-Reference (J2R), Copy Reference (CR), and Delta Adjustment which can
generate tipping point analysis.")
    (license license:gpl2+)))

(define-public r-remindr
  (package
    (name "r-remindr")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remindR" version))
       (sha256
        (base32 "0b27v2qm3z8l9vcng8f0rkphjidxkw5n017ysflx180qjizqq632"))))
    (properties `((upstream-name . "remindR")))
    (build-system r-build-system)
    (propagated-inputs (list r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=remindR")
    (synopsis "Insert and Extract \"Reminders\" from Function Comments")
    (description
     "Insert/extract text \"reminders\" into/from function source code comments or as
the \"comment\" attribute of any object.  The former can be handy in development
as reminders of e.g. argument requirements, expected objects in the calling
environment, required options settings, etc.  The latter can be used to provide
information of the object and as simple manual \"tooltips\" for users, among other
things.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-remify
  (package
    (name "r-remify")
    (version "3.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remify" version))
       (sha256
        (base32 "062bgggz4bkzm3ijpghsrlf9q813zmzisxdwgzlizpqhzppwvzig"))))
    (properties `((upstream-name . "remify")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-igraph))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/TilburgNetworkGroup/remify")
    (synopsis "Processing and Transforming Relational Event History Data")
    (description
     "Efficiently processes relational event history data and transforms them into
formats suitable for other packages.  The primary objective of this package is
to convert event history data into a format that integrates with the packages in
remverse and is compatible with various analytical tools (e.g., computing
network statistics, estimating tie-oriented or actor-oriented social network
models).  Second, it can also transform the data into formats compatible with
other packages out of remverse'.  The package processes the data for two types
of temporal social network models: tie-oriented modeling framework (Butts, C.,
2008, <doi:10.1111/j.1467-9531.2008.00203.x>) and actor-oriented modeling
framework (Stadtfeld, C., & Block, P., 2017, <doi:10.15195/v4.a14>).")
    (license license:expat)))

(define-public r-remfpca
  (package
    (name "r-remfpca")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReMFPCA" version))
       (sha256
        (base32 "0q7jzya5is4ik8cjirnhixcpgda5s9a450pyksyzc05fmn7rw3rc"))))
    (properties `((upstream-name . "ReMFPCA")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6 r-matrix r-fda r-expm))
    (home-page "https://github.com/haghbinh/ReMFPCA")
    (synopsis
     "Regularized Multivariate Functional Principal Component Analysis")
    (description
     "This package provides methods and tools for implementing regularized
multivariate functional principal component analysis ('@code{ReMFPCA}') for
multivariate functional data whose variables might be observed over different
dimensional domains. @code{ReMFPCA} is an object-oriented interface leveraging
the extensibility and scalability of R6.  It employs a parameter vector to
control the smoothness of each functional variable.  By incorporating smoothness
constraints as penalty terms within a regularized optimization framework,
@code{ReMFPCA} generates smooth multivariate functional principal components,
offering a concise and interpretable representation of the data.  For detailed
information on the methods and techniques used in @code{ReMFPCA}', please refer
to Haghbin et al. (2023) <doi:10.48550/@code{arXiv.2306.13980>}.")
    (license license:gpl2+)))

(define-public r-remedy
  (package
    (name "r-remedy")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remedy" version))
       (sha256
        (base32 "1lsa5az9jwy4ngjmfzcb7qj4wm8phsgajlnp5kwa4nav0g1dhb4s"))))
    (properties `((upstream-name . "remedy")))
    (build-system r-build-system)
    (propagated-inputs (list r-rstudioapi r-rematch2 r-knitr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ThinkR-open/remedy")
    (synopsis "'RStudio' Addins to Simplify 'Markdown' Writing")
    (description
     "An RStudio addin providing shortcuts for writing in Markdown'.  This package
provides a series of functions that allow the user to be more efficient when
using Markdown'.  For example, you can select a word, and put it in bold or in
italics, or change the alignment of elements inside you Rmd.  The idea is to map
all the functionalities from remedy on keyboard shortcuts, so that it provides
an interface close to what you can find in any other text editor.")
    (license license:expat)))

(define-public r-remap
  (package
    (name "r-remap")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "remap" version))
       (sha256
        (base32 "1g3gy7bacyx16rpzdsfwhp9cw3kcm9r4mafrbj9hb50hsyp940yj"))))
    (properties `((upstream-name . "remap")))
    (build-system r-build-system)
    (propagated-inputs (list r-units r-sf))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jadonwagstaff/remap")
    (synopsis "Regional Spatial Modeling with Continuous Borders")
    (description
     "Automatically creates separate regression models for different spatial regions.
The prediction surface is smoothed using a regional border smoothing method.  If
regional models are continuous, the resulting prediction surface is continuous
across the spatial dimensions, even at region borders.  Methodology is described
in Wagstaff and Bean (2023) <doi:10.32614/RJ-2023-004>.")
    (license license:gpl3)))

(define-public r-rema
  (package
    (name "r-rema")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rema" version))
       (sha256
        (base32 "15b68pynac9ff9bina0mf94absvfsn21xcdmvd4lbl97pxwj83ph"))))
    (properties `((upstream-name . "rema")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-rcpp r-progress))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rema")
    (synopsis "Rare Event Meta Analysis")
    (description
     "The rema package implements a permutation-based approach for binary
meta-analyses of 2x2 tables, founded on conditional logistic regression, that
provides more reliable statistical tests when heterogeneity is observed in rare
event data (Zabriskie et al.  2021 <doi:10.1002/sim.9142>).  To adjust for the
effect of heterogeneity, this method conditions on the sufficient statistic of a
proxy for the heterogeneity effect as opposed to estimating the heterogeneity
variance.  While this results in the model not strictly falling under the
random-effects framework, it is akin to a random-effects approach in that it
assumes differences in variability due to treatment.  Further, this method does
not rely on large-sample approximations or continuity corrections for rare event
data.  This method uses the permutational distribution of the test statistic
instead of asymptotic approximations for inference.  The number of observed
events drives the computation complexity for creating this permutational
distribution.  Accordingly, for this method to be computationally feasible, it
should only be applied to meta-analyses with a relatively low number of observed
events.  To create this permutational distribution, a network algorithm, based
on the work of Mehta et al. (1992) <doi:10.2307/1390598> and Corcoran et al.
(2001) <doi:10.1111/j.0006-341x.2001.00941.x>, is employed using C++ and
integrated into the package.")
    (license (list license:gpl3+
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rem
  (package
    (name "r-rem")
    (version "1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rem" version))
       (sha256
        (base32 "1q4p26irhhl1lvc0ydv9wmng1y635zm16szpl7gwq1kyn2p90rai"))))
    (properties `((upstream-name . "rem")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=rem")
    (synopsis "Relational Event Models (REM)")
    (description
     "Calculate endogenous network effects in event sequences and fit relational event
models (REM): Using network event sequences (where each tie between a sender and
a target in a network is time-stamped), REMs can measure how networks form and
evolve over time.  Endogenous patterns such as popularity effects, inertia,
similarities, cycles or triads can be calculated and analyzed over time.")
    (license license:gpl2+)))

(define-public r-relsurv
  (package
    (name "r-relsurv")
    (version "2.2-9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relsurv" version))
       (sha256
        (base32 "0y2dsyiqqzyc0rnnf3nna1saww3ipngknz462h9qv5y02rf46rp9"))))
    (properties `((upstream-name . "relsurv")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-scales r-pammtools r-ggplot2 r-date))
    (home-page "https://cran.r-project.org/package=relsurv")
    (synopsis "Relative Survival")
    (description
     "This package contains functions for analysing relative survival data, including
nonparametric estimators of net (marginal relative) survival, relative survival
ratio, crude mortality, methods for fitting and checking additive and
multiplicative regression models, transformation approach, methods for dealing
with population mortality tables.  Work has been described in Pohar Perme,
Pavlic (2018) <doi:10.18637/jss.v087.i08>.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-relsim
  (package
    (name "r-relsim")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relSim" version))
       (sha256
        (base32 "1f2dz25hkh2ak7cypn3zj9rabj3z7d59q4yhrrq4f6mzdki80d15"))))
    (properties `((upstream-name . "relSim")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-xml2
                             r-stringr
                             r-rvest
                             r-rcpp
                             r-multicool))
    (home-page "https://cran.r-project.org/package=relSim")
    (synopsis "Relative Simulator")
    (description
     "This package provides a set of tools to explore the behaviour statistics used
for forensic DNA interpretation when close relatives are involved.  The package
also offers some useful tools for exploring other forensic DNA situations.")
    (license license:gpl2+)))

(define-public r-relmix
  (package
    (name "r-relmix")
    (version "1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relMix" version))
       (sha256
        (base32 "17b0121yqnkl36jkn03qzlkhibl528jz95rzrj602jf2gpah4a9x"))))
    (properties `((upstream-name . "relMix")))
    (build-system r-build-system)
    (propagated-inputs (list r-pedtools
                             r-pedfamilias
                             r-officer
                             r-gwidgets2tcltk
                             r-gwidgets2
                             r-flextable
                             r-familias))
    (native-inputs (list r-knitr))
    (home-page "https://gdorum.github.io/relMix/")
    (synopsis "Relationship Inference for DNA Mixtures")
    (description
     "Analysis of DNA mixtures involving relatives by computation of likelihood ratios
that account for dropout and drop-in, mutations, silent alleles and population
substructure.  This is useful in kinship cases, like non-invasive prenatal
paternity testing, where deductions about individuals relationships rely on DNA
mixtures, and in criminal cases where the contributors to a mixed DNA stain may
be related.  Relationships are represented by pedigrees and can include kinship
between more than two individuals.  The main function is @code{relMix}() and its
graphical user interface @code{relMixGUI}().  The implementation and method is
described in Dorum et al. (2017) <doi:doi.org/10.1007/s00414-016-1526-x>,
Hernandis et al. (2019) <doi:doi.org/10.1016/j.fsigss.2019.09.085> and Kaur et
al. (2016) <doi:doi.org/10.1007/s00414-015-1276-1>.")
    (license license:gpl2+)))

(define-public r-relliptical
  (package
    (name "r-relliptical")
    (version "1.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relliptical" version))
       (sha256
        (base32 "1d978ig1k6drb4imz04j28l1xbb04vl8l5iirhmlm096i7bn3psx"))))
    (properties `((upstream-name . "relliptical")))
    (build-system r-build-system)
    (propagated-inputs (list r-ryacas0
                             r-rdpack
                             r-rcpparmadillo
                             r-rcpp
                             r-matrixcalc
                             r-fuzzynumbers-ext-2))
    (home-page "https://cran.r-project.org/package=relliptical")
    (synopsis "The Truncated Elliptical Family of Distributions")
    (description
     "It offers random numbers generation from members of the truncated multivariate
elliptical family of distribution such as the truncated versions of the Normal,
Student-t, Laplace, Pearson VII, Slash, Logistic, among others.  Particular
distributions can be provided by specifying the density generating function.  It
also computes the first two moments (covariance matrix as well) for some
particular distributions.  References used for this package: Galarza, C. E.,
Matos, L. A., Castro, L. M., and Lachos, V. H. (2022).  Moments of the doubly
truncated selection elliptical distributions with emphasis on the unified
multivariate skew-t distribution.  Journal of Multivariate Analysis, 189, 104944
<doi:10.1016/j.jmva.2021.104944>; Ho, H. J., Lin, T. I., Chen, H. Y., and Wang,
W. L. (2012).  Some results on the truncated multivariate t distribution.
Journal of Statistical Planning and Inference, 142(1), 25-40
<doi:10.1016/j.jspi.2011.06.006>; Valeriano, K. A., Galarza, C. E., and Matos,
L. A. (2021).  Moments and random number generation for the truncated elliptical
family of distributions.  Statistics and Computing, 33(1), 32
<doi:10.1007/s11222-022-10200-4>.")
    (license license:gpl2+)))

(define-public r-relimppcr
  (package
    (name "r-relimppcr")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RelimpPCR" version))
       (sha256
        (base32 "04ab20clx9hdk1mi3rvkkaqaxypyb27w5d90y3qpnxhgy1bjqs6r"))))
    (properties `((upstream-name . "RelimpPCR")))
    (build-system r-build-system)
    (propagated-inputs (list r-rmisc
                             r-reshape2
                             r-relaimpo
                             r-logger
                             r-ggplot2
                             r-caret))
    (home-page "https://github.com/mhernan88/RelimpPCR")
    (synopsis "Relative Importance PCA Regression")
    (description
     "This package performs Principal Components Analysis (also known as PCA)
dimensionality reduction in the context of a linear regression.  In most cases,
PCA dimensionality reduction is performed independent of the response variable
for a regression.  This captures the majority of the variance of the model's
predictors, but may not actually be the optimal dimensionality reduction
solution for a regression against the response variable.  An alternative method,
optimized for a regression against the response variable, is to use both PCA and
a relative importance measure.  This package applies PCA to a given data frame
of predictors, and then calculates the relative importance of each PCA factor
against the response variable.  It outputs ordered factors that are optimized
for model fit.  By performing dimensionality reduction with this method, an
individual can achieve a the same r-squared value as performing just PCA, but
with fewer PCA factors.  References: Yuri Balasanov (2017) <https://ilykei.com>.")
    (license license:expat)))

(define-public r-relimp
  (package
    (name "r-relimp")
    (version "1.0-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relimp" version))
       (sha256
        (base32 "0ydn82g8xdqzhf34187080bbpcpw1zdjbj2i3dv1d6d35vvprb5c"))))
    (properties `((upstream-name . "relimp")))
    (build-system r-build-system)
    (home-page "http://warwick.ac.uk/relimp")
    (synopsis "Relative Contribution of Effects in a Regression Model")
    (description
     "This package provides functions to facilitate inference on the relative
importance of predictors in a linear or generalized linear model, and a couple
of useful Tcl/Tk widgets.")
    (license license:gpl2+)))

(define-public r-reliagrowr
  (package
    (name "r-reliagrowr")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReliaGrowR" version))
       (sha256
        (base32 "1ml5k9ya4xf0a3d6i73323riyr6hn09dyvgaf3yjv0mpjx2ci506"))))
    (properties `((upstream-name . "ReliaGrowR")))
    (build-system r-build-system)
    (propagated-inputs (list r-segmented))
    (native-inputs (list r-knitr))
    (home-page "https://paulgovan.github.io/ReliaGrowR/")
    (synopsis "Reliability Growth Analysis")
    (description
     "Modeling and plotting functions for Reliability Growth Analysis (RGA).  Models
include the Duane (1962) <doi:10.1109/TA.1964.4319640>, Non-Homogeneous Poisson
Process (NHPP) by Crow (1975) <https://apps.dtic.mil/sti/citations/ADA020296>,
Piecewise Weibull NHPP by Guo et al. (2010) <doi:10.1109/RAMS.2010.5448029>, and
Piecewise Weibull NHPP with Change Point Detection based on the segmented
package by Muggeo (2024) <https://cran.r-project.org/package=segmented>.")
    (license (license:fsdg-compatible "CC BY 4.0"))))

(define-public r-reliabilitytheory
  (package
    (name "r-reliabilitytheory")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReliabilityTheory" version))
       (sha256
        (base32 "0844p7fxbj1c5zazli32kmz7sdffcf4nya3z5g2xhib90iswc2kk"))))
    (properties `((upstream-name . "ReliabilityTheory")))
    (build-system r-build-system)
    (propagated-inputs (list r-sfsmisc
                             r-phasetype
                             r-mcmc
                             r-igraph
                             r-fraction
                             r-combinat
                             r-actuar))
    (home-page "https://www.louisaslett.com/")
    (synopsis "Structural Reliability Analysis")
    (description
     "Perform structural reliability analysis, including computation and simulation
with system signatures, Samaniego (2007) <doi:10.1007/978-0-387-71797-5>, and
survival signatures, Coolen and Coolen-Maturi (2013)
<doi:10.1007/978-3-642-30662-4_8>.  Additionally supports parametric and
topological inference given system lifetime data, Aslett (2012)
<https://www.louisaslett.com/@code{PhD_Thesis.pdf>}.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-reliabilitydiag
  (package
    (name "r-reliabilitydiag")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reliabilitydiag" version))
       (sha256
        (base32 "1gi1ym48fl0n5migaav8sqz62xa567c68p5f3w9l1y3pqdqrw0qw"))))
    (properties `((upstream-name . "reliabilitydiag")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-tidyr
                             r-tibble
                             r-rlang
                             r-purrr
                             r-magrittr
                             r-ggplot2
                             r-ggextra
                             r-dplyr
                             r-bde))
    (home-page "https://github.com/aijordan/reliabilitydiag/")
    (synopsis "Reliability Diagrams Using Isotonic Regression")
    (description
     "Checking the reliability of predictions via the CORP approach, which generates
provably statistically C'onsistent, O'ptimally binned, and R'eproducible
reliability diagrams using the P'ool-adjacent-violators algorithm.  See
Dimitriadis, Gneiting, Jordan (2021) <doi:10.1073/pnas.2016191118>.")
    (license license:gpl3)))

(define-public r-relgam
  (package
    (name "r-relgam")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relgam" version))
       (sha256
        (base32 "0bfsk2pc3vdk8wgdfpz80x0f9p0z37sq114swqn6z11p298hwf2x"))))
    (properties `((upstream-name . "relgam")))
    (build-system r-build-system)
    (propagated-inputs (list r-glmnet r-foreach))
    (native-inputs (list r-knitr))
    (home-page "https://arxiv.org/abs/1912.01808")
    (synopsis "Reluctant Generalized Additive Models")
    (description
     "This package provides a method for fitting the entire regularization path of the
reluctant generalized additive model (RGAM) for linear regression, logistic,
Poisson and Cox regression models.  See Tay, J. K., and Tibshirani, R., (2019)
<@code{arXiv:1912.01808>} for details.")
    (license license:gpl3)))

(define-public r-relevent
  (package
    (name "r-relevent")
    (version "1.2-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relevent" version))
       (sha256
        (base32 "13nvz6gsjqm10hc9fy9vf4x39grj65ynlmy9v4fww02pzih89zjj"))))
    (properties `((upstream-name . "relevent")))
    (build-system r-build-system)
    (propagated-inputs (list r-trust r-sna r-coda))
    (home-page "https://cran.r-project.org/package=relevent")
    (synopsis "Relational Event Models")
    (description
     "This package provides tools to fit and simulate realizations from relational
event models.")
    (license license:gpl2+)))

(define-public r-relevance
  (package
    (name "r-relevance")
    (version "2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relevance" version))
       (sha256
        (base32 "1x6abdraxzyf1anmxsx82g4am4hamj0cpayvhbph51dcf49wkvh0"))))
    (properties `((upstream-name . "relevance")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=relevance")
    (synopsis "Calculate Relevance and Significance Measures")
    (description
     "Calculates relevance and significance values for simple models and for many
types of regression models.  These are introduced in Stahel, Werner A. (2021)
\"Measuring Significance and Relevance instead of p-values.\"
<https://stat.ethz.ch/~stahel/relevance/stahel-relevance2103.pdf>.  These
notions are also applied to replication studies, as described in the manuscript
Stahel, Werner A. (2022) \"'Replicability': Terminology, Measuring Success, and
Strategy\" available in the documentation.")
    (license license:gpl2)))

(define-public r-relectoral
  (package
    (name "r-relectoral")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Relectoral" version))
       (sha256
        (base32 "0kpdafdvpcs6iicpc10i634nlk7dqk2nymdnnlkpp5frdxlbycvx"))))
    (properties `((upstream-name . "Relectoral")))
    (build-system r-build-system)
    (propagated-inputs (list r-xlsx
                             r-sf
                             r-rmarkdown
                             r-readxl
                             r-ggplot2
                             r-ggforce
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Relectoral")
    (synopsis "Electoral Analysis")
    (description
     "This package provides functions to obtain an important number of electoral
indicators described in the package, which can be divided into two large
sections: The first would be the one containing the indicators of electoral
disproportionality, such as, Rae index, LoosemoreâHanby index, etc.  The
second group is intended to study the dimensions of the party system vote,
through the indicators of electoral fragmentation, polarization, volatility,
etc.  Moreover, multiple seat allocation simulations can also be performed based
on different allocation systems, such as the D'Hondt method, Sainte-LaguÃ«, etc.
 Finally, some of these functions have been built so that, if the user wishes,
the data provided by the Spanish Ministry of Home Office for different electoral
processes held in Spain can be obtained automatically.  All the above will allow
the users to carry out deep studies on the results obtained in any type of
electoral process.  The methods are described in: OÃ±ate, Pablo and OcaÃ±a,
Francisco A. (1999, ISBN:9788474762815); Ruiz RodrÃ­guez, Leticia M. and Otero
Felipe, Patricia (2011, ISBN:9788474766226).")
    (license license:gpl2)))

(define-public r-reldists
  (package
    (name "r-reldists")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RelDists" version))
       (sha256
        (base32 "1dxgn8gs80cvk0i8q1j4fpayazv01hly16jawf32m03irml6kl6c"))))
    (properties `((upstream-name . "RelDists")))
    (build-system r-build-system)
    (propagated-inputs (list r-zipfr
                             r-vgam
                             r-survival
                             r-rdpack
                             r-lamw
                             r-gamlss-dist
                             r-gamlss
                             r-estimationtools
                             r-bbmisc))
    (native-inputs (list r-knitr))
    (home-page "https://ousuga.github.io/RelDists/")
    (synopsis "Estimation for some Reliability Distributions")
    (description
     "Parameters estimation and linear regression models for Reliability distributions
families reviewed by Almalki & Nadarajah (2014) <doi:10.1016/j.ress.2013.11.010>
using Generalized Additive Models for Location, Scale and Shape, aka GAMLSS by
Rigby & Stasinopoulos (2005) <doi:10.1111/j.1467-9876.2005.00510.x>.")
    (license license:gpl3)))

(define-public r-relcircle
  (package
    (name "r-relcircle")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relcircle" version))
       (sha256
        (base32 "109fc4zngsrwxszij1y4y0mvzfnyv6f90d2imfrppa5aaivrq07j"))))
    (properties `((upstream-name . "relcircle")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=relcircle")
    (synopsis "Draw Regulatory Relationships Between Genes")
    (description
     "According to the order of the loci on the chromosome, the loci can be connected
according to the interrelationship between them and classified according to
different locus types.")
    (license license:gpl3+)))

(define-public r-relatedness
  (package
    (name "r-relatedness")
    (version "2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Relatedness" version))
       (sha256
        (base32 "1aidklwk8q2wdfsmhlbd3vzq9kzsyh4wn1g28biyb6lq7iwq1hl4"))))
    (properties `((upstream-name . "Relatedness")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=Relatedness")
    (synopsis
     "Maximum Likelihood Estimation of Relatedness using EM Algorithm")
    (description
     "Inference of relatedness coefficients from a bi-allelic genotype matrix using a
Maximum Likelihood estimation, Laporte, F., Charcosset, A. and Mary-Huard, T.
(2017) <doi:10.1111/biom.12634>.")
    (license license:agpl3)))

(define-public r-relatable
  (package
    (name "r-relatable")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relatable" version))
       (sha256
        (base32 "0147gin6dn76gg7gassar64f0w2gny1sh0k60v7914qhb4sj4s7i"))))
    (properties `((upstream-name . "relatable")))
    (build-system r-build-system)
    (propagated-inputs (list r-compare))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/domjarkey/relatable")
    (synopsis
     "Functions for Mapping Key-Value Pairs, Many-to-Many, One-to-Many, and Many-to-One Relations")
    (description
     "This package provides functions to safely map from a vector of keys to a vector
of values, determine properties of a given relation, or ensure a relation
conforms to a given type, such as many-to-many, one-to-many, injective,
surjective, or bijective.  Permits default return values for use similar to a
vectorised switch statement, as well as safely handling large vectors, NAs, and
duplicate mappings.")
    (license license:expat)))

(define-public r-relaimpo
  (package
    (name "r-relaimpo")
    (version "2.2-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "relaimpo" version))
       (sha256
        (base32 "1430p6kxh582k0saagns6mxz7qp6myf6n66hp1p02isl61w3w6sa"))))
    (properties `((upstream-name . "relaimpo")))
    (build-system r-build-system)
    (propagated-inputs (list r-survey r-mitools r-mass r-corpcor r-boot))
    (home-page "https://prof.bht-berlin.de/groemping/relaimpo/")
    (synopsis "Relative Importance of Regressors in Linear Models")
    (description
     "This package provides several metrics for assessing relative importance in
linear models.  These can be printed, plotted and bootstrapped.  The recommended
metric is lmg, which provides a decomposition of the model explained variance
into non-negative contributions.  There is a version of this package available
that additionally provides a new and also recommended metric called pmvd.  If
you are a non-US user, you can download this extended version from Ulrike
Groempings web site.")
    (license license:gpl2)))

(define-public r-reinsurer
  (package
    (name "r-reinsurer")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reinsureR" version))
       (sha256
        (base32 "19ayikzcq6z4i7xrlby76yy2nwvrsv6xdfrmvzyr7rz934flh8kd"))))
    (properties `((upstream-name . "reinsureR")))
    (build-system r-build-system)
    (propagated-inputs (list r-viridislite r-viridis r-ggplot2 r-dplyr
                             r-data-table))
    (home-page "https://cran.r-project.org/package=reinsureR")
    (synopsis "Reinsurance Treaties Application")
    (description
     "Application of reinsurance treaties to claims portfolios.  The package creates a
class Claims whose objective is to store claims and premiums, on which different
treaties can be applied.  A statistical analysis can then be applied to measure
the impact of reinsurance, producing a table or graphical output.  This package
can be used for estimating the impact of reinsurance on several portfolios or
for pricing treaties through statistical analysis.  Documentation for the
implemented methods can be found in \"Reinsurance: Actuarial and Statistical
Aspects\" by HansjÃ¶erg Albrecher, Jan Beirlant, Jozef L. Teugels (2017, ISBN:
978-0-470-77268-3) and \"REINSURANCE: A Basic Guide to Facultative and Treaty
Reinsurance\" by Munich Re (2010)
<https://www.munichre.com/site/mram/get/documents_E96160999/mram/assetpool.mr_america/PDFs/3_Publications/reinsurance_basic_guide.pdf>.")
    (license license:gpl2+)))

(define-public r-reinstallr
  (package
    (name "r-reinstallr")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reinstallr" version))
       (sha256
        (base32 "0yr1fzfahxqffjh5vm6y6b0iay8p0cirlzq2z4hlz7nci57fx5yr"))))
    (properties `((upstream-name . "reinstallr")))
    (build-system r-build-system)
    (home-page "https://github.com/calligross/reinstallr/")
    (synopsis "Search and Install Missing Packages")
    (description
     "Search R files for not installed packages and run install.packages.")
    (license license:gpl3)))

(define-public r-reins
  (package
    (name "r-reins")
    (version "1.0.14")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReIns" version))
       (sha256
        (base32 "1qqgphlc7wl541nx7qrkbc66414gy0l2pi164h03ndw0s7x7k4g7"))))
    (properties `((upstream-name . "ReIns")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-rcpp r-foreach r-doparallel))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/TReynkens/ReIns")
    (synopsis
     "Functions from \"Reinsurance: Actuarial and Statistical Aspects\"")
    (description
     "This package provides functions from the book \"Reinsurance: Actuarial and
Statistical Aspects\" (2017) by Hansjoerg Albrecher, Jan Beirlant and Jef Teugels
<https://www.wiley.com/en-us/Reinsurance%3A+Actuarial+and+Statistical+Aspects-p-9780470772683>.")
    (license license:gpl2+)))

(define-public r-reinforcementlearning
  (package
    (name "r-reinforcementlearning")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReinforcementLearning" version))
       (sha256
        (base32 "0zk1hy4p5adyjm1430a8ad5acn9qaax1si8qqfxqayfmlj954sj9"))))
    (properties `((upstream-name . "ReinforcementLearning")))
    (build-system r-build-system)
    (propagated-inputs (list r-hash r-ggplot2 r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=ReinforcementLearning")
    (synopsis "Model-Free Reinforcement Learning")
    (description
     "This package performs model-free reinforcement learning in R. This
implementation enables the learning of an optimal policy based on sample
sequences consisting of states, actions and rewards.  In addition, it supplies
multiple predefined reinforcement learning algorithms, such as experience
replay.  Methodological details can be found in Sutton and Barto (1998)
<ISBN:0262039249>.")
    (license license:expat)))

(define-public r-rehydrator
  (package
    (name "r-rehydrator")
    (version "0.5.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rehydratoR" version))
       (sha256
        (base32 "1d94m9hv1l72l9lph2vzbq4qqbfcgyhv2qk82p9vb8l2ckavjzvv"))))
    (properties `((upstream-name . "rehydratoR")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-rtweet r-jsonlite r-dplyr))
    (home-page "https://kevincoakley.github.io/rehydratoR/")
    (synopsis "Downloads Tweets from a List of Tweet IDs")
    (description
     "Facilitates replication of Twitter-based research by handling common programming
tasks needed when downloading tweets.  Specifically, it ensures a user does not
exceed Twitterâs rate limits, and it saves tweets in moderately sized files.
While a user could perform these tasks in their own code, doing so may be beyond
the capabilities of many users.")
    (license license:bsd-3)))

(define-public r-rehh-data
  (package
    (name "r-rehh-data")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rehh.data" version))
       (sha256
        (base32 "1jkvwmnnmfa7iyvrabgcfzw3vfzx0dlgq47s6yf4zayi437v4di0"))))
    (properties `((upstream-name . "rehh.data")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rehh.data")
    (synopsis
     "Data Only: Searching for Footprints of Selection using Haplotype Homozygosity Based Tests")
    (description "This package contains example data for the rehh package.")
    (license license:gpl2+)))

(define-public r-rehh
  (package
    (name "r-rehh")
    (version "3.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rehh" version))
       (sha256
        (base32 "1kgabmg0vq8psdhkfcpdv3iy8gj5hmqzhb8bs8rld49nhnnbqs2x"))))
    (properties `((upstream-name . "rehh")))
    (build-system r-build-system)
    (propagated-inputs (list r-rehh-data))
    (native-inputs (list r-knitr))
    (home-page "https://CRAN.R-project.org/package=rehh")
    (synopsis
     "Searching for Footprints of Selection using 'Extended Haplotype Homozygosity' Based Tests")
    (description
     "Population genetic data such as Single Nucleotide Polymorphisms (SNPs) is often
used to identify genomic regions that have been under recent natural or
artificial selection and might provide clues about the molecular mechanisms of
adaptation.  One approach, the concept of an Extended Haplotype Homozygosity
(EHH), introduced by (Sabeti 2002) <doi:10.1038/nature01140>, has given rise to
several statistics designed for whole genome scans.  The package provides
functions to compute three of these, namely: @code{iHS} (Voight 2006)
<doi:10.1371/journal.pbio.0040072> for detecting positive or Darwinian selection
within a single population as well as Rsb (Tang 2007)
<doi:10.1371/journal.pbio.0050171> and XP-EHH (Sabeti 2007)
<doi:10.1038/nature06250>, targeted at differential selection between two
populations.  Various plotting functions are included to facilitate
visualization and interpretation of these statistics.")
    (license license:gpl2+)))

(define-public r-regtools
  (package
    (name "r-regtools")
    (version "1.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regtools" version))
       (sha256
        (base32 "00g50dcfy93rgy9a2l24rsjgwk1575gxhpg9dy5r9928nwwd6lx9"))))
    (properties `((upstream-name . "regtools")))
    (build-system r-build-system)
    (propagated-inputs (list r-text2vec
                             r-sandwich
                             r-rje
                             r-r-utils
                             r-polyreg
                             r-mvtnorm
                             r-mass
                             r-gtools
                             r-glmnet
                             r-fnn
                             r-data-table
                             r-car))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/matloff/regtools")
    (synopsis "Regression and Classification Tools")
    (description
     "This package provides tools for linear, nonlinear and nonparametric regression
and classification.  Novel graphical methods for assessment of parametric models
using nonparametric methods.  One vs. All and All vs. All multiclass
classification, optional class probabilities adjustment.  Nonparametric
regression (k-NN) for general dimension, local-linear option.  Nonlinear
regression with Eickert-White method for dealing with heteroscedasticity.
Utilities for converting time series to rectangular form.  Utilities for
conversion between factors and indicator variables.  Some code related to
\"Statistical Regression and Classification: from Linear Models to Machine
Learning\", N. Matloff, 2017, CRC, ISBN 9781498710916.")
    (license license:gpl2+)))

(define-public r-regtomean
  (package
    (name "r-regtomean")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regtomean" version))
       (sha256
        (base32 "0xw0pany9cwfxdn26ckk6fdjnqx1916288mhphsnvwns3383nq4k"))))
    (properties `((upstream-name . "regtomean")))
    (build-system r-build-system)
    (propagated-inputs (list r-sjplot
                             r-sjmisc
                             r-sjlabelled
                             r-plyr
                             r-plotrix
                             r-mefa
                             r-formattable
                             r-effsize))
    (home-page "https://cran.r-project.org/package=regtomean")
    (synopsis "Regression Toward the Mean")
    (description
     "In repeated measures studies with extreme large or small values it is common
that the subjects measurements on average are closer to the mean of the basic
population.  Interpreting possible changes in the mean in such situations can
lead to biased results since the values were not randomly selected, they come
from truncated sampling.  This method allows to estimate the range of means
where treatment effects are likely to occur when regression toward the mean is
present.  Ostermann, T., Willich, Stefan N. & Luedtke, Rainer. (2008).
Regression toward the mean - a detection method for unknown population mean
based on Mee and Chua's algorithm.  BMC Medical Research
Methodology.<doi:10.1186/1471-2288-8-52>.")
    (license license:expat)))

(define-public r-regsubseq
  (package
    (name "r-regsubseq")
    (version "0.12")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regsubseq" version))
       (sha256
        (base32 "0879r4r8kpr8jd6a3fa9cifm7cv0sqzz8z1alkm1b2fr1625md3g"))))
    (properties `((upstream-name . "regsubseq")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=regsubseq")
    (synopsis "Detect and Test Regular Sequences and Subsequences")
    (description
     "For a sequence of event occurence times, we are interested in finding
subsequences in it that are too \"regular\".  We define regular as being
significantly different from a homogeneous Poisson process.  The departure from
the Poisson process is measured using a L1 distance.  See Di and Perlman 2007
for more details.")
    (license license:gpl2)))

(define-public r-regspec
  (package
    (name "r-regspec")
    (version "2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regspec" version))
       (sha256
        (base32 "1n70820i5g8rk27vxmfl17d8ad4iz5fda4ba4sbkcd6sc93ycndy"))))
    (properties `((upstream-name . "regspec")))
    (build-system r-build-system)
    (home-page "https://doi.org/10.1111/rssa.12210")
    (synopsis "Non-Parametric Bayesian Spectrum Estimation for Multirate Data")
    (description
     "Computes linear Bayesian spectral estimates from multirate	data for second-order
stationary time series.  Provides credible intervals and methods for plotting
various spectral estimates.  Please see the paper `Should we sample a time
series more frequently? (doi below) for a full description of and motivation for
the methodology.")
    (license license:gpl2)))

(define-public r-regsdc
  (package
    (name "r-regsdc")
    (version "0.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RegSDC" version))
       (sha256
        (base32 "19fr0xyaw8zyqy039mdcqs09ar500vwqmsmwn0id6llhxy3wpiiy"))))
    (properties `((upstream-name . "RegSDC")))
    (build-system r-build-system)
    (propagated-inputs (list r-ssbtools r-matrix r-mass))
    (home-page "https://github.com/olangsrud/RegSDC")
    (synopsis
     "Information Preserving Regression-Based Tools for Statistical Disclosure Control")
    (description
     "Implementation of the methods described in the paper with the above title:
Langsrud, Ã. (2019) <doi:10.1007/s11222-018-9848-9>.  The package can be used
to generate synthetic or hybrid continuous microdata, and the relationship to
the original data can be controlled in several ways.  A function for replacing
suppressed tabular cell frequencies with decimal numbers is included.")
    (license (list license:asl2.0
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-regrsm
  (package
    (name "r-regrsm")
    (version "0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regRSM" version))
       (sha256
        (base32 "0nbp3yjk9r7qvwm7wla39155rmqnvpdb720iq3b0hcy1bbsxbk9s"))))
    (properties `((upstream-name . "regRSM")))
    (build-system r-build-system)
    (propagated-inputs (list r-rmpi r-foreach r-doparallel))
    (home-page "http://www.ipipan.eu/~teisseyrep/SOFTWARE/")
    (synopsis "Random Subspace Method (RSM) for Linear Regression")
    (description
     "This package performs Random Subspace Method (RSM) for high-dimensional linear
regression to obtain variable importance measures.  The final model is chosen
based on validation set or Generalized Information Criterion.")
    (license (list license:lgpl2.0 license:lgpl3 license:gpl2 license:gpl3))))

(define-public r-regrrr
  (package
    (name "r-regrrr")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regrrr" version))
       (sha256
        (base32 "1ih27mgqfzjlas97rvj18s8j3p0bpwb03vr71yrq776vzv1v6fcs"))))
    (properties `((upstream-name . "regrrr")))
    (build-system r-build-system)
    (propagated-inputs (list r-usdm
                             r-tidyr
                             r-stringr
                             r-scales
                             r-robustbase
                             r-purrr
                             r-mumin
                             r-magrittr
                             r-lspline
                             r-ggplot2
                             r-dplyr))
    (home-page "https://cran.r-project.org/package=regrrr")
    (synopsis
     "Toolkit for Compiling, (Post-Hoc) Testing, and Plotting Regression Results")
    (description
     "Compiling regression results into a publishable format, conducting post-hoc
hypothesis testing, and plotting moderating effects (the effect of X on Y
becomes stronger/weaker as Z increases).")
    (license license:gpl3)))

(define-public r-regressor
  (package
    (name "r-regressor")
    (version "3.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regressoR" version))
       (sha256
        (base32 "0c7kxhkcy02vlb0fabf70bzkrk6l7rsvj7ppx3nxhjrhfp7p8j2m"))))
    (properties `((upstream-name . "regressoR")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-trainer
                             r-shinyjs
                             r-shinydashboardplus
                             r-shinydashboard
                             r-shinycustomloader
                             r-shinyace
                             r-shiny
                             r-rpart-plot
                             r-rlang
                             r-pls
                             r-loader
                             r-htmltools
                             r-golem
                             r-glmnet
                             r-echarts4r
                             r-dt
                             r-dplyr))
    (native-inputs (list esbuild))
    (home-page "https://promidat.website/")
    (synopsis "Regression Data Analysis System")
    (description
     "Perform a supervised data analysis on a database through a shiny graphical
interface.  It includes methods such as linear regression, penalized regression,
k-nearest neighbors, decision trees, ada boosting, extreme gradient boosting,
random forest, neural networks, deep learning and support vector machines.")
    (license license:gpl2+)))

(define-public r-regressionfactory
  (package
    (name "r-regressionfactory")
    (version "0.7.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RegressionFactory" version))
       (sha256
        (base32 "0mhyjqp8x66zwnbxpwq3a8180z48rrm7hp50028grb2x19lp8qkd"))))
    (properties `((upstream-name . "RegressionFactory")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RegressionFactory")
    (synopsis
     "Expander Functions for Generating Full Gradient and Hessian from Single-Slot and Multi-Slot Base Distributions")
    (description
     "The expander functions rely on the mathematics developed for the
Hessian-definiteness invariance theorem for linear projection transformations of
variables, described in authors paper, to generate the full, high-dimensional
gradient and Hessian from the lower-dimensional derivative objects.  This
greatly relieves the computational burden of generating the regression-function
derivatives, which in turn can be fed into any optimization routine that
utilizes such derivatives.  The theorem guarantees that Hessian definiteness is
preserved, meaning that reasoning about this property can be performed in the
low-dimensional space of the base distribution.  This is often a much easier
task than its equivalent in the full, high-dimensional space.  Definiteness of
Hessian can be useful in selecting optimization/sampling algorithms such as
Newton-Raphson optimization or its sampling equivalent, the Stochastic Newton
Sampler.  Finally, in addition to being a computational tool, the regression
expansion framework is of conceptual value by offering new opportunities to
generate novel regression problems.")
    (license license:gpl2+)))

(define-public r-regressinator
  (package
    (name "r-regressinator")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regressinator" version))
       (sha256
        (base32 "1wl8xsy0q1g9rv203yl9jkqxi2cwfb80zax43vs6zr1ibyb3vf2d"))))
    (properties `((upstream-name . "regressinator")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-rlang
                             r-purrr
                             r-nullabor
                             r-insight
                             r-ggplot2
                             r-dplyr
                             r-dharma
                             r-cli
                             r-broom))
    (native-inputs (list r-knitr))
    (home-page "https://www.refsmmat.com/regressinator/")
    (synopsis "Simulate and Diagnose (Generalized) Linear Models")
    (description
     "Simulate samples from populations with known covariate distributions, generate
response variables according to common linear and generalized linear model
families, draw from sampling distributions of regression estimates, and perform
visual inference on diagnostics from model fits.")
    (license license:expat)))

(define-public r-regress
  (package
    (name "r-regress")
    (version "1.3-21")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regress" version))
       (sha256
        (base32 "0mkf1dyg0r09ifdvmc3g6b0q0h819j0kfh1cb33r1vsr8yfjvgbz"))))
    (properties `((upstream-name . "regress")))
    (build-system r-build-system)
    (home-page "https://github.com/kbroman/regress")
    (synopsis "Gaussian Linear Models with Linear Covariance Structure")
    (description
     "This package provides functions to fit Gaussian linear model by maximising the
residual log likelihood where the covariance structure can be written as a
linear combination of known matrices.  Can be used for multivariate models and
random effects models.  Easy straight forward manner to specify random effects
models, including random interactions.  Code now optimised to use Sherman
Morrison Woodbury identities for matrix inversion in random effects models.
We've added the ability to fit models using any kernel as well as a function to
return the mean and covariance of random effects conditional on the data (best
linear unbiased predictors, BLUPs).  Clifford and @code{McCullagh} (2006)
<https://www.r-project.org/doc/Rnews/Rnews_2006-2.pdf>.")
    (license license:gpl2)))

(define-public r-regreplacer
  (package
    (name "r-regreplacer")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regreplaceR" version))
       (sha256
        (base32 "1f3szaxvfqvcapb20xfbdyk4d8qyyabkkym71mw4hd2j5vg5gr6d"))))
    (properties `((upstream-name . "regreplaceR")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/gwangjinkim/regreplaceR")
    (synopsis
     "Match and Replace Strings Based on Named Groups in Regular Expressions")
    (description
     "An R6 class \"Replacer\" provided by the package simplifies working with regex
patterns containing named groups.  It allows easy retrieval of matched portions
and targeted replacements by group name, improving both code clarity and
maintainability.")
    (license license:expat)))

(define-public r-regrap
  (package
    (name "r-regrap")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regrap" version))
       (sha256
        (base32 "0yrxhlam7jmxwk1v53kllv6ja1m938symfvqp84xb278r3wb1wv7"))))
    (properties `((upstream-name . "regrap")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm))
    (home-page "https://cran.r-project.org/package=regrap")
    (synopsis "Reverse Graphical Approaches")
    (description
     "The graphical approach is proposed as a general framework for clinical trial
designs involving multiple hypotheses, where decisions are made only based on
the observed marginal p-values.  A reverse graphical approach starts from a set
of singleton graphs, and gradually add vertices into graphs until rejection of a
set of hypotheses is made.  See Gou, J. (2020).  Reverse graphical approaches
for multiple test procedures.  Technical Report.")
    (license license:gpl3)))

(define-public r-regr-easy
  (package
    (name "r-regr-easy")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regr.easy" version))
       (sha256
        (base32 "18b4lznnyqyz4y5ig1dp21kmxqc488c199ss5j91i2v5d1qj2sk8"))))
    (properties `((upstream-name . "regr.easy")))
    (build-system r-build-system)
    (propagated-inputs (list r-stargazer r-ggplot2))
    (home-page "https://cran.r-project.org/package=regr.easy")
    (synopsis "Easy Linear, Quadratic and Cubic Regression Models")
    (description
     "Focused on linear, quadratic and cubic regression models, it has a function for
calculating the models, obtaining a list with their parameters, and a function
for making the graphs for the respective models.")
    (license license:gpl3)))

(define-public r-regport
  (package
    (name "r-regport")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regport" version))
       (sha256
        (base32 "0mbx1ja1mbhd0z7jcxjrs6b8ldp87ym21fyqigx3w295kh9zm0xx"))))
    (properties `((upstream-name . "regport")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-rlang
                             r-r6
                             r-parameters
                             r-glue
                             r-forestploter
                             r-dplyr
                             r-data-table
                             r-broom-helpers))
    (home-page "https://github.com/ShixiangWang/regport")
    (synopsis "Regression Model Processing Port")
    (description
     "This package provides R6 classes, methods and utilities to construct, analyze,
summarize, and visualize regression models.")
    (license license:expat)))

(define-public r-regplot
  (package
    (name "r-regplot")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regplot" version))
       (sha256
        (base32 "048w0hnd2y8k27msjhw2g4ygck6i09698qk24sz7563z82gvj52w"))))
    (properties `((upstream-name . "regplot")))
    (build-system r-build-system)
    (propagated-inputs (list r-vioplot r-survival r-sm r-lme4 r-beanplot))
    (home-page "https://cran.r-project.org/package=regplot")
    (synopsis "Enhanced Regression Nomogram Plot")
    (description
     "This package provides a function to plot a regression nomogram of regression
objects.  Covariate distributions are superimposed on nomogram scales and the
plot can be animated to allow on-the-fly changes to distribution representation
and to enable outcome calculation.")
    (license license:gpl2)))

(define-public r-rego
  (package
    (name "r-rego")
    (version "1.6.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rego" version))
       (sha256
        (base32 "1givsz2myip3q7q0y8gmmv1n28f6d3haky5l43s1rz0v24x1s1hz"))))
    (properties `((upstream-name . "rego")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://channelattribution.io/docs/rego")
    (synopsis "Automatic Time Series Forecasting and Missing Value Imputation")
    (description
     "Machine learning algorithm for predicting and imputing time series.  It can
automatically set all the parameters needed, thus in the minimal configuration
it only requires the target variable and the dependent variables if present.  It
can address large problems with hundreds or thousands of dependent variables and
problems in which the number of dependent variables is greater than the number
of observations.  Moreover it can be used not only for time series but also for
any other real valued target variable.  The algorithm implemented includes a
Bayesian stochastic search methodology for model selection and a robust
estimation based on bootstrapping.  rego is fast because all the code is C++.")
    (license license:expat)))

(define-public r-regnet
  (package
    (name "r-regnet")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regnet" version))
       (sha256
        (base32 "13d2awfq68im3zqab0pqg8mdi7ns7bam3ln94ysl8k86qi19i6ax"))))
    (properties `((upstream-name . "regnet")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-igraph r-glmnet))
    (home-page "https://github.com/jrhub/regnet")
    (synopsis "Network-Based Regularization for Generalized Linear Models")
    (description
     "Network-based regularization has achieved success in variable selection for
high-dimensional biological data due to its ability to incorporate correlations
among genomic features.  This package provides procedures of network-based
variable selection for generalized linear models (Ren et al. (2017)
<doi:10.1186/s12863-017-0495-5> and Ren et al.(2019) <doi:10.1002/gepi.22194>).
Continuous, binary, and survival response are supported.  Robust network-based
methods are available for continuous and survival responses.")
    (license license:gpl2)))

(define-public r-regmhmm
  (package
    (name "r-regmhmm")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regmhmm" version))
       (sha256
        (base32 "19w4r94n67wab3jswh0pdyj7237aijfxhz18s6cr9h4m9bldkvji"))))
    (properties `((upstream-name . "regmhmm")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-mass r-glmnetutils
                             r-glmnet))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/HenryLeongStat/regmhmm")
    (synopsis "'regmhmm' Fits Hidden Markov Models with Regularization")
    (description
     "Designed for longitudinal data analysis using Hidden Markov Models (HMMs).
Tailored for applications in healthcare, social sciences, and economics, the
main emphasis of this package is on regularization techniques for fitting HMMs.
Additionally, it provides an implementation for fitting HMMs without
regularization, referencing Zucchini et al. (2017, ISBN:9781315372488).")
    (license license:gpl3+)))

(define-public r-regmedint
  (package
    (name "r-regmedint")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regmedint" version))
       (sha256
        (base32 "1f8p19a1m6qyypjfv8yr1gcqx6djjjkly3xxkp5fy5pldm7ik2sk"))))
    (properties `((upstream-name . "regmedint")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-sandwich
                             r-matrix
                             r-mass
                             r-deriv
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://kaz-yos.github.io/regmedint/")
    (synopsis
     "Regression-Based Causal Mediation Analysis with Interaction and Effect Modification Terms")
    (description
     "This is an extension of the regression-based causal mediation analysis first
proposed by Valeri and @code{VanderWeele} (2013) <doi:10.1037/a0031034> and
Valeri and @code{VanderWeele} (2015) <doi:10.1097/EDE.0000000000000253>).  It
supports including effect measure modification by covariates(treatment-covariate
and mediator-covariate product terms in mediator and outcome regression models)
as proposed by Li et al (2023) <doi:10.1097/EDE.0000000000001643>.  It also
accommodates the original SAS macro and PROC CAUSALMED procedure in SAS when
there is no effect measure modification.  Linear and logistic models are
supported for the mediator model.  Linear, logistic, loglinear, Poisson,
negative binomial, Cox, and accelerated failure time (exponential and Weibull)
models are supported for the outcome model.")
    (license license:gpl2)))

(define-public r-regmed
  (package
    (name "r-regmed")
    (version "2.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regmed" version))
       (sha256
        (base32 "1m74865y2pahk50a149nv8aqkiilg23hbyijwmdcpqgi94ys40h3"))))
    (properties `((upstream-name . "regmed")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo
                             r-rcpp
                             r-lavaan
                             r-knitr
                             r-igraph
                             r-gtools
                             r-glasso))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=regmed")
    (synopsis "Regularized Mediation Analysis")
    (description
     "Mediation analysis for multiple mediators by penalized structural equation
models with different types of penalties depending on whether there are multiple
mediators and only one exposure and one outcome variable (using sparse group
lasso) or multiple exposures, multiple mediators, and multiple outcome variables
(using lasso, L1, penalties).")
    (license license:gpl2+)))

(define-public r-reglogit
  (package
    (name "r-reglogit")
    (version "1.2-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reglogit" version))
       (sha256
        (base32 "0mknx71h24kbh4agarkhrfp2wz1kjvd34kv0c6qy0f1jwvr3kzr6"))))
    (properties `((upstream-name . "reglogit")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm r-matrix r-boot))
    (home-page "https://bobby.gramacy.com/r_packages/reglogit/")
    (synopsis "Simulation-Based Regularized Logistic Regression")
    (description
     "Regularized (polychotomous) logistic regression by Gibbs sampling.  The package
implements subtly different MCMC schemes with varying efficiency depending on
the data type (binary v.  binomial, say) and the desired estimator (regularized
maximum likelihood, or Bayesian maximum a posteriori/posterior mean, etc.)
through a unified interface.  For details, see Gramacy & Polson (2012
<doi:10.1214/12-BA719>).")
    (license license:lgpl2.0+)))

(define-public r-regkink
  (package
    (name "r-regkink")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RegKink" version))
       (sha256
        (base32 "1q7jpsh3al18i2dv67lmv5d6jgiy2px8jaxwkgg62njisk8c5qng"))))
    (properties `((upstream-name . "RegKink")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass))
    (home-page "https://cran.r-project.org/package=RegKink")
    (synopsis "Regression Kink with a Time-Varying Threshold")
    (description
     "An algorithm is proposed to estimate regression kink model proposed by the
paper, Lixiong Yang and Jen-Je Su (2018) <doi:10.1016/j.jimonfin.2018.06.002>.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-registr
  (package
    (name "r-registr")
    (version "2.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "registr" version))
       (sha256
        (base32 "033kvhcx27g0vw85gi8xb035wijqb6xsg8jjskqpp4l1gw3a1v1c"))))
    (properties `((upstream-name . "registr")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-rcpparmadillo
                             r-rcpp
                             r-purrr
                             r-pbs
                             r-mgcv
                             r-matrix
                             r-mass
                             r-magrittr
                             r-lme4
                             r-gamm4
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=registr")
    (synopsis "Curve Registration for Exponential Family Functional Data")
    (description
     "This package provides a method for performing joint registration and functional
principal component analysis for curves (functional data) that are generated
from exponential family distributions.  This mainly implements the algorithms
described in Wrobel et al. (2019) <doi:10.1111/biom.12963> and further adapts
them to potentially incomplete curves where (some) curves are not observed from
the beginning and/or until the end of the common domain.  Curve registration can
be used to better understand patterns in functional data by separating curves
into phase and amplitude variability.  This software handles both binary and
continuous functional data, and is especially applicable in accelerometry and
wearable technology.")
    (license license:expat)))

(define-public r-regions
  (package
    (name "r-regions")
    (version "0.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regions" version))
       (sha256
        (base32 "16i0w1my9zfwh0p9qvc3vcid0r6rb6gbvvrx03vbg81l6cxrglr4"))))
    (properties `((upstream-name . "regions")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-readxl
                             r-purrr
                             r-magrittr
                             r-here
                             r-glue
                             r-dplyr
                             r-countrycode
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://regions.dataobservatory.eu/")
    (synopsis "Processing Regional Statistics")
    (description
     "Validating sub-national statistical typologies, re-coding across standard
typologies of sub-national statistics, and making valid aggregate level
imputation, re-aggregation, re-weighting and projection down to lower
hierarchical levels to create meaningful data panels and time series.")
    (license license:gpl3)))

(define-public r-regioncode
  (package
    (name "r-regioncode")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regioncode" version))
       (sha256
        (base32 "1q3d2s6x79i7v7phspabk3m7kld74jplv5wda9ybpyv1vzdinx99"))))
    (properties `((upstream-name . "regioncode")))
    (build-system r-build-system)
    (propagated-inputs (list r-pinyin r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=regioncode")
    (synopsis "Convert Region Names and Division Codes of China Over Years")
    (description
     "This package provides a tool to conquer the difficulties to convert various
region names and administration division codes of Chinese regions.  The current
version enables seamlessly converting Chinese regions formal names, common-used
names, and codes between each other at the city level from 1986 to 2019.")
    (license license:expat)))

(define-public r-regional
  (package
    (name "r-regional")
    (version "0.4.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regional" version))
       (sha256
        (base32 "1z41hwkgh8c9xzil95gam6d1pi4m2788xc26d0r0wbynrxjdpqq4"))))
    (properties `((upstream-name . "regional")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra r-philentropy))
    (home-page "https://jakubnowosad.com/regional/")
    (synopsis "Intra- and Inter-Regional Similarity")
    (description
     "Calculates intra-regional and inter-regional similarities based on user-provided
spatial vector objects (regions) and spatial raster objects (cells with values).
 Implemented metrics include inhomogeneity, isolation (Haralick and Shapiro
(1985) <doi:10.1016/S0734-189X(85)90153-7>, Jasiewicz et al. (2018)
<doi:10.1016/j.cageo.2018.06.003>), and distinction (Nowosad (2021)
<doi:10.1080/13658816.2021.1893324>).")
    (license license:expat)))

(define-public r-regexselect
  (package
    (name "r-regexselect")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regexSelect" version))
       (sha256
        (base32 "0xnb9qa8l63ang4r40ky4qhlrs5mbzvmj98dgij26j3mq1ys1pa7"))))
    (properties `((upstream-name . "regexSelect")))
    (build-system r-build-system)
    (propagated-inputs (list r-shinyjs r-shiny))
    (home-page "https://github.com/yonicd/regexSelect")
    (synopsis "Regular Expressions in 'shiny' Select Lists")
    (description
     "shiny extension that adds regular expression filtering capabilities to the
choice vector of the select list.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-regexpipes
  (package
    (name "r-regexpipes")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regexPipes" version))
       (sha256
        (base32 "1hk0rhvmgzcyf5cyl8hjznl3ll25kpasqikfr6nxd6ian2slvmmb"))))
    (properties `((upstream-name . "regexPipes")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=regexPipes")
    (synopsis "Wrappers Around 'base::grep()' for Use with Pipes")
    (description
     "This package provides wrappers around base::grep() where the first argument is
standardized to take the data object.  This makes it less of a pain to use
regular expressions with magrittr or other pipe operators.")
    (license license:gpl2+)))

(define-public r-regent
  (package
    (name "r-regent")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REGENT" version))
       (sha256
        (base32 "1f2sjqkhw3rbmwbcmx7l7imj696kblisi8y3fz77xygbcbxa6rmq"))))
    (properties `((upstream-name . "REGENT")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=REGENT")
    (synopsis "Risk Estimation for Genetic and Environmental Traits")
    (description
     "This package produces population distribution of disease risk and statistical
risk categories, and predicts risks for individuals with genotype information.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-regdif
  (package
    (name "r-regdif")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regDIF" version))
       (sha256
        (base32 "0b7sdkykvdgzss1ipqsxfna870g8nry1aa83gsm43fp2y9kmv62z"))))
    (properties `((upstream-name . "regDIF")))
    (build-system r-build-system)
    (propagated-inputs (list r-statmod r-foreach))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=regDIF")
    (synopsis "Regularized Differential Item Functioning")
    (description
     "This package performs regularization of differential item functioning (DIF)
parameters in item response theory (IRT) models (Belzak & Bauer, 2020)
<https://pubmed.ncbi.nlm.nih.gov/31916799/> using a penalized
expectation-maximization algorithm.")
    (license license:expat)))

(define-public r-regda
  (package
    (name "r-regda")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regda" version))
       (sha256
        (base32 "0zdipzkf8yil1cf142g66cls9d2yabzag9k4nm9nab0nyfidkdcw"))))
    (properties `((upstream-name . "regda")))
    (build-system r-build-system)
    (propagated-inputs (list r-rfast2 r-rfast r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=regda")
    (synopsis "Regularised Discriminant Analysis")
    (description
     "Regularised discriminant analysis functions.  The classical regularised
discriminant analysis proposed by Friedman in 1989, including cross-validation,
of which the linear and quadratic discriminant analyses are special cases.
Further, the regularised maximum likelihood linear discriminant analysis,
including cross-validation.  References: Friedman J.H. (1989): \"Regularized
Discriminant Analysis\".  Journal of the American Statistical Association
84(405): 165--175. <doi:10.2307/2289860>.  Friedman J., Hastie T. and Tibshirani
R. (2009). \"The elements of statistical learning\", 2nd edition.  Springer,
Berlin. <doi:10.1007/978-0-387-84858-7>.  Tsagris M., Preston S. and Wood A.T.A.
(2016). \"Improved classification for compositional data using the
alpha-transformation\".  Journal of Classification, 33(2): 243--261.
<doi:10.1007/s00357-016-9207-5>.")
    (license license:gpl2+)))

(define-public r-regcombin
  (package
    (name "r-regcombin")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RegCombin" version))
       (sha256
        (base32 "14vb46d8m5w5vik7kfhsj97yil3sc6qnmyp3c6myadlsw9k3x4lj"))))
    (properties `((upstream-name . "RegCombin")))
    (build-system r-build-system)
    (propagated-inputs (list r-snowfall
                             r-rationalexp
                             r-pracma
                             r-kableextra
                             r-hmisc
                             r-geometry
                             r-dplyr))
    (home-page "https://cran.r-project.org/package=RegCombin")
    (synopsis "Partially Linear Regression under Data Combination")
    (description
     "We implement linear regression when the outcome of interest and some of the
covariates are observed in two different datasets that cannot be linked, based
on D'Haultfoeuille, Gaillac, Maurel (2022) <doi:10.3386/w29953>.  The package
allows for common regressors observed in both datasets, and for various shape
constraints on the effect of covariates on the outcome of interest.  It also
provides the tools to perform a test of point identification.  See the
associated vignette
<https://github.com/cgaillac/@code{RegCombin/blob/master/RegCombin_vignette.pdf>}
for theory and code examples.")
    (license license:gpl3)))

(define-public r-regclass
  (package
    (name "r-regclass")
    (version "1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "regclass" version))
       (sha256
        (base32 "0m974k3yhf0dgv5f1qjs8c53mam0cll3cjn35ywfrmlfla0wlhf5"))))
    (properties `((upstream-name . "regclass")))
    (build-system r-build-system)
    (propagated-inputs (list r-vgam
                             r-rpart-plot
                             r-rpart
                             r-randomforest
                             r-leaps
                             r-bestglm))
    (home-page "https://cran.r-project.org/package=regclass")
    (synopsis "Tools for an Introductory Class in Regression and Modeling")
    (description
     "This package contains basic tools for visualizing, interpreting, and building
regression models.  It has been designed for use with the book Introduction to
Regression and Modeling with R by Adam Petrie, Cognella Publishers, ISBN:
978-1-63189-250-9
<https://titles.cognella.com/introduction-to-regression-and-modeling-with-r-9781631892509>.")
    (license license:gpl2+)))

(define-public r-regassure
  (package
    (name "r-regassure")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RegAssure" version))
       (sha256
        (base32 "1i16rs3ypdlxyzg0nwna5qvdy4znkvhr7l1pv4463bz0wrvr5vn3"))))
    (properties `((upstream-name . "RegAssure")))
    (build-system r-build-system)
    (propagated-inputs (list r-proc r-lmtest r-car r-brant))
    (home-page "https://cran.r-project.org/package=RegAssure")
    (synopsis "Streamlined Integration of Regression Assumption")
    (description
     "It streamlines the evaluation of regression model assumptions, enhancing result
reliability.  With integrated tools for assessing key aspects like linearity,
homoscedasticity, and more.  It's a valuable asset for researchers and analysts
working with regression models.")
    (license license:gpl3+)))

(define-public r-refund-shiny
  (package
    (name "r-refund-shiny")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refund.shiny" version))
       (sha256
        (base32 "1qzz9q6bxl9hdr7mqhmva96x12g62m9h9mb6yqhq6003w7cz186g"))))
    (properties `((upstream-name . "refund.shiny")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-shiny
                             r-reshape2
                             r-refund
                             r-plotly
                             r-lme4
                             r-gridextra
                             r-ggplot2
                             r-dplyr))
    (home-page "https://cran.r-project.org/package=refund.shiny")
    (synopsis "Interactive Plotting for Functional Data Analyses")
    (description
     "This package produces Shiny applications for different types of popular
functional data analyses.  The functional data analyses are implemented in the
refund package, then refund.shiny reads in the refund object and implements an
object-specific set of plots based on the object class using S3.")
    (license license:gpl2+)))

(define-public r-refund
  (package
    (name "r-refund")
    (version "0.1-37")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refund" version))
       (sha256
        (base32 "1lkdgpxnvnr9d9kmwdnk4wx656c1lhi353s64f065l6qg837kmw6"))))
    (properties `((upstream-name . "refund")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlrsim
                             r-pbs
                             r-nlme
                             r-mgcv
                             r-matrix
                             r-mass
                             r-magic
                             r-lme4
                             r-lattice
                             r-grpreg
                             r-ggplot2
                             r-gamm4
                             r-fda
                             r-boot))
    (home-page "https://github.com/refunders/refund")
    (synopsis "Regression with Functional Data")
    (description
     "This package provides methods for regression for functional data, including
function-on-scalar, scalar-on-function, and function-on-function regression.
Some of the functions are applicable to image data.")
    (license license:gpl2+)))

(define-public r-refugees
  (package
    (name "r-refugees")
    (version "2024.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refugees" version))
       (sha256
        (base32 "1lgxkcc4hv2nnndirp70hpn5mahcsv65nj289ms4qh3wdg89h9pb"))))
    (properties `((upstream-name . "refugees")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble))
    (home-page "https://populationstatistics.github.io/refugees/")
    (synopsis "UNHCR Refugee Population Statistics Database")
    (description
     "The Refugee Population Statistics Database published by The Office of The United
Nations High Commissioner for Refugees (UNHCR) contains information about
forcibly displaced populations spanning more than 70 years of statistical
activities.  It covers displaced populations such as refugees, asylum-seekers
and internally displaced people, including their demographics.  Stateless people
are also included, most of who have never been displaced.  The database also
reflects the different types of solutions for displaced populations such as
repatriation or resettlement.  More information on the data and methodology can
be found on the UNHCR Refugee Data Finder
<https://www.unhcr.org/refugee-statistics/>.")
    (license (license:fsdg-compatible "CC BY 4.0"))))

(define-public r-refuge
  (package
    (name "r-refuge")
    (version "0.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refuge" version))
       (sha256
        (base32 "0cq62rgawlam4j4h4sz4zvkgi0x21k4syy4vh7i40bxrq0z9ysyz"))))
    (properties `((upstream-name . "refuge")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-jsonlite r-httr r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://docs.evanodell.com/refuge")
    (synopsis "Locate Trans and Intersex-Friendly Toilets")
    (description
     "Access the Refuge API, a web-application for locating trans and
intersex-friendly restrooms, including unisex and accessible restrooms.
Includes data on the location of restrooms, along with directions, comments,
user ratings and amenities.  Coverage is global, but data is most comprehensive
in the United States.  See <https://www.refugerestrooms.org/api/docs/> for full
API documentation.")
    (license license:expat)))

(define-public r-refset
  (package
    (name "r-refset")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refset" version))
       (sha256
        (base32 "1xbwvm9066g3f7pd34z5jh04vph4ddy2lkcgmf4kiwa1k5czpwg1"))))
    (properties `((upstream-name . "refset")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "http://github.com/hughjonesd/refset")
    (synopsis "Subsets with Reference Semantics")
    (description
     "This package provides subsets with reference semantics, i.e.  subsets which
automatically reflect changes in the original object, and which optionally
update the original object when they are changed.")
    (license license:gpl2)))

(define-public r-refseqr
  (package
    (name "r-refseqr")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refseqR" version))
       (sha256
        (base32 "09zh4fq232arcykaflgjy2bmjikfqhrqbwfy6pdhj48ixwxbwdbf"))))
    (properties `((upstream-name . "refseqR")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-rentrez r-iranges r-biostrings))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jdieramon/refseqR")
    (synopsis
     "Common Computational Operations Working with RefSeq Entries (GenBank)")
    (description
     "Fetches NCBI data (@code{RefSeq} <https://www.ncbi.nlm.nih.gov/refseq/>
database) and provides an environment to extract information at the level of
gene, @code{mRNA} or protein accessions.")
    (license license:expat)))

(define-public r-refreshr
  (package
    (name "r-refreshr")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refreshr" version))
       (sha256
        (base32 "0p240a7f2yajrd5qqjv0la49vm2cs6i32zyxxjcs6rd2a1z9xwfs"))))
    (properties `((upstream-name . "refreshr")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-lubridate r-dplyr r-crayon))
    (home-page "https://github.com/jsugarelli/refreshr/")
    (synopsis
     "Work with Refreshable Datasets that Update their Data Automatically")
    (description
     "Connects dataframes/tables with a remote data source.  Raw data downloaded from
the data source can be further processed and transformed using data preparation
code that is also baked into the dataframe/table.  Refreshable dataframes can be
shared easily (e.g. as R data files).  Their users do not need to care about the
inner workings of the data update mechanisms.")
    (license license:gpl3)))

(define-public r-refreg
  (package
    (name "r-refreg")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refreg" version))
       (sha256
        (base32 "0dqlqh3ndpqjab2cz3aikb9srhmyj3j133lwcnajgycwr5334mri"))))
    (properties `((upstream-name . "refreg")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-sp
                             r-rgl
                             r-rcolorbrewer
                             r-pracma
                             r-misc3d
                             r-mgcv
                             r-mbend
                             r-matrixcalc
                             r-ks
                             r-kernsmooth
                             r-gridextra
                             r-ggplot2
                             r-foreach
                             r-doparallel))
    (home-page "https://cran.r-project.org/package=refreg")
    (synopsis "Conditional Multivariate Reference Regions")
    (description
     "An R package for estimating conditional multivariate reference regions.  The
reference region is non parametrically estimated using a kernel density
estimator.  Covariates effects on the multivariate response means vector and
variance-covariance matrix, thus on the region shape, are estimated by flexible
additive predictors.  Continuous covariates non linear effects might be
estimated using penalized splines smoothers.  Confidence intervals for the
covariates estimated effects might be derived from bootstrap resampling.  Kernel
density bandwidth can be estimated with different methods, including a method
that optimize the region coverage.  Numerical, and graphical, summaries can be
obtained by the user in order to evaluate reference region performance with real
data.  Full mathematical details can be found in <doi:10.1002/sim.9163> and
<doi:10.1007/s00477-020-01901-1>.")
    (license license:gpl2)))

(define-public r-reformulas
  (package
    (name "r-reformulas")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reformulas" version))
       (sha256
        (base32 "0p8v8j0xw4np84vvkbd41r4n1rvj5awlrnpbvqccgjasspl07smh"))))
    (properties `((upstream-name . "reformulas")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-matrix))
    (home-page "https://github.com/bbolker/reformulas")
    (synopsis "Machinery for Processing Random Effect Formulas")
    (description
     "Takes formulas including random-effects components (formatted as in lme4',
@code{glmmTMB}', etc.) and processes them.  Includes various helper functions.")
    (license license:gpl3)))

(define-public r-reflimr
  (package
    (name "r-reflimr")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reflimR" version))
       (sha256
        (base32 "02phm6jjhwdcc82vw292kcwwrprl7zcd8fyvb479rs3c1ippkrhc"))))
    (properties `((upstream-name . "reflimR")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/reflim/reflimR")
    (synopsis "Reference Limit Estimation Using Routine Laboratory Data")
    (description
     "Uses an indirect method based on truncated quantile-quantile plots to estimate
reference limits from routine laboratory data.  The principle of the method was
developed by Robert G Hoffmann (1963) <doi:10.1001/jama.1963.03060110068020> and
modified by Georg Hoffmann and colleagues (2015) <doi:10.1515/labmed-2015-0104>,
(2020) <doi:10.1515/labmed-2020-0005>, and (2022)
<doi:10.1007/978-3-031-15509-3_31>.")
    (license license:gpl2)))

(define-public r-reflectr
  (package
    (name "r-reflectr")
    (version "2.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reflectR" version))
       (sha256
        (base32 "1jf8zk4gca78rf7fjv0ksfag0n3i5b3n8wn22cgxrlky02sp7nd0"))))
    (properties `((upstream-name . "reflectR")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr))
    (home-page "https://github.com/g-corbelli/reflectR")
    (synopsis "Automatic Scoring of the Cognitive Reflection Test")
    (description
     "This package provides a tool for researchers and psychologists to automatically
code open-ended responses to the Cognitive Reflection Test (CRT), a widely used
class of tests in cognitive science and psychology for assessing an individual's
propensity to override an incorrect gut response and engage in further
reflection to find a correct answer.  This package facilitates the
standardization of Cognitive Reflection Test responses analysis across large
datasets in cognitive psychology, decision-making, and related fields.  By
automating the coding process, it not only reduces manual effort but also aims
to reduce the variability introduced by subjective interpretation of open-ended
responses, contributing to a more consistent and reliable analysis.
@code{reflectR} supports automatic coding and machine scoring for the original
English-language version of CRT (Frederick, 2005)
<doi:10.1257/089533005775196732>, as well as for CRT4 and CRT7, 4- and 7-item
versions, respectively (Toplak et al., 2014) <doi:10.1080/13546783.2013.844729>,
for the CRT-long version built via Item Response Theory by Primi and colleagues
(2016) <doi:10.1002/bdm.1883>, and for CRT-2 by Thomson & Oppenheimer (2016)
<doi:10.1017/s1930297500007622>.  Note: While @code{reflectR} draws inspiration
from the principles and scientific literature underlying the different versions
of the Cognitive Reflection Test, it has been independently developed and does
not hold any affiliation with any of the original authors.  The development of
this package benefited significantly from the kind insight and suggestion
provided by Dr. Keela Thomson, whose contribution is gratefully acknowledged.
Additional gratitude is extended to Dr. Paolo Giovanni Cicirelli, Prof.
Marinella Paciello, Dr. Carmela Sportelli, and Prof. Francesca D'Errico, who not
only contributed to the manual multi-rater coding of CRT-2 items but also
profoundly influenced the understanding of the importance and practical
relevance of cognitive reflection within personality, social, and cognitive
psychology research.  Acknowledgment is also due to the European project
STERHEOTYPES (STudying European Racial Hoaxes and @code{sterEOTYPES}) for
funding the data collection that produced the datasets initially used for manual
multi-rater coding of CRT-2 items.")
    (license license:gpl3)))

(define-public r-refitme
  (package
    (name "r-refitme")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refitME" version))
       (sha256
        (base32 "125hxp24vlwg3g0v1rlhi3zbvnnzyj95a6d9f52f98hf6bp05yhb"))))
    (properties `((upstream-name . "refitME")))
    (build-system r-build-system)
    (propagated-inputs (list r-vgamdata
                             r-vgam
                             r-semipar
                             r-scales
                             r-sandwich
                             r-mvtnorm
                             r-mgcv
                             r-mass
                             r-expm
                             r-dplyr
                             r-caret))
    (home-page "https://cran.r-project.org/package=refitME")
    (synopsis "Measurement Error Modelling using MCEM")
    (description
     "Fits measurement error models using Monte Carlo Expectation Maximization (MCEM).
 For specific details on the methodology, see: Greg C. G. Wei & Martin A. Tanner
(1990) A Monte Carlo Implementation of the EM Algorithm and the Poor Man's Data
Augmentation Algorithms, Journal of the American Statistical Association,
85:411, 699-704 <doi:10.1080/01621459.1990.10474930> For more examples on
measurement error modelling using MCEM, see the RMarkdown vignette:
\"'@code{refitME} R-package tutorial\".")
    (license license:gpl2)))

(define-public r-refinr
  (package
    (name "r-refinr")
    (version "0.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refinr" version))
       (sha256
        (base32 "05shfsif1s2pyyxxrrjg8qlr1bdp3yxviw2jjll3p5r65nn3gnh1"))))
    (properties `((upstream-name . "refinr")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringi r-stringdist r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ChrisMuir/refinr")
    (synopsis "Cluster and Merge Similar Values Within a Character Vector")
    (description
     "These functions take a character vector as input, identify and cluster similar
values, and then merge clusters together so their values become identical.  The
functions are an implementation of the key collision and ngram fingerprint
algorithms from the open source tool Open Refine <https://openrefine.org/>.
More info on key collision and ngram fingerprint can be found here
<https://openrefine.org/docs/technical-reference/clustering-in-depth>.")
    (license license:gpl3)))

(define-public r-refiner
  (package
    (name "r-refiner")
    (version "1.6.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refineR" version))
       (sha256
        (base32 "1ygfs0fdx8bj3a2i15l3218837phf52lapf0v7agmm95jciw7wip"))))
    (properties `((upstream-name . "refineR")))
    (build-system r-build-system)
    (propagated-inputs (list r-future-apply r-future r-ash))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://cran.r-project.org/package=refineR")
    (synopsis "Reference Interval Estimation using Real-World Data")
    (description
     "Indirect method for the estimation of reference intervals using Real-World Data
('RWD').  It takes routine measurements of diagnostic tests, containing
pathological and non-pathological samples as input and uses sophisticated
statistical methods to derive a model describing the distribution of the
non-pathological samples.  This distribution can then be used to derive
reference intervals.  Furthermore, the package offers functions for printing and
plotting the results of the algorithm.  See ?@code{refineR} for a more
comprehensive description of the features.  Version 1.0 of the algorithm is
described in detail in Ammer et al. (2021) <doi:10.1038/s41598-021-95301-2>.
Additional guidance on the usage of the algorithm is given in Ammer et al.
(2023) <doi:10.1093/jalm/jfac101>.")
    (license license:gpl3+)))

(define-public r-reffectivepred
  (package
    (name "r-reffectivepred")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REffectivePred" version))
       (sha256
        (base32 "1ahaxwgbyfnq2gii24gg8kzhy5822v5hvdmsw2g7p9jndz7xrrkg"))))
    (properties `((upstream-name . "REffectivePred")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo r-yaml r-config))
    (home-page "https://cran.r-project.org/package=REffectivePred")
    (synopsis "Pandemic Prediction Model in an SIRS Framework")
    (description
     "This package provides a suite of methods to fit and predict case count data
using a compartmental SIRS (Susceptible â Infectious â Recovered â
Susceptible) model, based on an assumed specification of the effective
reproduction number.  The significance of this approach is that it relates
epidemic progression to the average number of contacts of infected individuals,
which decays as a function of the total susceptible fraction remaining in the
population.  The main functions are pred.curve(), which computes the epidemic
curve for a set of parameters, and estimate.mle(), which finds the best fitting
curve to observed data.  The easiest way to pass arguments to the functions is
via a config file, which contains input settings required for prediction, and
the package offers two methods, navigate_to_config() which points the user to
the configuration file, and re_predict() for starting the fit-predict process.
Razvan G. Romanescu et al. (2023) <doi:10.1016/j.epidem.2023.100708>.")
    (license license:gpl2+)))

(define-public r-referenceintervals
  (package
    (name "r-referenceintervals")
    (version "1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "referenceIntervals" version))
       (sha256
        (base32 "1vgiy0ds982y9mjnpigzhmckxwj010ymfip2x2gfsqrc320gl2hq"))))
    (properties `((upstream-name . "referenceIntervals")))
    (build-system r-build-system)
    (propagated-inputs (list r-outliers r-mass r-extremevalues r-boot))
    (home-page "https://cran.r-project.org/package=referenceIntervals")
    (synopsis "Reference Intervals")
    (description
     "This is a collection of tools to allow the medical professional to calculate
appropriate reference ranges (intervals) with confidence intervals around the
limits for diagnostic purposes.")
    (license license:gpl3)))

(define-public r-refer
  (package
    (name "r-refer")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "refer" version))
       (sha256
        (base32 "1y0n4xzhn96d25mwjr0735w990rz2kbxhcpsc5k5vwbwq64q6wsd"))))
    (properties `((upstream-name . "refer")))
    (build-system r-build-system)
    (propagated-inputs (list r-matchr r-elist))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=refer")
    (synopsis "Create Object References")
    (description
     "Allows users to easily create references to R objects then dereference when
needed or modify in place without using reference classes, environments, or
active bindings as workarounds.  Users can also create expression references
that allow subsets of any object to be referenced or expressions containing
references to multiple objects.")
    (license license:expat)))

(define-public r-refbasedmi
  (package
    (name "r-refbasedmi")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RefBasedMI" version))
       (sha256
        (base32 "1vv5h96y0xjwglmzpg6jnbvmc8glmmarb1abzg6v064x0dgy03l0"))))
    (properties `((upstream-name . "RefBasedMI")))
    (build-system r-build-system)
    (propagated-inputs (list r-pastecs r-mice r-hmisc r-data-table
                             r-assertthat))
    (native-inputs (list gfortran))
    (home-page "https://github.com/UCL/RefBasedMI")
    (synopsis
     "Reference-Based Imputation for Longitudinal Clinical Trials with Protocol Deviation")
    (description
     "Imputation of missing numerical outcomes for a longitudinal trial with protocol
deviations.  The package uses distinct treatment arm-based assumptions for the
unobserved data, following the general algorithm of Carpenter, Roger, and
Kenward (2013) <doi:10.1080/10543406.2013.834911>, and the causal model of
White, Royes and Best (2020) <doi:10.1080/10543406.2019.1684308>.  Sensitivity
analyses to departures from these assumptions can be done by the Delta method of
Roger.  The program uses the same algorithm as the mimix Stata package written
by Suzie Cro, with additional coding for the causal model and delta method.  The
reference-based methods are jump to reference (J2R), copy increments in
reference (CIR), copy reference (CR), and the causal model, all of which must
specify the reference treatment arm.  Other methods are missing at random (MAR)
and the last mean carried forward (LMCF).  Individual-specific imputation
methods (and their reference groups) can be specified.")
    (license license:gpl3)))

(define-public r-refa
  (package
    (name "r-refa")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REFA" version))
       (sha256
        (base32 "1h6p8m1nyk6a1j6ffgjrx5sn39r1jaavx1ya367k6lkxjp3skf8w"))))
    (properties `((upstream-name . "REFA")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm))
    (home-page "https://cran.r-project.org/package=REFA")
    (synopsis "Robust Exponential Factor Analysis")
    (description
     "This package provides a robust alternative to the traditional principal
component estimator is proposed within the framework of factor models, known as
Robust Exponential Factor Analysis, specifically designed for the modeling of
high-dimensional datasets with heavy-tailed distributions.  The algorithm
estimates the latent factors and the loading by minimizing the exponential
squared loss function.  To determine the appropriate number of factors, we
propose a modified rank minimization technique, which has been shown to
significantly enhance finite-sample performance.")
    (license license:gpl3)))

(define-public r-ref-icar
  (package
    (name "r-ref-icar")
    (version "2.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ref.ICAR" version))
       (sha256
        (base32 "1mix12qxap6rqs6dg4nlbm9vlkzxgr1ivkjjkzap3k0km0agldx9"))))
    (properties `((upstream-name . "ref.ICAR")))
    (build-system r-build-system)
    (propagated-inputs (list r-spdep
                             r-sp
                             r-sf
                             r-rdpack
                             r-pracma
                             r-mvtnorm
                             r-mcmcglmm
                             r-gtools
                             r-ggplot2
                             r-dplyr
                             r-coda
                             r-classint))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=ref.ICAR")
    (synopsis
     "Objective Bayes Intrinsic Conditional Autoregressive Model for Areal Data")
    (description
     "This package implements an objective Bayes intrinsic conditional autoregressive
prior.  This model provides an objective Bayesian approach for modeling
spatially correlated areal data using an intrinsic conditional autoregressive
prior on a vector of spatial random effects.")
    (license license:expat)))

(define-public r-reemtree
  (package
    (name "r-reemtree")
    (version "0.90.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REEMtree" version))
       (sha256
        (base32 "1iapqwhis2vz19c3mivmwpj0nlgzb8fm3j2w060ypydwzmar0qmj"))))
    (properties `((upstream-name . "REEMtree")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpart r-nlme))
    (home-page "http://pages.stern.nyu.edu/~jsimonof/REEMtree/")
    (synopsis
     "Regression Trees with Random Effects for Longitudinal (Panel) Data")
    (description
     "This package provides a data mining approach for longitudinal and clustered
data, which combines the structure of mixed effects model with tree-based
estimation methods.  See Sela, R.J. and Simonoff, J.S. (2012) RE-EM trees: a
data mining approach for longitudinal and clustered data
<doi:10.1007/s10994-011-5258-3>.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-redux
  (package
    (name "r-redux")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redux" version))
       (sha256
        (base32 "1cbgc39avvjx1lqfrrwyq6fjm751i10gxhsfx67njg8ghj4pq790"))))
    (properties `((upstream-name . "redux")))
    (build-system r-build-system)
    (inputs (list hiredis))
    (propagated-inputs (list r-storr r-r6))
    (native-inputs (list pkg-config r-knitr))
    (home-page "https://github.com/richfitz/redux")
    (synopsis "R Bindings to 'hiredis'")
    (description
     "This package provides a hiredis wrapper that includes support for transactions,
pipelining, blocking subscription, serialisation of all keys and values, Redis
error handling with R errors.  Includes an automatically generated R6 interface
to the full hiredis API. Generated functions are faithful to the hiredis
documentation while attempting to match R's argument semantics.  Serialisation
must be explicitly done by the user, but both binary and text-mode serialisation
is supported.")
    (license license:gpl2)))

(define-public r-redoc
  (package
    (name "r-redoc")
    (version "2.0.0.75")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redoc" version))
       (sha256
        (base32 "1k54hsh7xrlfs0a06yi73fml86ivcfcdxn5k8gx86mnq8mqmfsqh"))))
    (properties `((upstream-name . "redoc")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite))
    (home-page "https://github.com/meztez/redoc")
    (synopsis
     "Generates 'Redoc' Documentation from an 'OpenAPI' Specification")
    (description
     "This package provides a collection of HTML', @code{JavaScript}', CSS and fonts
assets that generate Redoc documentation from an @code{OpenAPI} Specification:
<https://redocly.com/redoc/>.")
    (license (list license:expat license:asl2.0))))

(define-public r-redmonder
  (package
    (name "r-redmonder")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Redmonder" version))
       (sha256
        (base32 "02qrz1b0g7hdacj2s2bks5gfwnypkbiwlmn0bv7im1zz1swg9cp8"))))
    (properties `((upstream-name . "Redmonder")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=Redmonder")
    (synopsis "Microsoft(r)-Inspired Color Palettes")
    (description
     "Provide color schemes for maps (and other graphics) based on the color palettes
of several Microsoft(r) products.  Forked from R@code{ColorBrewer} v1.1-2.")
    (license license:asl2.0)))

(define-public r-redm
  (package
    (name "r-redm")
    (version "1.15.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rEDM" version))
       (sha256
        (base32 "1h2mda6m70r976jzh4znz73bzdiib524iyz6khz2j0wzs0gbl5sk"))))
    (properties `((upstream-name . "rEDM")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppthread r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rEDM")
    (synopsis "Empirical Dynamic Modeling ('EDM')")
    (description
     "An implementation of EDM algorithms based on research software developed for
internal use at the Sugihara Lab ('UCSD/SIO').  The package is implemented with
Rcpp wrappers around the @code{cppEDM} library.  It implements the simplex
projection method from Sugihara & May (1990) <doi:10.1038/344734a0>, the S-map
algorithm from Sugihara (1994) <doi:10.1098/rsta.1994.0106>, convergent cross
mapping described in Sugihara et al. (2012) <doi:10.1126/science.1227079>, and,
multiview embedding described in Ye & Sugihara (2016)
<doi:10.1126/science.aag0863>.")
    (license license:bsd-2)))

(define-public r-redlistr
  (package
    (name "r-redlistr")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redlistr" version))
       (sha256
        (base32 "1m5dphcqcqy52l4r0pqiq80vl8nkh6vgv46qnjc02qjl7i1aipn5"))))
    (properties `((upstream-name . "redlistr")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra r-sp r-sf r-raster r-plyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/red-list-ecosystem/redlistr")
    (synopsis "Tools for the IUCN Red List of Ecosystems and Species")
    (description
     "This package provides a toolbox created by members of the International Union
for Conservation of Nature (IUCN) Red List of Ecosystems Committee for
Scientific Standards.  Primarily, it is a set of tools suitable for calculating
the metrics required for making assessments of species and ecosystems against
the IUCN Red List of Threatened Species and the IUCN Red List of Ecosystems
categories and criteria.  See the IUCN website for detailed guidelines, the
criteria, publications and other information.")
    (license (list license:gpl3+
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-redland
  (package
    (name "r-redland")
    (version "1.0.17-18")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redland" version))
       (sha256
        (base32 "183m1bvgj52w74383b5v6rfm7gn4izijixans1zdycqp68ibm6g9"))))
    (properties `((upstream-name . "redland")))
    (build-system r-build-system)
    (inputs (list zlib pcre2))
    (propagated-inputs (list r-roxygen2))
    (native-inputs (list pkg-config r-knitr))
    (home-page "https://cran.r-project.org/package=redland")
    (synopsis "RDF Library Bindings in R")
    (description
     "This package provides methods to parse, query and serialize information stored
in the Resource Description Framework (RDF).  RDF is described at
<https://www.w3.org/TR/rdf-primer/>.  This package supports RDF by implementing
an R interface to the Redland RDF C library, described at
<https://librdf.org/docs/api/index.html>.  In brief, RDF provides a structured
graph consisting of Statements composed of Subject, Predicate, and Object Nodes.")
    (license license:asl2.0)))

(define-public r-redistverse
  (package
    (name "r-redistverse")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redistverse" version))
       (sha256
        (base32 "08154l54afih3828xc7zdacj0n3wnahwdq1hjjk3gdyfzl8ad0qy"))))
    (properties `((upstream-name . "redistverse")))
    (build-system r-build-system)
    (propagated-inputs (list r-tinytiger
                             r-sf
                             r-redistmetrics
                             r-redist
                             r-pl94171
                             r-ggredist
                             r-geomander
                             r-easycensus
                             r-cli
                             r-censable
                             r-birdie
                             r-alarmdata))
    (home-page "https://github.com/alarm-redist/redistverse")
    (synopsis "Easily Install and Load Redistricting Software")
    (description
     "Easy installation, loading, and control of packages for redistricting data
downloading, spatial data processing, simulation, analysis, and visualization.
This package makes it easy to install and load multiple redistverse packages at
once.  The redistverse is developed and maintained by the Algorithm-Assisted
Redistricting Methodology (ALARM) Project.  For more details see
<https://alarm-redist.org>.")
    (license license:expat)))

(define-public r-redistmetrics
  (package
    (name "r-redistmetrics")
    (version "1.0.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redistmetrics" version))
       (sha256
        (base32 "0r9fa0p65bpklgcb5nbbsm2s3vhrcbbp4glciglmw185vfjqg7s2"))))
    (properties `((upstream-name . "redistmetrics")))
    (build-system r-build-system)
    (propagated-inputs (list r-wk
                             r-vctrs
                             r-sf
                             r-rlang
                             r-rcppthread
                             r-rcpparmadillo
                             r-rcpp
                             r-magrittr
                             r-geos
                             r-foreach
                             r-dplyr
                             r-doparallel
                             r-cli))
    (native-inputs (list r-knitr))
    (home-page "http://alarm-redist.org/redistmetrics/")
    (synopsis "Redistricting Metrics")
    (description
     "Reliable and flexible tools for scoring redistricting plans using common
measures and metrics.  These functions provide key direct access to tools useful
for non-simulation analyses of redistricting plans, such as for measuring
compactness or partisan fairness.  Tools are designed to work with the redist
package seamlessly.")
    (license license:expat)))

(define-public r-redist
  (package
    (name "r-redist")
    (version "4.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redist" version))
       (sha256
        (base32 "1ibwldd24zj2fhpn18q4381mp82p7wbv61xmqm2lzybil92y800w"))))
    (properties `((upstream-name . "redist")))
    (build-system r-build-system)
    (inputs (list python))
    (propagated-inputs (list r-vctrs
                             r-tidyselect
                             r-sys
                             r-stringr
                             r-sf
                             r-servr
                             r-rlang
                             r-redistmetrics
                             r-rcppthread
                             r-rcpparmadillo
                             r-rcpp
                             r-patchwork
                             r-ggplot2
                             r-foreach
                             r-dplyr
                             r-dorng
                             r-doparallel
                             r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://alarm-redist.org/redist/")
    (synopsis "Simulation Methods for Legislative Redistricting")
    (description
     "Enables researchers to sample redistricting plans from a pre-specified target
distribution using Sequential Monte Carlo and Markov Chain Monte Carlo
algorithms.  The package allows for the implementation of various constraints in
the redistricting process such as geographic compactness and population parity
requirements.  Tools for analysis such as computation of various summary
statistics and plotting functionality are also included.  The package implements
the SMC algorithm of @code{McCartan} and Imai (2023) <doi:10.1214/23-AOAS1763>,
the enumeration algorithm of Fifield, Imai, Kawahara, and Kenny (2020)
<doi:10.1080/2330443X.2020.1791773>, the Flip MCMC algorithm of Fifield,
Higgins, Imai and Tarr (2020) <doi:10.1080/10618600.2020.1739532>, the
Merge-split/Recombination algorithms of Carter et al. (2019)
<@code{arXiv:1911.01503>} and @code{DeFord} et al. (2021)
<doi:10.1162/99608f92.eb30390f>, and the Short-burst optimization algorithm of
Cannon et al. (2020) <@code{arXiv:2011.02288>}.")
    (license license:gpl2+)))

(define-public r-rediscover
  (package
    (name "r-rediscover")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rediscover" version))
       (sha256
        (base32 "0g36j5xdc86422jc1njlab4kvlsq3z6bxigxgzsl31bf1k7kc1ra"))))
    (properties `((upstream-name . "Rediscover")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiftconvolvepoibin
                             r-rcolorbrewer
                             r-poissonbinomial
                             r-matrixstats
                             r-matrix
                             r-maftools
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rediscover")
    (synopsis "Identify Mutually Exclusive Mutations")
    (description
     "An optimized method for identifying mutually exclusive genomic events.  Its main
contribution is a statistical analysis based on the Poisson-Binomial
distribution that takes into account that some samples are more mutated than
others.  See [Canisius, Sander, John WM Martens, and Lodewyk FA Wessels. (2016)
\"A novel independence test for somatic alterations in cancer shows that biology
drives mutual exclusivity but chance explains most co-occurrence.\" Genome
biology 17.1 : 1-17. <doi:10.1186/s13059-016-1114-x>].  The mutations matrices
are sparse matrices.  The method developed takes advantage of the advantages of
this type of matrix to save time and computing resources.")
    (license license:artistic2.0)))

(define-public r-redisbasecontainer
  (package
    (name "r-redisbasecontainer")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RedisBaseContainer" version))
       (sha256
        (base32 "0pnjj3rbp2as7h92907g338bd173ygl1zfnlfw6c9wpzfvw909rr"))))
    (properties `((upstream-name . "RedisBaseContainer")))
    (build-system r-build-system)
    (propagated-inputs (list r-dockerparallel))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RedisBaseContainer")
    (synopsis "The Container for the DockerParallel Package")
    (description
     "Providing the container for the @code{DockerParallel} package.")
    (license license:gpl3)))

(define-public r-redirection
  (package
    (name "r-redirection")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReDirection" version))
       (sha256
        (base32 "0hcl09drgr93yjssw2mpdpvr084ifzylsi6140hafjpm9f9pmvkm"))))
    (properties `((upstream-name . "ReDirection")))
    (build-system r-build-system)
    (propagated-inputs (list r-pracma r-mass r-gtools))
    (home-page "https://cran.r-project.org/package=ReDirection")
    (synopsis
     "Predict Dominant Direction of Reactions of a Biochemical Network")
    (description
     "Biologically relevant, yet mathematically sound constraints are used to compute
the propensity and thence infer the dominant direction of reactions of a generic
biochemical network.  The reactions must be unique and their number must exceed
that of the reactants,i.e., reactions >= reactants + 2. @code{ReDirection}',
computes the null space of a user-defined stoichiometry matrix.  The spanning
non-zero and unique reaction vectors (RVs) are combinatorially summed to
generate one or more subspaces recursively.  Every reaction is represented as a
sequence of identical components across all RVs of a particular subspace.  The
terms are evaluated with (biologically relevant bounds, linear maps, tests of
convergence, descriptive statistics, vector norms) and the terms are classified
into forward-, reverse- and equivalent-subsets.  Since, these are mutually
exclusive the probability of occurrence is binary (all, 1; none, 0).  The
combined propensity of a reaction is the p1-norm of the sub-propensities, i.e.,
sum of the products of the probability and maximum numeric value of a subset
(least upper bound, greatest lower bound).  This, if strictly positive is the
probable rate constant, is used to infer dominant direction and annotate a
reaction as \"Forward (f)\", \"Reverse (b)\" or \"Equivalent (e)\".  The inherent
computational complexity (NP-hard) per iteration suggests that a suitable value
for the number of reactions is around 20.  Three functions comprise
@code{ReDirection}.  These are check_matrix() and reaction_vector() which are
internal, and calculate_reaction_vector() which is external.")
    (license license:gpl3)))

(define-public r-redi
  (package
    (name "r-redi")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REDI" version))
       (sha256
        (base32 "0i7gfsqyjhkwh6wxzzznai2qyfk3njim992njp0djd6lpbj96mdw"))))
    (properties `((upstream-name . "REDI")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-rlang
                             r-magrittr
                             r-lubridate
                             r-ggplot2
                             r-dplyr))
    (home-page "https://cran.r-project.org/package=REDI")
    (synopsis "Robust Exponential Decreasing Index")
    (description
     "Implementation of the Robust Exponential Decreasing Index (REDI), proposed in
the article by Issa Moussa, Arthur Leroy et al. (2019)
<https://bmjopensem.bmj.com/content/bmjosem/5/1/e000573.full.pdf>.  The REDI
represents a measure of cumulated workload, robust to missing data, providing
control of the decreasing influence of workload over time.  Various functions
are provided to format data, compute REDI, and visualise results in a simple and
convenient way.")
    (license license:expat)))

(define-public r-reddyprocncdf
  (package
    (name "r-reddyprocncdf")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REddyProcNCDF" version))
       (sha256
        (base32 "099f4mzqj7pjlrs8rdjg44mjm0058x3pj2imrfvk892hmlk4r53p"))))
    (properties `((upstream-name . "REddyProcNCDF")))
    (build-system r-build-system)
    (propagated-inputs (list r-reddyproc))
    (home-page "https://github.com/bgctw/REddyProcNCDF")
    (synopsis "Reading Data from NetCDF Files for 'REddyProc'")
    (description
     "Extension to R@code{EddyProc} that allows reading data from @code{netCDF} files.")
    (license license:gpl2+)))

(define-public r-reddyproc
  (package
    (name "r-reddyproc")
    (version "1.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REddyProc" version))
       (sha256
        (base32 "0ss8zyvvhkkw42vk3v4qx21i9navb74kjlgj3dikz0a19z93nrrz"))))
    (properties `((upstream-name . "REddyProc")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-solartime
                             r-rlang
                             r-readr
                             r-rcpp
                             r-purrr
                             r-mlegp
                             r-magrittr
                             r-dplyr
                             r-bigleaf))
    (native-inputs (list r-knitr))
    (home-page
     "https://www.bgc-jena.mpg.de/bgi/index.php/Services/REddyProcWeb")
    (synopsis "Post Processing of (Half-)Hourly Eddy-Covariance Measurements")
    (description
     "Standard and extensible Eddy-Covariance data post-processing (Wutzler et al.
(2018) <doi:10.5194/bg-15-5015-2018>) includes @code{uStar-filtering},
gap-filling, and flux-partitioning.  The Eddy-Covariance (EC)
micrometeorological technique quantifies continuous exchange fluxes of gases,
energy, and momentum between an ecosystem and the atmosphere.  It is important
for understanding ecosystem dynamics and upscaling exchange fluxes. (Aubinet et
al. (2012) <doi:10.1007/978-94-007-2351-1>).  This package inputs pre-processed
(half-)hourly data and supports further processing.  First, a quality-check and
filtering is performed based on the relationship between measured flux and
friction velocity (@code{uStar}) to discard biased data (Papale et al. (2006)
<doi:10.5194/bg-3-571-2006>).  Second, gaps in the data are filled based on
information from environmental conditions (Reichstein et al. (2005)
<doi:10.1111/j.1365-2486.2005.001002.x>).  Third, the net flux of carbon dioxide
is partitioned into its gross fluxes in and out of the ecosystem by night-time
based and day-time based approaches (Lasslop et al. (2010)
<doi:10.1111/j.1365-2486.2009.02041.x>).")
    (license license:gpl2+)))

(define-public r-reddprec
  (package
    (name "r-reddprec")
    (version "2.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reddPrec" version))
       (sha256
        (base32 "0cxssbqkbnjphankwa7hrdcf76l9ss8zjnk1981yd14nh8lhy459"))))
    (properties `((upstream-name . "reddPrec")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra r-reshape r-qmap r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=reddPrec")
    (synopsis "Reconstruction of Daily Data - Precipitation")
    (description
     "Applies quality control to daily precipitation observations; reconstructs the
original series by estimating precipitation in missing values; and creates
gridded datasets of daily precipitation.")
    (license license:gpl3)))

(define-public r-redditextractor
  (package
    (name "r-redditextractor")
    (version "3.0.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RedditExtractoR" version))
       (sha256
        (base32 "1yzx8ja3iww8nn4i7m98scd35czwd1mx143d20j491wkndfd926d"))))
    (properties `((upstream-name . "RedditExtractoR")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjsonio))
    (home-page "https://cran.r-project.org/package=RedditExtractoR")
    (synopsis "Reddit Data Extraction Toolkit")
    (description
     "This package provides a collection of tools for extracting structured data from
<https://www.reddit.com/>.")
    (license license:gpl3)))

(define-public r-redditadsr
  (package
    (name "r-redditadsr")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redditadsR" version))
       (sha256
        (base32 "00kn34d8277f8m4xigr28lpq4s55lvli4xw70g4cbsir7m6ibklv"))))
    (properties `((upstream-name . "redditadsR")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite))
    (native-inputs (list r-knitr))
    (home-page "https://windsor.ai/")
    (synopsis "Get Reddit Ads Data via the 'Windsor.ai' API")
    (description
     "Collect your data on digital marketing campaigns from reddit Ads using the
Windsor.ai API <https://windsor.ai/api-fields/>.")
    (license license:gpl3)))

(define-public r-redcaptidier
  (package
    (name "r-redcaptidier")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REDCapTidieR" version))
       (sha256
        (base32 "0a7q2mfnjfyfkdafvvl7y69c52qh8wsqrygv77wnrjl4kjf80gwv"))))
    (properties `((upstream-name . "REDCapTidieR")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-stringi
                             r-rlang
                             r-redcapr
                             r-readr
                             r-purrr
                             r-pillar
                             r-lubridate
                             r-lobstr
                             r-formattable
                             r-dplyr
                             r-cli
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://chop-cgtinformatics.github.io/REDCapTidieR/")
    (synopsis "Extract 'REDCap' Databases into Tidy 'Tibble's")
    (description
     "Convert REDCap exports into tidy tables for easy handling of REDCap repeat
instruments and event arms.")
    (license license:expat)))

(define-public r-redcapr
  (package
    (name "r-redcapr")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REDCapR" version))
       (sha256
        (base32 "01nkyv3fkzgvycn236i0jj45k0jb259v2wfyi8hwaviyvhqa8qln"))))
    (properties `((upstream-name . "REDCapR")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-rlang
                             r-readr
                             r-magrittr
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://ouhscbbmc.github.io/REDCapR/")
    (synopsis "Interaction Between R and REDCap")
    (description
     "Encapsulates functions to streamline calls from R to the REDCap API. REDCap
(Research Electronic Data CAPture) is a web application for building and
managing online surveys and databases developed at Vanderbilt University.  The
Application Programming Interface (API) offers an avenue to access and modify
data programmatically, improving the capacity for literate and reproducible
programming.")
    (license license:expat)))

(define-public r-redcapexporter
  (package
    (name "r-redcapexporter")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REDCapExporter" version))
       (sha256
        (base32 "1mpjfppj2p4qcsz05fa4rf9ywg34qzjpzczwg0zm63qnqpyr62i1"))))
    (properties `((upstream-name . "REDCapExporter")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjson r-lubridate r-keyring r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/dewittpe/REDCapExporter")
    (synopsis "Automated Construction of R Data Packages from REDCap Projects")
    (description
     "Export all data, including metadata, from a REDCap (Research Electronic Data
Capture) Project via the REDCap API
<https://projectredcap.org/wp-content/resources/RED@code{CapTechnicalOverview.pdf>}.
 The exported (meta)data will be processed and formatted into a stand alone R
data package which can be installed and shared between researchers.  Several
default reports are generated as vignettes in the resulting package.")
    (license license:gpl2)))

(define-public r-redcapdm
  (package
    (name "r-redcapdm")
    (version "0.9.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REDCapDM" version))
       (sha256
        (base32 "1xpl5n046cj7r8rlkffmsfdffs0q0av2c13zw5v6agr265y3d33j"))))
    (properties `((upstream-name . "REDCapDM")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-stringi
                             r-rlang
                             r-redcapr
                             r-purrr
                             r-openxlsx
                             r-magrittr
                             r-labelled
                             r-janitor
                             r-forcats
                             r-dplyr
                             r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://bruigtp.github.io/REDCapDM/")
    (synopsis "'REDCap' Data Management")
    (description
     "REDCap Data Management - RED@code{CapDM} is an R package that allows users to
manage data exported directly from REDCap or using an API connection.  This
package includes several functions designed for pre-processing data, generating
reports of queries such as outliers or missing values, and following up on the
identified queries.  REDCap (Research Electronic Data CAPture;
<https://projectredcap.org>) is a web application developed at Vanderbilt
University, designed for creating and managing online surveys and databases and
the REDCap API is an interface that allows external applications to connect to
REDCap remotely, and is used to programmatically retrieve or modify project data
or settings within REDCap, such as importing or exporting data.")
    (license license:expat)))

(define-public r-redcapcast
  (package
    (name "r-redcapcast")
    (version "24.10.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REDCapCAST" version))
       (sha256
        (base32 "0xv1ry70q8dzvlrkl3a6vgfk6z2pkx4g86g59fa1wf4402z2qs5r"))))
    (properties `((upstream-name . "REDCapCAST")))
    (build-system r-build-system)
    (propagated-inputs (list r-zip
                             r-tidyselect
                             r-tidyr
                             r-shiny
                             r-redcapr
                             r-readr
                             r-readods
                             r-purrr
                             r-openxlsx2
                             r-keyring
                             r-haven
                             r-dplyr
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/agdamsbo/REDCapCAST")
    (synopsis "REDCap Castellated Data Handling")
    (description
     "Originally forked from the R part of RED@code{CapRITS} by Paul Egeler.  See
<https://github.com/pegeler/RED@code{CapRITS>}.  REDCap database casting and
handling of castellated data when using repeated instruments and longitudinal
projects.  Keeps a focused data export approach, by allowing to only export
required data from the database.  REDCap (Research Electronic Data Capture) is a
secure, web-based software platform designed to support data capture for
research studies, providing 1) an intuitive interface for validated data
capture; 2) audit trails for tracking data manipulation and export procedures;
3) automated export procedures for seamless data downloads to common statistical
packages; and 4) procedures for data integration and interoperability with
external sources (Harris et al (2009) <doi:10.1016/j.jbi.2008.08.010>; Harris et
al (2019) <doi:10.1016/j.jbi.2019.103208>).")
    (license license:gpl3+)))

(define-public r-redcapapi
  (package
    (name "r-redcapapi")
    (version "2.10.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redcapAPI" version))
       (sha256
        (base32 "0c7pp0cwbchmrr07diiacdnr77jny0l9gfahp3g742z8rzr8zb04"))))
    (properties `((upstream-name . "redcapAPI")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml
                             r-mime
                             r-lubridate
                             r-labelvector
                             r-keyring
                             r-jsonlite
                             r-getpass
                             r-curl
                             r-chron
                             r-checkmate))
    (home-page "https://github.com/vubiostat/redcapAPI")
    (synopsis "Interface to 'REDCap'")
    (description
     "Access data stored in REDCap databases using the Application Programming
Interface (API).  REDCap (Research Electronic Data CAPture;
<https://projectredcap.org>, Harris, et al. (2009)
<doi:10.1016/j.jbi.2008.08.010>, Harris, et al. (2019)
<doi:10.1016/j.jbi.2019.103208>) is a web application for building and managing
online surveys and databases developed at Vanderbilt University.  The API allows
users to access data and project meta data (such as the data dictionary) from
the web programmatically.  The @code{redcapAPI} package facilitates the process
of accessing data with options to prepare an analysis-ready data set consistent
with the definitions in a database's data dictionary.")
    (license license:gpl2)))

(define-public r-redbookperu
  (package
    (name "r-redbookperu")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "redbookperu" version))
       (sha256
        (base32 "1v90xrvwcfbkgqm6yq0dhsp9i9wfgwv3ijyja70v3bqa46klvq91"))))
    (properties `((upstream-name . "redbookperu")))
    (build-system r-build-system)
    (home-page "https://github.com/PaulESantos/redbookperu")
    (synopsis
     "Access and Analyze Data from the Red Book of Endemic Plants of Peru")
    (description
     "This package provides access to and analysis of data from \"The Red Book of
Endemic Plants of Peru\" (LeÃ³n, B., Roque, J., Ulloa, C., Jorgensen, P.M.,
Pitman, N., Cano, A. 2006) <doi:10.15381/rpb.v13i2.1782>.  This package offers
comprehensive taxonomic, geographic, and conservation information about Peru's
endemic plant species.  It includes functions to verify species inclusion,
obtain updated taxonomic details, and explore the dataset.")
    (license license:expat)))

(define-public r-redas
  (package
    (name "r-redas")
    (version "0.9.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REdaS" version))
       (sha256
        (base32 "1bi04zaqg4plp1byspn97lrlny47l521y1jhiixy093g6p6lqj11"))))
    (properties `((upstream-name . "REdaS")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=REdaS")
    (synopsis
     "Companion Package to the Book 'R: EinfÃ¼hrung durch angewandte Statistik'")
    (description
     "This package provides functions used in the R: EinfÃ¼hrung durch angewandte
Statistik (second edition).")
    (license license:gpl2)))

(define-public r-redamor
  (package
    (name "r-redamor")
    (version "0.7.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReDaMoR" version))
       (sha256
        (base32 "1pl5yg7dxlg719zhbsywg4y9yqn8fyk5h6kqjl37gs7czb8s6ak1"))))
    (properties `((upstream-name . "ReDaMoR")))
    (build-system r-build-system)
    (propagated-inputs (list r-visnetwork
                             r-shinyjs
                             r-shiny
                             r-rstudioapi
                             r-rintrojs
                             r-readr
                             r-matrix
                             r-markdown
                             r-magrittr
                             r-jsonlite
                             r-dt
                             r-dplyr
                             r-crayon
                             r-colourpicker))
    (native-inputs (list r-knitr))
    (home-page "https://patzaw.github.io/ReDaMoR/")
    (synopsis "Relational Data Modeler")
    (description
     "The aim of this package is to manipulate relational data models in R. It
provides functions to create, modify and export data models in json format.  It
also allows importing models created with @code{MySQL} Workbench
(<https://www.mysql.com/products/workbench/>).  These functions are accessible
through a graphical user interface made with shiny'.  Constraints such as types,
keys, uniqueness and mandatory fields are automatically checked and corrected
when editing a model.  Finally, real data can be confronted to a model to check
their compatibility.")
    (license license:gpl3)))

(define-public r-reda
  (package
    (name "r-reda")
    (version "0.5.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reda" version))
       (sha256
        (base32 "1lrfbcvxgbbpi7l3vls3rdj8y3w30gg5f1fjcfscmykvp0i01j3d"))))
    (properties `((upstream-name . "reda")))
    (build-system r-build-system)
    (propagated-inputs (list r-splines2 r-rcpparmadillo r-rcpp r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://wwenjie.org/reda")
    (synopsis "Recurrent Event Data Analysis")
    (description
     "This package contains implementations of recurrent event data analysis routines
including (1) survival and recurrent event data simulation from stochastic
process point of view by the thinning method proposed by Lewis and Shedler
(1979) <doi:10.1002/nav.3800260304> and the inversion method introduced in
Cinlar (1975, ISBN:978-0486497976), (2) the mean cumulative function (MCF)
estimation by the Nelson-Aalen estimator of the cumulative hazard rate function,
(3) two-sample recurrent event responses comparison with the pseudo-score tests
proposed by Lawless and Nadeau (1995) <doi:10.2307/1269617>, (4) gamma frailty
model with spline rate function following Fu, et al. (2016)
<doi:10.1080/10543406.2014.992524>.")
    (license license:gpl3+)))

(define-public r-red
  (package
    (name "r-red")
    (version "1.6.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "red" version))
       (sha256
        (base32 "1xij1wshb5bv5zd9svhgprdjpn3snxb7wjqjdrqkbgs8y49cixx6"))))
    (properties `((upstream-name . "red")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra
                             r-sp
                             r-predicts
                             r-jsonlite
                             r-geosphere
                             r-gdistance
                             r-dismo
                             r-bat))
    (home-page "https://cran.r-project.org/package=red")
    (synopsis "IUCN Redlisting Tools")
    (description
     "Includes algorithms to facilitate the assessment of extinction risk of species
according to the IUCN (International Union for Conservation of Nature, see
<https://www.iucn.org/> for more information) red list criteria.")
    (license license:gpl3)))

(define-public r-recurse
  (package
    (name "r-recurse")
    (version "1.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recurse" version))
       (sha256
        (base32 "1rv2pa8ghmxdl3s2s16m1xci6v9kjpilyfsmzacmnfgx734c4ihf"))))
    (properties `((upstream-name . "recurse")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=recurse")
    (synopsis "Computes Revisitation Metrics for Trajectory Data")
    (description
     "Computes revisitation metrics for trajectory data, such as the number of
revisitations for each location as well as the time spent for that visit and the
time since the previous visit.  Also includes functions to plot data.")
    (license license:expat)))

(define-public r-recurrentpseudo
  (package
    (name "r-recurrentpseudo")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recurrentpseudo" version))
       (sha256
        (base32 "1vnljzn933k4wcc751r6s67dfjz1mrwvcb37yziv6qn8zimn8xrz"))))
    (properties `((upstream-name . "recurrentpseudo")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-stringr
                             r-prodlim
                             r-magrittr
                             r-geepack
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/JulieKFurberg/recurrentpseudo")
    (synopsis
     "Creates Pseudo-Observations and Analysis for Recurrent Event Data")
    (description
     "Computation of one-, two- and three-dimensional pseudo-observations based on
recurrent events and terminal events.  Generalised linear models are fitted
using generalised estimating equations.  Technical details on the bivariate
procedure can be found in \"Bivariate pseudo-observations for recurrent event
analysis with terminal events\" (Furberg et al., 2021)
<doi:10.1007/s10985-021-09533-5>.")
    (license license:gpl2+)))

(define-public r-recosystem
  (package
    (name "r-recosystem")
    (version "0.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recosystem" version))
       (sha256
        (base32 "01d8r1pwvd606cbs9bq2rq3ahq7jnfgak9p58ch4fs4ki5nxf1sj"))))
    (properties `((upstream-name . "recosystem")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppprogress r-rcpp r-float))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/yixuan/recosystem")
    (synopsis "Recommender System using Matrix Factorization")
    (description
     "R wrapper of the libmf library <https://www.csie.ntu.edu.tw/~cjlin/libmf/> for
recommender system using matrix factorization.  It is typically used to
approximate an incomplete matrix using the product of two matrices in a latent
space.  Other common names for this task include \"collaborative filtering\",
\"matrix completion\", \"matrix recovery\", etc.  High performance multi-core
parallel computing is supported in this package.")
    (license license:bsd-3)))

(define-public r-recordtest
  (package
    (name "r-recordtest")
    (version "2.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RecordTest" version))
       (sha256
        (base32 "11d1cf3xczi8p76lmjb469nixi0mxg6vafiqrv82vg06csz6g7ra"))))
    (properties `((upstream-name . "RecordTest")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/JorgeCastilloMateo/RecordTest")
    (synopsis "Inference Tools in Time Series Based on Record Statistics")
    (description
     "Statistical tools based on the probabilistic properties of the record occurrence
in a sequence of independent and identically distributed continuous random
variables.  In particular, tools to prepare a time series as well as
distribution-free trend and change-point tests and graphical tools to study the
record occurrence.  Details about the implemented tools can be found in
Castillo-Mateo et al. (2023a) <doi:10.18637/jss.v106.i05> and Castillo-Mateo et
al. (2023b) <doi:10.1016/j.atmosres.2023.106934>.")
    (license license:gpl3)))

(define-public r-records
  (package
    (name "r-records")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Records" version))
       (sha256
        (base32 "08y1g2m6bdrvv4rpkhd5v2lh7vprxy9bcx9ahp1f7p062bn2lwji"))))
    (properties `((upstream-name . "Records")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=Records")
    (synopsis "Record Values and Record Times")
    (description
     "This package provides functions for generating k-record values and k-record
times.")
    (license license:gpl2+)))

(define-public r-recordlinkage
  (package
    (name "r-recordlinkage")
    (version "0.4-12.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RecordLinkage" version))
       (sha256
        (base32 "0jfissk9gcf1w78dhly01dpjlb8nyk32iz1s2n38ggk8ywd4zgbk"))))
    (properties `((upstream-name . "RecordLinkage")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-rsqlite
                             r-rpart
                             r-nnet
                             r-ipred
                             r-ff
                             r-evd
                             r-e1071
                             r-dbi
                             r-data-table
                             r-ada))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RecordLinkage")
    (synopsis
     "Record Linkage Functions for Linking and Deduplicating Data Sets")
    (description
     "This package provides functions for linking and deduplicating data sets.
Methods based on a stochastic approach are implemented as well as classification
algorithms from the machine learning domain.  For details, see our paper \"The
@code{RecordLinkage} Package: Detecting Errors in Data\" Sariyar M / Borg A
(2010) <doi:10.32614/RJ-2010-017>.")
    (license license:gpl2+)))

(define-public r-recorder
  (package
    (name "r-recorder")
    (version "0.8.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recorder" version))
       (sha256
        (base32 "1j3fqqp5vi8z3hxqgb887v9r8x0cl5jikiyx3c7arwna7k89215a"))))
    (properties `((upstream-name . "recorder")))
    (build-system r-build-system)
    (propagated-inputs (list r-data-table r-crayon))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/smaakage85/recorder")
    (synopsis "Toolkit to Validate New Data for a Predictive Model")
    (description
     "This package provides a lightweight toolkit to validate new observations when
computing their predictions with a predictive model.  The validation process
consists of two steps: (1) record relevant statistics and meta data of the
variables in the original training data for the predictive model and (2) use
these data to run a set of basic validation tests on the new set of
observations.")
    (license license:expat)))

(define-public r-reconstructr
  (package
    (name "r-reconstructr")
    (version "2.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reconstructr" version))
       (sha256
        (base32 "05nvp19fkmyr2sc7k5qjz2521f8nrzxvjdbnqa148qs0mac84b16"))))
    (properties `((upstream-name . "reconstructr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-openssl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/Ironholds/reconstructr")
    (synopsis "Session Reconstruction and Analysis")
    (description
     "This package provides functions to reconstruct sessions from web log or other
user trace data and calculate various metrics around them, producing tabular,
output that is compatible with dplyr or data.table centered processes.")
    (license license:expat)))

(define-public r-reconstructkm
  (package
    (name "r-reconstructkm")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reconstructKM" version))
       (sha256
        (base32 "0fxdmvkm68g114nx2r2r8gy2lwqc5wkfcls7fpdfdfg0aazqqxwq"))))
    (properties `((upstream-name . "reconstructKM")))
    (build-system r-build-system)
    (propagated-inputs (list r-survminer r-survival r-rlang r-magrittr r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=reconstructKM")
    (synopsis "Reconstruct Individual-Level Data from Published KM Plots")
    (description
     "This package provides functions for reconstructing individual-level data (time,
status, arm) from Kaplan-MEIER curves published in academic journals (e.g. NEJM,
JCO, JAMA).  The individual-level data can be used for re-analysis,
meta-analysis, methodology development, etc.  This package was used to generate
the data for commentary such as Sun, Rich, & Wei (2018)
<doi:10.1056/NEJMc1808567>.  Please see the vignette for a quickstart guide.")
    (license license:gpl3)))

(define-public r-recon
  (package
    (name "r-recon")
    (version "0.3.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Recon" version))
       (sha256
        (base32 "11gag2bl00pcy7ysfycaa58qarh6aigznldkc4kkn2178bl4ii62"))))
    (properties `((upstream-name . "Recon")))
    (build-system r-build-system)
    (propagated-inputs (list r-rootsolve))
    (home-page "https://cran.r-project.org/package=Recon")
    (synopsis "Computational Tools for Economics")
    (description
     "This package implements solutions to canonical models of Economics such as
Monopoly Profit Maximization, Cournot's Duopoly, Solow (1956,
<doi:10.2307/1884513>) growth model and Mankiw, Romer and Weil (1992,
<doi:10.2307/2118477>) growth model.")
    (license license:gpl3)))

(define-public r-recommenderlabjester
  (package
    (name "r-recommenderlabjester")
    (version "0.2-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recommenderlabJester" version))
       (sha256
        (base32 "1c3zknvz4ffy7zgcf9jk7sjbiq79hg3pm072qzda1ksir14nbh4p"))))
    (properties `((upstream-name . "recommenderlabJester")))
    (build-system r-build-system)
    (propagated-inputs (list r-recommenderlab))
    (home-page "https://github.com/mhahsler/recommenderlabJester")
    (synopsis "Jester Dataset for 'recommenderlab'")
    (description
     "This package provides the Jester Dataset for package recommenderlab.")
    (license license:gpl2)))

(define-public r-recommenderlabbx
  (package
    (name "r-recommenderlabbx")
    (version "0.2-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recommenderlabBX" version))
       (sha256
        (base32 "0292msnm818q7a67z7dgd6x06lb5cqhbzvgxrbk9ifd7l9csw3vy"))))
    (properties `((upstream-name . "recommenderlabBX")))
    (build-system r-build-system)
    (propagated-inputs (list r-recommenderlab))
    (home-page "https://github.com/mhahsler/recommenderlabBX")
    (synopsis "Book-Crossing Dataset (BX) for 'recommenderlab'")
    (description
     "This package provides the Book-Crossing Dataset for the package recommenderlab.")
    (license license:gpl2)))

(define-public r-recommenderlab
  (package
    (name "r-recommenderlab")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recommenderlab" version))
       (sha256
        (base32 "1dxpdgmv3hfwix1w8lzc0ijcd8myslsqnznr5pbwsrh7wypwqk1h"))))
    (properties `((upstream-name . "recommenderlab")))
    (build-system r-build-system)
    (propagated-inputs (list r-registry
                             r-recosystem
                             r-proxy
                             r-matrixstats
                             r-matrix
                             r-irlba
                             r-arules))
    (home-page "https://github.com/mhahsler/recommenderlab")
    (synopsis "Lab for Developing and Testing Recommender Algorithms")
    (description
     "This package provides a research infrastructure to develop and evaluate
collaborative filtering recommender algorithms.  This includes a sparse
representation for user-item matrices, many popular algorithms, top-N
recommendations, and cross-validation.  Hahsler (2022)
<doi:10.48550/@code{arXiv.2205.12371>}.")
    (license license:gpl2)))

(define-public r-recometrics
  (package
    (name "r-recometrics")
    (version "0.1.6-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recometrics" version))
       (sha256
        (base32 "1i7842k6qw9zbcslfwgdfd7358jh63aybi4mifq6knc8qm577nqk"))))
    (properties `((upstream-name . "recometrics")))
    (build-system r-build-system)
    (propagated-inputs (list r-rhpcblasctl r-rcpp r-matrixextra r-matrix
                             r-float))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/david-cortes/recometrics")
    (synopsis "Evaluation Metrics for Implicit-Feedback Recommender Systems")
    (description
     "Calculates evaluation metrics for implicit-feedback recommender systems that are
based on low-rank matrix factorization models, given the fitted model matrices
and data, thus allowing to compare models from a variety of libraries.  Metrics
include P@@K (precision-at-k, for top-K recommendations), R@@K (recall at k),
AP@@K (average precision at k), NDCG@@K (normalized discounted cumulative gain
at k), Hit@@K (from which the Hit Rate is calculated), RR@@K (reciprocal rank at
k, from which the MRR or mean reciprocal rank is calculated), ROC-AUC (area
under the receiver-operating characteristic curve), and PR-AUC (area under the
precision-recall curve).  These are calculated on a per-user basis according to
the ranking of items induced by the model, using efficient multi-threaded
routines.  Also provides functions for creating train-test splits for model
fitting and evaluation.")
    (license license:bsd-2)))

(define-public r-recombinator
  (package
    (name "r-recombinator")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recombinator" version))
       (sha256
        (base32 "1dbsqig2jjp3zypcqxf9c2brb09pv6xikmh6fhz5vgxy5wkyivks"))))
    (properties `((upstream-name . "recombinator")))
    (build-system r-build-system)
    (propagated-inputs (list r-crayon))
    (home-page "https://cran.r-project.org/package=recombinator")
    (synopsis "Recombinate Nested Lists to Dataframes")
    (description "Turns nested lists into data.frames in an orderly manner.")
    (license license:expat)))

(define-public r-recolorize
  (package
    (name "r-recolorize")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recolorize" version))
       (sha256
        (base32 "1biiyqqvnm3310gc9q0apwqfmvmh6cnj9pc77l44js4x3576w3aq"))))
    (properties `((upstream-name . "recolorize")))
    (build-system r-build-system)
    (propagated-inputs (list r-raster
                             r-png
                             r-plotfunctions
                             r-plot3d
                             r-pavo
                             r-mgcv
                             r-imager
                             r-colorramps
                             r-abind))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=recolorize")
    (synopsis "Color-Based Image Segmentation")
    (description
     "Automatic, semi-automatic, and manual functions for generating color maps from
images.  The idea is to simplify the colors of an image according to a metric
that is useful for the user, using deterministic methods whenever possible.
Many images will be clustered well using the out-of-the-box functions, but the
package also includes a toolbox of functions for making manual adjustments
(layer merging/isolation, blurring, fitting to provided color clusters or those
from another image, etc).  Also includes export methods for other color/pattern
analysis packages (pavo, patternize, colordistance).")
    (license (license:fsdg-compatible "CC BY 4.0"))))

(define-public r-recogito
  (package
    (name "r-recogito")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recogito" version))
       (sha256
        (base32 "0hirzw446r192gdvscgqmm7n3bh2fy0qkf9pqnqm2vziv1cqf1bq"))))
    (properties `((upstream-name . "recogito")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-jsonlite r-htmlwidgets r-htmltools))
    (native-inputs (list esbuild))
    (home-page "https://github.com/DIGI-VUB/recogito")
    (synopsis "Interactive Annotation of Text and Images")
    (description
     "Annotate text with entities and the relations between them.  Annotate areas of
interest in images with your labels.  Providing htmlwidgets bindings to the
recogito <https://github.com/recogito/recogito-js> and annotorious
<https://github.com/recogito/annotorious> libraries.")
    (license license:bsd-3)))

(define-public r-recodeflow
  (package
    (name "r-recodeflow")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recodeflow" version))
       (sha256
        (base32 "0qi5y1rbdw6dcvkl8gw9fh7rcb0f6ckig8464sgxslgf7cdk2gcz"))))
    (properties `((upstream-name . "recodeflow")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-tidyr
                             r-stringr
                             r-sjlabelled
                             r-magrittr
                             r-haven
                             r-dplyr))
    (home-page "https://github.com/Big-Life-Lab/recodeflow")
    (synopsis "Interface Functions for PMML Creation, and Data Recoding")
    (description
     "This package contains functions to interface with variables and variable details
sheets, including recoding variables and converting them to PMML.")
    (license license:expat)))

(define-public r-recocrop
  (package
    (name "r-recocrop")
    (version "0.4-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Recocrop" version))
       (sha256
        (base32 "1drh1qssnb42p1zl45phpggxhx6is435k9f1vzga0q0dddr5q770"))))
    (properties `((upstream-name . "Recocrop")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra r-rcpp r-meteor))
    (home-page "https://github.com/cropmodels/Recocrop/")
    (synopsis "Estimating Environmental Suitability for Plants")
    (description
     "The ecocrop model estimates environmental suitability for plants using a
limiting factor approach for plant growth following Hackett (1991)
<doi:10.1007/BF00045728>.  The implementation in this package is fast and
flexible: it allows for the use of any (environmental) predictor variable.
Predictors can be either static (for example, soil @code{pH}) or dynamic (for
example, monthly precipitation).")
    (license license:gpl3+)))

(define-public r-recmetrics
  (package
    (name "r-recmetrics")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recmetrics" version))
       (sha256
        (base32 "1a38nmyb9c8lfqx4j9bm63vvfsns8nhvyw67kak6nqvpr4blb9mx"))))
    (properties `((upstream-name . "recmetrics")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect r-magrittr r-lifecycle r-dplyr))
    (home-page "https://noah-padgett.github.io/recmetrics/")
    (synopsis "Psychometric Evaluation Using Relative Excess Correlations")
    (description
     "Modern results of psychometric theory are implemented to provide users with a
way of evaluating the internal structure of a set of items guided by theory.
These methods are discussed in detail in @code{VanderWeele} and Padgett (2024)
<doi:10.31234/osf.io/rnbk5>.  The relative excess correlation matrices will,
generally, have numerous negative entries even if all of the raw correlations
between each pair of indicators are positive.  The positive deviations of the
relative excess correlation matrix entries help identify clusters of indicators
that are more strongly related to one another, providing insights somewhat
analogous to factor analysis, but without the need for rotations or decisions
concerning the number of factors.  A goal similar to exploratory/confirmatory
factor analysis, but recmetrics uses novel methods that do not rely on
assumptions of latent variables or latent variable structures.")
    (license license:expat)))

(define-public r-recmap
  (package
    (name "r-recmap")
    (version "1.0.17")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recmap" version))
       (sha256
        (base32 "1q59fw72g6nkc9gzx06mnhwavplxybc0srjb10h5h8l1wwf1s67i"))))
    (properties `((upstream-name . "recmap")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp r-rcpp r-ga))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=recmap")
    (synopsis "Compute the Rectangular Statistical Cartogram")
    (description
     "This package implements the @code{RecMap} MP2 construction heuristic
<doi:10.1109/INFVIS.2004.57>.  This algorithm draws maps according to a given
statistical value, e.g., election results, population, or epidemiological data.
The basic idea of the @code{RecMap} algorithm is that each map region, e.g.,
different countries, is represented by a rectangle.  The area of each rectangle
represents the statistical value given as input (maintain zero cartographic
error).  C++ is used to implement the computationally intensive tasks.  The
vignette included in this package provides documentation about the usage of the
recmap algorithm.")
    (license license:gpl3)))

(define-public r-recluster
  (package
    (name "r-recluster")
    (version "2.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recluster" version))
       (sha256
        (base32 "1nz5w4v5hhb3qjwxixc526gqsmr1imw582l9gj2acwar4z9mixjp"))))
    (properties `((upstream-name . "recluster")))
    (build-system r-build-system)
    (propagated-inputs (list r-vegan
                             r-plotrix
                             r-picante
                             r-phytools
                             r-phangorn
                             r-cluster
                             r-ape))
    (home-page "https://github.com/leondap/recluster")
    (synopsis "Ordination Methods for the Analysis of Beta-Diversity Indices")
    (description
     "The analysis of different aspects of biodiversity requires specific algorithms.
For example, in regionalisation analyses, the high frequency of ties and zero
values in dissimilarity matrices produced by Beta-diversity turnover produces
hierarchical cluster dendrograms whose topology and bootstrap supports are
affected by the order of rows in the original matrix.  Moreover, visualisation
of biogeographical regionalisation can be facilitated by a combination of
hierarchical clustering and multi-dimensional scaling.  The recluster package
provides robust techniques to visualise and analyse pattern of biodiversity and
to improve occurrence data for cryptic taxa.  Other functions 	related to
recluster (e.g. the biodecrypt family) are currently available in @code{GitHub}
at <https://github.com/leondap/recluster>.")
    (license license:gpl2+)))

(define-public r-reclin2
  (package
    (name "r-reclin2")
    (version "0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reclin2" version))
       (sha256
        (base32 "08jf6r74fmsj2bvhz76vf74hphg8543x4wj1dnbsj44xjzh6abi4"))))
    (properties `((upstream-name . "reclin2")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringdist r-rcpp r-lpsolve r-data-table))
    (native-inputs (list r-simplermarkdown))
    (home-page "https://github.com/djvanderlaan/reclin2")
    (synopsis "Record Linkage Toolkit")
    (description
     "This package provides functions to assist in performing probabilistic record
linkage and deduplication: generating pairs, comparing records, em-algorithm for
estimating m- and u-probabilities (I. Fellegi & A. Sunter (1969)
<doi:10.1080/01621459.1969.10501049>, T.N. Herzog, F.J. Scheuren, & W.E. Winkler
(2007), \"Data Quality and Record Linkage Techniques\", ISBN:978-0-387-69502-0),
forcing one-to-one matching.  Can also be used for pre- and post-processing for
machine learning methods for record linkage.  Focus is on memory, CPU
performance and flexibility.")
    (license license:gpl3)))

(define-public r-rechonest
  (package
    (name "r-rechonest")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rechonest" version))
       (sha256
        (base32 "0vpff8q5p6in7vjyl62bx3wmksravcg4mpx20qlgy5ia47vyhqp2"))))
    (properties `((upstream-name . "rechonest")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl r-jsonlite r-httr))
    (home-page "https://github.com/mukul13/rechonest")
    (synopsis "R Interface to Echo Nest API")
    (description
     "The Echo nest <http://the.echonest.com> is the industry's leading music
intelligence company, providing developer with deepest understanding of music
content and music fans.  This package can be used to access artist's data
including songs, blogs, news, reviews etc.  Song's data including audio summary,
style, danceability, tempo etc can also be accessed.")
    (license license:expat)))

(define-public r-recharge
  (package
    (name "r-recharge")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rechaRge" version))
       (sha256
        (base32 "05in0rv36g282f79b0f3crn1y7azfvw7863n8c583jgvhmvndqsn"))))
    (properties `((upstream-name . "rechaRge")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-sp
                             r-raster
                             r-r-utils
                             r-progressr
                             r-plyr
                             r-ncdf4
                             r-lubridate
                             r-hydrostats
                             r-future
                             r-foreach
                             r-dofuture
                             r-data-table
                             r-airgr))
    (home-page "https://github.com/gwrecharge/rechaRge/")
    (synopsis "HydroBudget â Groundwater Recharge Model")
    (description
     "@code{HydroBudget} is a spatially distributed groundwater recharge model that
computes a superficial water budget on grid cells with outputs aggregated into
monthly time steps.  It was developed as an accessible and computationally
affordable model to simulate groundwater recharge over large areas (thousands of
km2, regional-scale watersheds) and for long time periods (decades), in cold and
humid climates.  Model algorithms are based on the research of Dubois, E. et al.
(2021a) <doi:10.5683/SP3/EUDV3H> and Dubois, E. et al. (2021b)
<doi:10.5194/hess-25-6567-2021>.")
    (license (license:fsdg-compatible "CC BY 4.0"))))

(define-public r-recexcavaar
  (package
    (name "r-recexcavaar")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recexcavAAR" version))
       (sha256
        (base32 "0b91jbgqzkgzvk658ckk639yyz1daa0xql3qgl0kzgqg68d53x20"))))
    (properties `((upstream-name . "recexcavAAR")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-kriging))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ISAAKiel/recexcavAAR")
    (synopsis "3D Reconstruction of Archaeological Excavations")
    (description
     "This package provides a toolset for 3D reconstruction and analysis of
excavations.  It provides methods to reconstruct natural and artificial surfaces
based on field measurements.  This allows to spatially contextualize documented
subunits and features.  Intended to be part of a 3D visualization workflow.")
    (license license:gpl2)))

(define-public r-receptiviti
  (package
    (name "r-receptiviti")
    (version "0.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "receptiviti" version))
       (sha256
        (base32 "1z8f8wky1r712mi3by4jf0iv973i3bppgslj7kkvzwnrbij458fj"))))
    (properties `((upstream-name . "receptiviti")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringi r-progressr r-jsonlite r-digest r-curl))
    (home-page "https://receptiviti.github.io/receptiviti-r/")
    (synopsis "Text Analysis Through the 'Receptiviti' API")
    (description
     "Send text to the <https://www.receptiviti.com> API to be scored by all available
frameworks.")
    (license license:expat)))

(define-public r-recassorules
  (package
    (name "r-recassorules")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RecAssoRules" version))
       (sha256
        (base32 "0jvl9yl1rg69bqb1cimi8r0bry73jhsq73fxfyy33ljwym2cdgv6"))))
    (properties `((upstream-name . "RecAssoRules")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/LouisRaimbault/RecAssoRules-R")
    (synopsis
     "Recursive Mining for Frequent Pattern and Confident Association Rules")
    (description
     "This package provides functions allowing the user to recursively extract
frequent patterns and confident rules according to indicators of minimal support
and minimal confidence.  These functions are described in \"Recursive Association
Rule Mining\" Abdelkader Mokkadem, Mariane Pelletier, Louis Raimbault (2020)
<@code{arXiv:2011.14195>}.")
    (license license:gpl2+)))

(define-public r-recapr
  (package
    (name "r-recapr")
    (version "0.4.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recapr" version))
       (sha256
        (base32 "1grp8aczn3qjm8ihn2466v5yay60vwyf1x7jsmihgxlvgwki6dh7"))))
    (properties `((upstream-name . "recapr")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=recapr")
    (synopsis "Two Event Mark-Recapture Experiment")
    (description
     "This package provides tools are provided for estimating, testing, and simulating
abundance in a two-event (Petersen) mark-recapture experiment.  Functions are
given to calculate the Petersen, Chapman, and Bailey estimators and associated
variances.  However, the principal utility is a set of functions to simulate
random draws from these estimators, and use these to conduct hypothesis tests
and power calculations.  Additionally, a set of functions are provided for
generating confidence intervals via bootstrapping.  Functions are also provided
to test abundance estimator consistency under complete or partial
stratification, and to calculate stratified or partially stratified estimators.
Functions are also provided to calculate recommended sample sizes.  Referenced
methods can be found in Arnason et al. (1996) <ISSN:0706-6457>, Bailey (1951)
<DOI:10.2307/2332575>, Bailey (1952) <DOI:10.2307/1913>, Chapman (1951)
NAID:20001644490, Cohen (1988) ISBN:0-12-179060-6, Darroch (1961)
<DOI:10.2307/2332748>, and Robson and Regier (1964) <ISSN:1548-8659>.")
    (license license:gpl2)))

(define-public r-recalibratinn
  (package
    (name "r-recalibratinn")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "recalibratiNN" version))
       (sha256
        (base32 "1xa70a8w9fi3yq6x1f5jch0ids5zkxq1ij5y5hd124q53bp0q90l"))))
    (properties `((upstream-name . "recalibratiNN")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-rdpack
                             r-rann
                             r-purrr
                             r-magrittr
                             r-hmisc
                             r-glue
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://bdm.unb.br/handle/10483/38504")
    (synopsis "Quantile Recalibration for Regression Models")
    (description
     "Enables the diagnostics and enhancement of regression model calibration.It
offers both global and local visualization tools for calibration diagnostics and
provides one recalibration method: Torres R, Nott DJ, Sisson SA, Rodrigues T,
Reis JG, Rodrigues GS (2024) <doi:10.48550/@code{arXiv.2403.05756>}.  The method
leverages on Probabilistic Integral Transform (PIT) values to both evaluate and
perform the calibration of statistical models.  For a more detailed description
of the package, please refer to the bachelor's thesis available bellow.")
    (license license:expat)))

(define-public r-reca
  (package
    (name "r-reca")
    (version "1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RECA" version))
       (sha256
        (base32 "1xikj20flqajpkw4wyynmqd1pafbylzwfrmc8bz9pqgggjjhrqql"))))
    (properties `((upstream-name . "RECA")))
    (build-system r-build-system)
    (home-page "https://nanx.me/RECA/")
    (synopsis
     "Relevant Component Analysis for Supervised Distance Metric Learning")
    (description
     "Relevant Component Analysis (RCA) tries to find a linear transformation of the
feature space such that the effect of irrelevant variability is reduced in the
transformed space.")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rebus-unicode
  (package
    (name "r-rebus-unicode")
    (version "0.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rebus.unicode" version))
       (sha256
        (base32 "185313wh4zpp6addfdr78pjhxzazlfwgsddwk02zrzblf4iwzjdm"))))
    (properties `((upstream-name . "rebus.unicode")))
    (build-system r-build-system)
    (propagated-inputs (list r-rebus-base))
    (home-page "https://cran.r-project.org/package=rebus.unicode")
    (synopsis "Unicode Extensions for the 'rebus' Package")
    (description
     "Build regular expressions piece by piece using human readable code.  This
package contains Unicode functionality, and is primarily intended to be used by
package developers.")
    (license (license:fsdg-compatible "Unlimited"))))

(define-public r-rebus-numbers
  (package
    (name "r-rebus-numbers")
    (version "0.0-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rebus.numbers" version))
       (sha256
        (base32 "0drgszz0824j49c6jk9ry0cfjky7g843ldlxrx3g2vjp0v7hznj3"))))
    (properties `((upstream-name . "rebus.numbers")))
    (build-system r-build-system)
    (propagated-inputs (list r-rebus-base))
    (home-page "https://cran.r-project.org/package=rebus.numbers")
    (synopsis "Numeric Extensions for the 'rebus' Package")
    (description
     "Build regular expressions piece by piece using human readable code.  This
package contains number-related functionality, and is primarily intended to be
used by package developers.")
    (license (license:fsdg-compatible "Unlimited"))))

(define-public r-rebus-datetimes
  (package
    (name "r-rebus-datetimes")
    (version "0.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rebus.datetimes" version))
       (sha256
        (base32 "1hq5mr1v8ziikmkncb9ix11877rmzbjhz54nigwbkswbjwj7vhdf"))))
    (properties `((upstream-name . "rebus.datetimes")))
    (build-system r-build-system)
    (propagated-inputs (list r-rebus-base))
    (home-page "https://cran.r-project.org/package=rebus.datetimes")
    (synopsis "Date and Time Extensions for the 'rebus' Package")
    (description
     "Build regular expressions piece by piece using human readable code.  This
package contains date and time functionality, and is primarily intended to be
used by package developers.")
    (license (license:fsdg-compatible "Unlimited"))))

(define-public r-rebus-base
  (package
    (name "r-rebus-base")
    (version "0.0-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rebus.base" version))
       (sha256
        (base32 "1n2khszcya9k6379bdkq47xi2nw9jngiwj7z8a14wfswqydczv6y"))))
    (properties `((upstream-name . "rebus.base")))
    (build-system r-build-system)
    (home-page "https://github.com/richierocks/rebus.base")
    (synopsis "Core Functionality for the 'rebus' Package")
    (description
     "Build regular expressions piece by piece using human readable code.  This
package contains core functionality, and is primarily intended to be used by
package developers.")
    (license (license:fsdg-compatible "Unlimited"))))

(define-public r-rebus
  (package
    (name "r-rebus")
    (version "0.1-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rebus" version))
       (sha256
        (base32 "0ms3dm6g0fq3jycpgjl7q7kyljxc97cczy2jj0lyviwmipdgjg9d"))))
    (properties `((upstream-name . "rebus")))
    (build-system r-build-system)
    (propagated-inputs (list r-rebus-unicode r-rebus-numbers r-rebus-datetimes
                             r-rebus-base))
    (home-page "https://cran.r-project.org/package=rebus")
    (synopsis "Build Regular Expressions in a Human Readable Way")
    (description
     "Build regular expressions piece by piece using human readable code.  This
package is designed for interactive use.  For package development, use the
rebus.* dependencies.")
    (license (license:fsdg-compatible "Unlimited"))))

(define-public r-rebmix
  (package
    (name "r-rebmix")
    (version "2.16.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rebmix" version))
       (sha256
        (base32 "12scbgbjyfpskv1lly34r0iwci13pad4g7lgiz7wsph0gynmai13"))))
    (properties `((upstream-name . "rebmix")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rebmix")
    (synopsis "Finite Mixture Modeling, Clustering & Classification")
    (description
     "Random univariate and multivariate finite mixture model generation, estimation,
clustering, latent class analysis and classification.  Variables can be
continuous, discrete, independent or dependent and may follow normal, lognormal,
Weibull, gamma, Gumbel, binomial, Poisson, Dirac, uniform or circular von Mises
parametric families.")
    (license license:gpl2+)))

(define-public r-rebird
  (package
    (name "r-rebird")
    (version "1.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rebird" version))
       (sha256
        (base32 "1lsmrkp5zfwr9jr26bzw2mk2z4261ylz7qclb0a4j0ma8vrd6f5j"))))
    (properties `((upstream-name . "rebird")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr r-dplyr r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rebird/")
    (synopsis "R Client for the eBird Database of Bird Observations")
    (description
     "This package provides a programmatic client for the @code{eBird} database
(<https://ebird.org/home>), including functions for searching for bird
observations by geographic location (latitude, longitude), @code{eBird}
hotspots, location identifiers, by notable sightings, by region, and by
taxonomic name.")
    (license license:expat)))

(define-public r-rebib
  (package
    (name "r-rebib")
    (version "0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rebib" version))
       (sha256
        (base32 "17ps6369gk4rx30y9kk9ddary6v05x9nvr01rmyyhc7y9hvswdvs"))))
    (properties `((upstream-name . "rebib")))
    (build-system r-build-system)
    (propagated-inputs (list r-xfun r-whisker r-stringr r-logger r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/Abhi-1U/rebib")
    (synopsis "Convert and Aggregate Bibliographies")
    (description
     "Authors working with @code{LaTeX} articles use the built-in bibliography options
and @code{BibTeX} files.  While this might work with @code{LaTeX}', it does not
function well with Web articles.  As a way out, rebib offers tools to convert
and combine bibliographies from both sources.")
    (license license:expat)))

(define-public r-rebayes
  (package
    (name "r-rebayes")
    (version "2.56")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REBayes" version))
       (sha256
        (base32 "0wfqibyzj3kcydsv2jr8x5pmcrig9y7183r7raqnqkss9iy60qyj"))))
    (properties `((upstream-name . "REBayes")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrix r-lattice))
    (native-inputs (list r-knitr))
    (home-page "https://www.r-project.org")
    (synopsis "Empirical Bayes Estimation and Inference")
    (description
     "Kiefer-Wolfowitz maximum likelihood estimation for mixture models and some other
density estimation and regression methods based on convex optimization.  See
Koenker and Gu (2017) REBayes: An R Package for Empirical Bayes Mixture Methods,
Journal of Statistical Software, 82, 1--26, <DOI:10.18637/jss.v082.i08>.")
    (license license:gpl2+)))

(define-public r-reat
  (package
    (name "r-reat")
    (version "3.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "REAT" version))
       (sha256
        (base32 "1bnmk74xdxckni6alp5kslsb3w7jlnfwc27mi5y3lry7zrvxi6lk"))))
    (properties `((upstream-name . "REAT")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=REAT")
    (synopsis "Regional Economic Analysis Toolbox")
    (description
     "Collection of models and analysis methods used in regional and urban economics
and (quantitative) economic geography, e.g. measures of inequality, regional
disparities and convergence, regional specialization as well as accessibility
and spatial interaction models.")
    (license license:gpl2+)))

(define-public r-reasonabletools
  (package
    (name "r-reasonabletools")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reasonabletools" version))
       (sha256
        (base32 "08i7wy4jic5v9ka7j716lj6p9r55sv46sqrxsy7ad6sgjvrzn0ss"))))
    (properties `((upstream-name . "reasonabletools")))
    (build-system r-build-system)
    (home-page "https://github.com/mattreusswig/reasonabletools")
    (synopsis
     "Clean Water Quality Data for NPDES Reasonable Potential Analyses")
    (description
     "This package provides functions for cleaning and summarising water quality data
for use in National Pollutant Discharge Elimination Service (NPDES) permit
reasonable potential analyses and water quality-based effluent limitation
calculations.  Procedures are based on those contained in the \"Technical Support
Document for Water Quality-based Toxics Control\", United States Environmental
Protection Agency (1991).")
    (license license:expat)))

(define-public r-rearrangement
  (package
    (name "r-rearrangement")
    (version "2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rearrangement" version))
       (sha256
        (base32 "0q253nj62rl65vjsq6503r80qa2j35wac8lv7ydp9w260p28z923"))))
    (properties `((upstream-name . "Rearrangement")))
    (build-system r-build-system)
    (propagated-inputs (list r-quantreg))
    (home-page "https://cran.r-project.org/package=Rearrangement")
    (synopsis
     "Monotonize Point and Interval Functional Estimates by Rearrangement")
    (description
     "The rearrangement operator (Hardy, Littlewood, and Polya 1952) for univariate,
bivariate, and trivariate point estimates of monotonic functions.  The package
additionally provides a function that creates simultaneous confidence intervals
for univariate functions and applies the rearrangement operator to these
confidence intervals.")
    (license license:gpl2+)))

(define-public r-reappraised
  (package
    (name "r-reappraised")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reappraised" version))
       (sha256
        (base32 "1f8qmxzn4vyn68dfc6c31jrjnymy6r7r4fg9qddx9cv01asfscws"))))
    (properties `((upstream-name . "reappraised")))
    (build-system r-build-system)
    (propagated-inputs (list r-vcdextra
                             r-vcd
                             r-tidyr
                             r-rlang
                             r-readxl
                             r-purrr
                             r-officer
                             r-magrittr
                             r-ggpubr
                             r-ggplot2
                             r-flextable
                             r-epitools
                             r-dplyr
                             r-data-table
                             r-broom
                             r-boot))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=reappraised")
    (synopsis
     "Statistical Tools for Assessing Publication Integrity of Groups of Trials")
    (description
     "Takes user-provided baseline data from groups of randomised controlled data and
assesses whether the observed distribution of baseline p-values, numbers of
participants in each group, or categorical variables are consistent with the
expected distribution, as an aid to the assessment of integrity concerns in
published randomised controlled trials.  References (citations in @code{PubMed}
format in details of each function): Bolland MJ, Avenell A, Gamble GD, Grey A.
(2016) <doi:10.1212/WNL.0000000000003387>.  Bolland MJ, Gamble GD, Avenell A,
Grey A, Lumley T. (2019) <doi:10.1016/j.jclinepi.2019.05.006>.  Bolland MJ,
Gamble GD, Avenell A, Grey A. (2019) <doi:10.1016/j.jclinepi.2019.03.001>.
Bolland MJ, Gamble GD, Grey A, Avenell A. (2020) <doi:10.1111/anae.15165>.
Bolland MJ, Gamble GD, Avenell A, Cooper DJ, Grey A. (2021)
<doi:10.1016/j.jclinepi.2020.11.012>.  Bolland MJ, Gamble GD, Avenell A, Grey A.
(2021) <doi:10.1016/j.jclinepi.2021.05.002>.  Bolland MJ, Gamble GD, Avenell A,
Cooper DJ, Grey A. (2023) <doi:10.1016/j.jclinepi.2022.12.018>.  Carlisle JB,
Loadsman JA. (2017) <doi:10.1111/anae.13650>.  Carlisle JB. (2017)
<doi:10.1111/anae.13938>.")
    (license license:expat)))

(define-public r-ream
  (package
    (name "r-ream")
    (version "1.0-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ream" version))
       (sha256
        (base32 "11m1n8hqx1sszbrcw87kaahzyyrq10vmfbi9fhwkzkw5b316y9bi"))))
    (properties `((upstream-name . "ream")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/RaphaelHartmann/ream")
    (synopsis
     "Density, Distribution, and Sampling Functions for Evidence Accumulation Models")
    (description
     "Calculate the probability density functions (PDFs) for two threshold evidence
accumulation models (EAMs).  These are defined using the following Stochastic
Differential Equation (SDE), dx(t) = v(x(t),t)*dt+D(x(t),t)*@code{dW}, where
x(t) is the accumulated evidence at time t, v(x(t),t) is the drift rate,
D(x(t),t) is the noise scale, and W is the standard Wiener process.  The
boundary conditions of this process are the upper and lower decision thresholds,
represented by b_u(t) and b_l(t), respectively.  Upper threshold b_u(t) > 0,
while lower threshold b_l(t) < 0.  The initial condition of this process x(0) =
z where b_l(t) < z < b_u(t).  We represent this as the relative start point w =
z/(b_u(0)-b_l(0)), defined as a ratio of the initial threshold location.  This
package generates the PDF using the same approach as the python package it is
based upon, @code{PyBEAM} by Murrow and Holmes (2023)
<doi:10.3758/s13428-023-02162-w>.  First, it converts the SDE model into the
forwards Fokker-Planck equation dp(x,t)/dt =
d(v(x,t)*p(x,t))/dt-0.5*d^2(D(x,t)^2*p(x,t))/dx^2, then solves this equation
using the Crank-Nicolson method to determine p(x,t).  Finally, it calculates the
flux at the decision thresholds, f_i(t) = 0.5*d(D(x,t)^2*p(x,t))/dx evaluated at
x = b_i(t), where i is the relevant decision threshold, either upper (i = u) or
lower (i = l).  The flux at each thresholds f_i(t) is the PDF for each
threshold, specifically its PDF. We discuss further details of this approach in
this package and @code{PyBEAM} publications.  Additionally, one can calculate
the cumulative distribution functions of and sampling from the EAMs.")
    (license license:gpl2+)))

(define-public r-realvams
  (package
    (name "r-realvams")
    (version "0.4-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RealVAMS" version))
       (sha256
        (base32 "1945vxqj4y6fci3pwrq5jr91ikx2yn91jm33fm0x1x1bzv7krcgh"))))
    (properties `((upstream-name . "RealVAMS")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-numderiv r-matrix))
    (home-page "https://cran.r-project.org/package=RealVAMS")
    (synopsis "Multivariate VAM Fitting")
    (description
     "Fits a multivariate value-added model (VAM), see Broatch, Green, and Karl (2018)
<doi:10.32614/RJ-2018-033> and Broatch and Lohr (2012)
<doi:10.3102/1076998610396900>, with normally distributed test scores and a
binary outcome indicator.  A pseudo-likelihood approach, Wolfinger (1993)
<doi:10.1080/00949659308811554>, is used for the estimation of this joint
generalized linear mixed model.  The inner loop of the pseudo-likelihood routine
(estimation of a linear mixed model) occurs in the framework of the EM algorithm
presented by Karl, Yang, and Lohr (2013) <DOI:10.1016/j.csda.2012.10.004>.  This
material is based upon work supported by the National Science Foundation under
grants DRL-1336027 and DRL-1336265.")
    (license license:gpl2)))

(define-public r-realtimeloads
  (package
    (name "r-realtimeloads")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "realTimeloads" version))
       (sha256
        (base32 "0ragbi8sczhs8hsbgxl4gmb8lwbmhnxiz88almpml2slsmx7nrrq"))))
    (properties `((upstream-name . "realTimeloads")))
    (build-system r-build-system)
    (propagated-inputs (list r-tideharmonics r-signal r-mice r-imputets
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=realTimeloads")
    (synopsis
     "Analyte Flux and Load from Estimates of Concentration and Discharge")
    (description
     "Flux (mass per unit time) and Load (mass) are computed from timeseries estimates
of analyte concentration and discharge.  Concentration timeseries are computed
from regression between surrogate and user-provided analyte.  Uncertainty in
calculations is estimated using bootstrap resampling.  Code for the processing
of acoustic backscatter from horizontally profiling acoustic Doppler current
profilers is provided.  All methods detailed in Livsey et al (2020)
<doi:10.1007/s12237-020-00734-z>, Livsey et al (2023)
<doi:10.1029/2022WR033982>, and references therein.")
    (license license:gpl3+)))

(define-public r-realtest
  (package
    (name "r-realtest")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "realtest" version))
       (sha256
        (base32 "1k2chcxpqrl4b4xfc80b8kvkn0nw8dfbl6n1965zjzszf7qaizkp"))))
    (properties `((upstream-name . "realtest")))
    (build-system r-build-system)
    (home-page "https://realtest.gagolewski.com")
    (synopsis "Where Expectations Meet Reality: Realistic Unit Testing")
    (description
     "This package provides a framework for unit testing for realistic minimalists,
where we distinguish between expected, acceptable, current, fallback, ideal, or
regressive behaviour.  It can also be used for monitoring third-party software
projects for changes.")
    (license license:gpl2+)))

(define-public r-ready4
  (package
    (name "r-ready4")
    (version "0.1.18")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ready4" version))
       (sha256
        (base32 "1inmxzb4lzrbxk7qzbxh2dc0s75idk1yma522n1sy6ff6g62q8dg"))))
    (properties `((upstream-name . "ready4")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyrss
                             r-tibble
                             r-stringr
                             r-stringi
                             r-rvest
                             r-rlang
                             r-purrr
                             r-piggyback
                             r-magrittr
                             r-lifecycle
                             r-kableextra
                             r-gh
                             r-dplyr
                             r-dataverse
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://ready4-dev.github.io/ready4/")
    (synopsis "Develop and Use Modular Health Economic Models")
    (description
     "This package provides a template model module, tools to help find model modules
derived from this template and a programming syntax to use these modules in
health economic analyses.  These elements are the foundation for a prototype
software framework for developing living and transferable models and using those
models in reproducible health economic analyses.  The software framework is
extended by other R libraries.  For detailed documentation about the framework
and how to use it visit <https://www.ready4-dev.com/>.  For a background to the
methodological issues that the framework is attempting to help solve, see
Hamilton et al. (2024) <doi:10.1007/s40273-024-01378-8>.")
    (license license:gpl3)))

(define-public r-readxlsb
  (package
    (name "r-readxlsb")
    (version "0.1.61")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readxlsb" version))
       (sha256
        (base32 "1l7lklfk6ifjq6v4m0ha5k1fxak62zac2yn698r03x41k29382f7"))))
    (properties `((upstream-name . "readxlsb")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-rcpp r-cellranger))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/velofrog/readxlsb")
    (synopsis "Read 'Excel' Binary (.xlsb) Workbooks")
    (description "Import data from Excel binary (.xlsb) workbooks into R.")
    (license license:gpl3)))

(define-public r-readwritesqlite
  (package
    (name "r-readwritesqlite")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readwritesqlite" version))
       (sha256
        (base32 "1p80ghra71j83xrrsqrpqkdaylp4sl1daw1paxw9jpajw679n986"))))
    (properties `((upstream-name . "readwritesqlite")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-sf
                             r-rsqlite
                             r-rlang
                             r-lifecycle
                             r-hms
                             r-glue
                             r-dbi
                             r-crayon
                             r-chk))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/poissonconsulting/readwritesqlite")
    (synopsis "Enhanced Reading and Writing for 'SQLite' Databases")
    (description
     "Reads and writes data frames to SQLite databases while preserving time zones
(for POSIXct columns), projections (for sfc columns), units (for units columns),
levels (for factors and ordered factors) and classes for logical, Date and hms
columns.  It also logs changes to tables and provides more informative error
messages.")
    (license license:expat)))

(define-public r-readtextgrid
  (package
    (name "r-readtextgrid")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readtextgrid" version))
       (sha256
        (base32 "1nrdgzflhsnq3bm30dj5mq4mwlb4rpr8sl3xr9a8ncx3ga38ciqz"))))
    (properties `((upstream-name . "readtextgrid")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-stringr r-readr r-purrr r-plyr))
    (home-page "https://github.com/tjmahr/readtextgrid")
    (synopsis "Read in a 'Praat' 'TextGrid' File")
    (description
     "Praat <https://www.fon.hum.uva.nl/praat/> is a widely used tool for
manipulating, annotating and analyzing speech and acoustic data.  It stores
annotation data in a format called a @code{TextGrid}'.  This package provides a
way to read these files into R.")
    (license license:gpl3)))

(define-public r-readstata13
  (package
    (name "r-readstata13")
    (version "0.10.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readstata13" version))
       (sha256
        (base32 "18yr7nsz80dsxxsdgyi68k7506digjawk6khnzpvk5y80yz7hyqi"))))
    (properties `((upstream-name . "readstata13")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/sjewo/readstata13")
    (synopsis "Import 'Stata' Data Files")
    (description "Function to read and write the Stata file format.")
    (license (list license:gpl2
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-readsparse
  (package
    (name "r-readsparse")
    (version "0.1.5-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readsparse" version))
       (sha256
        (base32 "0njvk51057bi6chd6vqcfwif5b18943k67biyk4gk80rj01ggscc"))))
    (properties `((upstream-name . "readsparse")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-matrix))
    (home-page "https://github.com/david-cortes/readsparse")
    (synopsis
     "Read and Write Sparse Matrices in 'SVMLight' and 'LibSVM' Formats")
    (description
     "Read and write labelled sparse matrices in text format as used by software such
as SVMLight', @code{LibSVM}', @code{ThunderSVM}', @code{LibFM}', @code{xLearn}',
XGBoost', @code{LightGBM}', and others.  Supports labelled data for regression,
classification (binary, multi-class, multi-label), and ranking (with qid field),
and can handle header metadata and comments in files.")
    (license license:bsd-2)))

(define-public r-readsdr
  (package
    (name "r-readsdr")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readsdr" version))
       (sha256
        (base32 "0jg7iz6bnilxb5l3xs13v13zg96cjdv24ijvhqw7kh1i10g5kdk2"))))
    (properties `((upstream-name . "readsdr")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-stringr
                             r-stringi
                             r-rlang
                             r-purrr
                             r-progressr
                             r-magrittr
                             r-future-apply
                             r-future
                             r-dplyr
                             r-desolve))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=readsdr")
    (synopsis "Translate Models from System Dynamics Software into 'R'")
    (description
     "The goal of readsdr is to bridge the design capabilities from specialised System
Dynamics software with the powerful numerical tools offered by R libraries.  The
package accomplishes this goal by parsing XMILE files ('Vensim and Stella')
models into R objects to construct networks (graph theory); ODE functions for
Stan'; and inputs to simulate via @code{deSolve} as described in Duggan (2016)
<doi:10.1007/978-3-319-34043-2>.")
    (license license:expat)))

(define-public r-readsdmx
  (package
    (name "r-readsdmx")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readsdmx" version))
       (sha256
        (base32 "0rqi9kfhis2il0jw08rsbpk9ca0hm3i7vh9l3d0rvx5acck7z4z2"))))
    (properties `((upstream-name . "readsdmx")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/mdequeljoe/readsdmx")
    (synopsis "Read SDMX-XML Data")
    (description
     "Read Statistical Data and Metadata Exchange (SDMX) XML data.  This the main
transmission format used in official statistics.  Data can be imported from
local SDMX-ML files or a SDMX web-service and will be read in as is into a
dataframe object.  The @code{RapidXML} C++ library
<https://rapidxml.sourceforge.net/> is used to parse the XML data.")
    (license license:gpl3)))

(define-public r-readroper
  (package
    (name "r-readroper")
    (version "0.9.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readroper" version))
       (sha256
        (base32 "00l731hryx0igj0x7knljs9xq4gaczmsgw2hh05ngrl9y5s528dc"))))
    (properties `((upstream-name . "readroper")))
    (build-system r-build-system)
    (propagated-inputs (list r-readr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=readroper")
    (synopsis "Simply Read ASCII Single and Multicard Polling Datasets")
    (description
     "This package provides a convenient way to read fixed-width ASCII polling
datasets from providers like the Roper Center <https://ropercenter.cornell.edu>.")
    (license license:expat)))

(define-public r-readrba
  (package
    (name "r-readrba")
    (version "0.1.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readrba" version))
       (sha256
        (base32 "0ja8di5jmiiq9kkigwahhhdfkppfqfkan7iqgrxa3gp838dxlq2r"))))
    (properties `((upstream-name . "readrba")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-tidyr
                             r-stringr
                             r-rvest
                             r-rlang
                             r-readxl
                             r-purrr
                             r-lubridate
                             r-httr
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://mattcowgill.github.io/readrba/index.html")
    (synopsis "Download and Tidy Data from the Reserve Bank of Australia")
    (description
     "Download up-to-date data from the Reserve Bank of Australia in a tidy data
frame.  Package includes functions to download current and historical
statistical tables (<https://www.rba.gov.au/statistics/tables/>) and forecasts
(<https://www.rba.gov.au/publications/smp/forecasts-archive.html>).  Data
includes a broad range of Australian macroeconomic and financial time series.")
    (license license:expat)))

(define-public r-readoffice
  (package
    (name "r-readoffice")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readOffice" version))
       (sha256
        (base32 "0dg7fwxdl41nrjqnxvh9rpz0la99iid0wy51gncjwrh3s85fj2ks"))))
    (properties `((upstream-name . "readOffice")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-rvest r-purrr r-magrittr))
    (home-page "https://cran.r-project.org/package=readOffice")
    (synopsis "Read Text Out of Modern Office Files")
    (description
     "Reads in text from unstructured modern Microsoft Office files (XML based files)
such as Word and @code{PowerPoint}.  This does not read in structured data (from
Excel or Access) as there are many other great packages to that do so already.")
    (license (license:fsdg-compatible "Unlimited"))))

(define-public r-readobj
  (package
    (name "r-readobj")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readobj" version))
       (sha256
        (base32 "0ga0kk6n98zy8w9wc2fahn15bgsv73n4ncqgqb5ldyr4vjqxr2sr"))))
    (properties `((upstream-name . "readobj")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/jefferis/readobj")
    (synopsis "Fast Reader for 'Wavefront' OBJ 3D Scene Files")
    (description
     "Wraps tiny_obj_loader C++ library for reading the Wavefront OBJ 3D file format
including both mesh objects and materials files.  The resultant R objects are
either structured to match the tiny_obj_loader internal data representation or
in a form directly compatible with the rgl package.")
    (license license:bsd-2)))

(define-public r-readnsx
  (package
    (name "r-readnsx")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readNSx" version))
       (sha256
        (base32 "1fl4lr6yax8nn06pna4mcxjfc4zjf42whaslxvvy40008wm2bkqj"))))
    (properties `((upstream-name . "readNSx")))
    (build-system r-build-system)
    (inputs (list hdf5))
    (propagated-inputs (list r-r6
                             r-jsonlite
                             r-hdf5r
                             r-fastmap
                             r-data-table
                             r-cpp11))
    (native-inputs (list r-knitr))
    (home-page "http://dipterix.org/readNSx/")
    (synopsis "Read 'Blackrock-Microsystems' Files ('NEV', 'NSx')")
    (description
     "Loads Blackrock <https://blackrockneurotech.com> neural signal data files into
the memory, provides utility tools to extract the data into common formats such
as plain-text tsv and HDF5'.")
    (license (list (license:fsdg-compatible "MPL-2.0")
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-readmzxmldata
  (package
    (name "r-readmzxmldata")
    (version "2.8.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readMzXmlData" version))
       (sha256
        (base32 "1mh6rgy8s0rkvycv99p3zgw831pgzi5cacsj4awb7h4dl11sf8sf"))))
    (properties `((upstream-name . "readMzXmlData")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml r-digest r-base64enc))
    (home-page "https://cran.r-project.org/package=readMzXmlData")
    (synopsis "Reads Mass Spectrometry Data in mzXML Format")
    (description
     "This package provides functions for reading mass spectrometry data in
@code{mzXML} format.")
    (license license:gpl3+)))

(define-public r-readmore
  (package
    (name "r-readmore")
    (version "0.2-12")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readmoRe" version))
       (sha256
        (base32 "18zxhnh8nzh3l5j94mrqf9l94bxvc82nzhl8sx5k9h08gj4f1zfw"))))
    (properties `((upstream-name . "readmoRe")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-readxl r-r-utils r-plyr))
    (home-page "https://cran.r-project.org/package=readmoRe")
    (synopsis "Utilities for Importing and Manipulating Biomedical Data Files")
    (description
     "This package provides tools to read various file types into one list of data
structures, usually, but not limited to, data frames.  Excel files are read
sheet-wise, i.e., all or a selection of sheets can be read.  Field delimiters
and decimal separators are determined automatically.")
    (license license:gpl3)))

(define-public r-readmldata
  (package
    (name "r-readmldata")
    (version "0.9-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readMLData" version))
       (sha256
        (base32 "0l752j1jq37j9pdcsbmcb23b5l8fkfsbisfr3yjy3q4rxsphc7k6"))))
    (properties `((upstream-name . "readMLData")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml))
    (home-page "http://www.cs.cas.cz/~savicky/readMLData")
    (synopsis
     "Reading Machine Learning Benchmark Data Sets in Different Formats")
    (description
     "This package provides functions for reading data sets in different formats for
testing machine learning tools are provided.  This allows to run a loop over
several data sets in their original form, for example if they are downloaded
from UCI Machine Learning Repository.  The data are not part of the package and
have to be downloaded separately.")
    (license license:gpl3)))

(define-public r-readmission
  (package
    (name "r-readmission")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readmission" version))
       (sha256
        (base32 "14jdy4w49g7v843hn3hiqgr33nns6hq62a62b0cyainbkvrgrgwk"))))
    (properties `((upstream-name . "readmission")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=readmission")
    (synopsis "Hospital Readmission Data for Patients with Diabetes")
    (description
     "Clinical care data from 130 U.S. hospitals in the years 1999-2008 adapted from
the study Strack et al. (2014) <doi:10.1155/2014/781670>.  Each row describes an
\"encounter\" with a patient with diabetes, including variables on demographics,
medications, patient history, diagnostics, payment, and readmission.")
    (license license:expat)))

(define-public r-readmet
  (package
    (name "r-readmet")
    (version "1.7.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readmet" version))
       (sha256
        (base32 "1q6d37d6s420ns8pdmqj002z2df35ci3jjvpjr5z53ii6fsf21mz"))))
    (properties `((upstream-name . "readmet")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=readmet")
    (synopsis "Read some less Popular Formats Used in Meteorology")
    (description
     "This package contains tools for reading and writing data from or to files in the
formats: akterm, dmna, Scintec Format-1, and Campbell Scientific TOA5.")
    (license license:gpl3)))

(define-public r-readme2vignette
  (package
    (name "r-readme2vignette")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readme2vignette" version))
       (sha256
        (base32 "1nrcmi5g0fa2jnmaw7kc9zir4nvn64imwz8b2jmhcg7k0nxakybv"))))
    (properties `((upstream-name . "readme2vignette")))
    (build-system r-build-system)
    (propagated-inputs (list r-whisker
                             r-usethis
                             r-rmarkdown
                             r-remotes
                             r-pkgbuild
                             r-knitr
                             r-glue
                             r-fs
                             r-desc))
    (home-page "https://github.com/indenkun/readme2vignette")
    (synopsis "Convert README to Vignette During Package Installation")
    (description
     "Convert README.md to vignettes when installing packages without vignettes.")
    (license license:expat)))

(define-public r-readmdtable
  (package
    (name "r-readmdtable")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readMDTable" version))
       (sha256
        (base32 "0bwhf02sb1v6p7mck93sk1vl1q73la38lwq2gs3a5g8mi11a3ykv"))))
    (properties `((upstream-name . "readMDTable")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-readr r-httr2 r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jrdnbradford/readMDTable")
    (synopsis "Read Markdown Tables into Tibbles")
    (description
     "Efficient reading of raw markdown tables into tibbles.  Designed to accept
content from strings, files, and URLs with the ability to extract and read
multiple tables from markdown for analysis.")
    (license license:gpl3+)))

(define-public r-readjdx
  (package
    (name "r-readjdx")
    (version "0.6.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readJDX" version))
       (sha256
        (base32 "16ixrwnmpmq3x358gdyrf3fm1vr8dxjbz3cql3zldz1sfl3f4z76"))))
    (properties `((upstream-name . "readJDX")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/bryanhanson/readJDX")
    (synopsis "Import Data in the JCAMP-DX Format")
    (description
     "Import data written in the JCAMP-DX format.  This is an instrument-independent
format used in the field of spectroscopy.  Examples include IR, NMR, and Raman
spectroscopy.  See the vignette for background and supported formats.  The
official JCAMP-DX site is <http://www.jcamp-dx.org/>.")
    (license license:gpl3+)))

(define-public r-readit
  (package
    (name "r-readit")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readit" version))
       (sha256
        (base32 "1sq2spjgdc9rq8cr5i9qjmqd4vcf7cknpx5dndwjdqrv112y8bk9"))))
    (properties `((upstream-name . "readit")))
    (build-system r-build-system)
    (propagated-inputs (list r-readxl r-readr r-jsonlite r-haven r-crayon))
    (home-page "https://github.com/ryapric/readit")
    (synopsis "Effortlessly Read Any Rectangular Data")
    (description
     "Providing just one primary function, readit uses a set of reasonable heuristics
to apply the appropriate reader function to the given file path.  As long as the
data file has an extension, and the data is (or can be coerced to be)
rectangular, readit() can probably read it.")
    (license license:expat)))

(define-public r-readhac
  (package
    (name "r-readhac")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readHAC" version))
       (sha256
        (base32 "0z80ai6xfswwgdfh83l9sq279c97n0wz25bk2l7xfb6w0sndzq53"))))
    (properties `((upstream-name . "readHAC")))
    (build-system r-build-system)
    (home-page "https://github.com/kaskr/HAC")
    (synopsis "Read Acoustic HAC Format")
    (description "Read Acoustic HAC format.")
    (license license:gpl2)))

(define-public r-reader
  (package
    (name "r-reader")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reader" version))
       (sha256
        (base32 "1x489q3ljap4zpny68mx83mgxaqiwlkglcy57whwhnh33dd7qp4h"))))
    (properties `((upstream-name . "reader")))
    (build-system r-build-system)
    (propagated-inputs (list r-ncmisc))
    (home-page "https://cran.r-project.org/package=reader")
    (synopsis "Suite of Functions to Flexibly Read Data from Files")
    (description
     "This package provides a set of functions to simplify reading data from files.
The main function, reader(), should read most common R datafile types without
needing any parameters except the filename.  Other functions provide simple ways
of handling file paths and extensions, and automatically detecting file format
and structure.")
    (license license:gpl2+)))

(define-public r-readdim
  (package
    (name "r-readdim")
    (version "0.2.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReadDIM" version))
       (sha256
        (base32 "1dyf1hrqcjqramb957kj7ngd65439p7ywa0r2rdlyn4bg89myi7c"))))
    (properties `((upstream-name . "ReadDIM")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-raster))
    (home-page "https://cran.r-project.org/package=ReadDIM")
    (synopsis "Read ESA SNAP Processed Raster Format in R")
    (description
     "It helps you to read (.dim) images with CRS directly into R programming.  One
can import both Sentinel 1 and 2 images or any processed data with this
software.")
    (license license:gpl3)))

(define-public r-readbulk
  (package
    (name "r-readbulk")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readbulk" version))
       (sha256
        (base32 "1i9wax1dkl6xn37zmmlg2g4cxfzj88fyynrn3gv60sbw6s1a4r30"))))
    (properties `((upstream-name . "readbulk")))
    (build-system r-build-system)
    (propagated-inputs (list r-plyr))
    (home-page "https://github.com/pascalkieslich/readbulk")
    (synopsis "Read and Combine Multiple Data Files")
    (description
     "Combine multiple data files from a common directory.  The data files will be
read into R and bound together, creating a single large data.frame.  A general
function is provided along with a specific function for data that was collected
using the open-source experiment builder @code{OpenSesame}
<https://osdoc.cogsci.nl/>.")
    (license license:gpl3)))

(define-public r-readbrukerflexdata
  (package
    (name "r-readbrukerflexdata")
    (version "1.9.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readBrukerFlexData" version))
       (sha256
        (base32 "122q01l08isdkhlf013drcyjnc5rqr8wnavj2xr465r58xk79bwj"))))
    (properties `((upstream-name . "readBrukerFlexData")))
    (build-system r-build-system)
    (home-page "https://strimmerlab.github.io/software/maldiquant/")
    (synopsis "Reads Mass Spectrometry Data in Bruker *flex Format")
    (description
     "Reads data files acquired by Bruker Daltonics matrix-assisted laser
desorption/ionization-time-of-flight mass spectrometer of the *flex series.")
    (license license:gpl3+)))

(define-public r-readabs
  (package
    (name "r-readabs")
    (version "0.4.16")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readabs" version))
       (sha256
        (base32 "0f05x7lk2mvccqh6d9zwg35wjcjw59n8skl5n5awrp2hzpavdh57"))))
    (properties `((upstream-name . "readabs")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-tidyr
                             r-stringi
                             r-rvest
                             r-rlang
                             r-readxl
                             r-purrr
                             r-labelled
                             r-hutils
                             r-httr
                             r-glue
                             r-fst
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/mattcowgill/readabs")
    (synopsis
     "Download and Tidy Time Series Data from the Australian Bureau of Statistics")
    (description
     "Downloads, imports, and tidies time series data from the Australian Bureau of
Statistics <https://www.abs.gov.au/>.")
    (license license:expat)))

(define-public r-readabf
  (package
    (name "r-readabf")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "readABF" version))
       (sha256
        (base32 "1lyjl3j62nrsml9vmgwbach9qm8mh2d2pxjj8sfbkkw79krvdnsd"))))
    (properties `((upstream-name . "readABF")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=readABF")
    (synopsis "Loads Axon Binary Files")
    (description
     "Loads Axon Binary Files (both ABF and ABF2') created by Axon
Instruments/Molecular Devices software such as @code{pClamp}'.")
    (license license:gpl3)))

(define-public r-read-gt3x
  (package
    (name "r-read-gt3x")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "read.gt3x" version))
       (sha256
        (base32 "0xnl9vg3jvrz4zk721d1mhqpaflrgbs2vbbvfhhr3j394zlcf55b"))))
    (properties `((upstream-name . "read.gt3x")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-r-utils))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=read.gt3x")
    (synopsis "Parse 'ActiGraph' 'GT3X'/'GT3X+' 'Accelerometer' Data")
    (description
     "This package implements a high performance C++ parser for @code{ActiGraph}
GT3X'/'GT3X+ data format (with extension .gt3x') for accelerometer samples.
Activity samples can be easily read into a matrix or data.frame.  This allows
for storing the raw accelerometer samples in the original binary format to
reserve space.")
    (license (license:fsdg-compatible "EUPL"))))

(define-public r-read-gb
  (package
    (name "r-read-gb")
    (version "2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "read.gb" version))
       (sha256
        (base32 "1ym285y6ii71lz3c68imvcdpw24jdxbdxzq9ia533dy5himclrg7"))))
    (properties `((upstream-name . "read.gb")))
    (build-system r-build-system)
    (propagated-inputs (list r-rentrez))
    (home-page "https://cran.r-project.org/package=read.gb")
    (synopsis "Open GenBank Files")
    (description
     "Opens complete record(s) with .gb extension from the NCBI/@code{GenBank}
Nucleotide database and returns a list containing shaped record(s).  These kind
of files contains detailed records of DNA samples (locus, organism, type of
sequence, source of the sequence...).  An example of record can be found at
<https://www.ncbi.nlm.nih.gov/nuccore/HE799070>.")
    (license license:gpl3)))

(define-public r-read
  (package
    (name "r-read")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReAD" version))
       (sha256
        (base32 "0wn8ka8mjx216py26h1fcswgv061wrcdfzdj55sryvykfxaggiir"))))
    (properties `((upstream-name . "ReAD")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-qvalue))
    (home-page "https://cran.r-project.org/package=ReAD")
    (synopsis
     "Powerful Replicability Analysis of Genome-Wide Association Studies")
    (description
     "This package provides a robust and powerful approach is developed for
replicability analysis of two Genome-wide association studies (GWASs) accounting
for the linkage disequilibrium (LD) among genetic variants.  The LD structure in
two GWASs is captured by a four-state hidden Markov model (HMM).  The unknowns
involved in the HMM are estimated by an efficient expectation-maximization (EM)
algorithm in combination with a non-parametric estimation of functions.  By
incorporating information from adjacent locations via the HMM, this approach
identifies the entire clusters of genotype-phenotype associated signals,
improving the power of replicability analysis while effectively controlling the
false discovery rate.")
    (license license:gpl3)))

(define-public r-reactran
  (package
    (name "r-reactran")
    (version "1.4.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ReacTran" version))
       (sha256
        (base32 "05c9jfvj134gy3by7m3r1fbar0m39vaydr7d2py9cakzs44fqfpj"))))
    (properties `((upstream-name . "ReacTran")))
    (build-system r-build-system)
    (propagated-inputs (list r-shape r-rootsolve r-desolve))
    (native-inputs (list gfortran))
    (home-page "https://cran.r-project.org/package=ReacTran")
    (synopsis "Reactive Transport Modelling in 1d, 2d and 3d")
    (description
     "Routines for developing models that describe reaction and advective-diffusive
transport in one, two or three dimensions.  Includes transport routines in
porous media, in estuaries, and in bodies with variable shape.")
    (license license:gpl3+)))

(define-public r-reactr
  (package
    (name "r-reactr")
    (version "0.6.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reactR" version))
       (sha256
        (base32 "14nqaxgfnqrwl67b705jna8vljhx9xlakvkdl76bwk759myhsscv"))))
    (properties `((upstream-name . "reactR")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-htmltools))
    (native-inputs (list r-knitr esbuild))
    (home-page "https://github.com/react-R/reactR")
    (synopsis "React Helpers")
    (description
     "Make it easy to use React in R with htmlwidget scaffolds, helper dependency
functions, an embedded Babel transpiler', and examples.")
    (license license:expat)))

(define-public r-reactlog
  (package
    (name "r-reactlog")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reactlog" version))
       (sha256
        (base32 "1njihrnq1x162nc2wk16kj1l0vpvk8xcdgjvj36arw4z8nv8wpah"))))
    (properties `((upstream-name . "reactlog")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite))
    (native-inputs (list r-knitr))
    (home-page "https://rstudio.github.io/reactlog/")
    (synopsis "Reactivity Visualizer for 'shiny'")
    (description
     "Building interactive web applications with R is incredibly easy with shiny'.
Behind the scenes, shiny builds a reactive graph that can quickly become
intertwined and difficult to debug.  reactlog (Schloerke 2019)
<doi:10.5281/zenodo.2591517> provides a visual insight into that black box of
shiny reactivity by constructing a directed dependency graph of the
application's reactive state at any time point in a reactive recording.")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-reactcheckbox
  (package
    (name "r-reactcheckbox")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reactCheckbox" version))
       (sha256
        (base32 "1ph4kzq6i91d0aaf6jfd0klnlwipadnii648sky85dybpa78wy6a"))))
    (properties `((upstream-name . "reactCheckbox")))
    (build-system r-build-system)
    (propagated-inputs (list r-reactr r-htmltools))
    (home-page "https://github.com/stla/reactCheckbox")
    (synopsis "Checkbox Group Input for 'Shiny'")
    (description
     "This package provides a checkbox group input for usage in a Shiny application.
The checkbox group has a head checkbox allowing to check or uncheck all the
checkboxes in the group.  The checkboxes are customizable.")
    (license license:gpl3+)))

(define-public r-reactablefmtr
  (package
    (name "r-reactablefmtr")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reactablefmtr" version))
       (sha256
        (base32 "1r864j8ma1sas2fglw5hdkhf3lxrkri7mf2k5j8cpq7398kgzp94"))))
    (properties `((upstream-name . "reactablefmtr")))
    (build-system r-build-system)
    (propagated-inputs (list r-webshot
                             r-tippy
                             r-stringr
                             r-shiny
                             r-sass
                             r-reactable
                             r-purrr
                             r-magrittr
                             r-htmlwidgets
                             r-htmltools
                             r-dplyr))
    (home-page "https://kcuilla.github.io/reactablefmtr/")
    (synopsis "Streamlined Table Styling and Formatting for Reactable")
    (description
     "This package provides various features to streamline and enhance the styling of
interactive reactable tables with easy-to-use and highly-customizable functions
and themes.  Apply conditional formatting to cells with data bars, color scales,
color tiles, and icon sets.  Utilize custom table themes inspired by popular
websites such and bootstrap themes.  Apply sparkline line & bar charts (note
this feature requires the dataui package which can be downloaded from
<https://github.com/timelyportfolio/dataui>).  Increase the portability and
reproducibility of reactable tables by embedding images from the web directly
into cells.  Save the final table output as a static image or interactive file.")
    (license license:expat)))

(define-public r-reactable-extras
  (package
    (name "r-reactable-extras")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reactable.extras" version))
       (sha256
        (base32 "16cfldbfcz34jp0kfxiaz8l49ri2s9fr1r9kissqzs0xzjrp78in"))))
    (properties `((upstream-name . "reactable.extras")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny
                             r-rlang
                             r-rjson
                             r-reactable
                             r-purrr
                             r-htmltools
                             r-dplyr
                             r-checkmate))
    (home-page "https://appsilon.github.io/reactable.extras/")
    (synopsis "Extra Features for 'reactable' Package")
    (description
     "Enhanced functionality for reactable in shiny applications, offering interactive
and dynamic data table capabilities with ease.  With reactable.extras', easily
integrate a range of functions and components to enrich your shiny apps and
facilitate user-friendly data exploration.")
    (license license:lgpl3)))

(define-public r-reactable
  (package
    (name "r-reactable")
    (version "0.4.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "reactable" version))
       (sha256
        (base32 "1wkamzyyl3k3772n5g4rjklkkhdb07jiax064r9alnnq5nzfdaml"))))
    (properties `((upstream-name . "reactable")))
    (build-system r-build-system)
    (propagated-inputs (list r-reactr r-jsonlite r-htmlwidgets r-htmltools
                             r-digest))
    (home-page "https://glin.github.io/reactable/")
    (synopsis "Interactive Data Tables for R")
    (description
     "Interactive data tables for R, based on the React Table @code{JavaScript}
library.  Provides an HTML widget that can be used in R Markdown or Quarto
documents, Shiny applications, or viewed from an R console.")
    (license license:expat)))

(define-public r-react
  (package
    (name "r-react")
    (version "2024.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "react" version))
       (sha256
        (base32 "07z1kw35xhqnqg8z4ixhx18d0c7gsz69xp37rnan4dhl7n9na7rz"))))
    (properties `((upstream-name . "react")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-glue r-cli))
    (home-page "https://github.com/tadascience/react")
    (synopsis "Reactivity Helper for 'shiny'")
    (description
     "This package provides tools to help with shiny reactivity.  The react object
offers an alternative way to call reactive expressions to better identify them
in the server code.")
    (license license:expat)))

(define-public r-re2
  (package
    (name "r-re2")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "re2" version))
       (sha256
        (base32 "116fnvvg2mm9a7bpi6flh132yffhqbgz2mp0kpq2g84ic51qnwxf"))))
    (properties `((upstream-name . "re2")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/girishji/re2")
    (synopsis "R Interface to Google RE2 (C++) Regular Expression Library")
    (description
     "Pattern matching, extraction, replacement and other string processing operations
using Google's RE2 <https://github.com/google/re2> regular-expression engine.
Consistent interface (similar to stringr').  RE2 uses finite-automata based
techniques, and offers a fast and safe alternative to backtracking
regular-expression engines like those used in stringr', stringi and other PCRE
implementations.")
    (license license:expat)))

(define-public r-re
  (package
    (name "r-re")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "re" version))
       (sha256
        (base32 "1lh75gm42kvazgr1f6v3wrxac2i28fi0khbsw749iidk4xay39ba"))))
    (properties `((upstream-name . "re")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringi))
    (home-page "https://pythonicr.github.io/re/")
    (synopsis "'Python' Style Regular Expression Functions")
    (description
     "This package provides a comprehensive set of regular expression functions based
on those found in Python without relying on reticulate'.  It provides functions
that intend to (1) make it easier for users familiar with Python to work with
regular expressions, (2) reduce the complexity often associated with regular
expressions code, (3) and enable users to write more readable and maintainable
code that relies on regular expression-based pattern matching.")
    (license license:expat)))

(define-public r-rdwplus
  (package
    (name "r-rdwplus")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdwplus" version))
       (sha256
        (base32 "0bcdpza4rbvfzn69zws5s2l32rs7m39a5h3zxyz4gszff3yn37fx"))))
    (properties `((upstream-name . "rdwplus")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-stars r-sf r-rgrass))
    (home-page "https://cran.r-project.org/package=rdwplus")
    (synopsis "An Implementation of IDW-PLUS")
    (description
     "Compute spatially explicit land-use metrics for stream survey sites in GRASS GIS
and R as an open-source implementation of IDW-PLUS (Inverse Distance Weighted
Percent Land Use for Streams).  The package includes functions for preprocessing
digital elevation and streams data, and one function to compute all the
spatially explicit land use metrics described in Peterson et al. (2011)
<doi:10.1111/j.1365-2427.2010.02507.x> and previously implemented by Peterson
and Pearse (2017) <doi:10.1111/1752-1688.12558> in @code{ArcGIS-Python} as
IDW-PLUS.")
    (license license:gpl3)))

(define-public r-rdwd
  (package
    (name "r-rdwd")
    (version "1.8.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdwd" version))
       (sha256
        (base32 "0lb9r2wcdyix3im460wvv2q7yni3yixl7z8py4nbzp7ah0dc7g1z"))))
    (properties `((upstream-name . "rdwd")))
    (build-system r-build-system)
    (propagated-inputs (list r-pbapply r-berryfunctions))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/brry/rdwd")
    (synopsis
     "Select and Download Climate Data from 'DWD' (German Weather Service)")
    (description
     "Handle climate data from the DWD ('Deutscher Wetterdienst', see
<https://www.dwd.de/EN/climate_environment/cdc/cdc_node_en.html> for more
information).  Choose observational time series from meteorological stations
with @code{selectDWD}()'.  Find raster data from radar and interpolation
according to <https://bookdown.org/brry/rdwd/raster-data.html>.  Download
(multiple) data sets with progress bars and no re-downloads through
@code{dataDWD}()'.  Read both tabular observational data and binary gridded
datasets with @code{readDWD}()'.")
    (license license:gpl2+)))

(define-public r-rdune
  (package
    (name "r-rdune")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rdune" version))
       (sha256
        (base32 "1q4jql23h4yk970dr6mk8ykjisdyn5lwrlhgjxgzwxrdkmrs92pj"))))
    (properties `((upstream-name . "Rdune")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/nvietto/Rdune")
    (synopsis "'Creates Color Palettes Inspired by Dune'")
    (description
     "Enables the use of color palettes inspired by the Dune movies.  These palettes
are compatible with ggplot2'.  See Wickham (2016)
<doi:10.1007/978-3-319-24277-4> for more details on ggplot2'.")
    (license license:expat)))

(define-public r-rduinoiot
  (package
    (name "r-rduinoiot")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rduinoiot" version))
       (sha256
        (base32 "1vrmj2cmf1yz453875d234f53636a3bfr5k5ymy00f4wsjkr9pqj"))))
    (properties `((upstream-name . "Rduinoiot")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-purrr r-jsonlite r-httr r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://flavioleccese92.github.io/Rduinoiot/")
    (synopsis "'Arduino Iot Cloud API' R Client")
    (description
     "Easily interact with the Arduino Iot Cloud API
<https://www.arduino.cc/reference/en/iot/api/>, managing devices, things,
properties and data.")
    (license license:expat)))

(define-public r-rduino
  (package
    (name "r-rduino")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rduino" version))
       (sha256
        (base32 "0r1yy3a2n8a4niasfjn77gv130a062i802r7xhbg0abljv5m6ra5"))))
    (properties `((upstream-name . "Rduino")))
    (build-system r-build-system)
    (propagated-inputs (list r-serial))
    (home-page "https://cran.r-project.org/package=Rduino")
    (synopsis "Microcontroller Interface")
    (description
     "This package provides functions for connecting to and interfacing with an
Arduino or similar device.  Functionality includes uploading of sketches,
setting and reading digital and analog pins, and rudimentary servo control.
This project is not affiliated with the Arduino company,
<https://www.arduino.cc/>.")
    (license license:gpl3)))

(define-public r-rdtlite
  (package
    (name "r-rdtlite")
    (version "1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdtLite" version))
       (sha256
        (base32 "0m2fxwz0h4rriw62g2hp20iw6ddbq5l8n80z9xgxk49n6pfm1ywj"))))
    (properties `((upstream-name . "rdtLite")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-stringi
                             r-sessioninfo
                             r-rmarkdown
                             r-rlang
                             r-provviz
                             r-knitr
                             r-jsonlite
                             r-gtools
                             r-digest
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/End-to-end-provenance/rdtLite")
    (synopsis "Provenance Collector")
    (description
     "Defines functions that can be used to collect provenance as an R script executes
or during a console session.  The output is a text file in PROV-JSON format.")
    (license license:gpl3)))

(define-public r-rdta
  (package
    (name "r-rdta")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rdta" version))
       (sha256
        (base32 "0a9n78kn6vf6nkv83v2vn5hha0l7d8sdvpl7320kgs29vd2nrwzm"))))
    (properties `((upstream-name . "Rdta")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-mvtnorm r-mcmcpack))
    (home-page "https://cran.r-project.org/package=Rdta")
    (synopsis "Data Transforming Augmentation for Linear Mixed Models")
    (description
     "We provide a toolbox to fit univariate and multivariate linear mixed models via
data transforming augmentation.  Users can also fit these models via typical
data augmentation for a comparison.  It returns either maximum likelihood
estimates of unknown model parameters (hyper-parameters) via an EM algorithm or
posterior samples of those parameters via MCMC. Also see Tak et al. (2019)
<doi:10.1080/10618600.2019.1704295>.")
    (license license:gpl2)))

(define-public r-rdstreeboot
  (package
    (name "r-rdstreeboot")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDStreeboot" version))
       (sha256
        (base32 "10ry8rna450j389cplvyvgwljxa8lli7licwdin64b1kyzy2cdn7"))))
    (properties `((upstream-name . "RDStreeboot")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RDStreeboot")
    (synopsis "RDS Tree Bootstrap Method")
    (description
     "This package provides a tree bootstrap method for estimating uncertainty in
respondent-driven samples (RDS).  Quantiles are estimated by multilevel
resampling in such a way that preserves the dependencies of and accounts for the
high variability of the RDS process.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rdssamplesize
  (package
    (name "r-rdssamplesize")
    (version "0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDSsamplesize" version))
       (sha256
        (base32 "1k6yjxjv6s9c44lpm5yimca61jp3h4hbji75vfsji7dy7q908csl"))))
    (properties `((upstream-name . "RDSsamplesize")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RDSsamplesize")
    (synopsis "RDS Sample Size Estimation and Power Calculation")
    (description
     "This package provides functionality for carrying out sample size estimation and
power calculation in Respondent-Driven Sampling.")
    (license license:gpl3)))

(define-public r-rdss
  (package
    (name "r-rdss")
    (version "1.0.12")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdss" version))
       (sha256
        (base32 "0b3k646zyfqnr4k0lhd4nmy04cp2k33kikww5hfbha3wgwq633qs"))))
    (properties `((upstream-name . "rdss")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-rlang
                             r-readr
                             r-randomizr
                             r-purrr
                             r-marginaleffects
                             r-ggplot2
                             r-generics
                             r-estimatr
                             r-dplyr
                             r-dataverse
                             r-broom))
    (home-page "https://cran.r-project.org/package=rdss")
    (synopsis
     "Companion Datasets and Functions for Research Design in the Social Sciences")
    (description
     "Helper functions to accompany the Blair, Coppock, and Humphreys (2022) \"Research
Design in the Social Sciences: Declaration, Diagnosis, and Redesign\"
<https://book.declaredesign.org>.  rdss includes datasets, helper functions, and
plotting components to enable use and replication of the book.")
    (license license:expat)))

(define-public r-rdsdp
  (package
    (name "r-rdsdp")
    (version "1.0.5.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rdsdp" version))
       (sha256
        (base32 "0lm5c1cv6jyxkmr09khfnsab4bzjbfcg8j04zc4zqimy1541i6yn"))))
    (properties `((upstream-name . "Rdsdp")))
    (build-system r-build-system)
    (home-page "https://www.mcs.anl.gov/hs/software/DSDP")
    (synopsis "R Interface to DSDP Semidefinite Programming Library")
    (description
     "R interface to DSDP semidefinite programming library.  The DSDP software is a
free open source implementation of an interior-point method for semidefinite
programming.  It provides primal and dual solutions, exploits low-rank structure
and sparsity in the data, and has relatively low memory requirements for an
interior-point method.")
    (license license:gpl3)))

(define-public r-rds
  (package
    (name "r-rds")
    (version "0.9-10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDS" version))
       (sha256
        (base32 "0pba1pdc6mzm9463azp36c6rsl7x8b4c0hsp9h7i5z467z7yshj0"))))
    (properties `((upstream-name . "RDS")))
    (build-system r-build-system)
    (propagated-inputs (list r-statnet-common
                             r-scales
                             r-reshape2
                             r-network
                             r-isotone
                             r-igraph
                             r-hmisc
                             r-gridextra
                             r-ggplot2
                             r-ergm
                             r-anytime))
    (home-page "https://hpmrg.org")
    (synopsis "Respondent-Driven Sampling")
    (description
     "This package provides functionality for carrying out estimation with data
collected using Respondent-Driven Sampling.  This includes Heckathorn's RDS-I
and RDS-II estimators as well as Gile's Sequential Sampling estimator.  The
package is part of the \"RDS Analyst\" suite of packages for the analysis of
respondent-driven sampling data.  See Gile and Handcock (2010)
<doi:10.1111/j.1467-9531.2010.01223.x>, Gile and Handcock (2015)
<doi:10.1111/rssa.12091> and Gile, Beaudry, Handcock and Ott (2018)
<doi:10.1146/annurev-statistics-031017-100704>.")
    (license license:lgpl2.1)))

(define-public r-rdryad
  (package
    (name "r-rdryad")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdryad" version))
       (sha256
        (base32 "00f1qwsbwg5jggm5b83nhk1lxyw272rv2kg77bcwqvlf3074c3mz"))))
    (properties `((upstream-name . "rdryad")))
    (build-system r-build-system)
    (propagated-inputs (list r-zip
                             r-tibble
                             r-mime
                             r-jsonlite
                             r-hoardr
                             r-curl
                             r-crul))
    (home-page "https://docs.ropensci.org/rdryad")
    (synopsis "Access for Dryad Web Services")
    (description
     "Interface to the Dryad \"Solr\" API, their \"OAI-PMH\" service, and fetch datasets.
Dryad (<https://datadryad.org/>) is a curated host of data underlying scientific
publications.")
    (license license:expat)))

(define-public r-rdrw
  (package
    (name "r-rdrw")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rdrw" version))
       (sha256
        (base32 "1487r8z6h1y0v6fxkp7qfbh7j96hw8gqbb0fc90m4cxwz0hrqrn2"))))
    (properties `((upstream-name . "Rdrw")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm))
    (home-page "https://cran.r-project.org/package=Rdrw")
    (synopsis "Univariate and Multivariate Damped Random Walk Processes")
    (description
     "We provide a toolbox to fit and simulate a univariate or multivariate damped
random walk process that is also known as an Ornstein-Uhlenbeck process or a
continuous-time autoregressive model of the first order, i.e., CAR(1) or
CARMA(1, 0).  This process is suitable for analyzing univariate or multivariate
time series data with irregularly-spaced observation times and heteroscedastic
measurement errors.  When it comes to the multivariate case, the number of data
points (measurements/observations) available at each observation time does not
need to be the same, and the length of each time series can vary.  The number of
time series data sets that can be modeled simultaneously is limited to ten in
this version of the package.  We use Kalman-filtering to evaluate the resulting
likelihood function, which leads to a scalable and efficient computation in
finding maximum likelihood estimates of the model parameters or in drawing their
posterior samples.  Please pay attention to loading the data if this package is
used for astronomical data analyses; see the details in the manual.  Also see Hu
and Tak (2020) <@code{arXiv:2005.08049>}.")
    (license license:gpl2)))

(define-public r-rdrobust
  (package
    (name "r-rdrobust")
    (version "2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdrobust" version))
       (sha256
        (base32 "1p9k8gd39090r5ml1sk30k3hvfns2v6laysbaswsn9i2ka70zj42"))))
    (properties `((upstream-name . "rdrobust")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-ggplot2))
    (home-page "https://cran.r-project.org/package=rdrobust")
    (synopsis
     "Robust Data-Driven Statistical Inference in Regression-Discontinuity Designs")
    (description
     "Regression-discontinuity (RD) designs are quasi-experimental research designs
popular in social, behavioral and natural sciences.  The RD design is usually
employed to study the (local) causal effect of a treatment, intervention or
policy.  This package provides tools for data-driven graphical and analytical
statistical inference in RD	designs: rdrobust() to construct local-polynomial
point estimators and robust confidence intervals for average treatment effects
at the 	cutoff in Sharp, Fuzzy and Kink RD settings, rdbwselect() to perform
bandwidth selection for the different procedures implemented, and rdplot() to
conduct exploratory data analysis (RD plots).")
    (license license:gpl2)))

(define-public r-rdracor
  (package
    (name "r-rdracor")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdracor" version))
       (sha256
        (base32 "1bypz0llvr05zvhfw76yinvr2qsbqnbws0mkif2mmckd57a7395x"))))
    (properties `((upstream-name . "rdracor")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rdpack
                             r-purrr
                             r-jsonlite
                             r-igraph
                             r-httr
                             r-data-table))
    (home-page "https://github.com/dracor-org/rdracor")
    (synopsis "Access to the 'DraCor' API")
    (description
     "Provide an interface for Drama Corpora Project ('@code{DraCor}') API:
<https://dracor.org/documentation/api>.")
    (license license:gpl3+)))

(define-public r-rdpower
  (package
    (name "r-rdpower")
    (version "2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdpower" version))
       (sha256
        (base32 "0v598jqka5skffbzb4knfmm5hfbg6gmwjgbclv774wrxxn62sj4z"))))
    (properties `((upstream-name . "rdpower")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdrobust))
    (home-page "https://cran.r-project.org/package=rdpower")
    (synopsis "Power Calculations for RD Designs")
    (description
     "The regression discontinuity (RD) design is a popular quasi-experimental design
for causal inference and policy evaluation.  The rdpower package provides tools
to perform power, sample size and MDE calculations in RD designs: rdpower()
calculates the power of an RD design, rdsampsi() calculates the required sample
size to achieve a desired power and rdmde() calculates minimum detectable
effects.  See Cattaneo, Titiunik and Vazquez-Bare (2019)
<https://rdpackages.github.io/references/Cattaneo-Titiunik-@code{VazquezBare_2019_Stata.pdf>}
for further methodological details.")
    (license license:gpl2)))

(define-public r-rdp
  (package
    (name "r-rdp")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDP" version))
       (sha256
        (base32 "18bdd290xy167qclv4l35bfy6iicbn6v9k3sq0xihsc83ln1h7lk"))))
    (properties `((upstream-name . "RDP")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/robertdj/RDP")
    (synopsis "The Ramer-Douglas-Peucker Algorithm")
    (description
     "Pretty fast implementation of the Ramer-Douglas-Peucker algorithm for reducing
the number of points on a 2D curve.  Urs Ramer (1972), \"An iterative procedure
for the polygonal approximation of plane curves\"
<doi:10.1016/S0146-664X(72)80017-0>.  David H. Douglas and Thomas K. Peucker
(1973), \"Algorithms for the Reduction of the Number of Points Required to
Represent a Digitized Line or its Caricature\" <doi:10.3138/FM57-6770-U75U-7727>.")
    (license license:gpl3)))

(define-public r-rdoxygen
  (package
    (name "r-rdoxygen")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdoxygen" version))
       (sha256
        (base32 "16907969w66xvy62k45rw10qfv4x8z6jkkc6i97vppkgnlvf4d4b"))))
    (properties `((upstream-name . "rdoxygen")))
    (build-system r-build-system)
    (inputs (list doxygen))
    (propagated-inputs (list r-devtools))
    (home-page "https://github.com/nevrome/rdoxygen")
    (synopsis "Create Doxygen Documentation for Source Code")
    (description
     "Create doxygen documentation for source code in R packages.  Includes a RStudio
Addin, that allows to trigger the doxygenize process.")
    (license (list license:gpl2
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rdota2
  (package
    (name "r-rdota2")
    (version "0.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDota2" version))
       (sha256
        (base32 "0fjsgg4dmzw2xwrf8jxq0f2d7f78bf67bl3ms5qcjk9kskfnymag"))))
    (properties `((upstream-name . "RDota2")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/LyzandeR/RDota2")
    (synopsis "An R Steam API Client for Valve's Dota2")
    (description
     "An R API Client for Valve's Dota2.  RDota2 can be easily used to connect to the
Steam API and retrieve data for Valve's popular video game Dota2.  You can find
out more about Dota2 at <http://store.steampowered.com/app/570/>.")
    (license license:expat)))

(define-public r-rdomains
  (package
    (name "r-rdomains")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdomains" version))
       (sha256
        (base32 "1gpgryfdv4dhv98nfnr15lqq9ndwi8q17rwm5z7j2klgi5d644ld"))))
    (properties `((upstream-name . "rdomains")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-xml
                             r-virustotal
                             r-urltools
                             r-r-utils
                             r-matrix
                             r-jsonlite
                             r-httr
                             r-glmnet
                             r-devtools
                             r-curl
                             r-aws-alexa))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rdomains")
    (synopsis "Get the Category of Content Hosted by a Domain")
    (description
     "Get the category of content hosted by a domain.  Use Shallalist
<http://shalla.de/>, Virustotal (which provides access to lots of services)
<https://www.virustotal.com/>, Alexa <https://aws.amazon.com/awis/>, DMOZ
<https://curlie.org/>, University Domain list
<https://github.com/Hipo/university-domains-list> or validated machine learning
classifiers based on Shallalist data to learn about the kind of content hosted
by a domain.")
    (license license:expat)))

(define-public r-rdnp
  (package
    (name "r-rdnp")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDnp" version))
       (sha256
        (base32 "1a10afwn41c0sd35i2hywg79gyf55nd212rfq5pv5inqdrr7kxym"))))
    (properties `((upstream-name . "RDnp")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-cellwise))
    (home-page "https://cran.r-project.org/package=RDnp")
    (synopsis "Robust Test for Complete Independence in High-Dimensions")
    (description
     "Test Statistics for Independence in High-Dimensional Datasets.  This package
consists of two functions to perform the complete independence test based on
test statistics proposed by Bulut (unpublished yet) and suggested by Najarzadeh
(2021) <doi: 10.1080/03610926.2019.1702699>.  The Bulut's statistic is not
sensitive to outliers in high-dimensional data, unlike one of Najarzadeh (2021)
<doi: 10.1080/03610926.2019.1702699>.  So, the Bulut's statistic can be
performed robustly by using RDnp function.")
    (license license:gpl2)))

(define-public r-rdnb
  (package
    (name "r-rdnb")
    (version "0.1-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdnb" version))
       (sha256
        (base32 "00fpycbsczla7vcik649kdw9q0ckqml5f1f1bhphk2mazk12pqva"))))
    (properties `((upstream-name . "rdnb")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-stringr r-httr r-brew))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/chgrl/rdnb")
    (synopsis
     "R Interface to the 'Deutsche Nationalbibliothek (German National Library) API'")
    (description
     "This package provides a wrapper for the Deutsche Nationalbibliothek (German
National Library) API', available at
<https://www.dnb.de/EN/Home/home_node.html>.  The German National Library is the
German central archival library, collecting, archiving, bibliographically
classifying all German and German-language publications, foreign publications
about Germany, translations of German works, and the works of German-speaking
emigrants published abroad between 1933 and 1945.")
    (license license:expat)))

(define-public r-rdmulti
  (package
    (name "r-rdmulti")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdmulti" version))
       (sha256
        (base32 "1bx97r6d4rfq2y7h85j9g1hqmyf7qmmr7faw4gjxnlh1q281fvdv"))))
    (properties `((upstream-name . "rdmulti")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdrobust r-ggplot2))
    (home-page "https://cran.r-project.org/package=rdmulti")
    (synopsis "Analysis of RD Designs with Multiple Cutoffs or Scores")
    (description
     "The regression discontinuity (RD) design is a popular quasi-experimental design
for causal inference and policy evaluation.  The rdmulti package provides tools
to analyze RD designs with multiple cutoffs or scores: rdmc() estimates pooled
and cutoff specific effects for multi-cutoff designs, rdmcplot() draws RD plots
for multi-cutoff designs and rdms() estimates effects in cumulative cutoffs or
multi-score designs.  See Cattaneo, Titiunik and Vazquez-Bare (2020)
<https://rdpackages.github.io/references/Cattaneo-Titiunik-@code{VazquezBare_2020_Stata.pdf>}
for further methodological details.")
    (license license:gpl2)))

(define-public r-rdml
  (package
    (name "r-rdml")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDML" version))
       (sha256
        (base32 "13ly1p42njbcygwvkyii8sjqbsywjy5w5g1kd7m8kswi5dsk3qqv"))))
    (properties `((upstream-name . "RDML")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-stringr
                             r-rlist
                             r-readxl
                             r-r6
                             r-piper
                             r-lubridate
                             r-data-table
                             r-checkmate))
    (home-page "https://github.com/kablag/RDML")
    (synopsis
     "Importing Real-Time Thermo Cycler (qPCR) Data from RDML Format Files")
    (description
     "Imports real-time thermo cycler (@code{qPCR}) data from Real-time PCR Data
Markup Language (RDML) and transforms to the appropriate formats of the
@code{qpcR} and @code{chipPCR} packages.  Contains a dendrogram visualization
for the structure of RDML object and GUI for RDML editing.")
    (license license:expat)))

(define-public r-rdm
  (package
    (name "r-rdm")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDM" version))
       (sha256
        (base32 "0aqjs7dh40d24l8fhhkyf1vnpwbxm47blfi4lwwld2hyi854m80q"))))
    (properties `((upstream-name . "RDM")))
    (build-system r-build-system)
    (propagated-inputs (list r-rfast r-rcpp))
    (home-page "https://github.com/ChristopherStrothmann/RDM")
    (synopsis "Quantify Dependence using Rearranged Dependence Measures")
    (description
     "Estimates the rearranged dependence measure ('RDM') of two continuous random
variables for different underlying measures.  Furthermore, it provides a method
to estimate the (SI)-rearrangement copula using empirical checkerboard copulas.
It is based on the theoretical results presented in Strothmann et al. (2022)
<@code{arXiv:2201.03329>} and Strothmann (2021) <doi:10.17877/DE290R-22733>.")
    (license license:gpl2)))

(define-public r-rdlocrand
  (package
    (name "r-rdlocrand")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdlocrand" version))
       (sha256
        (base32 "0kh66bvfg7jq2rj6zx541xrr887f8jfyinhl6jf21vizcijyf3k6"))))
    (properties `((upstream-name . "rdlocrand")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich r-aer))
    (home-page "https://cran.r-project.org/package=rdlocrand")
    (synopsis "Local Randomization Methods for RD Designs")
    (description
     "The regression discontinuity (RD) design is a popular quasi-experimental design
for causal inference and policy evaluation.  Under the local randomization
approach, RD designs can be interpreted as randomized experiments inside a
window around the cutoff.  This package provides tools to perform randomization
inference for RD designs under local randomization: rdrandinf() to perform
hypothesis testing using randomization inference, rdwinselect() to select a
window around the cutoff in which randomization is likely to hold,
rdsensitivity() to assess the sensitivity of the results to different window
lengths and null hypotheses and rdrbounds() to construct Rosenbaum bounds for
sensitivity to unobserved confounders.  See Cattaneo, Titiunik and Vazquez-Bare
(2016)
<https://rdpackages.github.io/references/Cattaneo-Titiunik-@code{VazquezBare_2016_Stata.pdf>}
for further methodological details.")
    (license license:gpl2)))

(define-public r-rdiversity
  (package
    (name "r-rdiversity")
    (version "2.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdiversity" version))
       (sha256
        (base32 "0h40piqckcm3z5aj65x20giyqwjp32qi0yvjbfgaizm1dxfn6zqh"))))
    (properties `((upstream-name . "rdiversity")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringdist r-reshape2))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/boydorr/rdiversity")
    (synopsis
     "Measurement and Partitioning of Similarity-Sensitive Biodiversity")
    (description
     "This package provides a framework for the measurement and partitioning of the
(similarity-sensitive) biodiversity of a metacommunity and its constituent
subcommunities.  Richard Reeve, et al. (2016) <@code{arXiv:1404.6520v3>}.")
    (license license:gpl3)))

(define-public r-rdistance
  (package
    (name "r-rdistance")
    (version "3.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rdistance" version))
       (sha256
        (base32 "07814154yss9660js65ib5jjgyhvyawxx6af1zl1im14ynrmz0np"))))
    (properties `((upstream-name . "Rdistance")))
    (build-system r-build-system)
    (propagated-inputs (list r-units r-crayon))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/tmcd82070/Rdistance/wiki")
    (synopsis
     "Distance-Sampling Analyses for Density and Abundance Estimation")
    (description
     "Distance-sampling analyses estimate density and abundance of organisms in
ecology when detection probability declines with increasing distance from the
observers.  Distance-sampling is popular in most branches of ecology and
especially when organisms are observed from aerial platforms (e.g., airplane or
drone), surface vessels (e.g., boat or truck), or along walking transects.
Rdistance analyzes data collected on both point and line transects, estimates
overall (study area) and site-level (transect or point) density, and allows
users to specify regression-like formula (similar to lm or glm) for covariates.
A large suite of classical, parametric detection functions are included along
with some uncommon parametric functions (e.g., Gamma, negative exponential) and
non-parametric smoothed distance functions.  Custom (user-defined) detection
functions can be implemented (see vignette).  Measurement unit integrity is
enforced with internal unit conversion when necessary.  The help files and
vignettes have been vetted by multiple authors and tested in workshop settings.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rdist
  (package
    (name "r-rdist")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdist" version))
       (sha256
        (base32 "1jb6dgp1f3307h96v20pjxpkxfz08ij98w0yj5cdx1g2kwfl0h0w"))))
    (properties `((upstream-name . "rdist")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (home-page "https://github.com/blasern/rdist")
    (synopsis "Calculate Pairwise Distances")
    (description
     "This package provides a common framework for calculating distance matrices.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rdimtools
  (package
    (name "r-rdimtools")
    (version "1.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rdimtools" version))
       (sha256
        (base32 "0bl8ffyy9jb6xp1jb350fj5pw3zvc1dnrdhl4vi25kl84pp30xl6"))))
    (properties `((upstream-name . "Rdimtools")))
    (build-system r-build-system)
    (propagated-inputs (list r-rspectra
                             r-rdpack
                             r-rcppdist
                             r-rcppde
                             r-rcpparmadillo
                             r-rcpp
                             r-rann
                             r-mclustcomp
                             r-mass
                             r-maotai
                             r-cvxr
                             r-admm))
    (native-inputs (list r-knitr))
    (home-page "https://www.kisungyou.com/Rdimtools/")
    (synopsis "Dimension Reduction and Estimation Methods")
    (description
     "We provide linear and nonlinear dimension reduction techniques.  Intrinsic
dimension estimation methods for exploratory analysis are also provided.  For
more details on the package, see the paper by You and Shung (2022)
<doi:10.1016/j.simpa.2022.100414>.")
    (license license:expat)))

(define-public r-rdieharder
  (package
    (name "r-rdieharder")
    (version "0.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDieHarder" version))
       (sha256
        (base32 "1q0b98h1ksvk3v1m3kp1x7jnvhpzxrsiyriq2nfkybh72x1p23gl"))))
    (properties `((upstream-name . "RDieHarder")))
    (build-system r-build-system)
    (inputs (list gsl))
    (home-page "https://github.com/eddelbuettel/rdieharder")
    (synopsis "R Interface to the 'DieHarder' RNG Test Suite")
    (description
     "The R@code{DieHarder} package provides an R interface to the @code{DieHarder}
suite of random number generators and tests that was developed by Robert G.
Brown and David Bauer, extending earlier work by George Marsaglia and others.
The @code{DieHarder} library code is included.")
    (license license:gpl2+)))

(define-public r-rdice
  (package
    (name "r-rdice")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rdice" version))
       (sha256
        (base32 "1xibvm690808p2g3jch7rh1825yrpgln2hjfclgxjwn822qvs4xr"))))
    (properties `((upstream-name . "Rdice")))
    (build-system r-build-system)
    (propagated-inputs (list r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rdice")
    (synopsis "Collection of Functions to Experiment Dice Rolls")
    (description
     "This package provides a collection of functions to simulate dice rolls and the
like.  In particular, experiments and exercises can be performed looking at
combinations and permutations of values in dice rolls and coin flips, together
with the corresponding frequencies of occurrences.  When applying each function,
the user has to input the number of times (rolls, flips) to toss the dice.
Needless to say, the more the tosses, the more the frequencies approximate the
actual probabilities.  Moreover, the package provides functions to generate
non-transitive sets of dice (like Efron's) and to check whether a given set of
dice is non-transitive with given probability.")
    (license license:gpl2)))

(define-public r-rdian
  (package
    (name "r-rdian")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdian" version))
       (sha256
        (base32 "0i4ljcqhmrwrqbhi321iffypxj4kndx47ssljnixr3fx2lmqh0q1"))))
    (properties `((upstream-name . "rdian")))
    (build-system r-build-system)
    (propagated-inputs (list r-httr r-curl))
    (home-page "https://github.com/ironholds/rdian")
    (synopsis "Client Library for The Guardian")
    (description
     "This package provides a client library for The Guardian
(https://www.guardian.com/) and their API, this package allows users to search
for Guardian articles and retrieve both the content and metadata.")
    (license license:expat)))

(define-public r-rdiagnosislist
  (package
    (name "r-rdiagnosislist")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rdiagnosislist" version))
       (sha256
        (base32 "0jnjqwqvaj6brgpmd9xj04ax5dbwqpbb89hhn1m2bd3v9673k1v3"))))
    (properties `((upstream-name . "Rdiagnosislist")))
    (build-system r-build-system)
    (propagated-inputs (list r-data-table r-bit64))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rdiagnosislist")
    (synopsis "Manipulate SNOMED CT Diagnosis Lists")
    (description
     "This package provides functions and methods for manipulating SNOMED CT concepts.
 The package contains functions for loading the SNOMED CT release into a
convenient R environment, selecting SNOMED CT concepts using regular
expressions, and navigating the SNOMED CT ontology.  It provides the
SNOMEDconcept S3 class for a vector of SNOMED CT concepts (stored as 64-bit
integers) and the SNOMEDcodelist S3 class for a table of concepts IDs with
descriptions.  For more information about SNOMED CT visit
<https://www.snomed.org/>.")
    (license license:gpl3)))

(define-public r-rdi
  (package
    (name "r-rdi")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdi" version))
       (sha256
        (base32 "1c49mkxfyxhqz8fc155kgy1k5by0y2c1ahy8k6pn9k8l1j4m4m2q"))))
    (properties `((upstream-name . "rdi")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-pdist r-gplots r-beanplot))
    (home-page "http://rdi.readthedocs.io")
    (synopsis "Repertoire Dissimilarity Index")
    (description
     "This package provides methods for calculation and visualization of the
Repertoire Dissimilarity Index.  Citation: Bolen and Rubelt, et al (2017)
<doi:10.1186/s12859-017-1556-5>.")
    (license license:cc-by-sa4.0)))

(define-public r-rdhs
  (package
    (name "r-rdhs")
    (version "0.8.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdhs" version))
       (sha256
        (base32 "0i25lbfbi3ikipk7k53bi1b57v2348ab08sh7rh2pqdlxpfkp7b7"))))
    (properties `((upstream-name . "rdhs")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-storr
                             r-sf
                             r-rlang
                             r-rappdirs
                             r-r6
                             r-qdapregex
                             r-magrittr
                             r-jsonlite
                             r-iotools
                             r-httr
                             r-haven
                             r-getpass
                             r-foreign
                             r-digest
                             r-cli
                             r-brio))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rdhs/")
    (synopsis
     "API Client and Dataset Management for the Demographic and Health Survey (DHS) Data")
    (description
     "This package provides a client for (1) querying the DHS API for survey
indicators and metadata (<https://api.dhsprogram.com/#/index.html>), (2)
identifying surveys and datasets for analysis, (3) downloading survey datasets
from the DHS website, (4) loading datasets and associate metadata into R, and
(5) extracting variables and combining datasets for pooled analysis.")
    (license license:expat)))

(define-public r-rdhonest
  (package
    (name "r-rdhonest")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RDHonest" version))
       (sha256
        (base32 "15mfv573sqqhsa1snswcjbh4kyz26kldim0nx16hypzx09x6rrrc"))))
    (properties `((upstream-name . "RDHonest")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr r-formula))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/kolesarm/RDHonest")
    (synopsis "Honest Inference in Regression Discontinuity Designs")
    (description
     "Honest and nearly-optimal confidence intervals in fuzzy and sharp regression
discontinuity designs and for inference at a point based on local linear
regression.  The implementation is based on Armstrong and KolesÃ¡r (2018)
<doi:10.3982/ECTA14434>, and KolesÃ¡r and Rothe (2018)
<doi:10.1257/aer.20160945>.  Supports covariates, clustering, and weighting.")
    (license license:gpl3)))

(define-public r-rdfp
  (package
    (name "r-rdfp")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdfp" version))
       (sha256
        (base32 "1490227hhfjjscfmd8p897v1ijs61pk5sc0a2vr9yjnfmsnxpqrl"))))
    (properties `((upstream-name . "rdfp")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-xml
                             r-readr
                             r-purrr
                             r-plyr
                             r-lubridate
                             r-httr
                             r-dplyr
                             r-data-table
                             r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/StevenMMortimer/rdfp")
    (synopsis "An Implementation of the 'DoubleClick for Publishers' API")
    (description
     "This package provides functions to interact with the Google @code{DoubleClick}
for Publishers (DFP) API <https://developers.google.com/ad-manager/api/start>
(recently renamed to Google Ad Manager').  This package is automatically
compiled from the API WSDL (Web Service Description Language) files to dictate
how the API is structured.  Theoretically, all API actions are possible using
this package; however, care must be taken to format the inputs correctly and
parse the outputs correctly.  Please see the Google Ad Manager API reference
<https://developers.google.com/ad-manager/api/rel_notes> and this package's
website <https://stevenmmortimer.github.io/rdfp/> for more information,
documentation, and examples.")
    (license license:expat)))

(define-public r-rdflib
  (package
    (name "r-rdflib")
    (version "0.2.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdflib" version))
       (sha256
        (base32 "0cfkbqr4m9dqbiqnr01wkxl6qd09384aq5x0d8vycylmngvmh4ay"))))
    (properties `((upstream-name . "rdflib")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-stringi r-redland r-readr r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rdflib/")
    (synopsis "Tools to Manipulate and Query Semantic Data")
    (description
     "The Resource Description Framework, or RDF is a widely used data representation
model that forms the cornerstone of the Semantic Web.  RDF represents data as a
graph rather than the familiar data table or rectangle of relational databases.
The rdflib package provides a friendly and concise user interface for performing
common tasks on RDF data, such as reading, writing and converting between the
various serializations of RDF data, including rdfxml', turtle', nquads',
ntriples', and json-ld'; creating new RDF graphs, and performing graph queries
using SPARQL'.  This package wraps the low level redland R package which
provides direct bindings to the redland C library.  Additionally, the package
supports the newer and more developer friendly JSON-LD format through the jsonld
package.  The package interface takes inspiration from the Python rdflib
library.")
    (license license:expat)))

(define-public r-rdeps
  (package
    (name "r-rdeps")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdeps" version))
       (sha256
        (base32 "0zcik1lf3b37h089sx8pvcdkdilkx832gjwsvzach5mdg1sv3plc"))))
    (properties `((upstream-name . "rdeps")))
    (build-system r-build-system)
    (propagated-inputs (list r-cli))
    (home-page "https://github.com/frbcesab/rdeps")
    (synopsis "Identify External Packages Used in a Project")
    (description
     "Screens all .R', .Rmd', and .qmd files to extract the name of packages used in a
project.  This package detects packages called with library(foo)',
require(foo)', and foo::bar() and adds these dependencies in the DESCRIPTION
file in the sections Depends, Imports, and Suggests.")
    (license license:gpl2+)))

(define-public r-rdecode
  (package
    (name "r-rdecode")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rDecode" version))
       (sha256
        (base32 "1d0rrhycw9anhvx6czz7axkzhzqprdgi9sqfglmc962zf1x3hmn2"))))
    (properties `((upstream-name . "rDecode")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rDecode")
    (synopsis "Descent-Based Calibrated Optimal Direct Estimation")
    (description
     "Algorithms for solving a self-calibrated l1-regularized quadratic programming
problem without parameter tuning.  The algorithm, called DECODE, can handle
high-dimensional data without cross-validation.  It is found useful in high
dimensional portfolio selection (see Pun (2018)
<https://ssrn.com/abstract=3179569>) and large precision matrix estimation and
sparse linear discriminant analysis (see Pun and Hadimaja (2019)
<https://ssrn.com/abstract=3422590>).")
    (license license:gpl2)))

(define-public r-rdecision
  (package
    (name "r-rdecision")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdecision" version))
       (sha256
        (base32 "1jd5hgcj9idqs81l8gb8hq57zxjpbziqyj1dj67kzls6mr1kjzil"))))
    (properties `((upstream-name . "rdecision")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr r-rlang r-r6))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ajsims1704/rdecision")
    (synopsis "Decision Analytic Modelling in Health Economics")
    (description
     "This package provides classes and functions for modelling health care
interventions using decision trees and semi-Markov models.  Mechanisms are
provided for associating an uncertainty distribution with each source variable
and for ensuring transparency of the mathematical relationships between
variables.  The package terminology follows Briggs \"Decision Modelling for
Health Economic Evaluation\" (2006, ISBN:978-0-19-852662-9).")
    (license license:gpl3)))

(define-public r-rdea
  (package
    (name "r-rdea")
    (version "1.2-8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rDEA" version))
       (sha256
        (base32 "0qfmr13bk0gklwj4cv5v3bvwpz831d7yhv7lr42v2j1f0n4db3v4"))))
    (properties `((upstream-name . "rDEA")))
    (build-system r-build-system)
    (inputs (list glpk))
    (propagated-inputs (list r-truncreg r-truncnorm r-slam r-maxlik))
    (home-page "https://github.com/jaak-s/rDEA")
    (synopsis "Robust Data Envelopment Analysis (DEA) for R")
    (description
     "Data Envelopment Analysis for R, estimating robust DEA scores without and with
environmental variables and doing returns-to-scale tests.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rde
  (package
    (name "r-rde")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rde" version))
       (sha256
        (base32 "1zw9gdh90hl0wc5c0xwl5x7566r611wk73sbqdmpzpswjyyl9aqm"))))
    (properties `((upstream-name . "rde")))
    (build-system r-build-system)
    (propagated-inputs (list r-clipr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/kloppen/rde")
    (synopsis "Reproducible Data Embedding")
    (description
     "Allows caching of raw data directly in R code.  This allows R scripts and R
Notebooks to be shared and re-run on a machine without access to the original
data.  Cached data is encoded into an ASCII string that can be pasted into R
code.  When the code is run, the data is automatically loaded from the cached
version if the original data file is unavailable.  Works best for small datasets
(a few hundred observations).")
    (license license:gpl3)))

(define-public r-rddtools
  (package
    (name "r-rddtools")
    (version "1.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rddtools" version))
       (sha256
        (base32 "12lxdpazfhwn5kkzs91qhs0xcky30dj01yp0v5708ahr1ywqdxmd"))))
    (properties `((upstream-name . "rddtools")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich
                             r-rmarkdown
                             r-rdrobust
                             r-rdd
                             r-np
                             r-locpol
                             r-lmtest
                             r-kernsmooth
                             r-ggplot2
                             r-formula
                             r-aer))
    (native-inputs (list r-knitr))
    (home-page "https://qua.st/rddtools/")
    (synopsis "Toolbox for Regression Discontinuity Design ('RDD')")
    (description
     "Set of functions for Regression Discontinuity Design ('RDD'), for data
visualisation, estimation and testing.")
    (license license:gpl2+)))

(define-public r-rddi
  (package
    (name "r-rddi")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rddi" version))
       (sha256
        (base32 "19izmky8rwz98i6w76mac9b1sppjdpa48jm33gy38zd3k6k2054j"))))
    (properties `((upstream-name . "rddi")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-rlang r-glue))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rddi")
    (synopsis "R Interface to DDI Codebook 2.5")
    (description
     "This package provides a direct interface to the underlying XML representation of
DDI Codebook 2.5 with flexible API creation.")
    (license license:gpl3)))

(define-public r-rddensity
  (package
    (name "r-rddensity")
    (version "2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rddensity" version))
       (sha256
        (base32 "0a72cfy1y2q4hkq66h0xcwiincvj9x1dlzi4j9cmxn0689hsy2rr"))))
    (properties `((upstream-name . "rddensity")))
    (build-system r-build-system)
    (propagated-inputs (list r-lpdensity r-ggplot2))
    (home-page "https://cran.r-project.org/package=rddensity")
    (synopsis "Manipulation Testing Based on Density Discontinuity")
    (description
     "Density discontinuity testing (a.k.a.  manipulation testing) is commonly
employed in regression discontinuity designs and other program evaluation
settings to detect perfect self-selection (manipulation) around a cutoff where
treatment/policy assignment changes.  This package implements manipulation
testing procedures using the local polynomial density estimators: rddensity() to
construct test statistics and p-values given a prespecified cutoff,
rdbwdensity() to perform data-driven bandwidth selection, and rdplotdensity() to
construct density plots.")
    (license license:gpl2)))

(define-public r-rddapp
  (package
    (name "r-rddapp")
    (version "1.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rddapp" version))
       (sha256
        (base32 "1bb76v35cpcvmjnkzficl1rvwkz37z0i56bq81m7nb87cb9p1hkv"))))
    (properties `((upstream-name . "rddapp")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp
                             r-shiny
                             r-sandwich
                             r-r-utils
                             r-plot3d
                             r-lmtest
                             r-formula
                             r-dt
                             r-aer))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rddapp")
    (synopsis "Regression Discontinuity Design Application")
    (description
     "Estimation of both single- and multiple-assignment Regression Discontinuity
Designs (RDDs).  Provides both parametric (global) and non-parametric (local)
estimation choices for both sharp and fuzzy designs, along with power analysis
and assumption checks.  Introductions to the underlying logic and analysis of
RDDs are in Thistlethwaite, D. L., Campbell, D. T. (1960) <doi:10.1037/h0044319>
and Lee, D. S., Lemieux, T. (2010) <doi:10.1257/jel.48.2.281>.")
    (license license:gpl2+)))

(define-public r-rdd
  (package
    (name "r-rdd")
    (version "0.57")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdd" version))
       (sha256
        (base32 "1lpkzcjd18x51wzr4d1prdjfsw5978z6zap65psfs02nszy69nqp"))))
    (properties `((upstream-name . "rdd")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich r-lmtest r-formula r-aer))
    (home-page "https://cran.r-project.org/package=rdd")
    (synopsis "Regression Discontinuity Estimation")
    (description
     "This package provides the tools to undertake estimation in Regression
Discontinuity Designs.  Both sharp and fuzzy designs are supported.  Estimation
is accomplished using local linear regression.  A provided function will utilize
Imbens-Kalyanaraman optimal bandwidth calculation.  A function is also included
to test the assumption of no-sorting effects.")
    (license license:asl2.0)))

(define-public r-rdbnomics
  (package
    (name "r-rdbnomics")
    (version "0.6.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdbnomics" version))
       (sha256
        (base32 "1h32wxjykz9y3k48rx31cvy485gsx8ix3194r2zgxlwdza3rl3lb"))))
    (properties `((upstream-name . "rdbnomics")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-data-table r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://git.nomics.world/dbnomics/rdbnomics")
    (synopsis "Download DBnomics Data")
    (description
     "R access to hundreds of millions data series from DBnomics API
(<https://db.nomics.world/>).")
    (license license:agpl3)))

(define-public r-rdataretriever
  (package
    (name "r-rdataretriever")
    (version "3.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdataretriever" version))
       (sha256
        (base32 "0ill7bgah219zp33yr9crq4fvzkhjbqm3y5y70nx14zq2jn5v9dg"))))
    (properties `((upstream-name . "rdataretriever")))
    (build-system r-build-system)
    (inputs (list python))
    (propagated-inputs (list r-semver r-reticulate))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rdataretriever/")
    (synopsis "R Interface to the Data Retriever")
    (description
     "This package provides an R interface to the Data Retriever
<https://retriever.readthedocs.io/en/latest/> via the Data Retriever's command
line interface.  The Data Retriever automates the tasks of finding, downloading,
and cleaning public datasets, and then stores them in a local database.")
    (license license:expat)))

(define-public r-rdatapipeline
  (package
    (name "r-rdatapipeline")
    (version "0.60.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rDataPipeline" version))
       (sha256
        (base32 "0b161pixwfr0dx0xdrdwnixyxzfkmgalmznkcmasx6mlw81frbhg"))))
    (properties `((upstream-name . "rDataPipeline")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml
                             r-usethis
                             r-semver
                             r-rhdf5
                             r-r6
                             r-openssl
                             r-jsonlite
                             r-httr
                             r-git2r
                             r-dplyr
                             r-configr
                             r-cli
                             r-assertthat))
    (home-page "https://www.fairdatapipeline.org/rDataPipeline/")
    (synopsis "Functions to Interact with the 'FAIR Data Pipeline'")
    (description
     "R implementation of the FAIR Data Pipeline API'.  The FAIR Data Pipeline is
intended to enable tracking of provenance of FAIR (findable, accessible and
interoperable) data used in epidemiological modelling.")
    (license license:gpl3+)))

(define-public r-rdatacite
  (package
    (name "r-rdatacite")
    (version "0.5.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdatacite" version))
       (sha256
        (base32 "130wvrp1lc9xhcj3c842cqd9xbbnr1abm56j933kdjwkps542583"))))
    (properties `((upstream-name . "rdatacite")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-jsonlite r-crul))
    (home-page "https://docs.ropensci.org/rdatacite/")
    (synopsis "Client for the 'DataCite' API")
    (description
     "Client for the web service methods provided by @code{DataCite}
(<https://www.datacite.org/>), including functions to interface with their
RESTful search API. The API is backed by Elasticsearch', allowing expressive
queries, including faceting.")
    (license license:expat)))

(define-public r-rdaisi
  (package
    (name "r-rdaisi")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdaisi" version))
       (sha256
        (base32 "14yp725hqhdhg266h55jrfgzx0l93659d76cvaca4imsxa3ybdcb"))))
    (properties `((upstream-name . "rdaisi")))
    (build-system r-build-system)
    (propagated-inputs (list r-reticulate r-httr))
    (home-page "https://www.daisi.io/")
    (synopsis "R Client for the Daisi Microservice Platform")
    (description
     "Connect, execute, and parse results from the Daisi Microservice Platform
<https://www.daisi.io/>.  The rdaisi client includes a set of functionality that
allows remote execution of microservices directly from R. Daisis allow R users
to access a wide variety of Python functionality and interact with them
natively.")
    (license (license:fsdg-compatible "Apache License (>= 2)"))))

(define-public r-rdacca-hp
  (package
    (name "r-rdacca-hp")
    (version "1.1-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rdacca.hp" version))
       (sha256
        (base32 "0bgsr2a7xb82q5rnfdxd0h2c923c1s8jc7jgglbzqbinlwqjry5i"))))
    (properties `((upstream-name . "rdacca.hp")))
    (build-system r-build-system)
    (propagated-inputs (list r-vegan r-ggplot2))
    (home-page "https://github.com/laijiangshan/rdacca.hp")
    (synopsis "Hierarchical and Variation Partitioning for Canonical Analysis")
    (description
     "This function conducts variation partitioning and hierarchical partitioning to
calculate the unique, shared (referred as to \"common\") and individual
contributions of each predictor (or matrix) towards explained variation
(R-square and adjusted R-square) on canonical analysis (RDA,CCA and db-RDA),
applying the algorithm of Lai J.,Zou Y., Zhang J.,Peres-Neto P.(2022)
Generalizing hierarchical and variation partitioning in multiple regression and
canonical analyses using the rdacca.hp R package.Methods in Ecology and
Evolution,13: 782-788 <DOI:10.1111/2041-210X.13800>.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rd3plot
  (package
    (name "r-rd3plot")
    (version "1.1.21")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rD3plot" version))
       (sha256
        (base32 "1jjfr1ncfv0dxlzhlyfkdvx19cdxixzv89xl7y2piyvx1rbi14j6"))))
    (properties `((upstream-name . "rD3plot")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-igraph))
    (native-inputs (list esbuild))
    (home-page "https://cran.r-project.org/package=rD3plot")
    (synopsis
     "Interactive Networks, Timelines, Barplots, Galleries with 'D3.js'")
    (description
     "This package creates interactive analytic graphs with R'.  It joins the data
analysis power of R and the visualization libraries of @code{JavaScript} in one
package.  The package provides interactive networks, timelines, barplots, image
galleries and evolving networks.  Graphs are represented as D3.js graphs
embedded in a web page ready for its interactive analysis and exploration.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rd2roxygen
  (package
    (name "r-rd2roxygen")
    (version "1.16")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rd2roxygen" version))
       (sha256
        (base32 "1p8xzgzl1h1ykj1j9c3gyr7a9m89sd9kwr5yqbdy9jkiwmmbb919"))))
    (properties `((upstream-name . "Rd2roxygen")))
    (build-system r-build-system)
    (propagated-inputs (list r-xfun r-roxygen2 r-formatr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/yihui/Rd2roxygen")
    (synopsis "Convert Rd to 'Roxygen' Documentation")
    (description
     "This package provides functions to convert Rd to roxygen documentation.  It can
parse an Rd file to a list, create the roxygen documentation and update the
original R script (e.g. the one containing the definition of the function)
accordingly.  This package also provides utilities that can help developers
build packages using roxygen more easily.  The @code{formatR} package can be
used to reformat the R code in the examples sections so that the code will be
more readable.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rd2md
  (package
    (name "r-rd2md")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rd2md" version))
       (sha256
        (base32 "1xidp50s90m9kl3c0lbakzhmzlf9v9b2ikka18vsamhc6w0kk0sw"))))
    (properties `((upstream-name . "Rd2md")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/quantsch/rd2md")
    (synopsis "Markdown Reference Manuals")
    (description
     "Native R only allows PDF exports of reference manuals.  The Rd2md package
converts the package documentation files into markdown files and combines them
into a markdown version of the package reference manual.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rczechia
  (package
    (name "r-rczechia")
    (version "1.12.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCzechia" version))
       (sha256
        (base32 "0qkg307cik7bvhgi8rm8h27pv1247559ndk39r4mjf6wql7bylwb"))))
    (properties `((upstream-name . "RCzechia")))
    (build-system r-build-system)
    (inputs (list proj geos gdal))
    (propagated-inputs (list r-sf r-magrittr r-jsonlite r-httr r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://rczechia.jla-data.net")
    (synopsis "Spatial Objects of the Czech Republic")
    (description
     "Administrative regions and other spatial objects of the Czech Republic.")
    (license license:expat)))

(define-public r-rcytogps
  (package
    (name "r-rcytogps")
    (version "1.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCytoGPS" version))
       (sha256
        (base32 "1xix60ch4zmx60nvyjb69ihg2axqbvdsphw5my68g17am0gk41bd"))))
    (properties `((upstream-name . "RCytoGPS")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjson))
    (native-inputs (list r-knitr))
    (home-page "http://oompa.r-forge.r-project.org/")
    (synopsis "Using Cytogenetics Data in R")
    (description
     "Defines classes and methods to process text-based cytogenetics using the
@code{CytoGPS} web site, then import the results into R for further analysis and
graphing.")
    (license license:asl2.0)))

(define-public r-rcurvep
  (package
    (name "r-rcurvep")
    (version "1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcurvep" version))
       (sha256
        (base32 "1l29z50ka9n2qma1pk8gw00xhxvzxkrd07dwrd8k5b36kiql2q3y"))))
    (properties `((upstream-name . "Rcurvep")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-rjava
                             r-rdpack
                             r-purrr
                             r-magrittr
                             r-ggplot2
                             r-furrr
                             r-dplyr
                             r-boot))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/moggces/Rcurvep")
    (synopsis "Concentration-Response Data Analysis using Curvep")
    (description
     "An R interface for processing concentration-response datasets using Curvep, a
response noise filtering algorithm.  The algorithm was described in the
publications (Sedykh A et al. (2011) <doi:10.1289/ehp.1002476> and Sedykh A
(2016) <doi:10.1007/978-1-4939-6346-1_14>).  Other parametric fitting approaches
(e.g., Hill equation) are also adopted for ease of comparison.  3-parameter Hill
equation from tcpl package (Filer D et al., <doi:10.1093/bioinformatics/btw680>)
and 4-parameter Hill equation from Curve Class2 approach (Wang Y et al.,
<doi:10.2174/1875397301004010057>) are available.  Also, methods for calculating
the confidence interval around the activity metrics are also provided.  The
methods are based on the bootstrap approach to simulate the datasets (Hsieh J-H
et al. <doi:10.1093/toxsci/kfy258>).  The simulated datasets can be used to
derive the baseline noise threshold in an assay endpoint.  This threshold is
critical in the toxicological studies to derive the point-of-departure (POD).")
    (license license:expat)))

(define-public r-rcube
  (package
    (name "r-rcube")
    (version "0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcube" version))
       (sha256
        (base32 "1162y7fs3fsbb5jj66g9kvxxhggprlifrabqbb9lqm8rrdwhz3r9"))))
    (properties `((upstream-name . "rcube")))
    (build-system r-build-system)
    (propagated-inputs (list r-magrittr))
    (home-page "https://cran.r-project.org/package=rcube")
    (synopsis "Simulations and Visualizations of Rubik's Cube (with Mods)")
    (description
     "This package provides simplified methods for managing classic Rubik's cubes and
many other modifications of it (such as @code{NxNxN} size cubes, void cubes and
8-coloured cubes - so called octa cubes).  Includes functions of handling
special syntax for managing such cubes; and different approach to plotting 3D
cubes without using external libraries (for example @code{OpenGL}').")
    (license license:gpl3)))

(define-public r-rcts
  (package
    (name "r-rcts")
    (version "0.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCTS" version))
       (sha256
        (base32 "0wx0c9sk8y1frjwifgszzp38yx5lmwndhvixbak1kcjw5n02rkyj"))))
    (properties `((upstream-name . "RCTS")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-stringr
                             r-robustbase
                             r-rlang
                             r-rdpack
                             r-purrr
                             r-ncvreg
                             r-magrittr
                             r-ggplot2
                             r-dplyr
                             r-cellwise))
    (home-page "https://cran.r-project.org/package=RCTS")
    (synopsis "Clustering Time Series While Resisting Outliers")
    (description
     "Robust Clustering of Time Series (RCTS) has the functionality to cluster time
series using both the classical and the robust interactive fixed effects
framework.  The classical framework is developed in Ando & Bai (2017)
<doi:10.1080/01621459.2016.1195743>.  The implementation within this package
excludes the SCAD-penalty on the estimations of beta.  This robust framework is
developed in Boudt & Heyndels (2022) <doi:10.1016/j.ecosta.2022.01.002> and is
made robust against different kinds of outliers.  The algorithm iteratively
updates beta (the coefficients of the observable variables), group membership,
and the latent factors (which can be common and/or group-specific) along with
their loadings.  The number of groups and factors can be estimated if they are
unknown.")
    (license license:gpl2+)))

(define-public r-rctrep
  (package
    (name "r-rctrep")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCTrep" version))
       (sha256
        (base32 "1miqidpn8a3wv6pd4xqsnk9gzdsvdwdzsm656ass67jgyzzh2c9h"))))
    (properties `((upstream-name . "RCTrep")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-shinydashboard
                             r-shiny
                             r-r6
                             r-psweight
                             r-numderiv
                             r-mvtnorm
                             r-matchit
                             r-glue
                             r-ggpubr
                             r-ggplot2
                             r-geex
                             r-fastdummies
                             r-dplyr
                             r-copula
                             r-caret
                             r-bart))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/duolajiang/RCTrep")
    (synopsis
     "Validation of Estimates of Treatment Effects in Observational Data")
    (description
     "Validates estimates of (conditional) average treatment effects obtained using
observational data by a) making it easy to obtain and visualize estimates
derived using a large variety of methods (G-computation, inverse propensity
score weighting, etc.), and b) ensuring that estimates are easily compared to a
gold standard (i.e., estimates derived from randomized controlled trials).
RCTrep offers a generic protocol for treatment effect validation based on four
simple steps, namely, set-selection, estimation, diagnosis, and validation.
RCTrep provides a simple dashboard to review the obtained results.  The
validation approach is introduced by Shen, L., Geleijnse, G. and Kaptein, M.
(2023) <doi:10.21203/rs.3.rs-2559287/v2>.")
    (license license:expat)))

(define-public r-rct3
  (package
    (name "r-rct3")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rct3" version))
       (sha256
        (base32 "1xm5kni2mnpzby8basmwbm1abg615i4mlf6fn9jr5il94q1bdgly"))))
    (properties `((upstream-name . "rct3")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rct3")
    (synopsis "Predict Fish Year-Class Strength from Survey Data")
    (description
     "Predict fish year-class strength by calibration regression analysis of multiple
recruitment index series.")
    (license license:gpl3)))

(define-public r-rct2
  (package
    (name "r-rct2")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCT2" version))
       (sha256
        (base32 "1iwf4vp0wll1dgn0sxc3pycidhr6n52pmfmv85kyxkaz300ghhs7"))))
    (properties `((upstream-name . "RCT2")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich r-quadprog r-aer))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/kosukeimai/RCT2")
    (synopsis "Designing and Analyzing Two-Stage Randomized Experiments")
    (description
     "This package provides various statistical methods for designing and analyzing
two-stage randomized controlled trials using the methods developed by Imai,
Jiang, and Malani (2021) <doi:10.1080/01621459.2020.1775612> and (2022+)
<doi:10.48550/@code{arXiv.2011.07677>}.  The package enables the estimation of
direct and spillover effects, conduct hypotheses tests, and conduct sample size
calculation for two-stage randomized controlled trials.")
    (license license:gpl2+)))

(define-public r-rct
  (package
    (name "r-rct")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCT" version))
       (sha256
        (base32 "0yq0jiavkplfm1swa1zd83rwl34h5p33cj3lsmj5aplpg1pbbvvh"))))
    (properties `((upstream-name . "RCT")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-stringr
                             r-rlang
                             r-purrr
                             r-pracma
                             r-mass
                             r-magrittr
                             r-glue
                             r-ggplot2
                             r-forcats
                             r-estimatr
                             r-dplyr
                             r-broom))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RCT")
    (synopsis
     "Assign Treatments, Power Calculations, Balances, Impact Evaluation of Experiments")
    (description
     "Assists in the whole process of designing and evaluating Randomized Control
Trials.  Robust treatment assignment by strata/blocks, that handles misfits;
Power calculations of the minimum detectable treatment effect or minimum
populations; Balance tables of T-test of covariates; Balance Regression:
(treatment ~ all x variables) with F-test of null model; Impact_evaluation:
Impact evaluation regressions.  This function gives you the option to include
control_vars, fixed effect variables, cluster variables (for robust SE),
multiple endogenous variables and multiple heterogeneous variables (to test
treatment effect heterogeneity) summary_statistics: Function that creates a
summary statistics table with statistics rank observations in n groups: Creates
a factor variable with n groups.  Each group has a min and max label attach to
each category.  Athey, Susan, and Guido W. Imbens (2017)
<@code{arXiv:1607.00698>}.")
    (license license:gpl2)))

(define-public r-rcssplot
  (package
    (name "r-rcssplot")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcssplot" version))
       (sha256
        (base32 "0hnzwjwk9zh4zbzy8sa0z6amikvpd9k1p1abd38khr8q8k1k8jiv"))))
    (properties `((upstream-name . "Rcssplot")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/tkonopka/Rcssplot")
    (synopsis "Styling of Graphics using Cascading Style Sheets")
    (description
     "This package provides a means to style plots through cascading style sheets.
This separates the aesthetics from the data crunching in plots and charts.")
    (license license:gpl2)))

(define-public r-rcssci
  (package
    (name "r-rcssci")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcssci" version))
       (sha256
        (base32 "0q6mvss8hz3ga587vbbrg5an5519s0s4cppadixir26b988fwr2n"))))
    (properties `((upstream-name . "rcssci")))
    (build-system r-build-system)
    (propagated-inputs (list r-survminer
                             r-survival
                             r-segmented
                             r-rms
                             r-patchwork
                             r-pacman
                             r-ggplot2
                             r-dplyr
                             r-cairo))
    (home-page "https://cran.r-project.org/package=rcssci")
    (synopsis "Visualization of Restricted Cubic Splines")
    (description
     "Restricted Cubic Splines were performed to explore the shape of association form
of \"U, inverted U, L\" shape and test linearity or non-linearity base on
\"Cox,Logistic,linear,quasipoisson\" regression, and auto output Restricted Cubic
Splines figures.  rcssci package could automatically draw RCS graphics with
Y-axis \"OR,HR,RR,beta\".  The Restricted Cubic Splines method were based on Suli
Huang (2022) <doi:10.1016/j.ecoenv.2022.113183>,Amit Kaura (2019)
<doi:10.1136/bmj.l6055>, and Harrell Jr (2015, ISBN:978-3-319-19424-0 (Print)
978-3-319-19425-7 (Online)).")
    (license license:artistic2.0)))

(define-public r-rcsf
  (package
    (name "r-rcsf")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCSF" version))
       (sha256
        (base32 "1hjl7qsdgcddn3nh2likndhfhnw9gj3453xqq96gddgb1y0m3bh1"))))
    (properties `((upstream-name . "RCSF")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=RCSF")
    (synopsis "Airborne LiDAR Filtering Method Based on Cloth Simulation")
    (description
     "Cloth Simulation Filter (CSF) is an airborne @code{LiDAR} (Light Detection and
Ranging) ground points filtering algorithm which is based on cloth simulation.
It tries to simulate the interactions between the cloth nodes and the
corresponding @code{LiDAR} points, the locations of the cloth nodes can be
determined to generate an approximation of the ground surface
<https://www.mdpi.com/2072-4292/8/6/501/htm>.")
    (license license:asl2.0)))

(define-public r-rcsdp
  (package
    (name "r-rcsdp")
    (version "0.1.57.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcsdp" version))
       (sha256
        (base32 "1lhw7czra10bw8r7cv472wyx58gd4qhs6hsyijsgkfcb9b5qn12h"))))
    (properties `((upstream-name . "Rcsdp")))
    (build-system r-build-system)
    (home-page "https://github.com/coin-or/Csdp/")
    (synopsis "R Interface to the CSDP Semidefinite Programming Library")
    (description
     "R interface to the CSDP semidefinite programming library.  Installs version
6.1.1 of CSDP from the COIN-OR website if required.  An existing installation of
CSDP may be used by passing the proper configure arguments to the installation
command.  See the INSTALL file for further details.")
    (license (license:fsdg-compatible "CPL-1.0"))))

(define-public r-rcrossref
  (package
    (name "r-rcrossref")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcrossref" version))
       (sha256
        (base32 "0hqvhqmfmbhvxv555x3vjwz7rh4r2cw6wj8p3wq4hcf107r555c0"))))
    (properties `((upstream-name . "rcrossref")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-tibble
                             r-stringr
                             r-shiny
                             r-r6
                             r-plyr
                             r-miniui
                             r-jsonlite
                             r-dt
                             r-dplyr
                             r-crul))
    (home-page "https://docs.ropensci.org/rcrossref/")
    (synopsis "Client for Various 'CrossRef' 'APIs'")
    (description
     "Client for various @code{CrossRef} APIs', including metadata search with their
old and newer search APIs', get citations in various formats (including bibtex',
citeproc-json', rdf-xml', etc.), convert DOIs to PMIDs', and vice versa', get
citations for DOIs', and get links to full text of articles when available.")
    (license license:expat)))

(define-public r-rcrnorm
  (package
    (name "r-rcrnorm")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCRnorm" version))
       (sha256
        (base32 "1mz1jb7mc9c47hbk9flnddny4zir6r2k5qis30iynwqny521l6ln"))))
    (properties `((upstream-name . "RCRnorm")))
    (build-system r-build-system)
    (propagated-inputs (list r-truncnorm))
    (home-page "https://cran.r-project.org/package=RCRnorm")
    (synopsis
     "An Integrated Regression Model for Normalizing 'NanoString nCounter' Data")
    (description
     "@code{NanoString} @code{nCounter} is a medium-throughput platform that measures
gene or @code{microRNA} expression levels.  Here is a publication that
introduces this platform: Malkov (2009) <doi:10.1186/1756-0500-2-80>.  Here is
the webpage of @code{NanoString} @code{nCounter} where you can find detailed
information about this platform
<https://www.nanostring.com/scientific-content/technology-overview/ncounter-technology>.
 It has great clinical application, such as diagnosis and prognosis of cancer.
Implements integrated system of random-coefficient hierarchical regression model
to normalize data from @code{NanoString} @code{nCounter} platform so that noise
from various sources can be removed.")
    (license license:gpl2+)))

(define-public r-rcriticor
  (package
    (name "r-rcriticor")
    (version "2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcriticor" version))
       (sha256
        (base32 "1cnmmcdp2g3syrlld1pm7101cbzxh02cpvqvgsj7mp6zxm2k5plv"))))
    (properties `((upstream-name . "Rcriticor")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=Rcriticor")
    (synopsis "Pierre-Goldwin Correlogram")
    (description
     "Goldwin-Pierre correlogram.  Research of critical periods in the past.
Integrates a time series in a given window.")
    (license license:gpl2+)))

(define-public r-rcriteo
  (package
    (name "r-rcriteo")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCriteo" version))
       (sha256
        (base32 "1vyhnblw9zr5h6c25lf76p9vn95k8vr0hpq1sjkccdwl9yvsyhfy"))))
    (properties `((upstream-name . "RCriteo")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml r-rcurl r-plyr r-httr))
    (home-page "http://jburkhardt.github.io/RCriteo/")
    (synopsis "Loading Criteo Data into R")
    (description
     "Aims at loading Criteo online advertising campaign data into R. Criteo
<http://www.criteo.com/> is an online advertising service that enables
advertisers to display commercial ads to web users.  The package provides an
authentication process for R with the Criteo API <http://kb.criteo.com/
advertising/content/5/27/en/api.html>.  Moreover, the package features an
interface to query campaign data from the Criteo API. The data can be downloaded
and will be transformed into a R data frame.")
    (license (list license:gpl2+ license:expat))))

(define-public r-rcrimeanalysis
  (package
    (name "r-rcrimeanalysis")
    (version "0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcrimeanalysis" version))
       (sha256
        (base32 "0a7h3gblc69g1mkalb3yss9x609701zwd3hh4pr2v96fdmsxdpkc"))))
    (properties `((upstream-name . "rcrimeanalysis")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra
                             r-sp
                             r-raster
                             r-pals
                             r-lubridate
                             r-leafsync
                             r-leaflet
                             r-kernsmooth
                             r-igraph
                             r-htmltools
                             r-ggmap
                             r-forecast))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rcrimeanalysis")
    (synopsis "An Implementation of Crime Analysis Methods")
    (description
     "An implementation of functions for the analysis of crime incident or records
management system data.  The package implements analysis algorithms scaled for
city or regional crime analysis units.  The package provides functions for
kernel density estimation for crime heat maps, geocoding using the Google Maps
API, identification of repeat crime incidents, spatio-temporal map comparison
across time intervals, time series analysis (forecasting and decomposition),
detection of optimal parameters for the identification of near repeat incidents,
and near repeat analysis with crime network linkage.")
    (license license:gpl3)))

(define-public r-rcreliability
  (package
    (name "r-rcreliability")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCreliability" version))
       (sha256
        (base32 "083n6ix9yjnv4aafp11qac891gdhk62mhxmwkx9z3i0sxddwdb6r"))))
    (properties `((upstream-name . "RCreliability")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich r-mgcv))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RCreliability")
    (synopsis "Correct Bias in Estimated Regression Coefficients")
    (description
     "This function corrects the bias in estimated regression coefficients due to
classical additive measurement error (i.e., within-person variation) in logistic
regressions under the main study/external reliability study design and the main
study/internal reliability study design.  The output includes the naive and
corrected estimators for the regression coefficients; for the variance estimates
of the corrected estimators, the extra variation due to estimating the
parameters in the measurement error model is ignored or taken into account.
Reference: Carroll RJ, Ruppert D, Stefanski L, Crainiceanu CM (2006)
<doi:10.1201/9781420010138>.")
    (license license:gpl3)))

(define-public r-rcrawler
  (package
    (name "r-rcrawler")
    (version "0.1.9-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcrawler" version))
       (sha256
        (base32 "1m6b1h72h8qjqcg3lzw6im6lpnkxhjg65g9fdjjqay6vy52ynznj"))))
    (properties `((upstream-name . "Rcrawler")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-webdriver
                             r-selectr
                             r-jsonlite
                             r-httr
                             r-foreach
                             r-doparallel
                             r-data-table
                             r-callr))
    (home-page "https://github.com/salimk/Rcrawler/")
    (synopsis "Web Crawler and Scraper")
    (description
     "This package performs parallel web crawling and web scraping.  It is designed to
crawl, parse and store web pages to produce data that can be directly used for
analysis application.  For details see Khalil and Fakir (2017)
<DOI:10.1016/j.softx.2017.04.004>.")
    (license license:gpl2+)))

(define-public r-rcppxts
  (package
    (name "r-rcppxts")
    (version "0.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppXts" version))
       (sha256
        (base32 "1ljwscw8ykyqadjc98r9p6z4qjjfm79n9l618pmhh842l68kag28"))))
    (properties `((upstream-name . "RcppXts")))
    (build-system r-build-system)
    (propagated-inputs (list r-xts r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppxts")
    (synopsis "Interface the 'xts' API via 'Rcpp'")
    (description
     "Access to some of the C level functions of the xts package.  In its current
state, the package is mostly a proof-of-concept to support adding useful
functions, and does not yet add any of its own.")
    (license license:gpl2+)))

(define-public r-rcppxsimd
  (package
    (name "r-rcppxsimd")
    (version "7.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppXsimd" version))
       (sha256
        (base32 "1iwiz4964dw015cbxcanks8xkjan39hfzf8x6bhvf6dqqwkc4bh7"))))
    (properties `((upstream-name . "RcppXsimd")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://cran.r-project.org/package=RcppXsimd")
    (synopsis "Xsimd C++ Header-Only Library Files")
    (description
     "This header-only library provides modern, portable C++ wrappers for SIMD
intrinsics and parallelized, optimized math implementations (SSE, AVX, NEON,
AVX512).  By placing this library in this package, we offer an efficient
distribution system for Xsimd <https://github.com/xtensor-stack/xsimd> for R
packages using CRAN.")
    (license license:bsd-3)))

(define-public r-rcppuuid
  (package
    (name "r-rcppuuid")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppUUID" version))
       (sha256
        (base32 "0sxdj5ay90i1bs3wizij31n21ym8l0q0c79959arp1gd303sd8b8"))))
    (properties `((upstream-name . "RcppUUID")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (home-page "https://artemklevtsov.gitlab.io/rcppuuid")
    (synopsis "Generating Universally Unique Identificators")
    (description
     "This package provides functions to generating a vector of Universally Unique
Identifiers (UUID).  Used implementation from the Boost C++ library.  Supported
random (version 4) and name (version 5) UUIDs.")
    (license license:gpl2+)))

(define-public r-rcpptn
  (package
    (name "r-rcpptn")
    (version "0.2-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppTN" version))
       (sha256
        (base32 "0m2wc5n1fzxv56s4gqqnygb24dbadgrpgjm4bs4hr6qazgjapymf"))))
    (properties `((upstream-name . "RcppTN")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "http://github.com/olmjo/RcppTN")
    (synopsis "Rcpp-Based Truncated Normal Distribution RNG and Family")
    (description
     "R-level and C++-level functionality to generate random deviates from and
calculate moments of a Truncated Normal distribution using the algorithm of
Robert (1995) <DOI:10.1007/BF00143942>.  In addition to RNG, functions for
calculating moments, densities, and entropies are provided at both levels.")
    (license license:gpl2+)))

(define-public r-rcpptimer
  (package
    (name "r-rcpptimer")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcpptimer" version))
       (sha256
        (base32 "120ml0s0lrz920ixwrgfw8blggb829zaikwbw5csb2wkg0alz0kj"))))
    (properties `((upstream-name . "rcpptimer")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://rcpptimer.berrisch.biz")
    (synopsis "'Rcpp' Tic-Toc Timer with 'OpenMP' Support")
    (description
     "This package provides Rcpp bindings for cpptimer', a simple tic-toc timer class
for benchmarking C++ code <https://github.com/@code{BerriJ/cpptimer>}.  It's not
just simple, it's blazing fast! This sleek tic-toc timer class supports
overlapping timers as well as @code{OpenMP} parallelism
<https://www.openmp.org/>.  It boasts a nanosecond-level time resolution.  We
did not find any overhead of the timer itself at this resolution.  Results (with
summary statistics) are automatically passed back to R as a data frame.")
    (license license:gpl3+)))

(define-public r-rcppstreams
  (package
    (name "r-rcppstreams")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppStreams" version))
       (sha256
        (base32 "06il7q3afaws57m0fxf04f2p5dvs23l1f7gl78pxwzclacdy3839"))))
    (properties `((upstream-name . "RcppStreams")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (home-page "http://dirk.eddelbuettel.com/code/rcpp.streams.html")
    (synopsis
     "'Rcpp' Integration of the 'Streamulus' 'DSEL' for Stream Processing")
    (description
     "The Streamulus (template, header-only) library by Irit Katriel (at
<https://github.com/iritkatriel/streamulus>) provides a very powerful yet
convenient framework for stream processing.  This package connects Streamulus to
R by providing both the header files and all examples.")
    (license license:gpl3+)))

(define-public r-rcppsmc
  (package
    (name "r-rcppsmc")
    (version "0.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppSMC" version))
       (sha256
        (base32 "0rp5s8j72al39rihn0q0j0ws6l1bxl1hlbx31mjllzhiq03pn2mq"))))
    (properties `((upstream-name . "RcppSMC")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-fkf))
    (home-page "https://github.com/rcppsmc/rcppsmc")
    (synopsis "Rcpp Bindings for Sequential Monte Carlo")
    (description
     "R access to the Sequential Monte Carlo Template Classes by Johansen
<doi:10.18637/jss.v030.i06> is provided.  At present, four additional examples
have been added, and the first example from the JSS paper has been extended.
Further integration and extensions are planned.")
    (license license:gpl2+)))

(define-public r-rcppsimdjson
  (package
    (name "r-rcppsimdjson")
    (version "0.1.12")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppSimdJson" version))
       (sha256
        (base32 "0fvmcn56d8p0wf3ax9w7l8s72zfmxkq0pf8z5lm4v6l6vj7wrfgz"))))
    (properties `((upstream-name . "RcppSimdJson")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppsimdjson/")
    (synopsis
     "'Rcpp' Bindings for the 'simdjson' Header-Only Library for 'JSON' Parsing")
    (description
     "The JSON format is ubiquitous for data interchange, and the simdjson library
written by Daniel Lemire (and many contributors) provides a high-performance
parser for these files which by relying on parallel SIMD instruction manages to
parse these files as faster than disk speed.  See the
<doi:10.48550/@code{arXiv.1902.08318>} paper for more details about simdjson'.
This package parses JSON from string, file, or remote URLs under a variety of
settings.")
    (license license:gpl2+)))

(define-public r-rcppredis
  (package
    (name "r-rcppredis")
    (version "0.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppRedis" version))
       (sha256
        (base32 "1n705sqxxzd4p3zi1xplc6y15pnvqh998y4k9hr032g44lk9q7y9"))))
    (properties `((upstream-name . "RcppRedis")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-rapiserialize))
    (native-inputs (list pkg-config))
    (home-page "https://github.com/eddelbuettel/rcppredis")
    (synopsis "'Rcpp' Bindings for 'Redis' using the 'hiredis' Library")
    (description
     "Connection to the Redis key/value store using the C-language client library
hiredis (included as a fallback) with @code{MsgPack} encoding provided via
@code{RcppMsgPack} headers.  It now also includes the pub/sub functions from the
rredis package.")
    (license license:gpl2+)))

(define-public r-rcppquantuccia
  (package
    (name "r-rcppquantuccia")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppQuantuccia" version))
       (sha256
        (base32 "1nih426bcd872vyx6dyinr8nr8hqgbqfzih4v82qqi9b9xlk2mv2"))))
    (properties `((upstream-name . "RcppQuantuccia")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (home-page "https://github.com/eddelbuettel/rcppquantuccia")
    (synopsis "R Bindings to the Calendaring Functionality of 'QuantLib'")
    (description
     "@code{QuantLib} bindings are provided for R using Rcpp via an updated variant of
the header-only Quantuccia project (put together initially by Peter Caspers)
offering an essential subset of @code{QuantLib} (and now maintained separately
for the calendaring subset).  See the included file AUTHORS for a full list of
contributors to both @code{QuantLib} and Quantuccia'.")
    (license license:gpl2+)))

(define-public r-rcppnloptexample
  (package
    (name "r-rcppnloptexample")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppNLoptExample" version))
       (sha256
        (base32 "1fml6hpa12q0lgg5fg6fi9lz6mckwh345pbh95mld2qagzvmg01n"))))
    (properties `((upstream-name . "RcppNLoptExample")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-nloptr))
    (home-page "https://cran.r-project.org/package=RcppNLoptExample")
    (synopsis "'Rcpp' Package Illustrating Header-Only Access to 'NLopt'")
    (description
     "An example package which shows use of NLopt functionality from C++ via Rcpp
without requiring linking, and relying just on nloptr thanks to the exporting
API added there by Jelmer Ypma.  This package is a fully functioning, updated,
and expanded version of the initial example by Julien Chiquet at
<https://github.com/jchiquet/@code{RcppArmadilloNLoptExample>} also containing a
large earlier pull request of mine.")
    (license license:gpl2+)))

(define-public r-rcppmsgpack
  (package
    (name "r-rcppmsgpack")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppMsgPack" version))
       (sha256
        (base32 "0ffdw5ckkax8j87q0ykjhyp45l7gvxjppdi73kc4r5qxvijll2g3"))))
    (properties `((upstream-name . "RcppMsgPack")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RcppMsgPack")
    (synopsis "'MsgPack' C++ Header Files and Interface Functions for R")
    (description
     "@code{MsgPack} header files are provided for use by R packages, along with the
ability to access, create and alter @code{MsgPack} objects directly from R.
@code{MsgPack} is an efficient binary serialization format.  It lets you
exchange data among multiple languages like JSON but it is faster and smaller.
Small integers are encoded into a single byte, and typical short strings require
only one extra byte in addition to the strings themselves.  This package
provides headers from the msgpack-c implementation for C and C++(11) for use by
R, particularly Rcpp'.  The included msgpack-c headers are licensed under the
Boost Software License (Version 1.0); the code added by this package as well the
R integration are licensed under the GPL (>= 2).  See the files COPYRIGHTS and
AUTHORS for a full list of copyright holders and contributors to msgpack-c'.")
    (license license:gpl2+)))

(define-public r-rcppmecab
  (package
    (name "r-rcppmecab")
    (version "0.0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppMeCab" version))
       (sha256
        (base32 "0varavfbrqzma176rw0dr9v5chh7pxh5y9g0rs3v7hqnlghp22y2"))))
    (properties `((upstream-name . "RcppMeCab")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppparallel r-rcpp r-bh))
    (home-page "https://cran.r-project.org/package=RcppMeCab")
    (synopsis "'rcpp' Wrapper for 'mecab' Library")
    (description
     "R package based on Rcpp for @code{MeCab}': Yet Another Part-of-Speech and
Morphological Analyzer.  The purpose of this package is providing a seamless
developing and analyzing environment for CJK texts.  This package utilizes
parallel programming for providing highly efficient text preprocessing
@code{posParallel}() function.  For installation, please refer to README.md
file.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rcppmagicenum
  (package
    (name "r-rcppmagicenum")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppMagicEnum" version))
       (sha256
        (base32 "0lz13kr3l753qdkw9bvcgb998ylr2160c9688nv5bzsy5937y1pa"))))
    (properties `((upstream-name . "RcppMagicEnum")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppmagicenum")
    (synopsis "'Rcpp' Bindings to 'Magic Enum' 'C++' 'Enum' Support")
    (description
     "The header-only modern C++ template library Magic Enum for static reflection of
enums (to string, from string, iteration) is provided by this package.  More
information about the underlying library can be found at its repository at
<https://github.com/Neargye/magic_enum>.")
    (license license:expat)))

(define-public r-rcpplbfgsblaze
  (package
    (name "r-rcpplbfgsblaze")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppLbfgsBlaze" version))
       (sha256
        (base32 "1c3cdnhabxns804baa416fjd62ayy4mn5wcyfay1q2w3cijryjq1"))))
    (properties `((upstream-name . "RcppLbfgsBlaze")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppblaze r-rcpp))
    (home-page "https://github.com/ChingChuan-Chen/RcppLbfgsBlaze")
    (synopsis "'L-BFGS' Algorithm Based on 'Blaze' for 'R' and 'Rcpp'")
    (description
     "The L-BFGS algorithm is a popular optimization algorithm for unconstrained
optimization problems.  Blaze is a high-performance C++ math library for dense
and sparse arithmetic.  This package provides a simple interface to the L-BFGS
algorithm and allows users to optimize their objective functions with Blaze
vectors and matrices in R and Rcpp'.")
    (license license:expat)))

(define-public r-rcppjagger
  (package
    (name "r-rcppjagger")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppJagger" version))
       (sha256
        (base32 "1zzc7vkwylwwgrbak2z32629gbl5jq2gdfc9qq0a8fk7c7rvk988"))))
    (properties `((upstream-name . "RcppJagger")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-rcpp r-purrr r-cli))
    (home-page "https://shusei-e.github.io/RcppJagger/")
    (synopsis "An R Wrapper for Jagger")
    (description
     "This package provides a wrapper for Jagger, a morphological analyzer proposed in
Yoshinaga (2023) <@code{arXiv:2305.19045>}.  Jagger uses patterns derived from
morphological dictionaries and training data sets and applies them from the
beginning of the input.  This simultaneous and deterministic process enables it
to effectively perform tokenization, POS tagging, and lemmatization.")
    (license license:gpl2)))

(define-public r-rcppint64
  (package
    (name "r-rcppint64")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppInt64" version))
       (sha256
        (base32 "1h4lshkn3p3c7swygbpmkg0pa80xcp3f9alck5q4bmml61hicwjk"))))
    (properties `((upstream-name . "RcppInt64")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppint64")
    (synopsis
     "'Rcpp'-Based Helper Functions to Pass 'Int64' and 'nanotime' Values Between 'R' and 'C++'")
    (description
     "Int64 values can be created and accessed via the bit64 package and its integer64
class which package the int64 representation cleverly into a double'.  The
nanotime packages builds on this to support nanosecond-resolution timestamps.
This packages helps conversions between R and C++ via several helper functions
provided via a single header file.  A complete example client package is
included as an illustration.")
    (license license:gpl2+)))

(define-public r-rcpphungarian
  (package
    (name "r-rcpphungarian")
    (version "0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppHungarian" version))
       (sha256
        (base32 "00wxi77ajnhwds1pnmhbxaykdaiyh6ayblif58sx9r5rvv055c1a"))))
    (properties `((upstream-name . "RcppHungarian")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jsilve24/RcppHungarian")
    (synopsis "Solves Minimum Cost Bipartite Matching Problems")
    (description
     "Header library and R functions to solve minimum cost bipartite matching problem
using Huhn-Munkres algorithm (Hungarian algorithm;
<https://en.wikipedia.org/wiki/Hungarian_algorithm>; Kuhn (1955)
<doi:10.1002/nav.3800020109>).  This is a repackaging of code written by Cong Ma
in the @code{GitHub} repo <https://github.com/mcximing/hungarian-algorithm-cpp>.")
    (license license:gpl2+)))

(define-public r-rcpphmm
  (package
    (name "r-rcpphmm")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppHMM" version))
       (sha256
        (base32 "0scdzmns1yw2gbarblzd6cbvndlysz54ff17qijiz17ql5cyzly6"))))
    (properties `((upstream-name . "RcppHMM")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (home-page "https://cran.r-project.org/package=RcppHMM")
    (synopsis "Rcpp Hidden Markov Model")
    (description
     "Collection of functions to evaluate sequences, decode hidden states and estimate
parameters from a single or multiple sequences of a discrete time Hidden Markov
Model.  The observed values can be modeled by a multinomial distribution for
categorical/labeled emissions, a mixture of Gaussians for continuous data and
also a mixture of Poissons for discrete values.  It includes functions for
random initialization, simulation, backward or forward sequence evaluation,
Viterbi or forward-backward decoding and parameter estimation using an
Expectation-Maximization approach.")
    (license license:gpl2+)))

(define-public r-rcppgreedysetcover
  (package
    (name "r-rcppgreedysetcover")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppGreedySetCover" version))
       (sha256
        (base32 "1v84i9gsmvpkmgd4niqnzp58nhrgn2j4rggsrnlh391ikdfrl51x"))))
    (properties `((upstream-name . "RcppGreedySetCover")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-data-table r-bh))
    (home-page "http://github.com/matthiaskaeding/RcppGreedySetCover")
    (synopsis "Greedy Set Cover")
    (description
     "This package provides a fast implementation of the greedy algorithm for the set
cover problem using Rcpp'.")
    (license license:expat)))

(define-public r-rcppgetconf
  (package
    (name "r-rcppgetconf")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppGetconf" version))
       (sha256
        (base32 "1qcnn482h9b8aw798frnkza4bzzpihp0pf4s1mj6zmn2ar01hsl0"))))
    (properties `((upstream-name . "RcppGetconf")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "http://dirk.eddelbuettel.com/code/rcpp.getconf.html")
    (synopsis "'Rcpp' Interface for Querying System Configuration Variables")
    (description
     "The getconf command-line tool provided by libc allows querying of a large number
of system variables.  This package provides similar functionality.")
    (license license:gpl2+)))

(define-public r-rcppfastfloat
  (package
    (name "r-rcppfastfloat")
    (version "0.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppFastFloat" version))
       (sha256
        (base32 "09g4nk9nyg7fqrsgfmh10dmxbrb9fpcl3jayrjhv38h58hbvvxfm"))))
    (properties `((upstream-name . "RcppFastFloat")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppfastfloat/")
    (synopsis
     "'Rcpp' Bindings for the 'fast_float' Header-Only Library for Number Parsing")
    (description
     "Converting ascii text into (floating-point) numeric values is a very common
problem.  The fast_float header-only C++ library by Daniel Lemire does it very
well and very fast at up to or over to 1 gigabyte per second as described in
more detail in <@code{arXiv:2101.11408>}.  fast_float is licensed under the
Apache 2.0 license and provided here for use by other R packages via a simple
@code{LinkingTo}: statement.")
    (license license:gpl2+)))

(define-public r-rcppfastad
  (package
    (name "r-rcppfastad")
    (version "0.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppFastAD" version))
       (sha256
        (base32 "1vzdwixcqgb510lbyz62vmpy5ghr87i8qbgn696dmx7fvsgf4dkw"))))
    (properties `((upstream-name . "RcppFastAD")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppfastad")
    (synopsis "'Rcpp' Bindings to 'FastAD' Auto-Differentiation")
    (description
     "The header-only C++ template library @code{FastAD} for automatic differentiation
<https://github.com/@code{JamesYang007/FastAD>} is provided by this package,
along with a few illustrative examples that can all be called from R.")
    (license license:gpl2+)))

(define-public r-rcppfarmhash
  (package
    (name "r-rcppfarmhash")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppFarmHash" version))
       (sha256
        (base32 "1gl9mnmcai8d0qclk1660z1mnzqcydxv88836vnpz9q008a1y8fk"))))
    (properties `((upstream-name . "RcppFarmHash")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppint64 r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppfarmhash/")
    (synopsis "Interface to the Google 'FarmHash' Family of Hash Functions")
    (description
     "The Google @code{FarmHash} family of hash functions is used by the Google
@code{BigQuery} data warehouse via the FARM_FINGERPRINT function.  This package
permits to calculate these hash digest fingerprints directly from R, and uses
the included @code{FarmHash} files written by G. Pike and copyrighted by Google,
Inc.")
    (license license:gpl2+)))

(define-public r-rcppexamples
  (package
    (name "r-rcppexamples")
    (version "0.1.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppExamples" version))
       (sha256
        (base32 "0568zipgjxgmx086mlfpp5n7v8kf50gwrylvhl1bgvzb2vvr9dhj"))))
    (properties `((upstream-name . "RcppExamples")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "http://dirk.eddelbuettel.com/code/rcpp.examples.html")
    (synopsis "Examples using 'Rcpp' to Interface R and C++")
    (description
     "Examples for Seamless R and C++ integration The Rcpp package contains a C++
library that facilitates the integration of R and C++ in various ways.  This
package provides some usage examples.  Note that the documentation in this
package currently does not cover all the features in the package.  The site
<http://gallery.rcpp.org> regroups a large number of examples for Rcpp'.")
    (license license:gpl2+)))

(define-public r-rcppensmallen
  (package
    (name "r-rcppensmallen")
    (version "0.2.21.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppEnsmallen" version))
       (sha256
        (base32 "0mhr2sv4wf6691ylx31s6607i3555n8ms9f401x7kj36jqjnwfc7"))))
    (properties `((upstream-name . "RcppEnsmallen")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/coatless-rpkg/rcppensmallen")
    (synopsis
     "Header-Only C++ Mathematical Optimization Library for 'Armadillo'")
    (description
     "Ensmallen is a templated C++ mathematical optimization library (by the MLPACK
team) that provides a simple set of abstractions for writing an objective
function to optimize.  Provided within are various standard and cutting-edge
optimizers that include full-batch gradient descent techniques, small-batch
techniques, gradient-free optimizers, and constrained optimization.  The
@code{RcppEnsmallen} package includes the header files from the Ensmallen
library and pairs the appropriate header files from armadillo through the
@code{RcppArmadillo} package.  Therefore, users do not need to install Ensmallen
nor Armadillo to use @code{RcppEnsmallen}'.  Note that Ensmallen is licensed
under 3-Clause BSD, Armadillo starting from 7.800.0 is licensed under Apache
License 2, @code{RcppArmadillo} (the Rcpp bindings/bridge to Armadillo') is
licensed under the GNU GPL version 2 or later.  Thus, @code{RcppEnsmallen} is
also licensed under similar terms.  Note that Ensmallen requires a compiler that
supports C++11 and Armadillo 9.800 or later.")
    (license license:gpl2+)))

(define-public r-rcppdynprog
  (package
    (name "r-rcppdynprog")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppDynProg" version))
       (sha256
        (base32 "0zwm06riw0sc1qywmk8mfgay7lvzx8cmb7cijrr821j2sd0y2pyh"))))
    (properties `((upstream-name . "RcppDynProg")))
    (build-system r-build-system)
    (propagated-inputs (list r-wrapr r-rcpparmadillo r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/WinVector/RcppDynProg/")
    (synopsis "'Rcpp' Dynamic Programming")
    (description
     "Dynamic Programming implemented in Rcpp'.  Includes example partition and out of
sample fitting applications.  Also supplies additional custom coders for the
vtreat package.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rcppdate
  (package
    (name "r-rcppdate")
    (version "0.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppDate" version))
       (sha256
        (base32 "1cnhvbgqfcjrwm1rx6bhhj4yf4dipcp6g1hjv1qa86pmxzyjp3dn"))))
    (properties `((upstream-name . "RcppDate")))
    (build-system r-build-system)
    (home-page "https://github.com/eddelbuettel/rcppdate")
    (synopsis "'date' C++ Header Library for Date and Time Functionality")
    (description
     "This package provides a header-only C++ library is provided with support for
dates, time zones, ISO weeks, Julian dates, and Islamic dates.  date offers
extensive date and time functionality for the C++11, C++14 and C++17 standards
and was written by Howard Hinnant and released under the MIT license.  A
slightly modified version has been accepted (along with tz.h') as part of C++20.
 This package regroups all header files from the upstream repository by Howard
Hinnant so that other R packages can use them in their C++ code.  At present,
few of the types have explicit Rcpp wrappers though these may be added as
needed.")
    (license license:gpl2+)))

(define-public r-rcppcwb
  (package
    (name "r-rcppcwb")
    (version "0.6.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppCWB" version))
       (sha256
        (base32 "0igkmm0qbj2gb0m18f6pjnvxdqraiypvlpz8qyc4hng2l6im5wih"))))
    (properties `((upstream-name . "RcppCWB")))
    (build-system r-build-system)
    (inputs (list pcre2 pcre2))
    (propagated-inputs (list r-rcpp r-fs))
    (native-inputs (list pkg-config r-knitr))
    (home-page "https://github.com/PolMine/RcppCWB")
    (synopsis "'Rcpp' Bindings for the 'Corpus Workbench' ('CWB')")
    (description
     "Rcpp Bindings for the C code of the Corpus Workbench ('CWB'), an indexing and
query engine to efficiently analyze large corpora
(<https://cwb.sourceforge.io>). @code{RcppCWB} is licensed under the GNU GPL-3,
in line with the GPL-3 license of the CWB
(<https://www.r-project.org/Licenses/GPL-3>).  The CWB relies on pcre2 (BSD
license, see <http://www.pcre.org/licence.txt>) and GLib (LGPL license, see
<https://www.gnu.org/licenses/lgpl-3.0.en.html>).  See the file LICENSE.note for
further information.  The package includes modified code of the rcqp package
(GPL-2, see <https://cran.r-project.org/package=rcqp>).  The original work of
the authors of the rcqp package is acknowledged with great respect, and they are
listed as authors of this package.  To achieve cross-platform portability
(including Windows), using Rcpp for wrapper code is the approach used by
@code{RcppCWB}'.")
    (license license:gpl3)))

(define-public r-rcppcolors
  (package
    (name "r-rcppcolors")
    (version "0.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppColors" version))
       (sha256
        (base32 "0aacr00sjilh5smh3hxlmgjdf1w6vjm788kr6r1gigm7nj3w2sjy"))))
    (properties `((upstream-name . "RcppColors")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/stla/RcppColors")
    (synopsis "Color Mappings and 'C++' Header Files for Color Conversion")
    (description
     "This package provides C++ header files to deal with color conversion from some
color spaces to hexadecimal with Rcpp', and exports some color mapping functions
for usage in R. Also exports functions to convert colors from the HSLuv color
space for usage in R. HSLuv is a human-friendly alternative to HSL.")
    (license license:gpl3)))

(define-public r-rcppcnpy
  (package
    (name "r-rcppcnpy")
    (version "0.2.13")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppCNPy" version))
       (sha256
        (base32 "0v2y1y1j2gfqyj9as556vy6pfc4fj16sk3dyzikwagpav4a83p01"))))
    (properties `((upstream-name . "RcppCNPy")))
    (build-system r-build-system)
    (inputs (list zlib))
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppcnpy")
    (synopsis "Read-Write Support for 'NumPy' Files via 'Rcpp'")
    (description
     "The cnpy library written by Carl Rogers provides read and write facilities for
files created with (or for) the @code{NumPy} extension for Python'.  Vectors and
matrices of numeric types can be read or written to and from files as well as
compressed files.  Support for integer files is available if the package has
been built with as C++11 which should be the default on all platforms since the
release of R 3.3.0.")
    (license license:gpl2+)))

(define-public r-rcppclock
  (package
    (name "r-rcppclock")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppClock" version))
       (sha256
        (base32 "0h59s6f9ib6d2n1fi94bcbqw0gcpbd5zvnc3pk4kb9lm7ih4dw7b"))))
    (properties `((upstream-name . "RcppClock")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-ggplot2))
    (home-page "https://cran.r-project.org/package=RcppClock")
    (synopsis "Seamless 'Rcpp' Benchmarking")
    (description
     "Time the execution of overlapping or unique Rcpp code chunks using convenient
methods, seamlessly write timing results to an @code{RcppClock} object in the R
global environment, and summarize and/or plot the results in R.")
    (license license:gpl2+)))

(define-public r-rcppclassicexamples
  (package
    (name "r-rcppclassicexamples")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppClassicExamples" version))
       (sha256
        (base32 "1pri4m8vs8d0k4d2dr8jqg599b43m6hx58aip7kdmhbsvh0ak9ip"))))
    (properties `((upstream-name . "RcppClassicExamples")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppclassic r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppclassicexamples")
    (synopsis "Examples using 'RcppClassic' to Interface R and C++")
    (description
     "The Rcpp package contains a C++ library that facilitates the integration of R
and C++ in various ways via a rich API. This API was preceded by an earlier
version which has been deprecated since 2010 (but is still supported to provide
backwards compatibility in the package @code{RcppClassic}').  This package
@code{RcppClassicExamples} provides usage examples for the older, deprecated
API. There is also a corresponding package @code{RcppExamples} with examples for
the newer, current API which we strongly recommend as the basis for all new
development.")
    (license license:gpl2+)))

(define-public r-rcppclassic
  (package
    (name "r-rcppclassic")
    (version "0.9.13")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppClassic" version))
       (sha256
        (base32 "18kn9r7h5qqf6a6f28rjynrvp0yg0v82hxyv9z6cg254qnzd3bvj"))))
    (properties `((upstream-name . "RcppClassic")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppclassic")
    (synopsis "Deprecated 'classic' 'Rcpp' 'API'")
    (description
     "The @code{RcppClassic} package provides a deprecated C++ library which
facilitates the integration of R and C++.  New projects should use the new Rcpp
API in the Rcpp package.")
    (license license:gpl2+)))

(define-public r-rcppcgal
  (package
    (name "r-rcppcgal")
    (version "5.6.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppCGAL" version))
       (sha256
        (base32 "0dll6s8asylvghdzjjj1sxckyczkdjw111bfdiz0rb0ylc27yf7x"))))
    (properties `((upstream-name . "RcppCGAL")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ericdunipace/RcppCGAL")
    (synopsis "'Rcpp' Integration for 'CGAL'")
    (description
     "This package creates a header only package to link to the CGAL (Computational
Geometry Algorithms Library) header files in Rcpp'.  There are a variety of
potential uses for the software such as Hilbert sorting, K-D Tree nearest
neighbors, and convex hull algorithms.  For more information about how to use
the header files, see the CGAL documentation at <https://www.cgal.org>.
Currently downloads version 5.6.1 of the CGAL header files.")
    (license license:gpl3)))

(define-public r-rcppcensspatial
  (package
    (name "r-rcppcensspatial")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppCensSpatial" version))
       (sha256
        (base32 "0ghywbg2zrhd72y3hf99niqlw04gvfzfa02pa581lvvd67z19gjp"))))
    (properties `((upstream-name . "RcppCensSpatial")))
    (build-system r-build-system)
    (propagated-inputs (list r-stempcens
                             r-roptim
                             r-relliptical
                             r-rdpack
                             r-rcppprogress
                             r-rcpparmadillo
                             r-rcpp
                             r-mvtnorm
                             r-momtrunc
                             r-gridextra
                             r-ggplot2))
    (home-page "https://cran.r-project.org/package=RcppCensSpatial")
    (synopsis
     "Spatial Estimation and Prediction for Censored/Missing Responses")
    (description
     "It provides functions to estimate parameters in linear spatial models with
censored/missing responses via the Expectation-Maximization (EM), the Stochastic
Approximation EM (SAEM), or the Monte Carlo EM (MCEM) algorithm.  These
algorithms are widely used to compute the maximum likelihood (ML) estimates in
problems with incomplete data.  The EM algorithm computes the ML estimates when
a closed expression for the conditional expectation of the complete-data
log-likelihood function is available.  In the MCEM algorithm, the conditional
expectation is substituted by a Monte Carlo approximation based on many
independent simulations of the missing data.  In contrast, the SAEM algorithm
splits the E-step into simulation and integration steps.  This package also
approximates the standard error of the estimates using the Louis method.
Moreover, it has a function that performs spatial prediction in new locations.")
    (license license:gpl2+)))

(define-public r-rcppcctz
  (package
    (name "r-rcppcctz")
    (version "0.2.12")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppCCTZ" version))
       (sha256
        (base32 "1jr4hi3zbm935q6ykkvnywlma36d3jl7fxmqhxs62jxbnyyqf81a"))))
    (properties `((upstream-name . "RcppCCTZ")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/eddelbuettel/rcppcctz")
    (synopsis "'Rcpp' Bindings for the 'CCTZ' Library")
    (description
     "Rcpp Access to the CCTZ timezone library is provided.  CCTZ is a C++ library for
translating between absolute and civil times using the rules of a time zone.
The CCTZ source code, released under the Apache 2.0 License, is included in this
package.  See <https://github.com/google/cctz> for more details.")
    (license license:gpl2+)))

(define-public r-rcppblaze
  (package
    (name "r-rcppblaze")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppBlaze" version))
       (sha256
        (base32 "09v2j44dwxrwi4x5d0hcjw4bdfzjlvnxsxx3jyq4l7i3vja2459d"))))
    (properties `((upstream-name . "RcppBlaze")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-matrix))
    (home-page "https://github.com/Chingchuan-chen/RcppBlaze")
    (synopsis
     "'Rcpp' Integration for the 'Blaze' High-Performance 'C++' Math Library")
    (description
     "Blaze is an open-source, high-performance C++ math library for dense and sparse
arithmetic.  With its state-of-the-art Smart Expression Template implementation
Blaze combines the elegance and ease of use of a domain-specific language with
HPC-grade performance, making it one of the most intuitive and fastest C++ math
libraries available.  The @code{RcppBlaze} package includes the header files
from the Blaze library with disabling some functionalities related to link to
the thread and system libraries which make @code{RcppBlaze} be a header-only
library.  Therefore, users do not need to install Blaze'.")
    (license license:bsd-3)))

(define-public r-rcppbigintalgos
  (package
    (name "r-rcppbigintalgos")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppBigIntAlgos" version))
       (sha256
        (base32 "0b83c5s6zpvf545yvpa3fa0nhgvrryg7n11l9200azi897zmlwv3"))))
    (properties `((upstream-name . "RcppBigIntAlgos")))
    (build-system r-build-system)
    (inputs (list gmp))
    (propagated-inputs (list r-gmp r-cpp11))
    (home-page "https://github.com/jwood000/RcppBigIntAlgos")
    (synopsis "Factor Big Integers with the Parallel Quadratic Sieve")
    (description
     "Features the multiple polynomial quadratic sieve (MPQS) algorithm for factoring
large integers and a vectorized factoring function that returns the complete
factorization of an integer.  The MPQS is based off of the seminal work of Carl
Pomerance (1984) <doi:10.1007/3-540-39757-4_17> along with the modification of
multiple polynomials introduced by Peter Montgomery and J. Davis as outlined by
Robert D. Silverman (1987) <doi:10.1090/S0025-5718-1987-0866119-8>.  Utilizes
the C library GMP (GNU Multiple Precision Arithmetic).  For smaller integers, a
simple Elliptic Curve algorithm is attempted followed by a constrained version
of Pollard's rho algorithm.  The Pollard's rho algorithm is the same algorithm
used by the factorize function in the gmp package.")
    (license license:gpl2+)))

(define-public r-rcppbessel
  (package
    (name "r-rcppbessel")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppBessel" version))
       (sha256
        (base32 "19fls01nafnp8l0bdxwa188qa6r608xg7v6kgkrld3y1hqdm71x9"))))
    (properties `((upstream-name . "RcppBessel")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/alexiosg/RcppBessel")
    (synopsis "Bessel Functions Rcpp Interface")
    (description
     "Exports an Rcpp interface for the Bessel functions in the Bessel package, which
can then be called from the C++ code of other packages.  For the original
Fortran implementation of these functions see Amos (1995)
<doi:10.1145/212066.212078>.")
    (license license:gpl2+)))

(define-public r-rcppbdt
  (package
    (name "r-rcppbdt")
    (version "0.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppBDT" version))
       (sha256
        (base32 "11l70rlayg2xzmg34sg3896adzpfpvplciyicjpk963bddjb2ys8"))))
    (properties `((upstream-name . "RcppBDT")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (home-page "https://github.com/eddelbuettel/rcppbdt")
    (synopsis "'Rcpp' Bindings for the Boost Date_Time Library")
    (description
     "Access to Boost Date_Time functionality for dates, durations (both for days and
date time objects), time zones, and posix time ('ptime') is provided by using
Rcpp modules'.  The posix time implementation can support high-resolution of up
to nano-second precision by using 96 bits (instead of R's 64) to present a ptime
object (but this needs recompilation with a #define set).")
    (license license:gpl2+)))

(define-public r-rcpparray
  (package
    (name "r-rcpparray")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppArray" version))
       (sha256
        (base32 "0n32nqqa2cdx0lams95yhdij837asbs6kmaahnf2hm6q0pnwbj43"))))
    (properties `((upstream-name . "RcppArray")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (home-page "https://github.com/jonclayden/RcppArray")
    (synopsis "'Rcpp' Meets 'C++' Arrays")
    (description
     "Interoperability between Rcpp and the C++11 array and tuple types.  Linking to
this package allows fixed-length std::array objects to be converted to and from
equivalent R vectors, and std::tuple objects converted to lists, via the as()
and wrap() functions.  There is also experimental support for std::span from
C++20'.")
    (license license:gpl2)))

(define-public r-rcppapt
  (package
    (name "r-rcppapt")
    (version "0.0.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcppAPT" version))
       (sha256
        (base32 "03q2i1b9lrb0sn0vq4jyqjiy2zwi2ydhzlnw1b8nj9xdfxx804mx"))))
    (properties `((upstream-name . "RcppAPT")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp))
    (native-inputs (list r-simplermarkdown pkg-config))
    (home-page "https://github.com/eddelbuettel/rcppapt")
    (synopsis "'Rcpp' Interface to the APT Package Manager")
    (description
     "The APT Package Management System provides Debian and Debian-derived Linux
systems with a powerful system to resolve package dependencies.  This package
offers access directly from R. This can only work on a system with a suitable
libapt-pkg-dev installation so functionality is curtailed if such a library is
not found.")
    (license license:gpl2+)))

(define-public r-rcpp11
  (package
    (name "r-rcpp11")
    (version "3.1.2.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcpp11" version))
       (sha256
        (base32 "0vw41plcl7hbi0af3la0sb4x8zqnhxjpjslx8r8cllfamy9dixki"))))
    (properties `((upstream-name . "Rcpp11")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=Rcpp11")
    (synopsis "R and C++11")
    (description
     "Rcpp11 includes a header only C++11 library that facilitates integration between
R and modern C++.")
    (license license:expat)))

(define-public r-rcplex
  (package
    (name "r-rcplex")
    (version "0.3-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcplex" version))
       (sha256
        (base32 "01254ygn661zp0h6xf04vw77vppm54y3g8fcmcxfj4m36nk7jc01"))))
    (properties `((upstream-name . "Rcplex")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam))
    (home-page "https://R-Forge.R-project.org/projects/rcplex")
    (synopsis "R Interface to CPLEX")
    (description
     "R interface to CPLEX solvers for linear, quadratic, and (linear and quadratic)
mixed integer programs.  Support for quadratically constrained programming is
available.  See the file \"INSTALL\" for details on how to install the Rcplex
package in Linux/Unix-like and Windows systems.  Support for sparse matrices is
provided by an S3-style class \"simple_triplet_matrix\" from package slam and by
objects from the Matrix package class hierarchy.")
    (license license:lgpl2.0+)))

(define-public r-rcpa3
  (package
    (name "r-rcpa3")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCPA3" version))
       (sha256
        (base32 "1xcrlnd41r9f7p4ql258hjh81alzah1p19pk9kady0ardp0xq1zz"))))
    (properties `((upstream-name . "RCPA3")))
    (build-system r-build-system)
    (propagated-inputs (list r-weights
                             r-survey
                             r-lmtest
                             r-knitr
                             r-hmisc
                             r-haven
                             r-descr
                             r-car
                             r-beepr))
    (home-page "https://cran.r-project.org/package=RCPA3")
    (synopsis
     "Data and Functions for R Companion to Political Analysis 3rd Ed")
    (description
     "Bundles the datasets and functions featured in Philip H. Pollock and Barry C.
Edwards<https://edge.sagepub.com/pollock>, \"An R Companion to Political
Analysis, 3rd Edition,\" Thousand Oaks, CA: Sage Publications.")
    (license license:cc0)))

(define-public r-rcorpora
  (package
    (name "r-rcorpora")
    (version "2.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcorpora" version))
       (sha256
        (base32 "1gwiqp0ysw509pjggiw6czw8yf8lz917gvrnish0wgivc317x268"))))
    (properties `((upstream-name . "rcorpora")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite))
    (home-page "https://github.com/gaborcsardi/rcorpora")
    (synopsis "Collection of Small Text Corpora of Interesting Data")
    (description
     "This package provides a collection of small text corpora of interesting data.
It contains all data sets from dariusk/corpora'.  Some examples: names of
animals: birds, dinosaurs, dogs; foods: beer categories, pizza toppings;
geography: English towns, rivers, oceans; humans: authors, US presidents,
occupations; science: elements, planets; words: adjectives, verbs, proverbs, US
president quotes.")
    (license license:cc0)))

(define-public r-rcontroll
  (package
    (name "r-rcontroll")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcontroll" version))
       (sha256
        (base32 "15bv66awbw85p3szbqhfs283i285pfysx0bb3vrp8aikfk4isgyb"))))
    (properties `((upstream-name . "rcontroll")))
    (build-system r-build-system)
    (inputs (list gsl))
    (propagated-inputs (list r-vroom
                             r-viridis
                             r-tidyr
                             r-tibble
                             r-terra
                             r-sys
                             r-reshape2
                             r-readr
                             r-rcppgsl
                             r-rcpp
                             r-magrittr
                             r-lubridate
                             r-lidr
                             r-iterators
                             r-ggplot2
                             r-gganimate
                             r-foreach
                             r-dplyr
                             r-dosnow
                             r-doparallel))
    (native-inputs (list pkg-config r-knitr))
    (home-page "https://github.com/sylvainschmitt/rcontroll")
    (synopsis "Individual-Based Forest Growth Simulator 'TROLL'")
    (description
     "TROLL is coded in C++ and it typically simulates hundreds of thousands of
individuals over hundreds of years.  The rcontroll R package is a wrapper of
TROLL'.  rcontroll includes functions that generate inputs for simulations and
run simulations.  Finally, it is possible to analyse the TROLL outputs through
tables, figures, and maps taking advantage of other R visualisation packages.
rcontroll also offers the possibility to generate a virtual @code{LiDAR} point
cloud that corresponds to a snapshot of the simulated forest.")
    (license license:gpl3)))

(define-public r-rconics
  (package
    (name "r-rconics")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RConics" version))
       (sha256
        (base32 "0r5sn5kx6r3pjnvrgz7yxpyznb1js2i58vnbsqyzpl7jhcdhpz5x"))))
    (properties `((upstream-name . "RConics")))
    (build-system r-build-system)
    (home-page "https://github.com/emanuelhuber/RConics")
    (synopsis "Computations on Conics")
    (description
     "Solve some conic related problems (intersection of conics with lines and conics,
arc length of an ellipse, polar lines, etc.).")
    (license license:gpl2+)))

(define-public r-rconfig
  (package
    (name "r-rconfig")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rconfig" version))
       (sha256
        (base32 "1qxm9l0yd4xir6wr31r1v87g7flbpgggy7lh9lbvg307k8li1j2h"))))
    (properties `((upstream-name . "rconfig")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml r-jsonlite))
    (home-page "https://github.com/analythium/rconfig")
    (synopsis "Manage R Configuration at the Command Line")
    (description
     "Configuration management using files (YAML, JSON, INI, TXT), JSON strings, and
command line arguments.  Command line arguments can be used to override
configuration.  Period-separated command line flags are parsed as hierarchical
lists.  Environment variables, R global variables, and configuration values can
be substituted.")
    (license license:expat)))

(define-public r-rcompendium
  (package
    (name "r-rcompendium")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcompendium" version))
       (sha256
        (base32 "10df6lr776qr2lhc4phpkl53par60f35c694knzfx4s81mprd842"))))
    (properties `((upstream-name . "rcompendium")))
    (build-system r-build-system)
    (propagated-inputs (list r-xfun
                             r-usethis
                             r-stringr
                             r-rstudioapi
                             r-rmarkdown
                             r-renv
                             r-gtools
                             r-gh
                             r-gert
                             r-devtools
                             r-crayon
                             r-clisymbols
                             r-cffr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/FRBCesab/rcompendium")
    (synopsis "Create a Package or Research Compendium Structure")
    (description
     "Makes easier the creation of R package or research compendium (i.e.  a
predefined files/folders structure) so that users can focus on the code/analysis
instead of wasting time organizing files.  A full ready-to-work structure is set
up with some additional features: version control, remote repository creation,
CI/CD configuration (check package integrity under several OS, test code with
testthat', and build and deploy website using pkgdown').  This package heavily
relies on the R packages devtools and usethis and follows recommendations made
by Wickham H. (2015) <ISBN:9781491910597> and Marwick B. et al. (2018)
<doi:10.7287/peerj.preprints.3192v2>.")
    (license license:gpl2+)))

(define-public r-rcompanion
  (package
    (name "r-rcompanion")
    (version "2.4.36")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcompanion" version))
       (sha256
        (base32 "0r6kppwfm44h9y5wda3pfnxgsjvrdj3ysdmxclhrciq5rlzs2n8v"))))
    (properties `((upstream-name . "rcompanion")))
    (build-system r-build-system)
    (propagated-inputs (list r-plyr
                             r-nortest
                             r-multcompview
                             r-lmtest
                             r-desctools
                             r-coin
                             r-boot))
    (home-page "https://CRAN.R-project.org/package=rcompanion")
    (synopsis "Functions to Support Extension Education Program Evaluation")
    (description
     "This package provides functions and datasets to support Summary and Analysis of
Extension Program Evaluation in R, and An R Companion for the Handbook of
Biological Statistics.  Vignettes are available at <https://rcompanion.org>.")
    (license license:gpl3)))

(define-public r-rcompadre
  (package
    (name "r-rcompadre")
    (version "1.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcompadre" version))
       (sha256
        (base32 "1r9krnrxpnz3pqfj4ir22gsbpdbsdyi5liwa5kfmn9xsz8jnf5qx"))))
    (properties `((upstream-name . "Rcompadre")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-popdemo))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jonesor/Rcompadre")
    (synopsis "Utilities for using the 'COM(P)ADRE' Matrix Model Database")
    (description
     "Utility functions for interacting with the COMPADRE and COMADRE databases of
matrix population models.  Described in Jones et al. (2021)
<doi:10.1101/2021.04.26.441330>.")
    (license license:gpl3)))

(define-public r-rcolors
  (package
    (name "r-rcolors")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcolors" version))
       (sha256
        (base32 "19lkwd1wdwq9if957qjgrz9mq6s8x49dig8snivhw9ksffcfy4xp"))))
    (properties `((upstream-name . "rcolors")))
    (build-system r-build-system)
    (propagated-inputs (list r-magrittr))
    (home-page "https://cran.r-project.org/package=rcolors")
    (synopsis "270 'NCL' Color Tables in R Language")
    (description
     "NCL (NCAR Command Language) is one of the most popular spatial data mapping
tools in meteorology studies, due to its beautiful output figures with plenty of
color palettes designed by experts <https://www.ncl.ucar.edu/index.shtml>.  Here
we translate all NCL color palettes into R hexadecimal RGB colors and provide
color selection function, which will help users make a beautiful figure.")
    (license license:gpl3)))

(define-public r-rcolorconesa
  (package
    (name "r-rcolorconesa")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RColorConesa" version))
       (sha256
        (base32 "0b42bvhpkqdaxay9yv4wjlb5dk2j2svsrmg0l557dd7w30xarwa6"))))
    (properties `((upstream-name . "RColorConesa")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2))
    (home-page "https://cran.r-project.org/package=RColorConesa")
    (synopsis "Conesa Colors Palette")
    (description
     "This package provides a collection of palettes designed to integrate with
ggplot', reflecting the color schemes associated with @code{ConesaLab}'.")
    (license license:expat)))

(define-public r-rcoletum
  (package
    (name "r-rcoletum")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RColetum" version))
       (sha256
        (base32 "04gf2689fm9fm1nwsi4yn46rdsxpqznxspxcmjjhg0j1lxdkda39"))))
    (properties `((upstream-name . "RColetum")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr r-dplyr))
    (home-page "https://github.com/geo-sapiens/RColetum")
    (synopsis "Access your Coletum's Data from API")
    (description
     "Get your data (forms, structures, answers) from Coletum <https://coletum.com> to
handle and analyse.")
    (license license:lgpl3)))

(define-public r-rcoder
  (package
    (name "r-rcoder")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcoder" version))
       (sha256
        (base32 "09l1gvcf453j058rls4y2r342y3p4ywvf1g0qzq4kwavxxcl5rn2"))))
    (properties `((upstream-name . "rcoder")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-glue r-dplyr))
    (home-page "https://github.com/nyuglobalties/rcoder")
    (synopsis
     "Lightweight Data Structure for Recoding Categorical Data without Factors")
    (description
     "This package provides a data structure and toolkit for documenting and recoding
categorical data that can be shared in other statistical software.")
    (license license:expat)))

(define-public r-rco
  (package
    (name "r-rco")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rco" version))
       (sha256
        (base32 "1ch7ak802ri4jr10jqvhvdi6q9fhyhql15ja395xfv6j81d5cmia"))))
    (properties `((upstream-name . "rco")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://jcrodriguez1989.github.io/rco/")
    (synopsis "The R Code Optimizer")
    (description
     "Automatically apply different strategies to optimize R code.  rco functions take
R code as input, and returns R code as output.")
    (license license:gpl3)))

(define-public r-rcnv
  (package
    (name "r-rcnv")
    (version "1.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rCNV" version))
       (sha256
        (base32 "19wgvaqivhh1mm68i1286a650c5fplqx134g2sgw6cw7wwx6277y"))))
    (properties `((upstream-name . "rCNV")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-r-utils r-qgraph r-data-table
                             r-colorspace))
    (home-page "https://piyalkarum.github.io/rCNV/")
    (synopsis "Detect Copy Number Variants from SNPs Data")
    (description
     "This package provides functions in this package will import filtered variant
call format (VCF) files of SNPs data and generate data sets to detect copy
number variants, visualize them and do downstream analyses with copy number
variants(e.g. Environmental association analyses).")
    (license license:agpl3+)))

(define-public r-rcminification
  (package
    (name "r-rcminification")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCMinification" version))
       (sha256
        (base32 "1bdgc7rwkdkimp4k1p5ah26nbp1ic09kyyx6xily260xq7m31g1w"))))
    (properties `((upstream-name . "RCMinification")))
    (build-system r-build-system)
    (propagated-inputs (list r-locpol r-kernsmooth))
    (home-page "https://cran.r-project.org/package=RCMinification")
    (synopsis "Random Coefficient Minification Time Series Models")
    (description
     "Data sets, and functions for simulating and fitting nonlinear time series with
minification and nonparametric models.")
    (license (license:fsdg-compatible "Unlimited"))))

(define-public r-rcmdrplugin-worldflora
  (package
    (name "r-rcmdrplugin-worldflora")
    (version "1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.WorldFlora" version))
       (sha256
        (base32 "1rcmn5drv3q09v9hz383010g8377lfiazhjq1vd0f90gf0nl5jfy"))))
    (properties `((upstream-name . "RcmdrPlugin.WorldFlora")))
    (build-system r-build-system)
    (propagated-inputs (list r-worldflora r-rcmdr))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.WorldFlora")
    (synopsis "R Commander Plug-in for the 'WorldFlora' Package")
    (description
     "An R Commander plug-in for the @code{WorldFlora} package.  It was mainly
developed to show work flows and scripts for first-time users.")
    (license license:gpl3)))

(define-public r-rcmdrplugin-uca
  (package
    (name "r-rcmdrplugin-uca")
    (version "5.1-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.UCA" version))
       (sha256
        (base32 "0m46318z7rrdh3amw5rs6crkpdrn1kkbn9hvqswky9swjj6ckrry"))))
    (properties `((upstream-name . "RcmdrPlugin.UCA")))
    (build-system r-build-system)
    (propagated-inputs (list r-tseries
                             r-teachingdemos
                             r-rmarkdown
                             r-rcmdr
                             r-randtests
                             r-qicharts2
                             r-qcc
                             r-iqcc))
    (native-inputs (list r-knitr))
    (home-page "http://knuth.uca.es/RcmdrPlugin.UCA/")
    (synopsis "UCA Rcmdr Plug-in")
    (description
     "Some extensions to Rcmdr (R Commander), randomness test, variance test for one
normal sample and predictions using active model, made by R-UCA project and used
in teaching statistics at University of Cadiz (UCA).")
    (license license:gpl3+)))

(define-public r-rcmdrplugin-temis
  (package
    (name "r-rcmdrplugin-temis")
    (version "0.7.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.temis" version))
       (sha256
        (base32 "02rs5xdj6g57frndc87fly0ans16584j4d0rfpy1h72655cz66ab"))))
    (properties `((upstream-name . "RcmdrPlugin.temis")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-tm
                             r-tcltk2
                             r-stringi
                             r-slam
                             r-rcolorbrewer
                             r-rcmdr
                             r-r2html
                             r-nlp
                             r-latticeextra
                             r-lattice
                             r-ca))
    (home-page "https://github.com/nalimilan/R.TeMiS")
    (synopsis "Graphical Integrated Text Mining Solution")
    (description
     "An R Commander plug-in providing an integrated solution to perform a series of
text mining tasks such as importing and cleaning a corpus, and analyses like
terms and documents counts, vocabulary tables, terms co-occurrences and
documents similarity measures, time series analysis, correspondence analysis and
hierarchical clustering.  Corpora can be imported from spreadsheet-like files,
directories of raw text files, Twitter queries, as well as from Dow Jones
Factiva', @code{LexisNexis}', Europresse and Alceste files.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-teachstat
  (package
    (name "r-rcmdrplugin-teachstat")
    (version "1.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.TeachStat" version))
       (sha256
        (base32 "1l73zpy94av30x31rskzggaf6bmj7wfx1k6mksmpjmy47hk07qlg"))))
    (properties `((upstream-name . "RcmdrPlugin.TeachStat")))
    (build-system r-build-system)
    (propagated-inputs (list r-tseries
                             r-tcltk2
                             r-rcmdr
                             r-lme4
                             r-indexnumr
                             r-hmisc
                             r-distrex
                             r-distr))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.TeachStat")
    (synopsis "R Commander Plugin for Teaching Statistical Methods")
    (description
     "R Commander plugin for teaching statistical methods.  It adds a new menu for
making easier the teaching of the main concepts about the main statistical
methods.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-teachingdemos
  (package
    (name "r-rcmdrplugin-teachingdemos")
    (version "1.2-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.TeachingDemos" version))
       (sha256
        (base32 "14zsqjni2w2smq99cv1pjdw90zw83g4nn7h7cn07fms9j0g12yd6"))))
    (properties `((upstream-name . "RcmdrPlugin.TeachingDemos")))
    (build-system r-build-system)
    (propagated-inputs (list r-teachingdemos r-rcmdr))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.TeachingDemos")
    (synopsis "Rcmdr Teaching Demos Plug-in")
    (description
     "This package provides an Rcmdr \"plug-in\" based on the @code{TeachingDemos}
package, and is primarily for illustrative purposes.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-survival
  (package
    (name "r-rcmdrplugin-survival")
    (version "1.3-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.survival" version))
       (sha256
        (base32 "1kyqrpqi1gbc7vbdy524a7ifpnsx42rkz34p72cdi7qjyq8x7vs7"))))
    (properties `((upstream-name . "RcmdrPlugin.survival")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-rcmdr r-date r-car))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.survival")
    (synopsis "R Commander Plug-in for the 'survival' Package")
    (description
     "An R Commander plug-in for the survival package, with dialogs for Cox models,
parametric survival regression models, estimation of survival curves, and
testing for differences in survival curves, along with data-management
facilities and a variety of tests, diagnostics and graphs.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-sos
  (package
    (name "r-rcmdrplugin-sos")
    (version "0.3-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.sos" version))
       (sha256
        (base32 "1r9jxzmf5ks62b5jbw0pkf388i1lnld6i27xhfzysjqdxcnzdsdz"))))
    (properties `((upstream-name . "RcmdrPlugin.sos")))
    (build-system r-build-system)
    (propagated-inputs (list r-tcltk2 r-sos r-rcmdr))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.sos")
    (synopsis "Efficiently search the R help pages")
    (description
     "Rcmdr interface to the sos package.  The plug-in renders the sos searching
functionality easily accessible via the Rcmdr menus.  It also simplifies the
task of performing multiple searches and subsequently obtaining the union or the
intersection of the results.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-roc
  (package
    (name "r-rcmdrplugin-roc")
    (version "1.0-19")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.ROC" version))
       (sha256
        (base32 "1m5k8y2xy78bpyvi2cdnvmicr5dkjxb8v65blcmgrhf7i0zhhj5p"))))
    (properties `((upstream-name . "RcmdrPlugin.ROC")))
    (build-system r-build-system)
    (propagated-inputs (list r-resourceselection r-rcmdr r-proc))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.ROC")
    (synopsis "Rcmdr Receiver Operator Characteristic Plug-in Package")
    (description
     "Rcmdr GUI extension plug-in for Receiver Operator Characteristic tools from
@code{pROC} package.  Also it ads a Rcmdr GUI extension for Hosmer and Lemeshow
GOF test from the package @code{ResourceSelection}.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-rmtcjags
  (package
    (name "r-rcmdrplugin-rmtcjags")
    (version "1.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.RMTCJags" version))
       (sha256
        (base32 "04g5a1dpch54k5ckfkrg4vsap1nc3af1i0i559qigv3hy8n7pm80"))))
    (properties `((upstream-name . "RcmdrPlugin.RMTCJags")))
    (build-system r-build-system)
    (inputs (list jags))
    (propagated-inputs (list r-runjags
                             r-rmeta
                             r-rjags
                             r-rcmdr
                             r-igraph
                             r-coda))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.RMTCJags")
    (synopsis "R MTC Jags 'Rcmdr' Plugin")
    (description
     "Mixed Treatment Comparison is a methodology to compare directly and/or
indirectly health strategies (drugs, treatments, devices).  This package
provides an Rcmdr plugin to perform Mixed Treatment Comparison for binary
outcome using BUGS code from Bristol University (Lu and Ades).")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-riskdemo
  (package
    (name "r-rcmdrplugin-riskdemo")
    (version "3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.RiskDemo" version))
       (sha256
        (base32 "07v15wnmqqa69gy2kl2jkdgn9nzjj2fz5yy56gkhxczw7j6516ij"))))
    (properties `((upstream-name . "RcmdrPlugin.RiskDemo")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-scales
                             r-rcmdr
                             r-ggplot2
                             r-ftsa
                             r-forecast
                             r-dplyr
                             r-demography
                             r-data-table))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.RiskDemo")
    (synopsis "R Commander Plug-in for Risk Demonstration")
    (description
     "R Commander plug-in to demonstrate various actuarial and financial risks.  It
includes valuation of bonds and stocks, portfolio optimization, classical ruin
theory, demography and epidemic.")
    (license license:gpl2)))

(define-public r-rcmdrplugin-pcarobust
  (package
    (name "r-rcmdrplugin-pcarobust")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.PcaRobust" version))
       (sha256
        (base32 "17rq3sv8payazjjn5j37cgd6df5b62d2y8al3grw6hw5nfba7lvn"))))
    (properties `((upstream-name . "RcmdrPlugin.PcaRobust")))
    (build-system r-build-system)
    (propagated-inputs (list r-tkrplot r-rrcov r-robustbase r-rcmdr))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.PcaRobust")
    (synopsis "R Commander Plug-in for Robust Principal Component Analysis")
    (description
     "The R commander plug-in for robust principal component analysis.  The Graphical
User Interface for Principal Component Analysis (PCA) with Hubert Algorithm
method.")
    (license license:gpl2)))

(define-public r-rcmdrplugin-orloca
  (package
    (name "r-rcmdrplugin-orloca")
    (version "4.8.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.orloca" version))
       (sha256
        (base32 "0nkszrbcprd08p0i9r6k2syg44kyqpdakmwmjf480pwydq3sz69n"))))
    (properties `((upstream-name . "RcmdrPlugin.orloca")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr r-orloca-es r-orloca))
    (native-inputs (list r-knitr))
    (home-page "http://knuth.uca.es/orloca/")
    (synopsis "GUI for Planar Location Problems")
    (description
     "This package provides a GUI for the orloca package is provided as a Rcmdr
plug-in.  The package deals with continuos planar location problems.")
    (license license:gpl3+)))

(define-public r-rcmdrplugin-nmbu
  (package
    (name "r-rcmdrplugin-nmbu")
    (version "1.8.15")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.NMBU" version))
       (sha256
        (base32 "0y5pwwfvqdc2a6wbkjnvgrlh7251s60l74cmfi7k9n2gkzx5d34y"))))
    (properties `((upstream-name . "RcmdrPlugin.NMBU")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable
                             r-rcmdr
                             r-pls
                             r-phia
                             r-mixlm
                             r-mass
                             r-car))
    (home-page "https://github.com/khliland/RcmdrPlugin.NMBU/")
    (synopsis "R Commander Plug-in for University Level Applied Statistics")
    (description
     "An R Commander \"plug-in\" extending functionality of linear models and providing
an interface to Partial Least Squares Regression and Linear and Quadratic
Discriminant analysis.  Several statistical summaries are extended, predictions
are offered for additional types of analyses, and extra plots, tests and mixed
models are available.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-mpastats
  (package
    (name "r-rcmdrplugin-mpastats")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.MPAStats" version))
       (sha256
        (base32 "1ynj42p12ncgrbghd8w7mkyys2cq9r9dpbir57rj3k5l46yzj7d5"))))
    (properties `((upstream-name . "RcmdrPlugin.MPAStats")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr r-ordinal))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.MPAStats")
    (synopsis "R Commander Plug-in for MPA Statistics")
    (description
     "Extends R Commander with a unified menu of new and pre-existing statistical
functions related to public management and policy analysis statistics.
Functions and menus have been renamed according to the usage in PMGT 630 in the
Master of Public Administration program at Brigham Young University.")
    (license license:gpl3+)))

(define-public r-rcmdrplugin-ma
  (package
    (name "r-rcmdrplugin-ma")
    (version "0.0-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.MA" version))
       (sha256
        (base32 "1zivlc0r2mkxpx23ba76njmb2wnnjijysvza4f24dg4l47d0sr2p"))))
    (properties `((upstream-name . "RcmdrPlugin.MA")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr r-metafor r-mad))
    (home-page "http://acdelre.weebly.com/")
    (synopsis "Graphical User Interface for Conducting Meta-Analyses in R")
    (description
     "Easy to use interface for conducting meta-analysis in R. This package is an
Rcmdr-plugin, which allows the user to conduct analyses in a menu-driven,
graphical user interface environment (e.g., CMA, SPSS).  It uses recommended
procedures as described in The Handbook of Research Synthesis and Meta-Analysis
(Cooper, Hedges, & Valentine, 2009).")
    (license license:gpl2)))

(define-public r-rcmdrplugin-kmggplot2
  (package
    (name "r-rcmdrplugin-kmggplot2")
    (version "0.2-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.KMggplot2" version))
       (sha256
        (base32 "0xh0lfgmr5sc15f3v5avwy1zl0gk1krlw3jb1prjyk9prp8albz9"))))
    (properties `((upstream-name . "RcmdrPlugin.KMggplot2")))
    (build-system r-build-system)
    (propagated-inputs (list r-tcltk2
                             r-survival
                             r-scales
                             r-rcolorbrewer
                             r-rcmdr
                             r-plyr
                             r-ggthemes
                             r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.KMggplot2")
    (synopsis "R Commander Plug-in for Data Visualization with 'ggplot2'")
    (description
     "This package provides a GUI front-end for ggplot2 supports Kaplan-Meier plot,
histogram, Q-Q plot, box plot, errorbar plot, scatter plot, line chart, pie
chart, bar chart, contour plot, and distribution plot.")
    (license license:gpl2)))

(define-public r-rcmdrplugin-hh
  (package
    (name "r-rcmdrplugin-hh")
    (version "1.1-51")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.HH" version))
       (sha256
        (base32 "1kfx74nlkdyzh73cwab8gflrpw99pvjgr3ch8ikkg39h8yyi83qh"))))
    (properties `((upstream-name . "RcmdrPlugin.HH")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr r-mgcv r-lattice r-hh))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.HH")
    (synopsis "Rcmdr Support for the HH Package")
    (description
     "Rcmdr menu support for many of the functions in the HH package.  The focus is on
menu items for functions we use in our introductory courses.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-gwrm
  (package
    (name "r-rcmdrplugin-gwrm")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.GWRM" version))
       (sha256
        (base32 "01q4k9s815pgd5cavm6nyxy5npmpxryari9v6wys4n5cjpn5g6xq"))))
    (properties `((upstream-name . "RcmdrPlugin.GWRM")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdrmisc r-rcmdr r-gwrm))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.GWRM")
    (synopsis
     "R Commander Plug-in for Fitting Generalized Waring Regression Models")
    (description
     "This package provides an Rcmdr \"plug-in\" based on the GWRM package.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-factominer
  (package
    (name "r-rcmdrplugin-factominer")
    (version "1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.FactoMineR" version))
       (sha256
        (base32 "1fr50yfjh1iy65lkvkw992l02q0vgrw2advj707z02806p69bkn1"))))
    (properties `((upstream-name . "RcmdrPlugin.FactoMineR")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr r-factominer))
    (home-page "http://factominer.free.fr/graphs/RcmdrPlugin.html")
    (synopsis "Graphical User Interface for FactoMineR")
    (description "Rcmdr Plugin for the @code{FactoMineR} package.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-ezr
  (package
    (name "r-rcmdrplugin-ezr")
    (version "1.68")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.EZR" version))
       (sha256
        (base32 "0ppdn3fz8y3ckhhzhn0bhis4i2wd0r2ll8xmvvp6vnx42q9vnh0z"))))
    (properties `((upstream-name . "RcmdrPlugin.EZR")))
    (build-system r-build-system)
    (propagated-inputs (list r-readstata13 r-rcmdr))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.EZR")
    (synopsis "R Commander Plug-in for the EZR (Easy R) Package")
    (description
     "EZR (Easy R) adds a variety of statistical functions, including survival
analyses, ROC analyses, metaanalyses, sample size calculation, and so on, to the
R commander.  EZR enables point-and-click easy access to statistical functions,
especially for medical statistics.  EZR is platform-independent and runs on
Windows, Mac OS X, and UNIX. Its complete manual is available only in Japanese
(Chugai Igakusha, ISBN: 978-4-498-10918-6, Nankodo, ISBN: 978-4-524-26158-1,
Ohmsha, ISBN: 978-4-274-22632-8), but an report that introduced the
investigation of EZR was published in Bone Marrow Transplantation (Nature
Publishing Group) as an Open article.  This report can be used as a simple
manual.  It can be freely downloaded from the journal website as shown below.
This report has been cited in more than 10,000 scientific articles.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-export
  (package
    (name "r-rcmdrplugin-export")
    (version "0.3-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.Export" version))
       (sha256
        (base32 "17fn3si6b6h20c52k1k6fv9mslw3f9v0x1kxixzcvq54scdx0sk0"))))
    (properties `((upstream-name . "RcmdrPlugin.Export")))
    (build-system r-build-system)
    (propagated-inputs (list r-xtable r-rcmdr r-hmisc))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.Export")
    (synopsis "Export R Output to LaTeX or HTML")
    (description
     "Export Rcmdr output to @code{LaTeX} or HTML code.  The plug-in was originally
intended to facilitate exporting Rcmdr output to formats other than ASCII text
and to provide R novices with an easy-to-use, easy-to-access reference on
exporting R objects to formats suited for printed output.  The package
documentation contains several pointers on creating reports, either by using
conventional word processors or @code{LaTeX/LyX}.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-ecovirtual
  (package
    (name "r-rcmdrplugin-ecovirtual")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.EcoVirtual" version))
       (sha256
        (base32 "0q879wnrmgbaddv883q9zdnp0i7kjcgn8cffv7lp8nrsqil6l7mc"))))
    (properties `((upstream-name . "RcmdrPlugin.EcoVirtual")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr r-ecovirtual))
    (home-page "http://ecovirtual.ib.usp.br")
    (synopsis "Rcmdr EcoVirtual Plugin")
    (description
     "This package provides a Rcmdr \"plug-in\" for the @code{EcoVirtual} package,
designed primarily for teaching ecological models using simulations.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-ebm
  (package
    (name "r-rcmdrplugin-ebm")
    (version "1.0-10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.EBM" version))
       (sha256
        (base32 "02zips1jbfn7cshjlrm1gr632px2zxlys8i0f1nrf1gifl44v1qw"))))
    (properties `((upstream-name . "RcmdrPlugin.EBM")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr r-epir r-abind))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.EBM")
    (synopsis "Rcmdr Evidence Based Medicine Plug-in Package")
    (description
     "Rcmdr plug-in GUI extension for Evidence Based Medicine medical indicators
calculations (Sensitivity, specificity, absolute risk reduction, relative risk,
...).")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-eacspir
  (package
    (name "r-rcmdrplugin-eacspir")
    (version "0.2-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.EACSPIR" version))
       (sha256
        (base32 "0v7pw0m8cxpnkdm47b8jb3z94p1igi98s4r8i0gm7x7ad4fzccww"))))
    (properties `((upstream-name . "RcmdrPlugin.EACSPIR")))
    (build-system r-build-system)
    (propagated-inputs (list r-reshape
                             r-rcmdrmisc
                             r-rcmdr
                             r-r2html
                             r-nortest
                             r-ez
                             r-abind))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.EACSPIR")
    (synopsis "Plugin de R-Commander para el Manual 'EACSPIR'")
    (description
     "Este paquete proporciona una interfaz grafica de usuario (GUI) para algunos de
los procedimientos estadisticos detallados en un curso de Estadistica aplicada a
las Ciencias Sociales mediante el programa informatico R (EACSPIR).  LA GUI se
ha desarrollado como un Plugin del programa R-Commander.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-doe
  (package
    (name "r-rcmdrplugin-doe")
    (version "0.12-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.DoE" version))
       (sha256
        (base32 "0nsaj3wis8fn73spyv90j0magcl3lq4pznfxzdr62rg8w7likqx7"))))
    (properties `((upstream-name . "RcmdrPlugin.DoE")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdrmisc r-rcmdr r-frf2 r-doe-wrapper
                             r-doe-base))
    (home-page "https://prof.bht-berlin.de/groemping/DoE/")
    (synopsis "R Commander Plugin for (Industrial) Design of Experiments")
    (description
     "This package provides a platform-independent GUI for design of experiments.  The
package is implemented as a plugin to the R-Commander, which is a more general
graphical user interface for statistics in R based on tcl/tk. @code{DoE}
functionality can be accessed through the menu Design that is added to the
R-Commander menus.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-depthtools
  (package
    (name "r-rcmdrplugin-depthtools")
    (version "1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.depthTools" version))
       (sha256
        (base32 "16y60yymx97nh587939lahsh0mk53yy25zy6i90l9vad0r7ih23v"))))
    (properties `((upstream-name . "RcmdrPlugin.depthTools")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr r-depthtools))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.depthTools")
    (synopsis "R Commander Depth Tools Plug-in")
    (description
     "We provide an Rcmdr plug-in based on the @code{depthTools} package, which
implements different robust statistical tools for the description and analysis
of gene expression data based on the Modified Band Depth, namely, the scale
curves for visualizing the dispersion of one or various groups of samples (e.g.
types of tumors), a rank test to decide whether two groups of samples come from
a single distribution and two methods of supervised classification techniques,
the DS and TAD methods.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-dce
  (package
    (name "r-rcmdrplugin-dce")
    (version "0.2-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.DCE" version))
       (sha256
        (base32 "181iww86gvbr6n5wnjqyfqzzpxiv9wyvwx560bw4g55rfnzck67w"))))
    (properties `((upstream-name . "RcmdrPlugin.DCE")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-support-ces r-rcmdr))
    (home-page "https://sites.google.com/view/r4sp/rcmdrplugin")
    (synopsis "R Commander Plug-in for Discrete Choice Experiments")
    (description
     "Adds menu items for discrete choice experiments (DCEs) to the R Commander.  DCE
is a question-based survey method that designs various combinations (profiles)
of attribute levels using the experimental designs, asks respondents to select
the most preferred profile in each choice set, and then measures preferences for
the attribute levels by analyzing the responses.  For details on DCEs, refer to
Louviere et al. (2000) <doi:10.1017/CBO9780511753831>.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-dccv
  (package
    (name "r-rcmdrplugin-dccv")
    (version "0.1-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.DCCV" version))
       (sha256
        (base32 "12qdjjad7l0rdl2rh7jir5ygw9rz008wpbr0shkarc84sz1aipxr"))))
    (properties `((upstream-name . "RcmdrPlugin.DCCV")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr r-dcchoice))
    (home-page "https://sites.google.com/view/r4sp/rcmdrplugin")
    (synopsis
     "R Commander Plug-in for Dichotomous Choice Contingent Valuation")
    (description
     "Adds menu items to the R Commander for parametric analysis of dichotomous choice
contingent valuation (DCCV) data.  CV is a question-based survey method to
elicit individuals preferences for goods and services.  This package depends on
functions regarding parametric DCCV analysis in the package DCchoice.  See
Carson and Hanemann (2005) <doi:10.1016/S1574-0099(05)02017-6> for DCCV.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-cpd
  (package
    (name "r-rcmdrplugin-cpd")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.cpd" version))
       (sha256
        (base32 "1s0y40nh91fi6i91zvn7q106d4nnshflfnzs8m63skklsdxk3by0"))))
    (properties `((upstream-name . "RcmdrPlugin.cpd")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdrmisc r-rcmdr r-cpd))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.cpd")
    (synopsis "R Commander Plug-in for Complex Pearson Distributions")
    (description
     "This package provides an Rcmdr plug-in based on the cpd package.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-bws3
  (package
    (name "r-rcmdrplugin-bws3")
    (version "0.2-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.BWS3" version))
       (sha256
        (base32 "09vmq77lk0j9qg4jb05rdys7frf8zpy063k1gq1ja2dw1789rld3"))))
    (properties `((upstream-name . "RcmdrPlugin.BWS3")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-support-ces r-support-bws3 r-rcmdr))
    (home-page "https://sites.google.com/view/r4sp/rcmdrplugin")
    (synopsis "R Commander Plug-in for Case 3 Best-Worst Scaling")
    (description
     "Adds menu items for case 3 (multi-profile) best-worst scaling (BWS3) to the R
Commander.  BWS3 is a question-based survey method that designs various
combinations of attribute levels (profiles), asks respondents to select the best
and worst profiles in each choice set, and then measures preferences for the
attribute levels by analyzing the responses.  For details on BWS3, refer to
Louviere et al. (2015) <doi:10.1017/CBO9781107337855>.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-bws2
  (package
    (name "r-rcmdrplugin-bws2")
    (version "0.2-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.BWS2" version))
       (sha256
        (base32 "1xsacwicglpcqd6kipqgg68vbhh81d6hi1n6wgliw49iic2jnshg"))))
    (properties `((upstream-name . "RcmdrPlugin.BWS2")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-support-ces r-support-bws2 r-rcmdr
                             r-doe-base))
    (home-page "https://sites.google.com/view/r4sp/rcmdrplugin")
    (synopsis "R Commander Plug-in for Case 2 Best-Worst Scaling")
    (description
     "Adds menu items for case 2 (profile case) best-worst scaling (BWS2) to the R
Commander.  BWS2 is a question-based survey method that constructs profiles
(combinations of attribute levels) using an orthogonal array, asks respondents
to select the best and worst levels in each profile, and measures preferences
for attribute levels by analyzing the responses.  For details, see Aizaki and
Fogarty (2019) <doi:10.1016/j.jocm.2019.100171>.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-bws1
  (package
    (name "r-rcmdrplugin-bws1")
    (version "0.2-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.BWS1" version))
       (sha256
        (base32 "0as8nnyfk2fjsc92rxywi36bp41zppwcx9207zywqxb0b3awdn08"))))
    (properties `((upstream-name . "RcmdrPlugin.BWS1")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-support-ces r-support-bws r-rcmdr
                             r-crossdes))
    (home-page "https://sites.google.com/view/r4sp/rcmdrplugin")
    (synopsis "R Commander Plug-in for Case 1 Best-Worst Scaling")
    (description
     "Adds menu items to the R Commander for implementing case 1 (object case)
best-worst scaling (BWS1) from designing choice sets to measuring preferences
for items.  BWS1 is a question-based survey method that constructs various
combinations of items (choice sets) using the experimental designs, asks
respondents to select the best and worst items in each choice set, and then
measures preferences for the items by analyzing the responses.  For details on
BWS1, refer to Louviere et al. (2015) <doi:10.1017/CBO9781107337855>.")
    (license license:gpl2+)))

(define-public r-rcmdrplugin-biclustgui
  (package
    (name "r-rcmdrplugin-biclustgui")
    (version "1.1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.BiclustGUI" version))
       (sha256
        (base32 "1wb1pbwghq1xxpwlihfixx42yf1f1py3hdwh8sfpqklh63ymwifk"))))
    (properties `((upstream-name . "RcmdrPlugin.BiclustGUI")))
    (build-system r-build-system)
    (propagated-inputs (list r-viridis
                             r-superbiclust
                             r-s4vd
                             r-rcmdr
                             r-gplots
                             r-biclust
                             r-bicare
                             r-bibitr
                             r-bcdiag))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.BiclustGUI")
    (synopsis "'Rcmdr' Plug-in GUI for Biclustering")
    (description
     "This package provides a plug-in for R Commander ('Rcmdr').  The package is a
Graphical User Interface (GUI) in which several biclustering methods can be
executed, followed by diagnostics and plots of the results.  Further, the GUI
also has the possibility to connect the methods to more general diagnostic
packages for biclustering.  Biclustering methods from biclust', fabia', s4vd',
@code{iBBiG}', isa2', @code{BiBitR}', rqubic and @code{BicARE} are implemented.
Additionally, superbiclust and @code{BcDiag} are also implemented to be able to
further investigate results.  The GUI also provides a couple of extra utilities
to export, save, search through and plot the results.
@code{RcmdrPlugin.BiclustGUI} also provides a very specific framework for
biclustering in which new methods, diagnostics and plots can be added.  Scripts
were prepared so that R-package developers can freely design their own dialogs
in the GUI which can then be added by the maintainer of
@code{RcmdrPlugin.BiclustGUI}'.  These scripts do not required any knowledge of
tcltk and Rcmdr and are easy to fill in. (Note: rqubic currently requires manual
installation through @code{BiocManager::install('rqubic}').).")
    (license license:gpl3)))

(define-public r-rcmdrplugin-arnova
  (package
    (name "r-rcmdrplugin-arnova")
    (version "0.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrPlugin.aRnova" version))
       (sha256
        (base32 "0ys3565pcbr554yb1gi2h149vhvwc0gdfmh7mz8zzd4367hqn553"))))
    (properties `((upstream-name . "RcmdrPlugin.aRnova")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcmdr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RcmdrPlugin.aRnova")
    (synopsis "R Commander Plug-in for Repeated-Measures ANOVA")
    (description
     "R Commander plug-in for repeated-measures and mixed-design ('split-plot') ANOVA.
It adds a new menu entry for repeated measures that allows to deal with up to
three within-subject factors and optionally with one or several between-subject
factors.  It also provides supplementary options to @code{oneWayAnova}() and
@code{multiWayAnova}() functions, such as choice of ANOVA type, display of
effect sizes and post hoc analysis for @code{multiWayAnova}().")
    (license license:gpl2+)))

(define-public r-rcmdrmisc
  (package
    (name "r-rcmdrmisc")
    (version "2.9-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcmdrMisc" version))
       (sha256
        (base32 "0khp8dw1b3v5jqbhnqxjcyyjz9hj9pb98niacn17cf9iln9rr7mc"))))
    (properties `((upstream-name . "RcmdrMisc")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich
                             r-readxl
                             r-readstata13
                             r-nortest
                             r-mass
                             r-lattice
                             r-hmisc
                             r-haven
                             r-foreign
                             r-e1071
                             r-colorspace
                             r-car
                             r-abind))
    (home-page "https://www.r-project.org")
    (synopsis "R Commander Miscellaneous Functions")
    (description
     "Various statistical, graphics, and data-management functions used by the Rcmdr
package in the R Commander GUI for R.")
    (license license:gpl2+)))

(define-public r-rcmdr
  (package
    (name "r-rcmdr")
    (version "2.9-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcmdr" version))
       (sha256
        (base32 "19qknvrsw6pffqklghvaz42f8v7mlsq7h1m7d0v8jzn0c3py4sbg"))))
    (properties `((upstream-name . "Rcmdr")))
    (build-system r-build-system)
    (propagated-inputs (list r-tcltk2
                             r-relimp
                             r-rcmdrmisc
                             r-lme4
                             r-effects
                             r-car
                             r-abind))
    (home-page "https://github.com/RCmdr-Project/rcmdr")
    (synopsis "R Commander")
    (description
     "This package provides a platform-independent basic-statistics GUI (graphical
user interface) for R, based on the tcltk package.")
    (license license:gpl2+)))

(define-public r-rcma
  (package
    (name "r-rcma")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rCMA" version))
       (sha256
        (base32 "1y7n127lxswkgkz8wsxkvlps7f02i7495zlr4d4ixac57av6chs6"))))
    (properties `((upstream-name . "rCMA")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rCMA")
    (synopsis "R-to-Java Interface for 'CMA-ES'")
    (description
     "Tool for providing access to the Java version CMA@code{EvolutionStrategy} of
Nikolaus Hansen.  CMA-ES is the Covariance Matrix Adaptation Evolution Strategy,
see <https://www.lri.fr/~hansen/cmaes_inmatlab.html#java>.")
    (license license:gpl3+)))

(define-public r-rclustool
  (package
    (name "r-rclustool")
    (version "0.91.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RclusTool" version))
       (sha256
        (base32 "03qz4k6h0z1sj2gyyq5sk7hilmynvqvvj35mrml629rxhgjyyhgs"))))
    (properties `((upstream-name . "RclusTool")))
    (build-system r-build-system)
    (propagated-inputs (list r-tkrplot
                             r-tcltk2
                             r-stringr
                             r-stringi
                             r-sp
                             r-searchtrees
                             r-rlang
                             r-reshape
                             r-randomforest
                             r-png
                             r-nnet
                             r-mmand
                             r-mda
                             r-mclust
                             r-mass
                             r-knitr
                             r-jpeg
                             r-ggplot2
                             r-factominer
                             r-factoextra
                             r-e1071
                             r-corrplot
                             r-conclust
                             r-cluster
                             r-class))
    (home-page "mawenzi.univ-littoral.fr/RclusTool")
    (synopsis
     "Graphical Toolbox for Clustering and Classification of Data Frames")
    (description
     "Graphical toolbox for clustering and classification of data frames.  It proposes
a graphical interface to process clustering and classification methods on
features data-frames, and to view initial data as well as resulted cluster or
classes.  According to the level of available labels, different approaches are
proposed: unsupervised clustering, semi-supervised clustering and supervised
classification.  To assess the processed clusters or classes, the toolbox can
import and show some supplementary data formats: either profile/time series, or
images.  These added information can help the expert to label clusters
(clustering), or to constrain data frame rows (semi-supervised clustering),
using Constrained spectral embedding algorithm by Wacquet et al. (2013)
<doi:10.1016/j.patrec.2013.02.003> and the methodology provided by Wacquet et
al. (2013) <doi:10.1007/978-3-642-35638-4_21>.")
    (license license:gpl2+)))

(define-public r-rclipboard
  (package
    (name "r-rclipboard")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rclipboard" version))
       (sha256
        (base32 "18dj35vi5xdg0yhdm58vdgklwyl2zsjkvz01jcvwy7nvhkqm6c82"))))
    (properties `((upstream-name . "rclipboard")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-shiny r-bslib))
    (native-inputs (list esbuild))
    (home-page "https://github.com/sbihorel/rclipboard/")
    (synopsis "Shiny/R Wrapper for 'clipboard.js'")
    (description
     "Leverages the functionality of clipboard.js', a @code{JavaScript} library for
HMTL5-based copy to clipboard from web pages (see <https://clipboardjs.com> for
more information), and provides a reactive copy-to-clipboard UI button
component, called @code{rclipButton}', and a a reactive copy-to-clipboard UI
link component, called @code{rclipLink}', for shiny R applications.")
    (license license:expat)))

(define-public r-rclimacell
  (package
    (name "r-rclimacell")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RClimacell" version))
       (sha256
        (base32 "03w2psiix74d2cbaz06bk77pclc6lfjhfdi057rdmw4nv3xv1fqi"))))
    (properties `((upstream-name . "RClimacell")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-magrittr
                             r-lubridate
                             r-httr
                             r-dplyr
                             r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://nikdata.github.io/RClimacell/")
    (synopsis "R Wrapper for the 'Climacell' API")
    (description
     "Climacell is a weather platform that provides hyper-local forecasts and weather
data.  This package enables the user to query the core layers of the time line
interface of the Climacell v4 API <https://www.climacell.co/weather-api/>.  This
package requires a valid API key.  See vignettes for instructions on use.")
    (license license:expat)))

(define-public r-rclickhouse
  (package
    (name "r-rclickhouse")
    (version "0.6.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RClickhouse" version))
       (sha256
        (base32 "06r3xn3xjhr2adpmh4cpykbx1ly5i7aw4izcg2xci7cm5xbg2vzl"))))
    (properties `((upstream-name . "RClickhouse")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp
                             r-dplyr
                             r-dbplyr
                             r-dbi
                             r-cli
                             r-bit64))
    (home-page "https://github.com/IMSMWU/RClickhouse")
    (synopsis "'Yandex Clickhouse' Interface for R with Basic 'dplyr' Support")
    (description
     "Yandex Clickhouse (<https://clickhouse.com/>) is a high-performance relational
column-store database to enable big data exploration and analytics scaling to
petabytes of data.  Methods are provided that enable working with Yandex
Clickhouse databases via DBI methods and using dplyr'/'dbplyr idioms.")
    (license license:gpl2)))

(define-public r-rclabels
  (package
    (name "r-rclabels")
    (version "0.1.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCLabels" version))
       (sha256
        (base32 "0nb1032mlqbs9aslq4hsmahfn3bp1qvg26pfbgk784rj64ibd6gz"))))
    (properties `((upstream-name . "RCLabels")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr r-magrittr r-hmisc r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://matthewheun.github.io/RCLabels/")
    (synopsis "Manipulate Matrix Row and Column Labels with Ease")
    (description
     "This package provides functions to assist manipulation of matrix row and column
labels for all types of matrix mathematics where row and column labels are to be
respected.")
    (license license:expat)))

(define-public r-rcites
  (package
    (name "r-rcites")
    (version "1.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcites" version))
       (sha256
        (base32 "192cdkd4pybpsdab8dzchx96385bdjsm30p8qrlw9wzmij03rx2x"))))
    (properties `((upstream-name . "rcites")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr r-curl r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://docs.ropensci.org/rcites/")
    (synopsis "R Interface to the Species+ Database")
    (description
     "This package provides a programmatic interface to the Species+
<https://speciesplus.net/> database via the Species+/CITES Checklist API
<https://api.speciesplus.net/>.")
    (license license:expat)))

(define-public r-rciplot
  (package
    (name "r-rciplot")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rciplot" version))
       (sha256
        (base32 "0pz5lvrm9ifhypq490cnqawr87wlh4m0812612s079b9ljsw6dr0"))))
    (properties `((upstream-name . "rciplot")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-ggplot2 r-dplyr))
    (home-page "https://gitlab.com/REDS1736/rciplot")
    (synopsis "Plot Jacobson-Truax Reliable Change Indices")
    (description
     "The concept of reliable and clinically significant change (Jacobson & Truax,
1991) helps you answer the following questions for a sample with two
measurements at different points in time (pre & post): Which proportion of my
sample has a (considering the reliability of the instrument) probably
not-just-by-chance difference in pre- vs. post-scores? Which proportion of my
sample does not only change in a statistically significant way (see question
one), but also in a clinically significant way (e.g. change from a test score
regarded \"dysfunctional\" to a score regarded \"functional\")? This package allows
you to very easily create a scatterplot of your sample in which the x-axis maps
to the pre-scores, the y-axis maps to the post-scores and several graphical
elements (lines, colors) allow you to gain a quick overview about reliable
changes in these scores.  An example of this kind of plot is Figure 2 of
Jacobson & Truax (1991).  Referenced article: Jacobson, N. S., & Truax, P.
(1991) <doi:10.1037/0022-006X.59.1.12>.")
    (license license:expat)))

(define-public r-rchronomodel
  (package
    (name "r-rchronomodel")
    (version "0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RChronoModel" version))
       (sha256
        (base32 "0haqxwic160pnnm90bgchzxmsdwmi6m97i9xrh8js8bp2xn76l5f"))))
    (properties `((upstream-name . "RChronoModel")))
    (build-system r-build-system)
    (propagated-inputs (list r-hdrcde))
    (home-page "http://www.chronomodel.fr")
    (synopsis
     "Post-Processing of the Markov Chain Simulated by ChronoModel or Oxcal")
    (description
     "This package provides a list of functions for the statistical analysis and the
post-processing of the Markov Chains simulated by @code{ChronoModel} (see
<http://www.chronomodel.fr> for more information). @code{ChronoModel} is a
friendly software to construct a chronological model in a Bayesian framework.
Its output is a sampled Markov chain from the posterior distribution of dates
component the chronology.  The functions can also be applied to the analyse of
mcmc output generated by Oxcal software.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rchoicedialogs
  (package
    (name "r-rchoicedialogs")
    (version "1.0.6.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rChoiceDialogs" version))
       (sha256
        (base32 "1ilrgx2di1cfawkv8qw6ax4gh6iw8f1n9ynqf5sbf2cx772g0nsj"))))
    (properties `((upstream-name . "rChoiceDialogs")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjava))
    (home-page "https://cran.r-project.org/package=rChoiceDialogs")
    (synopsis "'rChoiceDialogs' Collection")
    (description "Collection of portable choice dialog widgets.")
    (license license:lgpl2.1+)))

(define-public r-rchoice
  (package
    (name "r-rchoice")
    (version "0.3-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rchoice" version))
       (sha256
        (base32 "0f9pdxymbj6fnq7368sl48pg5a2ikjkn10qm5djrqwwyhir64wf3"))))
    (properties `((upstream-name . "Rchoice")))
    (build-system r-build-system)
    (propagated-inputs (list r-sandwich
                             r-plotrix
                             r-plm
                             r-numderiv
                             r-msm
                             r-misctools
                             r-memisc
                             r-maxlik
                             r-formula))
    (home-page "https://github.com/mauricio1986/Rchoice")
    (synopsis
     "Discrete Choice (Binary, Poisson and Ordered) Models with Random Parameters")
    (description
     "An implementation of simulated maximum likelihood method for the estimation of
Binary (Probit and Logit), Ordered (Probit and Logit) and Poisson models with
random parameters for cross-sectional and longitudinal data as presented in
Sarrias (2016) <doi:10.18637/jss.v074.i10>.")
    (license license:gpl2+)))

(define-public r-rchivaltag
  (package
    (name "r-rchivaltag")
    (version "0.1.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RchivalTag" version))
       (sha256
        (base32 "0sz6hmcpsgp5am5g89q15was8im6wr2c18fjsychjxngj6ii0cy0"))))
    (properties `((upstream-name . "RchivalTag")))
    (build-system r-build-system)
    (propagated-inputs (list r-xts
                             r-suntools
                             r-stringr
                             r-sp
                             r-shiny
                             r-sf
                             r-readr
                             r-raster
                             r-pracma
                             r-plyr
                             r-plotly
                             r-oceanmap
                             r-ncdf4
                             r-maps
                             r-mapdata
                             r-lubridate
                             r-leaflet-extras2
                             r-leaflet
                             r-htmlwidgets
                             r-ggplot2
                             r-ggedit
                             r-dygraphs
                             r-cleangeo))
    (home-page "https://cran.r-project.org/package=RchivalTag")
    (synopsis
     "Analyzing and Interactive Visualization of Archival Tagging Data")
    (description
     "This package provides a set of functions to generate, access and analyze
standard data products from archival tagging data.")
    (license license:gpl3+)))

(define-public r-rchest
  (package
    (name "r-rchest")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RChest" version))
       (sha256
        (base32 "112y6g1lyk3wky825g77sy49wgqs8vqdi90lrp0qza6cqjg381mq"))))
    (properties `((upstream-name . "RChest")))
    (build-system r-build-system)
    (propagated-inputs (list r-reticulate r-rdpack))
    (home-page "https://github.com/azalk/GoChest")
    (synopsis
     "Locating Distributional Changes in Highly Dependent Time Series")
    (description
     "This package provides algorithms to locate multiple distributional change-points
in piecewise stationary time series.  The algorithms are provably consistent,
even in the presence of long-range dependencies.  Knowledge of the number of
change-points is not required.  The code is written in Go and interfaced with R.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rcheology
  (package
    (name "r-rcheology")
    (version "4.4.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcheology" version))
       (sha256
        (base32 "1k49z9czxdksvc7m7767q52l613lv7fsfykx0yaajjlvp67ac4ly"))))
    (properties `((upstream-name . "rcheology")))
    (build-system r-build-system)
    (home-page "https://github.com/hughjonesd/rcheology")
    (synopsis
     "Data on Base and Recommended Packages for Current and Previous Versions of R")
    (description
     "This package provides a dataset of functions in all base and recommended
packages of R versions 0.50 onwards.")
    (license license:cc0)))

(define-public r-rchemo
  (package
    (name "r-rchemo")
    (version "0.1-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rchemo" version))
       (sha256
        (base32 "0jpd62mggsysh95dqp5dy0w1nhp06rc55fk7d4a7vqbblfipxihm"))))
    (properties `((upstream-name . "rchemo")))
    (build-system r-build-system)
    (propagated-inputs (list r-signal r-fnn r-e1071 r-data-table))
    (home-page "https://github.com/ChemHouse-group/rchemo/")
    (synopsis
     "Dimension Reduction, Regression and Discrimination for Chemometrics")
    (description
     "Data exploration and prediction with focus on high dimensional data and
chemometrics.  The package was initially designed about partial least squares
regression and discrimination models and variants, in particular locally
weighted PLS models (LWPLS).  Then, it has been expanded to many other methods
for analyzing high dimensional data.  The name rchemo comes from the fact that
the package is orientated to chemometrics, but most of the provided methods are
fully generic to other domains.  Functions such as transform(), predict(),
coef() and summary() are available.  Tuning the predictive models is facilitated
by generic functions gridscore() (validation dataset) and gridcv()
(cross-validation).  Faster versions are also available for models based on
latent variables (LVs) (gridscorelv() and gridcvlv()) and ridge regularization
(gridscorelb() and gridcvlb()).")
    (license license:gpl3)))

(define-public r-rchallenge
  (package
    (name "r-rchallenge")
    (version "1.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rchallenge" version))
       (sha256
        (base32 "0i402p6ccjn10ix5nln30pab5nd78hg5q4ivvgc4i99nx7aq0xpx"))))
    (properties `((upstream-name . "rchallenge")))
    (build-system r-build-system)
    (propagated-inputs (list r-rmarkdown r-knitr))
    (home-page "https://adrien.tspace.fr/rchallenge/")
    (synopsis "Simple Data Science Challenge System")
    (description
     "This package provides a simple data science challenge system using R Markdown
and Dropbox <https://www.dropbox.com/>.  It requires no network configuration,
does not depend on external platforms like e.g. Kaggle <https://www.kaggle.com/>
and can be easily installed on a personal computer.")
    (license license:gpl2)))

(define-public r-rcgls
  (package
    (name "r-rcgls")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCGLS" version))
       (sha256
        (base32 "12mmfs91fmhdxdxr7q16hnjlg7bz2bbkf8chld4cyf8clnflzvsj"))))
    (properties `((upstream-name . "RCGLS")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp r-rcurl r-raster r-ncdf4))
    (home-page "https://cran.r-project.org/package=RCGLS")
    (synopsis
     "Download and Open Data Provided by the Copernicus Global Land Service")
    (description
     "Download and open manifest files provided by the Copernicus Global Land Service
data <https://land.copernicus.eu/global/>.  The manifest files are available at:
<https://land.copernicus.vgt.vito.be/manifest/>.  Also see:
<https://land.copernicus.eu/global/access/>.  Before you can download the data,
you will first need to register to create a username and password.")
    (license license:expat)))

(define-public r-rcexttools
  (package
    (name "r-rcexttools")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcextTools" version))
       (sha256
        (base32 "1rrij4ryspff9mn1c3jlzjprnipak7nzlb488pk0ci0awaccp5ga"))))
    (properties `((upstream-name . "RcextTools")))
    (build-system r-build-system)
    (propagated-inputs (list r-visnetwork r-sqldf r-igraph r-data-table))
    (home-page "http://github.com/brunomssmelo/RcextTools/")
    (synopsis
     "Analytical Procedures in Support of Brazilian Public Sector External Auditing")
    (description
     "Set of analytical procedures based on advanced data analysis in support of
Brazil's public sector external control activity.")
    (license license:gpl2+)))

(define-public r-rcereal
  (package
    (name "r-rcereal")
    (version "1.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcereal" version))
       (sha256
        (base32 "1zp6dsfwrpyy2iycybjlx34kn79236ack3b60kz77rjrz4m8h2vd"))))
    (properties `((upstream-name . "Rcereal")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/wush978/Rcereal/")
    (synopsis "\"Cereal Headers for R and C++ Serialization\"")
    (description
     "To facilitate using cereal with R via cpp11 or Rcpp'.  cereal is a header-only
C++11 serialization library.  cereal takes arbitrary data types and reversibly
turns them into different representations, such as compact binary encodings,
XML', or JSON'.  cereal was designed to be fast, light-weight, and easy to
extend - it has no external dependencies and can be easily bundled with other
code or used standalone.  Please see <https://uscilab.github.io/cereal/> for
more information.")
    (license license:bsd-2)))

(define-public r-rcens
  (package
    (name "r-rcens")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcens" version))
       (sha256
        (base32 "13g99c3w6b1j8g3s6llsk9qx4pfldjf6di9l25a4qlljk1n4r1ar"))))
    (properties `((upstream-name . "rcens")))
    (build-system r-build-system)
    (home-page "https://github.com/dlsaavedra/rcens")
    (synopsis "Generate Sample Censoring")
    (description
     "This package provides functions to generate censored samples of type I, II and
III, from any random sample generator.  It also supplies the option to create
left and right censorship.  Along with this, the generation of samples with
interval censoring is in the testing phase, with two options of fixed length
intervals and random lengths.")
    (license license:expat)))

(define-public r-rceim
  (package
    (name "r-rceim")
    (version "0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCEIM" version))
       (sha256
        (base32 "1kil5r88b6lf8vxmswz0wn0hhjxjm8jmlcl5kxjwl6fwjyy2z120"))))
    (properties `((upstream-name . "RCEIM")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RCEIM")
    (synopsis "R Cross Entropy Inspired Method for Optimization")
    (description
     "An implementation of a stochastic heuristic method for performing
multidimensional function optimization.  The method is inspired in the
Cross-Entropy Method.  It does not relies on derivatives, neither imposes
particularly strong requirements into the function to be optimized.
Additionally, it takes profit from multi-core processing to enable optimization
of time-consuming functions.")
    (license license:gpl2+)))

(define-public r-rcdt
  (package
    (name "r-rcdt")
    (version "1.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCDT" version))
       (sha256
        (base32 "1k27kydqzxqdhjbygq5a8mdhwlvbc32j1hg4vr223rwwc94864w6"))))
    (properties `((upstream-name . "RCDT")))
    (build-system r-build-system)
    (propagated-inputs (list r-rvcg
                             r-rgl
                             r-rcpparmadillo
                             r-rcpp
                             r-polychrome
                             r-gplots
                             r-colorsgen
                             r-bh))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/stla/RCDT")
    (synopsis "Fast 2D Constrained Delaunay Triangulation")
    (description
     "This package performs 2D Delaunay triangulation, constrained or unconstrained,
with the help of the C++ library CDT'.  A function to plot the triangulation is
provided.  The constrained Delaunay triangulation has applications in geographic
information systems.")
    (license license:gpl3)))

(define-public r-rcdklibs
  (package
    (name "r-rcdklibs")
    (version "2.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcdklibs" version))
       (sha256
        (base32 "1hdln6530xs8jinshn78gcmpi6dbidn9hfy0rspmnp7k242av4gg"))))
    (properties `((upstream-name . "rcdklibs")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjava))
    (home-page "https://cdk-r.github.io/rcdklibs/")
    (synopsis "The CDK Libraries Packaged for R")
    (description
     "An R interface to the Chemistry Development Kit, a Java library for
chemoinformatics.  Given the size of the library itself, this package is not
expected to change very frequently.  To make use of the CDK within R, it is
suggested that you use the rcdk package.  Note that it is possible to directly
interact with the CDK using @code{rJava}'.  However rcdk exposes functionality
in a more idiomatic way.  The CDK library itself is released as LGPL and the
sources can be obtained from <https://github.com/cdk/cdk>.")
    (license license:lgpl2.0+)))

(define-public r-rcdk
  (package
    (name "r-rcdk")
    (version "3.8.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcdk" version))
       (sha256
        (base32 "15dwjrnw0zdkck56gs2282gw5fvzqimhhjyrryh1rdnvvqsbj9i7"))))
    (properties `((upstream-name . "rcdk")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-rjava
                             r-rcdklibs
                             r-png
                             r-itertools
                             r-iterators
                             r-fingerprint))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rcdk")
    (synopsis "Interface to the 'CDK' Libraries")
    (description
     "Allows the user to access functionality in the CDK', a Java framework for
chemoinformatics.  This allows the user to load molecules, evaluate
fingerprints, calculate molecular descriptors and so on.  In addition, the CDK
API allows the user to view structures in 2D.")
    (license license:lgpl2.0+)))

(define-public r-rcdea
  (package
    (name "r-rcdea")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcDEA" version))
       (sha256
        (base32 "012l9l61p3mw38fk3y3rcfjjjj9ds5kb1v2cwfvad2il5w6s9smv"))))
    (properties `((upstream-name . "rcDEA")))
    (build-system r-build-system)
    (propagated-inputs (list r-np r-benchmarking))
    (home-page "https://cran.r-project.org/package=rcDEA")
    (synopsis "Robust and Conditional Data Envelopment Analysis (DEA)")
    (description
     "With this package we provide an easy method to compute robust and conditional
Data Envelopment Analysis (DEA), Free Disposal Hull (FDH) and Benefit of the
Doubt (BOD) scores.  The robust approach is based on the work of Cazals, Florens
and Simar (2002) <doi:10.1016/S0304-4076(01)00080-X>.  The conditional approach
is based on Daraio and Simar (2007) <doi:10.1007/s11123-007-0049-3>.  Besides we
provide graphs to help with the choice of m.  We relay on the Benchmarking
package to compute the efficiency scores and on the np package to compute non
parametric estimation of similarity among units.")
    (license license:gpl2)))

(define-public r-rccpca
  (package
    (name "r-rccpca")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCCPCA" version))
       (sha256
        (base32 "0nix6d8cxi64qfnsk00rpzq9kf07a5skc8zkvywl2y2aw6wrlvnd"))))
    (properties `((upstream-name . "RCCPCA")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RCCPCA")
    (synopsis
     "\"Retained Component Criterion for Principal Component Analysis\"")
    (description
     "The RCC_PCA criterion is a tool to determine the optimal number of components to
retain in PCA;See Alshammri (2021).")
    (license license:gpl2)))

(define-public r-rccola
  (package
    (name "r-rccola")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rccola" version))
       (sha256
        (base32 "0i846y9l3il2y38g32cifwysca06iakqd6vs15fcwqnzm8g0sg5j"))))
    (properties `((upstream-name . "rccola")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml r-redcapapi r-keyring r-getpass))
    (home-page "https://github.com/spgarbet/rccola")
    (synopsis
     "Safely Manage API Keys and Load Data from a REDCap or Other Source")
    (description
     "The handling of an API key (misnomer for password) for protected data can be
difficult.  This package provides secure convenience functions for entering /
handling API keys and pulling data directly into memory.  By default it will
load from REDCap instances, but other sources are injectable via inversion of
control.")
    (license license:gpl3)))

(define-public r-rcccd
  (package
    (name "r-rcccd")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcccd" version))
       (sha256
        (base32 "0wyh4ijiy0mm7alfkz06hnkgya87npxgz33zpaarb3phkkzjhcs2"))))
    (properties `((upstream-name . "rcccd")))
    (build-system r-build-system)
    (propagated-inputs (list r-rfast r-rcpparmadillo r-rcpp r-rann r-proxy))
    (home-page "https://cran.r-project.org/package=rcccd")
    (synopsis "Class Cover Catch Digraph Classification")
    (description
     "Fit Class Cover Catch Digraph Classification models that can be used in machine
learning.  Pure and proper and random walk approaches are available.  Methods
are explained in Priebe et al. (2001) <doi:10.1016/S0167-7152(01)00129-8>,
Priebe et al. (2003) <doi:10.1007/s00357-003-0003-7>, and Manukyan and Ceyhan
(2016) <doi:10.48550/@code{arXiv.1904.04564>}.")
    (license license:expat)))

(define-public r-rcc
  (package
    (name "r-rcc")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcc" version))
       (sha256
        (base32 "0a77d54c9qahhsjzpa0436ddsj4j44013r7rbxm0fjz04c0d2921"))))
    (properties `((upstream-name . "rcc")))
    (build-system r-build-system)
    (home-page "http://github.com/jean997/rcc")
    (synopsis "Parametric Bootstrapping to Control Rank Conditional Coverage")
    (description
     "This package provides functions to implement the parametric and non-parametric
bootstrap confidence interval methods described in Morrison and Simon (2017)
<@code{arXiv:1702.06986>}.")
    (license license:gpl2+)))

(define-public r-rcbsubset
  (package
    (name "r-rcbsubset")
    (version "1.1.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcbsubset" version))
       (sha256
        (base32 "0k4jgjwq0mxpxs43010j5ija8hqzwcdqljzxdymji5ndcd2gvwig"))))
    (properties `((upstream-name . "rcbsubset")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlemon r-rcbalance r-plyr r-mass))
    (home-page "https://cran.r-project.org/package=rcbsubset")
    (synopsis "Optimal Subset Matching with Refined Covariate Balance")
    (description
     "This package provides tools for optimal subset matching of treated units and
control units in observational studies, with support for refined covariate
balance constraints, (including fine and near-fine balance as special cases).  A
close relative is the rcbalance package.  See Pimentel, et al.(2015)
<doi:10.1080/01621459.2014.997879> and Pimentel and Kelz (2020)
<doi:10.1080/01621459.2020.1720693>.  The rrelaxiv package, which provides an
alternative solver for the underlying network flow problems, carries an academic
license and is not available on CRAN, but may be downloaded from Github at
<https://github.com/josherrickson/rrelaxiv/>.")
    (license license:expat)))

(define-public r-rcbr
  (package
    (name "r-rcbr")
    (version "0.6.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCBR" version))
       (sha256
        (base32 "08rcnvdbavcww2cpl052ca93lbzkza7q6jlr4namdpzmf22z7bma"))))
    (properties `((upstream-name . "RCBR")))
    (build-system r-build-system)
    (propagated-inputs (list r-rmosek
                             r-rebayes
                             r-orthopolynom
                             r-mvtnorm
                             r-matrix
                             r-formula))
    (home-page "https://www.r-project.org")
    (synopsis "Random Coefficient Binary Response Estimation")
    (description
     "Nonparametric maximum likelihood estimation methods for random coefficient
binary response models and some related functionality for sequential processing
of hyperplane arrangements.  See J. Gu and R. Koenker (2020)
<DOI:10.1080/01621459.2020.1802284>.")
    (license license:gpl2+)))

(define-public r-rcbayes
  (package
    (name "r-rcbayes")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcbayes" version))
       (sha256
        (base32 "1qwbpx9snqgaz7gshvyhq9ylsf59grjhx56f7cnq25h2f76km9cc"))))
    (properties `((upstream-name . "rcbayes")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidybayes
                             r-tibble
                             r-stanheaders
                             r-shinythemes
                             r-shiny
                             r-rstantools
                             r-rstan
                             r-rlang
                             r-rdpack
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-magrittr
                             r-dplyr
                             r-bh))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rcbayes")
    (synopsis
     "Estimate Rogers-Castro Migration Age Schedules with Bayesian Models")
    (description
     "This package provides a collection of functions to estimate Rogers-Castro
migration age schedules using Stan'.  This model which describes the fundamental
relationship between migration and age in the form of a flexible
multi-exponential migration model was most notably proposed in Rogers and Castro
(1978) <doi:10.1068/a100475>.")
    (license license:expat)))

(define-public r-rcbalance
  (package
    (name "r-rcbalance")
    (version "1.8.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcbalance" version))
       (sha256
        (base32 "1kxy3nv9f3qk5azp8d6khd7skk9m4704mdimgzabrndrlb5ihyw8"))))
    (properties `((upstream-name . "rcbalance")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlemon r-plyr r-mass))
    (home-page "https://cran.r-project.org/package=rcbalance")
    (synopsis "Large, Sparse Optimal Matching with Refined Covariate Balance")
    (description
     "This package provides tools for large, sparse optimal matching of treated units
and control units in observational studies.  Provisions are made for refined
covariate balance constraints, which include fine and near-fine balance as
special cases.  Matches are optimal in the sense that they are computed as
solutions to network optimization problems rather than greedy algorithms.  See
Pimentel, et al.(2015) <doi:10.1080/01621459.2014.997879> and Pimentel (2016),
Obs.  Studies 2(1):4-23.  The rrelaxiv package, which provides an alternative
solver for the underlying network flow problems, carries an academic license and
is not available on CRAN, but may be downloaded from Github at
<https://github.com/josherrickson/rrelaxiv/>.")
    (license license:expat)))

(define-public r-rcba
  (package
    (name "r-rcba")
    (version "0.4.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rCBA" version))
       (sha256
        (base32 "10rc08gwsf15f4lci8bbgwpwj8n7k1m23hxk633v68g9amla5nvx"))))
    (properties `((upstream-name . "rCBA")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-tunepareto r-rjava r-r-utils r-arules))
    (home-page "https://github.com/jaroslav-kuchar/rCBA")
    (synopsis "CBA Classifier")
    (description
     "This package provides implementations of a classifier based on the
\"Classification Based on Associations\" (CBA).  It can be used for building
classification models from association rules.  Rules are pruned in the order of
precedence given by the sort criteria and a default rule is added.  The final
classifier labels provided instances.  CBA was originally proposed by Liu, B.
Hsu, W. and Ma, Y. Integrating Classification and Association Rule Mining.
Proceedings KDD-98, New York, 27-31 August.  AAAI. pp80-86 (1998,
ISBN:1-57735-070-7).")
    (license license:asl2.0)))

(define-public r-rcausim
  (package
    (name "r-rcausim")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcausim" version))
       (sha256
        (base32 "1h1ml452xc8m1mzz2y915x9vzyykq6wgfbayabdjk14k2w6n1a0n"))))
    (properties `((upstream-name . "rcausim")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-purrr r-magrittr r-igraph r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rcausim")
    (synopsis "Generate Causally-Simulated Data")
    (description
     "Generate causally-simulated data to serve as ground truth for evaluating methods
in causal discovery and effect estimation.  The package provides tools to assist
in defining functions based on specified edges, and conversely, defining edges
based on functions.  It enables the generation of data according to these
predefined functions and causal structures.  This is particularly useful for
researchers in fields such as artificial intelligence, statistics, biology,
medicine, epidemiology, economics, and social sciences, who are developing a
general or a domain-specific methods to discover causal structures and estimate
causal effects.  Data simulation adheres to principles of structural causal
modeling.  Detailed methodologies and examples are documented in our vignette,
available at
<https://htmlpreview.github.io/?https://github.com/herdiantrisufriyana/rcausim/blob/master/doc/causal_simulation_exemplar.html>.")
    (license license:gpl3)))

(define-public r-rcausalegm
  (package
    (name "r-rcausalegm")
    (version "0.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RcausalEGM" version))
       (sha256
        (base32 "089mgi96p4dv7ja629mz5d0ij488y6fi84x73fdq67xars6abqla"))))
    (properties `((upstream-name . "RcausalEGM")))
    (build-system r-build-system)
    (propagated-inputs (list r-reticulate))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/SUwonglab/CausalEGM")
    (synopsis
     "General Causal Inference Framework by Encoding Generative Modeling")
    (description
     "@code{CausalEGM} is a general causal inference framework for estimating causal
effects by encoding generative modeling, which can be applied in both discrete
and continuous treatment settings.  A description of the methods is given in Liu
(2022) <@code{arXiv:2212.05925>}.")
    (license license:expat)))

(define-public r-rcatch22
  (package
    (name "r-rcatch22")
    (version "0.2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcatch22" version))
       (sha256
        (base32 "1lj8md9s9c56w26h2sapvvzlxhgdxwb41xs75fcxzj3mdzvm1ywl"))))
    (properties `((upstream-name . "Rcatch22")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rcatch22")
    (synopsis "Calculation of 22 Canonical Time-Series Characteristics")
    (description
     "Calculate 22 summary statistics coded in C on time-series vectors to enable
pattern detection, classification, and regression applications in the feature
space as proposed by <doi:10.1007/s10618-019-00647-x>.")
    (license license:gpl3)))

(define-public r-rcartocolor
  (package
    (name "r-rcartocolor")
    (version "2.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcartocolor" version))
       (sha256
        (base32 "0lqipmrcvgjlh7ya4r3vf7qiypc2pwgqcxzmg4xmb5h5p5l37cq0"))))
    (properties `((upstream-name . "rcartocolor")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales r-ggplot2))
    (home-page "https://github.com/Nowosad/rcartocolor")
    (synopsis "'CARTOColors' Palettes")
    (description
     "This package provides color schemes for maps and other graphics designed by
CARTO as described at <https://carto.com/carto-colors/>.  It includes four types
of palettes: aggregation, diverging, qualitative, and quantitative.")
    (license license:expat)))

(define-public r-rcarbon
  (package
    (name "r-rcarbon")
    (version "1.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcarbon" version))
       (sha256
        (base32 "0wgf0jia5iwa7v1aln80521rj1q7rhx3l9rpf3df3za73kn4z7gm"))))
    (properties `((upstream-name . "rcarbon")))
    (build-system r-build-system)
    (propagated-inputs (list r-spatstat-model
                             r-spatstat-linnet
                             r-spatstat-geom
                             r-spatstat-explore
                             r-spatstat
                             r-snow
                             r-sf
                             r-knitr
                             r-iterators
                             r-foreach
                             r-dosnow))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ahb108/rcarbon/")
    (synopsis "Calibration and Analysis of Radiocarbon Dates")
    (description
     "Enables the calibration and analysis of radiocarbon dates, often but not
exclusively for the purposes of archaeological research.  It includes functions
not only for basic calibration, uncalibration, and plotting of one or more
dates, but also a statistical framework for building demographic and related
longitudinal inferences from aggregate radiocarbon date lists, including:
Monte-Carlo simulation test (Timpson et al 2014
<doi:10.1016/j.jas.2014.08.011>), random mark permutation test (Crema et al 2016
<doi:10.1371/journal.pone.0154809>) and spatial permutation tests (Crema, Bevan,
and Shennan 2017 <doi:10.1016/j.jas.2017.09.007>).")
    (license license:gpl2+)))

(define-public r-rcarb
  (package
    (name "r-rcarb")
    (version "0.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCarb" version))
       (sha256
        (base32 "0p4g41jsyy0kq8v1pva5463cass2924j6i1l5r665pzxya1w5n8p"))))
    (properties `((upstream-name . "RCarb")))
    (build-system r-build-system)
    (propagated-inputs (list r-matrixstats r-interp))
    (native-inputs (list r-r-rsp))
    (home-page "https://r-lum.github.io/RCarb/")
    (synopsis "Dose Rate Modelling of Carbonate-Rich Samples")
    (description
     "Translation of the MATLAB program Carb (Nathan and Mauz 2008
<DOI:10.1016/j.radmeas.2007.12.012>; Mauz and Hoffmann 2014) for dose rate
modelling for carbonate-rich samples in the context of trapped charged dating
(e.g., luminescence dating) applications.")
    (license license:gpl3)))

(define-public r-rcapture
  (package
    (name "r-rcapture")
    (version "1.4-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcapture" version))
       (sha256
        (base32 "0yihjgpmq9agws1b0s3n9s1pdvw1wjfpcyvr8536v4ypfgkmjbcr"))))
    (properties `((upstream-name . "Rcapture")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=Rcapture")
    (synopsis "Loglinear Models for Capture-Recapture Experiments")
    (description
     "Estimation of abundance and other demographic parameters for closed populations,
open populations and the robust design in capture-recapture experiments using
loglinear models.")
    (license license:gpl2)))

(define-public r-rcan
  (package
    (name "r-rcan")
    (version "1.3.91")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rcan" version))
       (sha256
        (base32 "1himszrwppswwi7ghjs9v4yim55ia4qgi9lphdibgnz8x9bwk2li"))))
    (properties `((upstream-name . "Rcan")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales r-ggplot2 r-data-table))
    (home-page "https://github.com/timat35/Rcan")
    (synopsis "Cancer Registry Data Analysis and Visualisation")
    (description
     "This package provides tools for basic and advance cancer statistics and
graphics.  Groups individual data, merges registry data and population data,
calculates age-specific rate, age-standardized rate, cumulative risk, estimated
annual percentage rate with standards error.  Creates graphics across variable
and time, such as age-specific trends, bar chart and period-cohort trends.")
    (license license:gpl2+)))

(define-public r-rcali
  (package
    (name "r-rcali")
    (version "0.3.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCALI" version))
       (sha256
        (base32 "1w9g5wph5l6agrlzrb8axv4ldv4aid745vkm1r5ndsmssrbgf7v9"))))
    (properties `((upstream-name . "RCALI")))
    (build-system r-build-system)
    (propagated-inputs (list r-splancs))
    (home-page "https://gitlab.paca.inrae.fr/biosp/RCALI")
    (synopsis
     "Calculation of the Integrated Flow of Particles Between Polygons")
    (description
     "Calculate the flow of particles between polygons by two integration methods:
integration by a cubature method and integration on a grid of points.  Annie
Bouvier, Kien Kieu, Kasia Adamczyk and Herve Monod (2009)
<doi:10.1016/j.envsoft.2008.11.006>.")
    (license license:gpl3)))

(define-public r-rcal
  (package
    (name "r-rcal")
    (version "2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCAL" version))
       (sha256
        (base32 "1k58im8dclyaqqcqm6v9618rlh8jkp74j7ly2lvqfb9jm0wgkx8h"))))
    (properties `((upstream-name . "RCAL")))
    (build-system r-build-system)
    (propagated-inputs (list r-trust))
    (home-page "http://www.stat.rutgers.edu/~ztan")
    (synopsis "Regularized Calibrated Estimation")
    (description
     "Regularized calibrated estimation for causal inference and missing-data problems
with high-dimensional data, based on Tan (2020a) <doi:10.1093/biomet/asz059>,
Tan (2020b) <doi:10.1214/19-AOS1824> and Sun and Tan (2020)
<@code{arXiv:2009.09286>}.")
    (license license:gpl2+)))

(define-public r-rcaiman
  (package
    (name "r-rcaiman")
    (version "1.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcaiman" version))
       (sha256
        (base32 "1zhs56my1229826ilxfdm5vdgw2n8vql3flmj64604fsyjsnv833"))))
    (properties `((upstream-name . "rcaiman")))
    (build-system r-build-system)
    (propagated-inputs (list r-testthat
                             r-terra
                             r-spatial
                             r-rdpack
                             r-pracma
                             r-magrittr
                             r-lidr
                             r-filenamer
                             r-colorspace))
    (home-page "https://cran.r-project.org/package=rcaiman")
    (synopsis "CAnopy IMage ANalysis")
    (description
     "Classify hemispherical photographs of the plant canopy with algorithms specially
developed for such a task and well documented in DÃ­az and Lencinas (2015)
<doi:10.1109/lgrs.2015.2425931> and DÃ­az and Lencinas (2018)
<doi:10.1139/cjfr-2018-0006>.  It supports non-circular hemispherical
photography, such as those acquired with 15mm lenses or with auxiliary fish-eye
lenses attached to mobile devices.  For smartphone-based hemispherical
photography see DÃ­az (2023) <doi:10.1111/2041-210x.14059>.  Most of the
functions also support restricted view photography.")
    (license license:gpl3)))

(define-public r-rca
  (package
    (name "r-rca")
    (version "2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RCA" version))
       (sha256
        (base32 "0pidb5czrf0dc3ywy6cwm5akgsc62pvf94kfyxibzmd1favykx1h"))))
    (properties `((upstream-name . "RCA")))
    (build-system r-build-system)
    (propagated-inputs (list r-igraph r-gplots))
    (home-page "https://cran.r-project.org/package=RCA")
    (synopsis "Relational Class Analysis")
    (description
     "Relational Class Analysis (RCA) is a method for detecting heterogeneity in
attitudinal data (as described in Goldberg A., 2011, Am.  J. Soc, 116(5)).")
    (license license:gpl2+)))

(define-public r-rbyexample
  (package
    (name "r-rbyexample")
    (version "0.0.100")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RbyExample" version))
       (sha256
        (base32 "1fawkazrwsl4wl3lz8izbykz2qqh753s2zx6n22nchhsg5v3ndqs"))))
    (properties `((upstream-name . "RbyExample")))
    (build-system r-build-system)
    (home-page "https://github.com/mariarizzo/RbyExample")
    (synopsis "Data for the Book \"R by Example\"")
    (description
     "Data for the examples and exercises in the book \"R by Example\".  Jim Albert and
Maria Rizzo (2012, ISBN 978-1-4614-1365-3).")
    (license license:gpl2+)))

(define-public r-rbw
  (package
    (name "r-rbw")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbw" version))
       (sha256
        (base32 "12kldcx858gigd9sfki73rgg61smk7qcb43lx7z2r5y9dr0mwaa7"))))
    (properties `((upstream-name . "rbw")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-dplyr))
    (home-page "https://github.com/xiangzhou09/rbw")
    (synopsis "Residual Balancing Weights for Marginal Structural Models")
    (description
     "Residual balancing is a robust method of constructing weights for marginal
structural models, which can be used to estimate (a) the average treatment
effect in a cross-sectional observational study, (b) controlled direct/mediator
effects in causal mediation analysis, and (c) the effects of time-varying
treatments in panel data (Zhou and Wodtke 2020 <doi:10.1017/pan.2020.2>).  This
package provides three functions, @code{rbwPoint}(), @code{rbwMed}(), and
@code{rbwPanel}(), that produce residual balancing weights for estimating (a),
(b), (c), respectively.")
    (license license:gpl3+)))

(define-public r-rbtt
  (package
    (name "r-rbtt")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbtt" version))
       (sha256
        (base32 "1gbsb0vmqxcl28c5nn0rz95bxrvl7i0b17lq90cj5ahbk6x9jblz"))))
    (properties `((upstream-name . "rbtt")))
    (build-system r-build-system)
    (propagated-inputs (list r-data-table))
    (home-page "https://cran.r-project.org/package=rbtt")
    (synopsis
     "Alternative Bootstrap-Based t-Test Aiming to Reduce Type-I Error for Non-Negative, Zero-Inflated Data")
    (description
     "Tu & Zhou (1999)
<doi:10.1002/(SICI)1097-0258(19991030)18:20%3C2749::AID-SIM195%3E3.0.CO;2-C>
showed that comparing the means of populations whose data-generating
distributions are non-negative with excess zero observations is a problem of
great importance in the analysis of medical cost data.  In the same study, Tu &
Zhou discuss that it can be difficult to control type-I error rates of
general-purpose statistical tests for comparing the means of these particular
data sets.  This package allows users to perform a modified bootstrap-based
t-test that aims to better control type-I error rates in these situations.")
    (license (list license:gpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rbtest
  (package
    (name "r-rbtest")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RBtest" version))
       (sha256
        (base32 "09da721zfj6cw4i9gifn5f0sv3nj0qfjb96c5w9g9gzx55ihssnk"))))
    (properties `((upstream-name . "RBtest")))
    (build-system r-build-system)
    (propagated-inputs (list r-psych r-nnet r-mice))
    (home-page "https://cran.r-project.org/package=RBtest")
    (synopsis "Regression-Based Approach for Testing the Type of Missing Data")
    (description
     "The regression-based (RB) approach is a method to test the missing data
mechanism.  This package contains two functions that test the type of missing
data (Missing Completely At Random vs Missing At Random) on the basis of the RB
approach.  The first function applies the RB approach independently on each
variable with missing data, using the completely observed variables only.  The
second function tests the missing data mechanism globally (on all variables with
missing data) with the use of all available information.  The algorithm is
adapted both to continuous and categorical data.")
    (license license:gpl3)))

(define-public r-rbtc
  (package
    (name "r-rbtc")
    (version "0.1-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbtc" version))
       (sha256
        (base32 "1z5p1jn5b0hzwcbdpiwj224h45x01bbsgkskllir5j13l416561p"))))
    (properties `((upstream-name . "rbtc")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjson r-openssl r-httr r-gmp))
    (home-page "https://cran.r-project.org/package=rbtc")
    (synopsis "Bitcoin API")
    (description
     "Implementation of the RPC-JSON API for Bitcoin and utility functions for address
creation and content analysis of the blockchain.")
    (license license:gpl3)))

(define-public r-rbscci
  (package
    (name "r-rbscci")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbscCI" version))
       (sha256
        (base32 "13cfk4i4h5m9js9q1pp7m5jxgf883qj6466s5847cqkqp1p5yyhn"))))
    (properties `((upstream-name . "rbscCI")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (home-page "https://cran.r-project.org/package=rbscCI")
    (synopsis "Blyth-Still-Casella Confidence Interval")
    (description
     "This package provides a fast calculation of the Blyth-Still-Casella confidence
interval.  The implementation follows the @code{StatXact} 9 manual (Cytel 2010)
and \"Refining Binomial Confidence Intervals\" by George Casella (1986)
<doi:10.2307/3314658>.")
    (license license:gpl3+)))

(define-public r-rbridge
  (package
    (name "r-rbridge")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbridge" version))
       (sha256
        (base32 "0m4c61rdrhq1jw3rwq2ld29g5dchbk4sfpnq0wmwbvzhdjq76plc"))))
    (properties `((upstream-name . "rbridge")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-matrix r-dplyr))
    (home-page "https://cran.r-project.org/package=rbridge")
    (synopsis "Restricted Bridge Estimation")
    (description
     "Bridge Regression estimation with linear restrictions defined in Yuzbasi et al.
(2019) <@code{arXiv:1910.03660>}.  Special cases of this approach fit the
restricted LASSO, restricted RIDGE and restricted Elastic Net estimators.")
    (license license:gpl3)))

(define-public r-rbpcurve
  (package
    (name "r-rbpcurve")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RBPcurve" version))
       (sha256
        (base32 "0zkfvnhm780vid4qqdrx9mnc6jxxrmrnq47pqvk35rm3m4l96782"))))
    (properties `((upstream-name . "RBPcurve")))
    (build-system r-build-system)
    (propagated-inputs (list r-teachingdemos r-shape r-mlr r-checkmate
                             r-bbmisc))
    (home-page "https://github.com/giuseppec/RBPcurve")
    (synopsis "The Residual-Based Predictiveness Curve")
    (description
     "The RBP curve is a visual tool to assess the performance of prediction models.")
    (license license:gpl3)))

(define-public r-rbounds
  (package
    (name "r-rbounds")
    (version "2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbounds" version))
       (sha256
        (base32 "0rp24s80fvf62il7prpyb90j8i8x1xy6k8jzn5prb88nnvspr2fi"))))
    (properties `((upstream-name . "rbounds")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rbounds")
    (synopsis
     "Perform Rosenbaum Bounds Sensitivity Tests for Matched and Unmatched Data")
    (description
     "Takes matched and unmatched data and calculates Rosenbaum bounds for the
treatment effect.  Calculates bounds for binary outcome data, Hodges-Lehmann
point estimates, Wilcoxon signed-rank test for matched data and matched IV
estimators, Wilcoxon sum rank test, and for data with multiple matched controls.
 The sensitivity analysis methods in this package are documented in Rosenbaum
(2002) Observational Studies, <doi:10.1007/978-1-4757-3692-2>, Springer-Verlag.")
    (license license:gpl2+)))

(define-public r-rborist
  (package
    (name "r-rborist")
    (version "0.3-7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rborist" version))
       (sha256
        (base32 "15i5aj7p3lwp7r84kv7i9jfhwbs8r1yn44shpm9gf17kwvwzw7h1"))))
    (properties `((upstream-name . "Rborist")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-digest r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/suiji/Rborist.CRAN")
    (synopsis
     "Extensible, Parallelizable Implementation of the Random Forest Algorithm")
    (description
     "Scalable implementation of classification and regression forests, as described
by Breiman (2001), <DOI:10.1023/A:1010933404324>.")
    (license (list (license:fsdg-compatible "MPL (>= 2)") license:gpl2+
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-rbooster
  (package
    (name "r-rbooster")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbooster" version))
       (sha256
        (base32 "0v524hjp3im94hbf6kbmi4xhqnak135mmpmq1sni1c97dqal2hqy"))))
    (properties `((upstream-name . "rbooster")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpart r-hmisc r-earth))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rbooster")
    (synopsis "AdaBoost Framework for Any Classifier")
    (description
     "This is a simple package which provides a function that boosts pre-ready or
custom-made classifiers.  Package uses Discrete @code{AdaBoost}
(<doi:10.1006/jcss.1997.1504>) and Real @code{AdaBoost}
(<doi:10.1214/aos/1016218223>) for two class, SAMME
(<doi:10.4310/SII.2009.v2.n3.a8>) and SAMME.R (<doi:10.4310/SII.2009.v2.n3.a8>)
for multiclass classification.")
    (license license:expat)))

(define-public r-rbnz
  (package
    (name "r-rbnz")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RBNZ" version))
       (sha256
        (base32 "11fdnc2pmw5nq3lswid078l307ln6853a3b9d383msvrkz6yms26"))))
    (properties `((upstream-name . "RBNZ")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-rvest r-readxl r-lubridate r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RBNZ")
    (synopsis "Download Data from the Reserve Bank of New Zealand Website")
    (description
     "This package provides a convenient way of accessing data published by the
Reserve Bank of New Zealand (RBNZ) on their website,
<https://www.rbnz.govt.nz/statistics>.  A range of financial and economic data
is provided in spreadsheet format including exchange and interest rates,
commercial lending statistics, Reserve Bank market operations, financial
institution statistics, household financial data, New Zealand debt security
information, and economic indicators.  This package provides a method to
download those spreadsheets and read them directly into R.")
    (license license:expat)))

(define-public r-rbmn
  (package
    (name "r-rbmn")
    (version "0.9-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbmn" version))
       (sha256
        (base32 "0z043fxvh8zzggi70dyqvybd55mcsnv15miiayhb8440vldiy8w6"))))
    (properties `((upstream-name . "rbmn")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass))
    (home-page "https://cran.r-project.org/package=rbmn")
    (synopsis "Handling Linear Gaussian Bayesian Networks")
    (description
     "Creation, manipulation, simulation of linear Gaussian Bayesian networks from
text files and more...")
    (license license:gpl2+)))

(define-public r-rbmi
  (package
    (name "r-rbmi")
    (version "1.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbmi" version))
       (sha256
        (base32 "0swc3vp6301kp5d9y488mp32p7k67hswg7x7gxsicg4991wvrcqz"))))
    (properties `((upstream-name . "rbmi")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6 r-pkgload r-mmrm r-matrix r-assertthat))
    (native-inputs (list r-r-rsp))
    (home-page "https://insightsengineering.github.io/rbmi/")
    (synopsis "Reference Based Multiple Imputation")
    (description
     "This package implements standard and reference based multiple imputation methods
for continuous longitudinal endpoints (Gower-Page et al. (2022)
<doi:10.21105/joss.04251>).  In particular, this package supports deterministic
conditional mean imputation and jackknifing as described in Wolbers et al.
(2022) <doi:10.1002/pst.2234>, Bayesian multiple imputation as described in
Carpenter et al. (2013) <doi:10.1080/10543406.2013.834911>, and bootstrapped
maximum likelihood imputation as described in von Hippel and Bartlett (2021)
<doi: 10.1214/20-STS793>.")
    (license (license:fsdg-compatible "Apache License (>= 2)"))))

(define-public r-rbmf
  (package
    (name "r-rbmf")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rBMF" version))
       (sha256
        (base32 "16yg1k7vv88q421nk1a70626c7c54bwnb3x7kiyxv2c0ha00f3g8"))))
    (properties `((upstream-name . "rBMF")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-matrix))
    (home-page "https://cran.r-project.org/package=rBMF")
    (synopsis "Boolean Matrix Factorization")
    (description
     "This package provides four boolean matrix factorization (BMF) methods.  BMF has
many applications like data mining and categorical data analysis.  BMF is also
known as boolean matrix decomposition (BMD) and was found to be an NP-hard
(non-deterministic polynomial-time) problem.  Currently implemented methods are
Asso Miettinen, Pauli and others (2008) <doi:10.1109/TKDE.2008.53>,
@code{GreConD} R. Belohlavek, V. Vychodil (2010)
<doi:10.1016/j.jcss.2009.05.002> , @code{GreConDPlus} R. Belohlavek, V. Vychodil
(2010) <doi:10.1016/j.jcss.2009.05.002> , @code{topFiberM} A. Desouki, M.
Roeder, A. Ngonga (2019) <@code{arXiv:1903.10326>}.")
    (license license:gpl3)))

(define-public r-rblt
  (package
    (name "r-rblt")
    (version "0.2.4.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rblt" version))
       (sha256
        (base32 "1abz6mzknyyii3bn8nxsfsikx2gp0960bhv506261va3p5ls4y1d"))))
    (properties `((upstream-name . "rblt")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-xts r-shiny r-hdf5r r-dygraphs r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/sg4r/rblt")
    (synopsis "Bio-Logging Toolbox")
    (description
     "An R-shiny application to visualize bio-loggers time series at a microsecond
precision as Acceleration, Temperature, Pressure, Light intensity.  It is
possible to link behavioral labels extracted from BORIS software
<http://www.boris.unito.it> or manually written in a csv file.")
    (license license:gpl3+)))

(define-public r-rblpapi
  (package
    (name "r-rblpapi")
    (version "0.3.15")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rblpapi" version))
       (sha256
        (base32 "02fjk0b7drsqfjxxiacvp3b9rvygbxnf1n1b9dc4n4jws2s0bnq1"))))
    (properties `((upstream-name . "Rblpapi")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-bh))
    (native-inputs (list r-simplermarkdown))
    (home-page "https://dirk.eddelbuettel.com/code/rblpapi.html")
    (synopsis "R Interface to 'Bloomberg'")
    (description "An R Interface to Bloomberg is provided via the Blp API'.")
    (license (license:fsdg-compatible "file://LICENSE"))))

(define-public r-rbldatalicense
  (package
    (name "r-rbldatalicense")
    (version "0.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RblDataLicense" version))
       (sha256
        (base32 "1nh8gw4c94zxfx5fhvgn9hg8nqb31r6gzjdmj22q0sbsrfq5adv5"))))
    (properties `((upstream-name . "RblDataLicense")))
    (build-system r-build-system)
    (propagated-inputs (list r-xts r-rcurl))
    (native-inputs (list r-knitr))
    (home-page "https://rbldatalicense.eguidotti.com")
    (synopsis "R Interface to 'Bloomberg Data License'")
    (description
     "R interface to access prices and market data with the Bloomberg Data License
service from <https://www.bloomberg.com/professional/product/data-license/>.  As
a prerequisite, a valid Data License from Bloomberg is needed together with the
corresponding SFTP credentials and whitelisting of the IP from which accessing
the service.  This software and its author are in no way affiliated, endorsed,
or approved by Bloomberg or any of its affiliates.  Bloomberg is a registered
trademark.")
    (license license:gpl3)))

(define-public r-rbit
  (package
    (name "r-rbit")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbit" version))
       (sha256
        (base32 "09ywr711gv0vgfims2vfcxk3rnd0iadzlksil0q9159yarapfc59"))))
    (properties `((upstream-name . "rbit")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6))
    (home-page "https://cran.r-project.org/package=rbit")
    (synopsis "Binary Indexed Tree")
    (description
     "This package provides a simple implementation of Binary Indexed Tree by R. The
@code{BinaryIndexedTree} class supports construction of Binary Indexed Tree from
a vector, update of a value in the vector and query for the sum of a interval of
the vector.")
    (license license:expat)))

(define-public r-rbiouml
  (package
    (name "r-rbiouml")
    (version "1.11")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbiouml" version))
       (sha256
        (base32 "1g1q6xc8x8y71ji75c5fl35sxxss964xmhcqlriybb5zc38m1dh0"))))
    (properties `((upstream-name . "rbiouml")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjsonio r-rcurl))
    (home-page "https://cran.r-project.org/package=rbiouml")
    (synopsis "Interact with BioUML Server")
    (description
     "This package provides functions for connecting to @code{BioUML} server, querying
@code{BioUML} repository and launching @code{BioUML} analyses.")
    (license license:gpl2)))

(define-public r-rbiom
  (package
    (name "r-rbiom")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbiom" version))
       (sha256
        (base32 "13nma1s3p4bzh8mvikrnmkqyyrx9axvxavq6fyk2w0j804w1qzcg"))))
    (properties `((upstream-name . "rbiom")))
    (build-system r-build-system)
    (propagated-inputs (list r-slam
                             r-rlang
                             r-rjson
                             r-rcppparallel
                             r-rcpp
                             r-r-utils
                             r-plyr
                             r-openxlsx
                             r-magrittr))
    (home-page "https://cmmr.github.io/rbiom/index.html")
    (synopsis "Read/Write, Transform, and Summarize 'BIOM' Data")
    (description
     "This package provides a toolkit for working with Biological Observation Matrix
('BIOM') files.  Features include reading/writing all BIOM formats, rarefaction,
alpha diversity, beta diversity (including @code{UniFrac}'), summarizing counts
by taxonomic level, and sample subsetting.  Standalone functions for reading,
writing, and subsetting phylogenetic trees are also provided.  All CPU intensive
operations are encoded in C with multi-thread support.")
    (license license:agpl3)))

(define-public r-rbioapi
  (package
    (name "r-rbioapi")
    (version "0.8.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbioapi" version))
       (sha256
        (base32 "1ijmdqmmshqb3f6gv8rp6liz31cj00nmady28jdxadpxpp1bp34k"))))
    (properties `((upstream-name . "rbioapi")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr))
    (native-inputs (list r-knitr))
    (home-page "https://rbioapi.moosa-r.com")
    (synopsis "User-Friendly R Interface to Biologic Web Services' API")
    (description
     "Currently fully supports Enrichr, JASPAR, @code{miEAA}, PANTHER, Reactome,
STRING, and @code{UniProt}! The goal of rbioapi is to provide a user-friendly
and consistent interface to biological databases and services.  In a way that
insulates the user from the technicalities of using web services API and creates
a unified and easy-to-use interface to biological and medical web services.
This is an ongoing project; New databases and services will be added
periodically.  Feel free to suggest any databases or services you often use.")
    (license license:gpl3)))

(define-public r-rbioacc
  (package
    (name "r-rbioacc")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbioacc" version))
       (sha256
        (base32 "0yz3mlkz6869rlg56m49bl5bq16gnmr69lznlvcsz7vmwli2ic4x"))))
    (properties `((upstream-name . "rbioacc")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-stringr
                             r-stanheaders
                             r-rstantools
                             r-rstan
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-loo
                             r-ggplot2
                             r-ggmcmc
                             r-ggally
                             r-bh))
    (native-inputs (list r-knitr))
    (home-page "https://gitlab.in2p3.fr/mosaic-software/rbioacc")
    (synopsis "Inference and Prediction of ToxicoKinetic (TK) Models")
    (description
     "The MOSAICbioacc application is a turnkey package providing bioaccumulation
factors (BCF/BMF/BSAF) from a toxicokinetic (TK) model fitted to
accumulation-depuration data.  It is designed to fulfil the requirements of
regulators when examining applications for market authorization of active
substances.  See Ratier et al. (2021) <doi:10.1101/2021.09.08.459421>.")
    (license license:expat)))

(define-public r-rbin
  (package
    (name "r-rbin")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbin" version))
       (sha256
        (base32 "18g6s4m0yc1bzrymk8km553kcwi4vj16b6mxw2lmv48z7243iq87"))))
    (properties `((upstream-name . "rbin")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2 r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rsquaredacademy/rbin")
    (synopsis "Tools for Binning Data")
    (description
     "Manually bin data using weight of evidence and information value.  Includes
other binning methods such as equal length, quantile and winsorized.  Options
for combining levels of categorical data are also available.  Dummy variables
can be generated based on the bins created using any of the available binning
methods.  References: Siddiqi, N. (2006) <doi:10.1002/9781119201731.biblio>.")
    (license license:expat)))

(define-public r-rbiascorrection
  (package
    (name "r-rbiascorrection")
    (version "0.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rBiasCorrection" version))
       (sha256
        (base32 "1ivxxw7jf1s95abjwc794mqklkvlgvgyyb6ii99x6mnga6flh11n"))))
    (properties `((upstream-name . "rBiasCorrection")))
    (build-system r-build-system)
    (propagated-inputs (list r-polynom
                             r-nls2
                             r-magrittr
                             r-ggplot2
                             r-future-apply
                             r-future
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/kapsner/rBiasCorrection")
    (synopsis "Correct Bias in DNA Methylation Analyses")
    (description
     "Implementation of the algorithms (with minor modifications) to correct bias in
quantitative DNA methylation analyses as described by Moskalev et al. (2011)
<doi:10.1093/nar/gkr213>.  Publication: Kapsner et al. (2021)
<doi:10.1002/ijc.33681>.")
    (license license:gpl3)))

(define-public r-rbi-helpers
  (package
    (name "r-rbi-helpers")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbi.helpers" version))
       (sha256
        (base32 "1qj5b9wwh40ni549l9xiarp7w5x9q5n22k413azjhnssm7799hbv"))))
    (properties `((upstream-name . "rbi.helpers")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-reshape2 r-rbi r-matrix r-lubridate
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://libbi.org")
    (synopsis "'rbi' Helper Functions")
    (description
     "This package contains a collection of helper functions to use with rbi', the R
interface to @code{LibBi}', described in Murray et al. (2015)
<doi:10.18637/jss.v067.i10>.  It contains functions to adapt the proposal
distribution and number of particles in particle Markov-Chain Monte Carlo, as
well as calculating the Deviance Information Criterion (DIC) and converting
between times in @code{LibBi} results and R time/dates.")
    (license license:gpl3)))

(define-public r-rbi
  (package
    (name "r-rbi")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbi" version))
       (sha256
        (base32 "19gmxwblj1lvdspxiwmyxcl6mp7b1xpabwgy69n9vndfzkwq2bmc"))))
    (properties `((upstream-name . "rbi")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-reshape2 r-processx r-ncdf4 r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/sbfnk/rbi")
    (synopsis "Interface to 'LibBi'")
    (description
     "This package provides a complete interface to @code{LibBi}', a library for
Bayesian inference (see <https://libbi.org> and Murray, 2015
<doi:10.18637/jss.v067.i10> for more information).  This includes functions for
manipulating @code{LibBi} models, for reading and writing @code{LibBi}
input/output files, for converting @code{LibBi} output to provide traces for use
with the coda package, and for running @code{LibBi} to conduct inference.")
    (license license:gpl3)))

(define-public r-rbgm
  (package
    (name "r-rbgm")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbgm" version))
       (sha256
        (base32 "0jw7p6l0il0fz5rq7ra731xzj06aqqvm9s1r0hwa4rd74lkg198n"))))
    (properties `((upstream-name . "rbgm")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp
                             r-sfheaders
                             r-rlang
                             r-reproj
                             r-raster
                             r-geosphere
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://research.csiro.au/atlantis/")
    (synopsis
     "Tools for 'Box Geometry Model' (BGM) Files and Topology for the Atlantis Ecosystem Model")
    (description
     "Facilities for working with Atlantis box-geometry model (BGM) files.  Atlantis
is a deterministic, biogeochemical, whole-of-ecosystem model.  Functions are
provided to read from BGM files directly, preserving their internal topology, as
well as helper functions to generate spatial data from these mesh forms.  This
functionality aims to simplify the creation and modification of box and geometry
as well as the ability to integrate with other data sources.")
    (license license:gpl3)))

(define-public r-rbf
  (package
    (name "r-rbf")
    (version "2.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RBF" version))
       (sha256
        (base32 "0hwf9hca2vlgkjjldmkn6xj85b9gy7ydfd3smqnkby1shdaz4dfm"))))
    (properties `((upstream-name . "RBF")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RBF")
    (synopsis "Robust Backfitting")
    (description
     "This package provides a robust backfitting algorithm for additive models based
on (robust) local polynomial kernel smoothers.  It includes both bounded and
re-descending (kernel) M-estimators, and it computes predictions for points
outside the training set if desired.  See Boente, Martinez and Salibian-Barrera
(2017) <doi:10.1080/10485252.2017.1369077> and Martinez and Salibian-Barrera
(2021) <doi:10.21105/joss.02992> for details.")
    (license license:gpl3+)))

(define-public r-rbeta2009
  (package
    (name "r-rbeta2009")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rBeta2009" version))
       (sha256
        (base32 "0ljzxlndn9ba36lh7s3k4biim2qkh2mw9c0kj22a507qbzw1vgnq"))))
    (properties `((upstream-name . "rBeta2009")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rBeta2009")
    (synopsis
     "The Beta Random Number and Dirichlet Random Vector Generating Functions")
    (description
     "The package contains functions to generate random numbers from the beta
distribution and random vectors from the Dirichlet distribution.")
    (license license:gpl2)))

(define-public r-rbest
  (package
    (name "r-rbest")
    (version "1.7-3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RBesT" version))
       (sha256
        (base32 "19bhn1j03qsmc20xndyls0ynhqbwb3kis6mxm7wh9k87zcm1lvla"))))
    (properties `((upstream-name . "RBesT")))
    (build-system r-build-system)
    (inputs (list pngquant pandoc))
    (propagated-inputs (list r-stanheaders
                             r-rstantools
                             r-rstan
                             r-rlang
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-mvtnorm
                             r-matrixstats
                             r-ggplot2
                             r-formula
                             r-dplyr
                             r-checkmate
                             r-bh
                             r-bayesplot
                             r-assertthat
                             r-abind))
    (native-inputs (list r-knitr))
    (home-page "https://opensource.nibr.com/RBesT/")
    (synopsis "R Bayesian Evidence Synthesis Tools")
    (description
     "Tool-set to support Bayesian evidence synthesis.  This includes meta-analysis,
(robust) prior derivation from historical data, operating characteristics and
analysis (1 and 2 sample cases).  Please refer to Weber et al. (2021)
<doi:10.18637/jss.v100.i19> for details on applying this package while
Neuenschwander et al. (2010) <doi:10.1177/1740774509356002> and Schmidli et al.
(2014) <doi:10.1111/biom.12242> explain details on the methodology.")
    (license license:gpl3+)))

(define-public r-rbent
  (package
    (name "r-rbent")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rbent" version))
       (sha256
        (base32 "0xkb57dhhfd3342rv0xwbhbhn4zp5fbfch84fbh0sickm09l9vrj"))))
    (properties `((upstream-name . "Rbent")))
    (build-system r-build-system)
    (propagated-inputs (list r-rfit))
    (home-page "http://arxiv.org/abs/1606.02234")
    (synopsis "Robust Bent Line Regression")
    (description
     "An implementation of robust bent line regression.  It can fit the bent line
regression and test the existence of change point, for the paper, \"Feipeng Zhang
and Qunhua Li (2016).  Robust bent line regression, submitted.\".")
    (license license:gpl2+)))

(define-public r-rbedrock
  (package
    (name "r-rbedrock")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbedrock" version))
       (sha256
        (base32 "0jyc7cikr86927ax3qhniv8injqwndzhr4bhd4yphh2sliv6ci8c"))))
    (properties `((upstream-name . "rbedrock")))
    (build-system r-build-system)
    (inputs (list zlib zlib cmake))
    (propagated-inputs (list r-vctrs
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-readr
                             r-rappdirs
                             r-r6
                             r-purrr
                             r-magrittr
                             r-fs
                             r-dplyr
                             r-digest
                             r-bit64))
    (home-page "https://github.com/reedacartwright/rbedrock")
    (synopsis
     "Analysis and Manipulation of Data from Minecraft Bedrock Edition")
    (description
     "This package implements an interface to Minecraft (Bedrock Edition) worlds.
Supports the analysis and management of these worlds and game saves.")
    (license license:expat)))

(define-public r-rbeast
  (package
    (name "r-rbeast")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rbeast" version))
       (sha256
        (base32 "0mwa4gqv3m9rvdja4spsh3bzyp9xyw2hlqs76pxyby581vaqa33j"))))
    (properties `((upstream-name . "Rbeast")))
    (build-system r-build-system)
    (home-page "https://github.com/zhaokg/Rbeast")
    (synopsis "Bayesian Change-Point Detection and Time Series Decomposition")
    (description
     "Interpretation of time series data is affected by model choices.  Different
models can give different or even contradicting estimates of patterns, trends,
and mechanisms for the same data--a limitation alleviated by the Bayesian
estimator of abrupt change,seasonality, and trend (BEAST) of this package.
BEAST seeks to improve time series decomposition by forgoing the
\"single-best-model\" concept and embracing all competing models into the
inference via a Bayesian model averaging scheme.  It is a flexible tool to
uncover abrupt changes (i.e., change-points, breakpoints, structural breaks, or
join-points), cyclic variations (e.g., seasonality), and nonlinear trends in
time-series observations.  BEAST not just tells when changes occur but also
quantifies how likely the detected changes are true.  It detects not just
piecewise linear trends but also arbitrary nonlinear trends.  BEAST is
applicable to real-valued time series data of all kinds, be it for remote
sensing, economics, climate sciences, ecology, and hydrology.  Example
applications include its use to identify regime shifts in ecological data, map
forest disturbance and land degradation from satellite imagery, detect market
trends in economic data, pinpoint anomaly and extreme events in climate data,
and unravel system dynamics in biological data.  Details on BEAST are reported
in Zhao et al. (2019) <doi:10.1016/j.rse.2019.04.034>.")
    (license license:gpl2+)))

(define-public r-rbe3
  (package
    (name "r-rbe3")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RBE3" version))
       (sha256
        (base32 "1spk6nxr9r5mim3lhps55zwdj22yqxmm01h19p87yravbnjq99wc"))))
    (properties `((upstream-name . "RBE3")))
    (build-system r-build-system)
    (propagated-inputs (list r-pracma r-gtools))
    (home-page "https://cran.r-project.org/package=RBE3")
    (synopsis
     "Estimation and Additional Tools for Quantile Generalized Beta Regression Model")
    (description
     "Provide estimation and data generation tools for the quantile generalized beta
regression model.  For details, see Bourguignon, Gallardo and Saulo
<@code{arXiv:2110.04428>} The package also provides tools to perform covariates
selection.")
    (license license:gpl2+)))

(define-public r-rbdat
  (package
    (name "r-rbdat")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rBDAT" version))
       (sha256
        (base32 "02s91p6nvxbm3wflvs75aln3zw0g6535sxrmzkhywcc9k3x63926"))))
    (properties `((upstream-name . "rBDAT")))
    (build-system r-build-system)
    (native-inputs (list r-knitr gfortran))
    (home-page "https://gitlab.com/vochr/rbdat")
    (synopsis "Implementation of BDAT Tree Taper Fortran Functions")
    (description
     "Implementing the BDAT tree taper Fortran routines, which were developed for the
German National Forest Inventory (NFI), to calculate diameters, volume,
assortments, double bark thickness and biomass for different tree species based
on tree characteristics and sorting information.  See Kublin (2003)
<doi:10.1046/j.1439-0337.2003.00183.x> for details.")
    (license license:bsd-2)))

(define-public r-rbch
  (package
    (name "r-rbch")
    (version "0.1-2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbch" version))
       (sha256
        (base32 "1zzcjfd5djk790gbdzv7y4zn7sjfr8400awp74qbqz7ismsc63z4"))))
    (properties `((upstream-name . "rbch")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-rjson r-openssl r-httr r-gmp))
    (home-page "https://github.com/Rucknium/rbch")
    (synopsis
     "Extraction and Analysis of Data from the Bitcoin Cash (BCH) Blockchain")
    (description
     "Issues RPC-JSON calls to bitcoind', the daemon of Bitcoin Cash (BCH), to extract
transaction data from the blockchain.  BCH is a fork of Bitcoin that permits a
greater number of transactions per second.  A BCH daemon is available under an
MIT license from the Bitcoin Unlimited website
<https://www.bitcoinunlimited.info>.")
    (license license:gpl3)))

(define-public r-rbcc
  (package
    (name "r-rbcc")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbcc" version))
       (sha256
        (base32 "1d828libsnrs94zz9zy6m9dr48vasbab2641806hhihq190hs98n"))))
    (properties `((upstream-name . "rbcc")))
    (build-system r-build-system)
    (propagated-inputs (list r-reshape2 r-qcc r-pracma r-pearsonds r-ggplot2))
    (home-page "https://github.com/kzst/rbcc")
    (synopsis "Risk-Based Control Charts")
    (description
     "Univariate and multivariate versions of risk-based control charts.  Univariate
versions of control charts, such as the risk-based version of X-bar, Moving
Average (MA), Exponentially Weighted Moving Average Control Charts (EWMA), and
Cumulative Sum Control Charts (CUSUM) charts.  The risk-based version of the
multivariate T2 control chart.  Plot and summary functions.  Kosztyan et.  al.
(2016) <doi:10.1016/j.eswa.2016.06.019>.")
    (license license:gpl2+)))

(define-public r-rbcb
  (package
    (name "r-rbcb")
    (version "0.1.14")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbcb" version))
       (sha256
        (base32 "1i6gxcz90r536sp9khafzb5lfbqymh61nvaancvl8jl8wqindxp4"))))
    (properties `((upstream-name . "rbcb")))
    (build-system r-build-system)
    (propagated-inputs (list r-xts
                             r-xml2
                             r-tibble
                             r-purrr
                             r-jsonlite
                             r-httr
                             r-digest))
    (home-page "https://github.com/wilsonfreitas/rbcb")
    (synopsis "R Interface to Brazilian Central Bank Web Services")
    (description
     "The Brazilian Central Bank API delivers many datasets which regard economic
activity, regional economy, international economy, public finances, credit
indicators and many more.  For more information please see
<http://dadosabertos.bcb.gov.br/>.  These datasets can be accessed through rbcb
functions and can be obtained in different data structures common to R
('tibble', data.frame', xts', ...).")
    (license license:expat)))

(define-public r-rbbnp
  (package
    (name "r-rbbnp")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbbnp" version))
       (sha256
        (base32 "0lpzccb645lbzplwq8rvxd9jx90k3wy70ijwx8c7gdpn9kxb13jr"))))
    (properties `((upstream-name . "rbbnp")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-purrr
                             r-pracma
                             r-gridextra
                             r-ggplot2
                             r-dplyr))
    (home-page "https://doi.org/10.1093/restud/rdz065")
    (synopsis "Bias Bound Approach to Non-Parametric Inference")
    (description
     "This package provides a novel bias-bound approach for non-parametric inference
is introduced, focusing on both density and conditional expectation estimation.
It constructs valid confidence intervals that account for the presence of a
non-negligible bias and thus make it possible to perform inference with optimal
mean squared error minimizing bandwidths.  This package is based on Schennach
(2020) <doi:10.1093/restud/rdz065>.")
    (license license:gpl3+)))

(define-public r-rbayesianoptimization
  (package
    (name "r-rbayesianoptimization")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rBayesianOptimization" version))
       (sha256
        (base32 "071317r3xbcvkckzvgiac786zi2cy7zbrknscj3r521kaki1rfaf"))))
    (properties `((upstream-name . "rBayesianOptimization")))
    (build-system r-build-system)
    (propagated-inputs (list r-magrittr r-gpfit r-foreach r-data-table))
    (home-page "https://github.com/yanyachen/rBayesianOptimization")
    (synopsis "Bayesian Optimization of Hyperparameters")
    (description
     "This package provides a Pure R implementation of Bayesian Global Optimization
with Gaussian Processes.")
    (license license:gpl2)))

(define-public r-rbasex
  (package
    (name "r-rbasex")
    (version "1.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RBaseX" version))
       (sha256
        (base32 "1f7lgfsxwqjplv8kk81sw3zmwqi9kxc8g328ylb2c2hiyq4fg49k"))))
    (properties `((upstream-name . "RBaseX")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-stringr
                             r-rex
                             r-rcurl
                             r-r6
                             r-pingr
                             r-openssl
                             r-magrittr
                             r-httr
                             r-dplyr
                             r-data-table))
    (home-page "https://github.com/BenEngbers/RBaseX")
    (synopsis "'BaseX' Client")
    (description
     "@code{BaseX} <https://basex.org> is a XML database engine and a compliant XQuery
3.1 processor with full support of W3C Update Facility'.  This package is a full
client-implementation of the client/server protocol for @code{BaseX} and
provides functionalities to create, manipulate and query on XML-data.")
    (license license:expat)))

(define-public r-rbahadur
  (package
    (name "r-rbahadur")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rBahadur" version))
       (sha256
        (base32 "1gqr70v5xklzncqrn72879yg10hjz059r4wsvq5hq9jf4gfaqsgz"))))
    (properties `((upstream-name . "rBahadur")))
    (build-system r-build-system)
    (home-page "https://github.com/rborder/rBahadur")
    (synopsis
     "Assortative Mating Simulation and Multivariate Bernoulli Variates")
    (description
     "Simulation of phenotype / genotype data under assortative mating.  Includes
functions for generating Bahadur order-2 multivariate Bernoulli variables with
general and diagonal-plus-low-rank correlation structures.  Further details are
provided in: Border and Malik (2022) <doi:10.1101/2022.10.13.512132>.")
    (license license:gpl3+)))

(define-public r-rbacon
  (package
    (name "r-rbacon")
    (version "3.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rbacon" version))
       (sha256
        (base32 "1zg4sy56cp2j7bq26ap83g63h7adzzmaaliyw7k75a58drkf5pxx"))))
    (properties `((upstream-name . "rbacon")))
    (build-system r-build-system)
    (propagated-inputs (list r-rintcal r-rice r-rcpp r-data-table r-coda))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rbacon")
    (synopsis "Age-Depth Modelling using Bayesian Statistics")
    (description
     "An approach to age-depth modelling that uses Bayesian statistics to reconstruct
accumulation histories for deposits, through combining radiocarbon and other
dates with prior information on accumulation rates and their variability.  See
Blaauw & Christen (2011).")
    (license license:gpl2+)))

(define-public r-rayvertex
  (package
    (name "r-rayvertex")
    (version "0.11.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rayvertex" version))
       (sha256
        (base32 "0xbhkv77238y742vpci6d2z87n6mnnp80qxv938rwb9hfs4c66j4"))))
    (properties `((upstream-name . "rayvertex")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-vctrs
                             r-tibble
                             r-spacefillr
                             r-rcppthread
                             r-rcpp
                             r-rayimage
                             r-png
                             r-pillar
                             r-digest
                             r-cli))
    (home-page "https://www.rayvertex.com")
    (synopsis "3D Software Rasterizer")
    (description
     "Rasterize images using a 3D software renderer.  3D scenes are created either by
importing external files, building scenes out of the included objects, or by
constructing meshes manually.  Supports point and directional lights,
anti-aliased lines, shadow mapping, transparent objects, translucent objects,
multiple materials types, reflection, refraction, environment maps, multicore
rendering, bloom, tone-mapping, and screen-space ambient occlusion.")
    (license license:gpl3+)))

(define-public r-raytracing
  (package
    (name "r-raytracing")
    (version "0.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raytracing" version))
       (sha256
        (base32 "16iwfgh53kj1k3vdb1d0gk80v3qwyk2dxvssry3k43dg9cvmznq3"))))
    (properties `((upstream-name . "raytracing")))
    (build-system r-build-system)
    (propagated-inputs (list r-units r-sf r-ncdf4))
    (home-page "https://github.com/salvatirehbein/raytracing/")
    (synopsis "Rossby Wave Ray Tracing")
    (description
     "Rossby wave ray paths are traced from a determined source, specified wavenumber,
and direction of propagation. \"raytracing\" also works with a set of experiments
changing these parameters, making possible the identification of Rossby wave
sources automatically.  The theory used here is based on classical studies, such
as Hoskins and Karoly (1981)
<doi:10.1175/1520-0469(1981)038%3C1179:TSLROA%3E2.0.CO;2>, Karoly (1983)
<doi:10.1016/0377-0265(83)90013-1>, Hoskins and Ambrizzi (1993)
<doi:10.1175/1520-0469(1993)050%3C1661:RWPOAR%3E2.0.CO;2>, and Yang and Hoskins
(1996) <doi:10.1175/1520-0469(1996)053%3C2365:PORWON%3E2.0.CO;2>.")
    (license license:gpl3)))

(define-public r-rayshader
  (package
    (name "r-rayshader")
    (version "0.37.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rayshader" version))
       (sha256
        (base32 "10jqh7kpn572a100vm59r2cbqzhhng7r6fjfmyw0n44s9bfw5490"))))
    (properties `((upstream-name . "rayshader")))
    (build-system r-build-system)
    (propagated-inputs (list r-terrainmeshr
                             r-scales
                             r-rgl
                             r-rcpparmadillo
                             r-rcpp
                             r-rayvertex
                             r-rayrender
                             r-rayimage
                             r-raster
                             r-progress
                             r-png
                             r-magrittr
                             r-jpeg
                             r-foreach
                             r-doparallel))
    (home-page "https://www.rayshader.com")
    (synopsis "Create Maps and Visualize Data in 2D and 3D")
    (description
     "Uses a combination of raytracing and multiple hill shading methods to produce 2D
and 3D data visualizations and maps.  Includes water detection and layering
functions, programmable color palette generation, several built-in textures for
hill shading, 2D and 3D plotting options, a built-in path tracer, Wavefront OBJ
file export, and the ability to save 3D visualizations to a 3D printable format.")
    (license license:gpl3)))

(define-public r-rayrender
  (package
    (name "r-rayrender")
    (version "0.34.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rayrender" version))
       (sha256
        (base32 "1dcrkd4pncmxvi8n5lzy11amcbrrw7c7h2gxgjsywb180kimvv5g"))))
    (properties `((upstream-name . "rayrender")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-vctrs
                             r-spacefillr
                             r-rcppthread
                             r-rcpp
                             r-rayvertex
                             r-rayimage
                             r-raster
                             r-progress
                             r-png
                             r-pillar
                             r-magrittr
                             r-decido
                             r-cli))
    (home-page "https://www.rayrender.net")
    (synopsis "Build and Raytrace 3D Scenes")
    (description
     "Render scenes using pathtracing.  Build 3D scenes out of spheres, cubes, planes,
disks, triangles, cones, curves, line segments, cylinders, ellipsoids, and 3D
models in the Wavefront OBJ file format or the PLY Polygon File Format.
Supports several material types, textures, multicore rendering, and
tone-mapping.  Based on the \"Ray Tracing in One Weekend\" book series.  Peter
Shirley (2018) <https://raytracing.github.io>.")
    (license license:gpl3)))

(define-public r-raymolecule
  (package
    (name "r-raymolecule")
    (version "0.5.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raymolecule" version))
       (sha256
        (base32 "0lwjx43wd4ziriqd3rxar14z5497x79nfh3h05kn9b7rsiiv8ir9"))))
    (properties `((upstream-name . "raymolecule")))
    (build-system r-build-system)
    (propagated-inputs (list r-rayvertex r-rayrender r-periodictable
                             r-magrittr r-httr))
    (home-page "http://www.raymolecule.com/")
    (synopsis "Parse and Render Molecular Structures in 3D")
    (description
     "Downloads and parses SDF (Structural Description Format) and PDB (Protein
Database) files for 3D rendering.")
    (license license:gpl3)))

(define-public r-rayimage
  (package
    (name "r-rayimage")
    (version "0.11.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rayimage" version))
       (sha256
        (base32 "056j9fbhglkf5hnh7ql99wfzf0qf6rls93wmdlyabpdnssq01nma"))))
    (properties `((upstream-name . "rayimage")))
    (build-system r-build-system)
    (propagated-inputs (list r-tiff
                             r-rcpparmadillo
                             r-rcpp
                             r-progress
                             r-png
                             r-jpeg))
    (home-page "https://www.rayimage.dev")
    (synopsis "Image Processing for Simulated Cameras")
    (description
     "Uses convolution-based techniques to generate simulated camera bokeh, depth of
field, and other camera effects, using an image and an optional depth map.
Accepts both filename inputs and in-memory array representations of images and
matrices.  Includes functions to perform 2D convolutions, reorient and resize
images/matrices, add image overlays, generate camera vignette effects, and add
titles to images.")
    (license license:gpl3)))

(define-public r-raybevel
  (package
    (name "r-raybevel")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raybevel" version))
       (sha256
        (base32 "0431mk0lslqwffknarb7zm2nbgv564d3karf9davc7w1xgnf11fj"))))
    (properties `((upstream-name . "raybevel")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf
                             r-rcppthread
                             r-rcppcgal
                             r-rcpp
                             r-rayvertex
                             r-progress
                             r-digest
                             r-decido
                             r-bh))
    (home-page "https://www.raybevel.com")
    (synopsis "Generates Polygon Straight Skeletons and 3D Bevels")
    (description
     "Generates polygon straight skeletons and 3D models.  Provides functions to
create and visualize interior polygon offsets, 3D beveled polygons, and 3D roof
models.")
    (license license:gpl3)))

(define-public r-raws-profile
  (package
    (name "r-raws-profile")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raws.profile" version))
       (sha256
        (base32 "04f7wk7x9j3rb6nn3zqss9vw0h9a4vpcjyilc2vqy0fm2by41xkg"))))
    (properties `((upstream-name . "raws.profile")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr r-tibble r-stringr))
    (home-page "https://cran.r-project.org/package=raws.profile")
    (synopsis "Managing Profiles on Amazon Web Service")
    (description
     "This is an R wrapper from the AWS Command Line Interface that provides methods
to manage the user configuration on Amazon Web Service.  You can create as many
profiles as you want, manage them, and delete them.  The profiles created with
this tool work with all AWS products such as S3, Glacier, and EC2.  It also
provides a function to automatically install AWS CLI, but you can download it
and install it manually if you prefer.")
    (license license:gpl2+)))

(define-public r-rawks
  (package
    (name "r-rawks")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rawKS" version))
       (sha256
        (base32 "1yiw9imhgij49qbm9hk6psb73zngqmxxwnaxq144ydwb7fbk6j0z"))))
    (properties `((upstream-name . "rawKS")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr r-rocr r-magrittr r-ggplot2 r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rawKS")
    (synopsis
     "Easily Get True-Positive Rate and False-Positive Rate and KS Statistic")
    (description
     "The Kolmogorov-Smirnov (K-S) statistic is a standard method to measure the model
strength for credit risk scoring models.  This package calculates the KâS
statistic and plots the true-positive rate and false-positive rate to measure
the model strength.  This package was written with the credit marketer, who uses
risk models in conjunction with his campaigns.  The users could read more
details from Thrasher (1992) <doi:10.1002/dir.4000060408> and pyks
<https://pypi.org/project/pyks/>.")
    (license license:expat)))

(define-public r-rawhummus
  (package
    (name "r-rawhummus")
    (version "0.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RawHummus" version))
       (sha256
        (base32 "0m88cywxwwiyvr2i7ipi9yf5znzdjfsmgz2x0ry4d6mm5469rws4"))))
    (properties `((upstream-name . "RawHummus")))
    (build-system r-build-system)
    (propagated-inputs (list r-shinymatrix
                             r-shinydashboardplus
                             r-shinydashboard
                             r-shinycustomloader
                             r-shiny
                             r-rmarkdown
                             r-rcolorbrewer
                             r-rams
                             r-purrr
                             r-plotly
                             r-markdown
                             r-kableextra
                             r-golem
                             r-ggplot2
                             r-dplyr
                             r-data-table
                             r-config))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RawHummus")
    (synopsis "Raw Data Quality Control Tool for LC-MS System")
    (description
     "Assess LCâMS system performance by visualizing instrument log files and
monitoring raw quality control samples within a project.")
    (license license:expat)))

(define-public r-raw
  (package
    (name "r-raw")
    (version "0.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raw" version))
       (sha256
        (base32 "1y2vhpgigzkd2xyj3986wlzm1g3pp99w6fspmhlff5czd73g16is"))))
    (properties `((upstream-name . "raw")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "http://casact.github.io/raw_package/")
    (synopsis "R Actuarial Workshops")
    (description
     "In order to facilitate R instruction for actuaries, we have organized several
sets of publicly available data of interest to non-life actuaries.  In addition,
we suggest a set of packages, which most practicing actuaries will use
routinely.  Finally, there is an R markdown skeleton for basic reserve analysis.")
    (license (list (license:fsdg-compatible "MPL-2.0")
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-ravetools
  (package
    (name "r-ravetools")
    (version "0.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ravetools" version))
       (sha256
        (base32 "0vy466xyzc22bwhr719znph2hd1xf74r9vzi7zb6pdqycjn11mgl"))))
    (properties `((upstream-name . "ravetools")))
    (build-system r-build-system)
    (inputs (list pkg-config fftw))
    (propagated-inputs (list r-waveslim
                             r-rniftyreg
                             r-rcppeigen
                             r-rcpp
                             r-r6
                             r-pracma
                             r-gsignal
                             r-filearray
                             r-digest))
    (native-inputs (list pkg-config))
    (home-page "https://dipterix.org/ravetools/")
    (synopsis
     "Signal and Image Processing Toolbox for Analyzing Intracranial Electroencephalography Data")
    (description
     "Implemented fast and memory-efficient Notch-filter, Welch-periodogram, discrete
wavelet spectrogram for minutes of high-resolution signals, fast 3D convolution,
image registration, 3D mesh manipulation; providing fundamental toolbox for
intracranial Electroencephalography (@code{iEEG}) pipelines.  Documentation and
examples about RAVE project are provided at <https://openwetware.org/wiki/RAVE>,
and the paper by John F. Magnotti, Zhengjia Wang, Michael S. Beauchamp (2020)
<doi:10.1016/j.neuroimage.2020.117341>; see citation(\"ravetools\") for details.")
    (license license:gpl2+)))

(define-public r-raverage
  (package
    (name "r-raverage")
    (version "0.5-8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rAverage" version))
       (sha256
        (base32 "09yap3qv02k5nidi6a4png9xa5yy7cb8hg8s2dq99wnc88s42d26"))))
    (properties `((upstream-name . "rAverage")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rAverage")
    (synopsis
     "Parameter Estimation for the Averaging Model of Information Integration Theory")
    (description
     "Implementation of the R-Average method for parameter estimation of averaging
models of the Anderson's Information Integration Theory by Vidotto, G.,
Massidda, D., & Noventa, S. (2010)
<https://www.uv.es/psicologica/articulos3FM.10/3Vidotto.pdf>.")
    (license license:gpl2+)))

(define-public r-ravenr
  (package
    (name "r-ravenr")
    (version "2.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RavenR" version))
       (sha256
        (base32 "0z1gp1jvh0b80f5bkfg1gg7x116axfgix13hpviyh0c3mfi5yw37"))))
    (properties `((upstream-name . "RavenR")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-xts
                             r-visnetwork
                             r-tidyr
                             r-stringr
                             r-scales
                             r-rcurl
                             r-rcpp
                             r-purrr
                             r-magrittr
                             r-lubridate
                             r-igraph
                             r-ggplot2
                             r-gdata
                             r-dygraphs
                             r-dplyr
                             r-diagrammer
                             r-crayon
                             r-cowplot
                             r-colorspace))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/rchlumsk/RavenR")
    (synopsis "Raven Hydrological Modelling Framework R Support and Analysis")
    (description
     "Utilities for processing input and output files associated with the Raven
Hydrological Modelling Framework.  Includes various plotting functions, model
diagnostics, reading output files into extensible time series format, and
support for writing Raven input files.  The @code{RavenR} package is also
archived at Chlumsky et al. (2020) <doi:10.5281/zenodo.4248183>.  The Raven
Hydrologic Modelling Framework method can be referenced with Craig et al. (2020)
<doi:10.1016/j.envsoft.2020.104728>.")
    (license license:gpl3)))

(define-public r-raven-rdf
  (package
    (name "r-raven-rdf")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raven.rdf" version))
       (sha256
        (base32 "12jy3md6d1qwzkks5iljn4h0iv5lj3n39ll7r3fvrxjwh7afvw7r"))))
    (properties `((upstream-name . "raven.rdf")))
    (build-system r-build-system)
    (home-page "https://github.com/raven-computing/rdf")
    (synopsis "An R Interface for Raven DataFrames (Beta0)")
    (description
     "This package provides an I/O interface between R data.frames and Raven
@code{DataFrames}.  Defines functions to both read and write @code{DataFrame}
files, as well as serialize/deserialize data.frames/@code{DataFrames}.")
    (license (license:fsdg-compatible "Apache License (== 2)"))))

(define-public r-ravelry
  (package
    (name "r-ravelry")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ravelRy" version))
       (sha256
        (base32 "07mywv57rw2b309i2qisbpx1x3sb3z6n2b5gia9bdmb2m4hhpdai"))))
    (properties `((upstream-name . "ravelRy")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-purrr
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (home-page "https://cran.r-project.org/package=ravelRy")
    (synopsis "An Interface to the 'Ravelry' API")
    (description
     "This package provides access to the Ravelry API
<https://www.ravelry.com/groups/ravelry-api>.  An R wrapper for pulling data
from Ravelry.com', an organizational tool for crocheters, knitters, spinners,
and weavers.  You can retrieve pattern, yarn, author, and shop information by
search or by a given id.")
    (license license:expat)))

(define-public r-ravages
  (package
    (name "r-ravages")
    (version "1.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Ravages" version))
       (sha256
        (base32 "0scfxzfisqcj9zn50pvhy9xrl3k5bgglp11gqxf885yskdiwrkik"))))
    (properties `((upstream-name . "Ravages")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-mlogit
                             r-gaston
                             r-formula
                             r-dfidx
                             r-data-table
                             r-curl
                             r-bh
                             r-bedr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Ravages")
    (synopsis "Rare Variant Analysis and Genetic Simulations")
    (description
     "Rare variant association tests: burden tests (Bocher et al.  2019
<doi:10.1002/gepi.22210>) and the Sequence Kernel Association Test (Bocher et
al.  2021 <doi:10.1038/s41431-020-00792-8>) in the whole genome; and genetic
simulations.")
    (license license:gpl3)))

(define-public r-rattle
  (package
    (name "r-rattle")
    (version "5.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rattle" version))
       (sha256
        (base32 "1nhknpdy2a3szcbylg9cq1c1g9ds5y3m35dbbi6rh8r85777qviy"))))
    (properties `((upstream-name . "rattle")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-stringi
                             r-rpart-plot
                             r-magrittr
                             r-ggplot2
                             r-dplyr
                             r-bitops))
    (home-page "https://rattle.togaware.com/")
    (synopsis "Graphical User Interface for Data Science in R")
    (description
     "The R Analytic Tool To Learn Easily (Rattle) provides a collection of utilities
functions for the data scientist.  A Gnome (RGtk2) based graphical interface is
included with the aim to provide a simple and intuitive introduction to R for
data science, allowing a user to quickly load data from a CSV file (or via
ODBC), transform and explore the data, build and evaluate models, and export
models as PMML (predictive modelling markup language) or as scores.  A key
aspect of the GUI is that all R commands are logged and commented through the
log tab.  This can be saved as a standalone R script file and as an aid for the
user to learn R or to copy-and-paste directly into R itself.  Note that RGtk2
and @code{cairoDevice} have been archived on CRAN. See
<https://rattle.togaware.com> for installation instructions.")
    (license license:gpl2+)))

(define-public r-rattains
  (package
    (name "r-rattains")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rATTAINS" version))
       (sha256
        (base32 "0s8byhlpmf95kan86id4kwffcqhp0jm55jx3f0wdz0g641ghrarc"))))
    (properties `((upstream-name . "rATTAINS")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibblify
                             r-rlist
                             r-rlang
                             r-lifecycle
                             r-jsonlite
                             r-fs
                             r-fauxpas
                             r-dplyr
                             r-curl
                             r-crul
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/mps9506/rATTAINS")
    (synopsis "Access EPA 'ATTAINS' Data")
    (description
     "An R interface to United States Environmental Protection Agency (EPA)
Assessment, Total Maximum Daily Load (TMDL) Tracking and Implementation System
('ATTAINS') data.  ATTAINS is the EPA database used to track information
provided by states about water quality assessments conducted under federal Clean
Water Act requirements.  ATTAINS information and API information is available at
<https://www.epa.gov/waterdata/attains>.")
    (license license:expat)))

(define-public r-ratios
  (package
    (name "r-ratios")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ratios" version))
       (sha256
        (base32 "16q9v2lhgklvdp3hi9x3afdldznfpwg775p80m2g5074q2dzjpgg"))))
    (properties `((upstream-name . "ratios")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-data-table))
    (home-page "https://cran.r-project.org/package=ratios")
    (synopsis
     "Calculating Ratios Between Two Data Sets and Correction for Adhering Particles on Plants")
    (description
     "Calculation of ratios between two data sets containing environmental data like
element concentrations by different methods.  Additionally plant element
concentrations can be corrected for adhering particles (soil, airborne dust).")
    (license license:gpl3)))

(define-public r-ratioofqsprays
  (package
    (name "r-ratioofqsprays")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ratioOfQsprays" version))
       (sha256
        (base32 "1g5xpjqwp8rplz85vrjmy9fjg1vf4gs793immljac8c8pcvxixds"))))
    (properties `((upstream-name . "ratioOfQsprays")))
    (build-system r-build-system)
    (inputs (list mpfr gmp))
    (propagated-inputs (list r-ryacas
                             r-rcppcgal
                             r-rcpp
                             r-qspray
                             r-gmp
                             r-bh))
    (native-inputs (list pkg-config))
    (home-page "https://github.com/stla/ratioOfQsprays")
    (synopsis
     "Fractions of Multivariate Polynomials with Rational Coefficients")
    (description
     "Based on the qspray package, this package introduces the new type
@code{ratioOfQsprays}'.  An object of type qspray represents a multivariate
polynomial with rational coefficients while an object of type
@code{ratioOfQsprays}', defined by two qspray objects, represents a fraction of
two multivariate polynomials with rational coefficients.  Arithmetic operations
for these objects are available, and they always return irreducible fractions.
Other features include: differentiation, evaluation, conversion to a function,
and fine control of the way to print a @code{ratioOfQsprays} object.  The C++
library CGAL is used to make the fractions irreducible.")
    (license license:gpl3)))

(define-public r-rationalmatrix
  (package
    (name "r-rationalmatrix")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RationalMatrix" version))
       (sha256
        (base32 "1nzhfmvckb9hp53lyw6gyv5r492n4xii8l1xkr38p5i07r52zq2c"))))
    (properties `((upstream-name . "RationalMatrix")))
    (build-system r-build-system)
    (inputs (list gmp))
    (propagated-inputs (list r-rcppeigen r-rcpp r-gmp r-bh))
    (native-inputs (list pkg-config))
    (home-page "https://github.com/stla/RationalMatrix")
    (synopsis "Exact Matrix Algebra for Rational Matrices")
    (description
     "This package provides functions to deal with matrix algebra for matrices with
rational entries: determinant, rank, image and kernel, inverse, Cholesky
decomposition.  All computations are exact.")
    (license license:gpl3)))

(define-public r-rationalfun
  (package
    (name "r-rationalfun")
    (version "0.1-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rationalfun" version))
       (sha256
        (base32 "0xabnqgzl8qdc4x9547mmkr1rm78p3fysdvk6jhjdi8cp2p6kcjh"))))
    (properties `((upstream-name . "rationalfun")))
    (build-system r-build-system)
    (propagated-inputs (list r-polynom))
    (home-page "https://github.com/yixuan/rationalfun")
    (synopsis "Manipulation of Rational Functions")
    (description
     "This package provides functions to manipulate rational functions, including
basic arithmetic operators, derivatives, and integrals with EXPLICIT forms.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rationalexp
  (package
    (name "r-rationalexp")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RationalExp" version))
       (sha256
        (base32 "0a51sfps3sfb71m93jdsmbvj6kafbyfrq790ix238j570f5xafpg"))))
    (properties `((upstream-name . "RationalExp")))
    (build-system r-build-system)
    (propagated-inputs (list r-snowfall))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RationalExp")
    (synopsis "Rationalizing Rational Expectations. Tests and Deviations")
    (description
     "We implement a test of the rational expectations hypothesis based on the
marginal distributions of realizations and subjective beliefs from
D'Haultfoeuille, Gaillac, and Maurel (2018) <doi:10.3386/w25274>.  This test can
be used in cases where realizations and subjective beliefs are observed in two
different datasets that cannot be matched, or when they are observed in the same
dataset.  The package also computes the estimator of the minimal deviations from
rational expectations than can be rationalized by the data.")
    (license license:gpl3)))

(define-public r-ratingscalereduction
  (package
    (name "r-ratingscalereduction")
    (version "1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RatingScaleReduction" version))
       (sha256
        (base32 "1d37l4xgg1iba2rbhp4c5i7igrcy0zgbdvzk3yc0wj2x1mm5dayk"))))
    (properties `((upstream-name . "RatingScaleReduction")))
    (build-system r-build-system)
    (propagated-inputs (list r-proc r-ggplot2))
    (home-page "https://cran.r-project.org/package=RatingScaleReduction")
    (synopsis "Rating Scale Reduction Procedure")
    (description
     "Describes a new procedure of reducing items in a rating scale called Rating
Scale Reduction (RSR).  The new stop criterion in RSR procedure is added (stop
global max).  The function order is replaced by sort.list.")
    (license license:gpl2)))

(define-public r-rathena
  (package
    (name "r-rathena")
    (version "2.6.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAthena" version))
       (sha256
        (base32 "1zncmkx93c28z0xf4n5rdc7fzlrdqw3x9ab2ci07f00gjf9gwkf1"))))
    (properties `((upstream-name . "RAthena")))
    (build-system r-build-system)
    (propagated-inputs (list r-uuid r-reticulate r-dbi r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/DyfanJones/RAthena")
    (synopsis "Connect to 'AWS Athena' using 'Boto3' ('DBI' Interface)")
    (description
     "Designed to be compatible with the R package DBI (Database Interface) when
connecting to Amazon Web Service ('AWS') Athena
<https://aws.amazon.com/athena/>.  To do this Python Boto3 Software Development
Kit ('SDK') <https://boto3.amazonaws.com/v1/documentation/api/latest/index.html>
is used as a driver.")
    (license license:expat)))

(define-public r-ratest
  (package
    (name "r-ratest")
    (version "0.1.10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RATest" version))
       (sha256
        (base32 "019jcwb62w7da2hfys7xhfdxcywj6qn9pd2x6l61704n7bjj0s20"))))
    (properties `((upstream-name . "RATest")))
    (build-system r-build-system)
    (propagated-inputs (list r-quantreg r-gridextra r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RATest")
    (synopsis "Randomization Tests")
    (description
     "This package provides a collection of randomization tests, data sets and
examples.  The current version focuses on five testing problems and their
implementation in empirical work.  First, it facilitates the empirical
researcher to test for particular hypotheses, such as comparisons of means,
medians, and variances from k populations using robust permutation tests, which
asymptotic validity holds under very weak assumptions, while retaining the exact
rejection probability in finite samples when the underlying distributions are
identical.  Second, the description and implementation of a permutation test for
testing the continuity assumption of the baseline covariates in the sharp
regression discontinuity design (RDD) as in Canay and Kamat (2018)
<https://goo.gl/UZFqt7>.  More specifically, it allows the user to select a set
of covariates and test the aforementioned hypothesis using a permutation test
based on the Cramer-von Misses test statistic.  Graphical inspection of the
empirical CDF and histograms for the variables of interest is also supported in
the package.  Third, it provides the practitioner with an effortless
implementation of a permutation test based on the martingale decomposition of
the empirical process for testing for heterogeneous treatment effects in the
presence of an estimated nuisance parameter as in Chung and Olivares (2021)
<doi:10.1016/j.jeconom.2020.09.015>.  Fourth, this version considers the
two-sample goodness-of-fit testing problem under covariate adaptive
randomization and implements a permutation test based on a prepivoted
Kolmogorov-Smirnov test statistic.  Lastly, it implements an asymptotically
valid permutation test based on the quantile process for the hypothesis of
constant quantile treatment effects in the presence of an estimated nuisance
parameter.")
    (license license:gpl2+)))

(define-public r-ratesci
  (package
    (name "r-ratesci")
    (version "0.4-0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ratesci" version))
       (sha256
        (base32 "1imraj95vcwz3i6r767zwckjqs1vp7bfww9d792l5nvwi5zyddp4"))))
    (properties `((upstream-name . "ratesci")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=ratesci")
    (synopsis
     "Confidence Intervals for Comparisons of Binomial or Poisson Rates")
    (description
     "Computes confidence intervals for the rate (or risk) difference ('RD') or rate
ratio (or relative risk, RR') for binomial proportions or Poisson rates, or for
odds ratio ('OR', binomial only).  Also confidence intervals for a single
binomial or Poisson rate, and intervals for matched pairs.  Includes
skewness-corrected asymptotic score ('SCAS') methods, which have been developed
in Laud (2017) <doi:10.1002/pst.1813> from Miettinen & Nurminen (1985)
<doi:10.1002/sim.4780040211> and Gart & Nam (1988) <doi:10.2307/2531848>.  The
same score produces hypothesis tests analogous to the test for binomial RD and
RR by Farrington & Manning (1990) <doi:10.1002/sim.4780091208>.  The package
also includes MOVER methods (Method Of Variance Estimates Recovery) for all
contrasts, derived from the Newcombe method but using equal-tailed Jeffreys
intervals, and generalised for Bayesian applications incorporating prior
information.  So-called exact methods for strictly conservative coverage are
approximated using continuity corrections.  Also includes methods for stratified
calculations (e.g. meta-analysis), either assuming fixed effects (matching the
CMH test) or incorporating stratum heterogeneity.")
    (license license:gpl3)))

(define-public r-raters
  (package
    (name "r-raters")
    (version "2.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raters" version))
       (sha256
        (base32 "0yxwvziajzwnbqsnjf8myvx5jxzrickzm4b6zqy2s5fm2xh9675q"))))
    (properties `((upstream-name . "raters")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=raters")
    (synopsis
     "Modification of Fleiss' Kappa in Case of Nominal and Ordinal Variables")
    (description
     "The kappa statistic implemented by Fleiss is a very popular index for assessing
the reliability of agreement among multiple observers.  It is used both in the
psychological and in the psychiatric field.  Other fields of application are
typically medicine, biology and engineering.  Unfortunately,the kappa statistic
may behave inconsistently in case of strong agreement between raters, since this
index assumes lower values than it would have been expected.  We propose a
modification kappa implemented by Fleiss in case of nominal and ordinal
variables.  Monte Carlo simulations are used both to testing statistical
hypotheses and to calculating percentile bootstrap confidence intervals based on
proposed statistic in case of nominal and ordinal data.")
    (license license:gpl2+)))

(define-public r-rateratio-test
  (package
    (name "r-rateratio-test")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rateratio.test" version))
       (sha256
        (base32 "1vajhgawlwf99rb1w1im1njngbb5n37y7lah1l5vv9j5i3pha1y7"))))
    (properties `((upstream-name . "rateratio.test")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rateratio.test")
    (synopsis "Exact Rate Ratio Test")
    (description "This package performs exact rate ratio tests.")
    (license license:gpl3)))

(define-public r-rater
  (package
    (name "r-rater")
    (version "1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rater" version))
       (sha256
        (base32 "0ipgjhxn8d9g6yv369hckvq84v8rrw5b230zz24h72dy9s2nyr44"))))
    (properties `((upstream-name . "rater")))
    (build-system r-build-system)
    (propagated-inputs (list r-stanheaders
                             r-rstantools
                             r-rstan
                             r-rlang
                             r-rcppparallel
                             r-rcppeigen
                             r-rcpp
                             r-loo
                             r-ggplot2
                             r-bh))
    (native-inputs (list r-knitr))
    (home-page "https://jeffreypullin.github.io/rater/")
    (synopsis "Statistical Models of Repeated Categorical Rating Data")
    (description
     "Fit statistical models based on the Dawid-Skene model - Dawid and Skene (1979)
<doi:10.2307/2346806> - to repeated categorical rating data.  Full Bayesian
inference for these models is supported through the Stan modelling language.
rater also allows the user to extract and plot key parameters of these models.")
    (license license:gpl2)))

(define-public r-ratematrix
  (package
    (name "r-ratematrix")
    (version "1.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ratematrix" version))
       (sha256
        (base32 "0azn52d88m1xxckv4g02vraa9gdr5jmsxqwxwaim90p2s8jy33np"))))
    (properties `((upstream-name . "ratematrix")))
    (build-system r-build-system)
    (propagated-inputs (list r-readr
                             r-rcpparmadillo
                             r-rcpp
                             r-phylolm
                             r-mvmorph
                             r-mass
                             r-geiger
                             r-ellipse
                             r-corpcor
                             r-coda
                             r-ape))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/Caetanods/ratematrix")
    (synopsis "Bayesian Estimation of the Evolutionary Rate Matrix")
    (description
     "The Evolutionary Rate Matrix is a variance-covariance matrix which describes
both the rates of trait evolution and the evolutionary correlation among
multiple traits.  This package has functions to estimate these parameters using
Bayesian MCMC. It is possible to test if the pattern of evolutionary
correlations among traits has changed between predictive regimes painted along
the branches of the phylogenetic tree.  Regimes can be created a priori or
estimated as part of the MCMC under a joint estimation approach.  The package
has functions to run MCMC chains, plot results, evaluate convergence, and
summarize posterior distributions.")
    (license license:gpl2+)))

(define-public r-ratelimitr
  (package
    (name "r-ratelimitr")
    (version "0.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ratelimitr" version))
       (sha256
        (base32 "06x759jxr5zcnvg9q120n5bpipkb16piw15kxrpk7i918mby889b"))))
    (properties `((upstream-name . "ratelimitr")))
    (build-system r-build-system)
    (propagated-inputs (list r-assertthat))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/tarakc02/ratelimitr")
    (synopsis "Rate Limiting for R")
    (description
     "Allows to limit the rate at which one or more functions can be called.")
    (license license:expat)))

(define-public r-ratdat
  (package
    (name "r-ratdat")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ratdat" version))
       (sha256
        (base32 "14p8dnc6a3yj98xqa8i90jb8nbwhr4g9drl3djdyswjwiiz30jlg"))))
    (properties `((upstream-name . "ratdat")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=ratdat")
    (synopsis "Portal Project Teaching Database")
    (description
     "This package provides a simplified version of the Portal Project Database
designed for teaching.  It provides a real world example of life-history,
population, and ecological data, with sufficient complexity to teach many
aspects of data analysis and management, but with many complexities removed to
allow students to focus on the core ideas and skills being taught.  The full
database (which should be used for research) is available at
<https://github.com/weecology/@code{PortalData>}.")
    (license license:cc0)))

(define-public r-rata
  (package
    (name "r-rata")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rata" version))
       (sha256
        (base32 "1s7am08691lil5hbd8jpa5wnbvr0qqf0gkxczpm6yvizbjpx16qx"))))
    (properties `((upstream-name . "Rata")))
    (build-system r-build-system)
    (propagated-inputs (list r-rirt r-reshape2 r-lpsolveapi r-glpkapi
                             r-ggplot2))
    (home-page "https://github.com/xluo11/Rata")
    (synopsis "Automated Test Assembly")
    (description
     "Automated test assembly of linear and adaptive tests using the mixed-integer
programming.  The full documentation and tutorials are at
<https://github.com/xluo11/Rata>.")
    (license license:gpl3+)))

(define-public r-rat
  (package
    (name "r-rat")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAT" version))
       (sha256
        (base32 "0234z9a1aqhdfwm6k3g8vw88dwx9n1d1mnnxl1y5qslv429kf23v"))))
    (properties `((upstream-name . "RAT")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-mapproj r-ggplot2))
    (home-page "https://cran.r-project.org/package=RAT")
    (synopsis "Research Assessment Tools")
    (description
     "Includes algorithms to assess research productivity and patterns, such as the
h-index and i-index.  Cardoso et al. (2022) Cardoso, P., Fukushima, C.S. &
Mammola, S. (2022) Quantifying the internationalization and representativeness
in research.  Trends in Ecology and Evolution, 37: 725-728.")
    (license license:gpl3)))

(define-public r-rasterpic
  (package
    (name "r-rasterpic")
    (version "0.2.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasterpic" version))
       (sha256
        (base32 "03p24iw384dxws25mwfzclhpfj9hm3wrv8xmhgrcsffw61q3ad0x"))))
    (properties `((upstream-name . "rasterpic")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra r-sf r-png))
    (native-inputs (list r-knitr))
    (home-page "https://dieghernan.github.io/rasterpic/")
    (synopsis "Convert Digital Images into 'SpatRaster' Objects")
    (description
     "Generate @code{SpatRaster} objects, as defined by the terra package, from
digital images, using a specified spatial object as a geographical reference.")
    (license license:expat)))

(define-public r-rasterpdf
  (package
    (name "r-rasterpdf")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasterpdf" version))
       (sha256
        (base32 "0zi54nifbb4dzb29i8rskynblw3z42vzaykwbq30ia5zs9q1bvm5"))))
    (properties `((upstream-name . "rasterpdf")))
    (build-system r-build-system)
    (propagated-inputs (list r-png))
    (home-page "https://ilarischeinin.github.io/rasterpdf")
    (synopsis "Plot Raster Graphics in PDF Files")
    (description
     "The ability to plot raster graphics in PDF files can be useful when one needs
multi-page documents, but the plots contain so many individual elements that
(the usual) use of vector graphics results in inconveniently large file sizes.
Internally, the package plots each individual page as a PNG, and then combines
them in one PDF file.")
    (license license:expat)))

(define-public r-rasterlist
  (package
    (name "r-rasterlist")
    (version "0.5.20")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasterList" version))
       (sha256
        (base32 "09w91kjya5bmdi1z6i5m82yaihnzxqh9b3cyadfzd1c68bpsplii"))))
    (properties `((upstream-name . "rasterList")))
    (build-system r-build-system)
    (propagated-inputs (list r-raster))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ecor/rasterList")
    (synopsis "Raster Where Cells are Generic Objects")
    (description
     "This package provides a S4 class has been created such that complex operations
can be executed on each cell of a raster map.  The raster of objects contains a
raster map with the addition of a list of generic objects: one object for each
raster cells.  It allows to write few lines of R code for complex map algebra.
Two environmental applications about frequency analysis of raster map of
precipitation and creation of a raster map of soil water retention curves have
been presented.")
    (license license:gpl3+)))

(define-public r-rasterkernelestimates
  (package
    (name "r-rasterkernelestimates")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasterKernelEstimates" version))
       (sha256
        (base32 "0az96k8l7yjya5mg5ckda43qy9h8iad5gyyxi1ycld3kzcwiinhj"))))
    (properties `((upstream-name . "rasterKernelEstimates")))
    (build-system r-build-system)
    (propagated-inputs (list r-raster))
    (home-page "http://meanmean.me/blog/rasterKernel/rasterKernel.html")
    (synopsis "Kernel Based Estimates on in-Memory Raster Images")
    (description
     "This package performs kernel based estimates on in-memory raster images from the
raster package.  These kernel estimates include local means variances, modes,
and quantiles.  All results are in the form of raster images, preserving
original resolution and projection attributes.")
    (license license:expat)))

(define-public r-rasterize
  (package
    (name "r-rasterize")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasterize" version))
       (sha256
        (base32 "18nrhmq1qmi05rkyr86xsyc8nz0fbdpf2d45h62bbfzbfynqd4qy"))))
    (properties `((upstream-name . "rasterize")))
    (build-system r-build-system)
    (propagated-inputs (list r-png))
    (home-page "https://github.com/pmur002/rasterize")
    (synopsis "Rasterize Graphical Output")
    (description
     "This package provides R functions to selectively rasterize components of grid
output.")
    (license license:gpl3)))

(define-public r-rasterimage
  (package
    (name "r-rasterimage")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasterImage" version))
       (sha256
        (base32 "191m5k1rbbwziznmxbsq4g55afkw8gb5011i70f3wx3dscr3phxz"))))
    (properties `((upstream-name . "rasterImage")))
    (build-system r-build-system)
    (propagated-inputs (list r-plotrix))
    (home-page "https://cran.r-project.org/package=rasterImage")
    (synopsis "An Improved Wrapper of image()")
    (description
     "This is a wrapper function for image(), which makes reasonable raster plots with
nice axis and other useful features.")
    (license license:gpl2)))

(define-public r-rasterdt
  (package
    (name "r-rasterdt")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasterDT" version))
       (sha256
        (base32 "1fj038qa6ivm2w2zzxjcl2dh90ydw1sypchz18sn33zg37wzc7mz"))))
    (properties `((upstream-name . "rasterDT")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf r-raster r-fasterize r-data-table))
    (home-page "https://github.com/JoshOBrien/rasterDT/")
    (synopsis "Fast Raster Summary and Manipulation")
    (description
     "Fast alternatives to several relatively slow raster package functions.  For
large rasters, the functions run from 5 to approximately 100 times faster than
the raster package functions they replace.  The fasterize package, on which one
function in this package depends, includes an implementation of the scan line
algorithm attributed to Wylie et al. (1967) <doi:10.1145/1465611.1465619>.")
    (license license:gpl2+)))

(define-public r-rasterdiv
  (package
    (name "r-rasterdiv")
    (version "0.3.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasterdiv" version))
       (sha256
        (base32 "1fji357xp6di5l6r7ynq2vln69vblwkxbdv2pcv61lb8qrh0nvms"))))
    (properties `((upstream-name . "rasterdiv")))
    (build-system r-build-system)
    (propagated-inputs (list r-viridis
                             r-twdtw
                             r-terra
                             r-proxy
                             r-progress
                             r-ggplot2
                             r-ggforce
                             r-foreach
                             r-doparallel))
    (native-inputs (list r-knitr))
    (home-page "https://mattmar.github.io/rasterdiv/")
    (synopsis "Diversity Indices for Numerical Matrices")
    (description
     "This package provides methods to calculate diversity indices on numerical
matrices based on information theory, as described in Rocchini, Marcantonio and
Ricotta (2017) <doi:10.1016/j.ecolind.2016.07.039>, and Rocchini et al. (2021)
<doi:10.1101/2021.01.23.427872>.")
    (license license:gpl2+)))

(define-public r-rasterbc
  (package
    (name "r-rasterbc")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasterbc" version))
       (sha256
        (base32 "1fdaakn8d68s3wnqwv2lj89q8lg5p7fgqcl51qrhgxihzz21fl99"))))
    (properties `((upstream-name . "rasterbc")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra r-sf))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/deankoch/rasterbc")
    (synopsis "Access Forest Ecology Layers for British Columbia in 2001-2018")
    (description
     "R-based access to a large set of data variables relevant to forest ecology in
British Columbia (BC), Canada.  Layers are in raster format at 100m resolution
in the BC Albers projection, hosted at the Federated Research Data Repository
(FRDR) with <doi:10.20383/101.0283>.  The collection includes: elevation;
biogeoclimatic zone; wildfire; cutblocks; forest attributes from Hansen et al.
(2013) <doi:10.1139/cjfr-2013-0401> and Beaudoin et al. (2017)
<doi:10.1139/cjfr-2017-0184>; and rasterized Forest Insect and Disease Survey
(FIDS) maps for a number of insect pest species, all covering the period
2001-2018.  Users supply a polygon or point location in the province of BC, and
rasterbc will download the overlapping raster tiles hosted at FRDR, merging them
as needed and returning the result in R as a @code{SpatRaster} object.  Metadata
associated with these layers, and code for downloading them from their original
sources can be found in the github repository
<https://github.com/deankoch/rasterbc_src>.")
    (license license:expat)))

(define-public r-rassta
  (package
    (name "r-rassta")
    (version "1.0.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rassta" version))
       (sha256
        (base32 "1f3npgq5qxdj98jpl84givkg77z7n09hksbj1pcpsapn5a688vz3"))))
    (properties `((upstream-name . "rassta")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra
                             r-stringi
                             r-stringdist
                             r-shiny
                             r-scales
                             r-rlang
                             r-plotly
                             r-kohonen
                             r-kernsmooth
                             r-histogram
                             r-ggplot2
                             r-ggally
                             r-foreach
                             r-dt
                             r-dplyr
                             r-data-table
                             r-cluster))
    (native-inputs (list r-knitr))
    (home-page "https://bafuentes.github.io/rassta/")
    (synopsis "Raster-Based Spatial Stratification Algorithms")
    (description
     "Algorithms for the spatial stratification of landscapes, sampling and modeling
of spatially-varying phenomena.  These algorithms offer a simple framework for
the stratification of geographic space based on raster layers representing
landscape factors and/or factor scales.  The stratification process follows a
hierarchical approach, which is based on first level units (i.e., classification
units) and second-level units (i.e., stratification units).  Nonparametric
techniques allow to measure the correspondence between the geographic space and
the landscape configuration represented by the units.  These correspondence
metrics are useful to define sampling schemes and to model the spatial
variability of environmental phenomena.  The theoretical background of the
algorithms and code examples are presented in Fuentes et al. (2022).
<doi:10.32614/RJ-2022-036>.")
    (license license:agpl3+)))

(define-public r-rasen
  (package
    (name "r-rasen")
    (version "3.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RaSEn" version))
       (sha256
        (base32 "1a7jvyvvhzn4aifnhjldn5jr6sxh16b67x335p8wh8g24yvvglvw"))))
    (properties `((upstream-name . "RaSEn")))
    (build-system r-build-system)
    (propagated-inputs (list r-rpart
                             r-ranger
                             r-randomforest
                             r-nnet
                             r-modelmetrics
                             r-mass
                             r-kernelknn
                             r-gridextra
                             r-glmnet
                             r-ggplot2
                             r-formatr
                             r-foreach
                             r-fnn
                             r-e1071
                             r-doparallel
                             r-class
                             r-caret))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RaSEn")
    (synopsis "Random Subspace Ensemble Classification and Variable Screening")
    (description
     "We propose a general ensemble classification framework, @code{RaSE} algorithm,
for the sparse classification problem.  In @code{RaSE} algorithm, for each weak
learner, some random subspaces are generated and the optimal one is chosen to
train the model on the basis of some criterion.  To be adapted to the problem, a
novel criterion, ratio information criterion (RIC) is put up with based on
Kullback-Leibler divergence.  Besides minimizing RIC, multiple criteria can be
applied, for instance, minimizing extended Bayesian information criterion
(@code{eBIC}), minimizing training error, minimizing the validation error,
minimizing the cross-validation error, minimizing leave-one-out error.  There
are various choices of base classifier, for instance, linear discriminant
analysis, quadratic discriminant analysis, k-nearest neighbour, logistic
regression, decision trees, random forest, support vector machines. @code{RaSE}
algorithm can also be applied to do feature ranking, providing us the importance
of each feature based on the selected percentage in multiple subspaces.
@code{RaSE} framework can be extended to the general prediction framework,
including both classification and regression.  We can use the selected
percentages of variables for variable screening.  The latest version added the
variable screening function for both regression and classification problems.")
    (license license:gpl2)))

(define-public r-rasclass
  (package
    (name "r-rasclass")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasclass" version))
       (sha256
        (base32 "1lsmv8kh519mz3szb4k9s17fz1480cw0i4qk12givhhm2rpzjy50"))))
    (properties `((upstream-name . "rasclass")))
    (build-system r-build-system)
    (propagated-inputs (list r-rsnns r-randomforest r-nnet r-e1071 r-car))
    (home-page "https://cran.r-project.org/package=rasclass")
    (synopsis "Supervised Raster Image Classification")
    (description
     "Software to perform supervised and pixel based raster image classification.  It
has been designed to facilitate land-cover analysis.  Five classification
algorithms can be used: Maximum Likelihood Classification, Multinomial Logistic
Regression, Neural Networks, Random Forests and Support Vector Machines.  The
output includes the classified raster and standard classification accuracy
assessment such as the accuracy matrix, the overall accuracy and the kappa
coefficient.  An option for in-sample verification is available.")
    (license license:gpl2+)))

(define-public r-rasciidoc
  (package
    (name "r-rasciidoc")
    (version "4.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rasciidoc" version))
       (sha256
        (base32 "09s4km4v603mzc6i1n27c10na6swdzlvclbsar267zk3410acsww"))))
    (properties `((upstream-name . "rasciidoc")))
    (build-system r-build-system)
    (propagated-inputs (list r-reticulate
                             r-knitr
                             r-highr
                             r-gert
                             r-fritools
                             r-checkmate))
    (home-page "https://gitlab.com/fvafrcu/rasciidoc")
    (synopsis "Create Reports Using R and 'asciidoc'")
    (description
     "Inspired by Karl Broman`s reader on using knitr with asciidoc
(<https://kbroman.org/knitr_knutshell/pages/asciidoc.html>), this is merely a
wrapper to knitr and asciidoc'.")
    (license license:bsd-2)))

(define-public r-raschsampler
  (package
    (name "r-raschsampler")
    (version "0.8-10")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RaschSampler" version))
       (sha256
        (base32 "1zzly5ya5gvr155pxplk08kc5fcj78p1mqmbszds3z4riwhdzsb1"))))
    (properties `((upstream-name . "RaschSampler")))
    (build-system r-build-system)
    (native-inputs (list gfortran))
    (home-page "https://cran.r-project.org/package=RaschSampler")
    (synopsis "Rasch Sampler")
    (description
     "MCMC based sampling of binary matrices with fixed margins as used in exact Rasch
model tests.")
    (license license:gpl2)))

(define-public r-rartrials
  (package
    (name "r-rartrials")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RARtrials" version))
       (sha256
        (base32 "03hfbr08f4wbb8apfdqg32118615zzyaihvriqsfr7q2qxy4byla"))))
    (properties `((upstream-name . "RARtrials")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-pins))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/yayayaoyaoyao/RARtrials")
    (synopsis "Response-Adaptive Randomization in Clinical Trials")
    (description
     "Some response-adaptive randomization methods commonly found in literature are
included in this package.  These methods include the randomized play-the-winner
rule for binary endpoint (Wei and Durham (1978) <doi:10.2307/2286290>), the
doubly adaptive biased coin design with minimal variance strategy for binary
endpoint (Atkinson and Biswas (2013) <doi:10.1201/b16101>, Rosenberger and
Lachin (2015) <doi:10.1002/9781118742112>) and maximal power strategy targeting
Neyman allocation for binary endpoint (Tymofyeyev, Rosenberger, and Hu (2007)
<doi:10.1198/016214506000000906>) and RSIHR allocation with each letter
representing the first character of the names of the individuals who first
proposed this rule (Youngsook and Hu (2010) <doi:10.1198/sbr.2009.0056>, Bello
and Sabo (2016) <doi:10.1080/00949655.2015.1114116>), A-optimal Allocation for
continuous endpoint (Sverdlov and Rosenberger (2013)
<doi:10.1080/15598608.2013.783726>), Aa-optimal Allocation for continuous
endpoint (Sverdlov and Rosenberger (2013) <doi:10.1080/15598608.2013.783726>),
generalized RSIHR allocation for continuous endpoint (Atkinson and Biswas (2013)
<doi:10.1201/b16101>), Bayesian response-adaptive randomization with a control
group using the Thall \\& Wathen method for binary and continuous endpoints
(Thall and Wathen (2007) <doi:10.1016/j.ejca.2007.01.006>) and the
forward-looking Gittins index rule for binary and continuous endpoints (Villar,
Wason, and Bowden (2015) <doi:10.1111/biom.12337>, Williamson and Villar (2019)
<doi:10.1111/biom.13119>).")
    (license license:gpl3+)))

(define-public r-rarms
  (package
    (name "r-rarms")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rarms" version))
       (sha256
        (base32 "11wjxd3pxvjv1j2nz26l8f0kykk9w6lf08izhivfngp63dk2akns"))))
    (properties `((upstream-name . "rarms")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite))
    (home-page "https://cran.r-project.org/package=rarms")
    (synopsis "Access Data from the USDA ARMS Data API")
    (description
     "Interface to easily access data via the United States Department of Agriculture
(USDA)'s Agricultural Resource Management Survey (ARMS) Data API
<https://www.ers.usda.gov/developer/data-apis/arms-data-api/>.  The downloaded
data can be saved for later off-line use.  Also provide relevant information and
metadata for each of the input variables needed for sending the data inquery.")
    (license license:gpl2+)))

(define-public r-rarity
  (package
    (name "r-rarity")
    (version "1.3-8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rarity" version))
       (sha256
        (base32 "1x4jwlk8d4nx6xq5kimsr63d7fnhdn3w5zgjrzgbz9yc3kjxgsm6"))))
    (properties `((upstream-name . "Rarity")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=Rarity")
    (synopsis
     "Calculation of Rarity Indices for Species and Assemblages of Species")
    (description
     "Allows calculation of rarity weights for species and indices of rarity for
assemblages of species according to different methods (Leroy et al.  2012,
Insect.  Conserv.  Divers.  5:159-168 <doi:10.1111/j.1752-4598.2011.00148.x>;
Leroy et al.  2013, Divers.  Distrib.  19:794-803 <doi:10.1111/ddi.12040>).")
    (license license:gpl2+)))

(define-public r-rarfreq
  (package
    (name "r-rarfreq")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RARfreq" version))
       (sha256
        (base32 "05yb1hkhqq5x4q34z6kvdd6s8iy90528zypbc2pjhhb264v5k8qd"))))
    (properties `((upstream-name . "RARfreq")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-reshape2
                             r-rdpack
                             r-patchwork
                             r-magrittr
                             r-latex2exp
                             r-ggplot2
                             r-dplyr
                             r-data-table))
    (home-page "https://cran.r-project.org/package=RARfreq")
    (synopsis "Response Adaptive Randomization with 'Frequentist' Approaches")
    (description
     "This package provides functions and command-line user interface to generate
allocation sequence by response-adaptive randomization for clinical trials.  The
package currently supports two families of frequentist response-adaptive
randomization procedures, Doubly Adaptive Biased Coin Design ('DBCD') and
Sequential Estimation-adjusted Urn Model ('SEU'), for binary and normal
endpoints.  One-sided proportion (or mean) difference and Chi-square (or ANOVA')
hypothesis testing methods are also available in the package to facilitate the
inference for treatment effect.  Additionally, the package provides
comprehensive and efficient tools to allow one to evaluate and compare the
performance of randomization procedures and tests based on various criteria.
For example, plots for relationship among assumed treatment effects, sample
size, and power are provided.  Five allocation functions for DBCD and six
addition rule functions for SEU are implemented to target allocations such as
Neyman', Rosenberger Rosenberger et al. (2001)
<doi:10.1111/j.0006-341X.2001.00909.x> and Urn allocations.")
    (license license:expat)))

(define-public r-rarestr
  (package
    (name "r-rarestr")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rarestR" version))
       (sha256
        (base32 "1hyk3c4m6v19v30728mlxlq36hkirm6isi2j1lbzkvbs6k54pc7x"))))
    (properties `((upstream-name . "rarestR")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/pzhaonet/rarestR")
    (synopsis "Rarefaction-Based Species Richness Estimator")
    (description
     "Calculate rarefaction-based alpha- and beta-diversity.  Offer parametric
extrapolation to estimate the total expected species in a single community and
the total expected shared species between two communities.  Visualize the
curve-fitting for these estimators.")
    (license license:expat)))

(define-public r-rarenmtests
  (package
    (name "r-rarenmtests")
    (version "1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rareNMtests" version))
       (sha256
        (base32 "0nx4ddbbz01dmbkg3ww2dsqwvqn1m04bln0bk1sphq935c548zpb"))))
    (properties `((upstream-name . "rareNMtests")))
    (build-system r-build-system)
    (propagated-inputs (list r-vegan))
    (home-page "https://cran.r-project.org/package=rareNMtests")
    (synopsis
     "Ecological and Biogeographical Null Model Tests for Comparing Rarefaction Curves")
    (description
     "Randomization tests for the statistical comparison of i = two or more
individual-based, sample-based or coverage-based rarefaction curves.  The
ecological null hypothesis is that the i samples were all drawn randomly from a
single assemblage, with (necessarily) a single underlying species abundance
distribution.  The biogeographic null hypothesis is that the i samples were all
drawn from different assemblages that, nonetheless, share similar species
richness and species abundance distributions.  Functions are described in L.
Cayuela, N.J. Gotelli & R.K. Colwell (2015) <doi:10.1890/14-1261.1>.")
    (license license:gpl2+)))

(define-public r-rarecomb
  (package
    (name "r-rarecomb")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RareComb" version))
       (sha256
        (base32 "0q22a61zd51ffnq30gmhba6paaaagmhrr6vx1mfw37fb9n5fpyn6"))))
    (properties `((upstream-name . "RareComb")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-sqldf
                             r-reshape2
                             r-pwr
                             r-magrittr
                             r-dplyr
                             r-arules))
    (home-page "https://cran.r-project.org/package=RareComb")
    (synopsis "Combinatorial and Statistical Analyses of Rare Events")
    (description
     "This package provides a custom implementation of the apriori algorithm and
binomial tests to identify combinations of features (genes, variants etc)
significantly enriched for simultaneous mutations/events from sparse Boolean
input, see Vijay Kumar Pounraja, Santhosh Girirajan (2021).  Version 1.1
includes a minor adjustment to the number of combinations to be considered for
multiple testing correction.  This updated version is more conservative in its
approach and hence more selective. <doi:10.1101/2021.10.01.462832>.")
    (license license:expat)))

(define-public r-rare
  (package
    (name "r-rare")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rare" version))
       (sha256
        (base32 "0j78ilswiaxdp9107psiw8ibxncd7i81z2njhfqf0n7532pbvjss"))))
    (properties `((upstream-name . "rare")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp r-matrix r-glmnet))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/yanxht/rare")
    (synopsis
     "Linear Model with Tree-Based Lasso Regularization for Rare Features")
    (description
     "Implementation of an alternating direction method of multipliers algorithm for
fitting a linear model with tree-based lasso regularization, which is proposed
in Algorithm 1 of Yan and Bien (2018) <@code{arXiv:1803.06675>}.  The package
allows efficient model fitting on the entire 2-dimensional regularization path
for large datasets.  The complete set of functions also makes the entire process
of tuning regularization parameters and visualizing results hassle-free.")
    (license license:gpl3)))

(define-public r-rar
  (package
    (name "r-rar")
    (version "0.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rar" version))
       (sha256
        (base32 "12fjp390nai5jymxdly5p4zi3b7qs1n0xvh8rxr5myq0pd904fcv"))))
    (properties `((upstream-name . "rar")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-tidyselect
                             r-tidyr
                             r-tibble
                             r-testthat
                             r-rlang
                             r-purrr
                             r-magrittr
                             r-glue
                             r-dplyr
                             r-cpp11))
    (home-page "https://rar.jgaeb.com")
    (synopsis "Risk-Adjusted Regression")
    (description
     "Perform risk-adjusted regression and sensitivity analysis as developed in
\"Mitigating Omitted- and Included-Variable Bias in Estimates of Disparate
Impact\" Jung et al. (2024) <@code{arXiv:1809.05651>}.")
    (license license:expat)))

(define-public r-raquifer
  (package
    (name "r-raquifer")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Raquifer" version))
       (sha256
        (base32 "148inkn6yiyvicw0b4kw99n172xsvhrrdx1khghqs966smjw54wy"))))
    (properties `((upstream-name . "Raquifer")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-pracma r-magrittr r-gsl r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://susaenergy.github.io/Raquifer_ws/")
    (synopsis "Estimate the Water Influx into Hydrocarbon Reservoirs")
    (description
     "Generate a table of cumulative water influx into hydrocarbon reservoirs over
time using un-steady and pseudo-steady state models.  Van Everdingen, A. F. and
Hurst, W. (1949) <doi:10.2118/949305-G>.  Fetkovich, M. J. (1971)
<doi:10.2118/2603-PA>.  Yildiz, T. and Khosravi, A. (2007)
<doi:10.2118/103283-PA>.")
    (license license:gpl3)))

(define-public r-raqsapi
  (package
    (name "r-raqsapi")
    (version "2.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAQSAPI" version))
       (sha256
        (base32 "0v3qahq1pcd8a12w9m65i6p6yna2azqjkirlkfqdazscl2n8g2vp"))))
    (properties `((upstream-name . "RAQSAPI")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-stringr
                             r-rlang
                             r-purrr
                             r-magrittr
                             r-lubridate
                             r-lifecycle
                             r-httr2
                             r-glue
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/USEPA/RAQSAPI/")
    (synopsis
     "Simple Interface to the US EPA Air Quality System Data Mart API")
    (description
     "Retrieve air monitoring data and associated metadata from the US Environmental
Protection Agency's Air Quality System service using functions.  See
<https://aqs.epa.gov/aqsweb/documents/data_api.html> for details about the US
EPA Data Mart API.")
    (license license:expat)))

(define-public r-raqs
  (package
    (name "r-raqs")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raqs" version))
       (sha256
        (base32 "05q6xldr2q59mfn3v4hx20j8ybpkn3zpnz36rrdv1dq8jimfxfj7"))))
    (properties `((upstream-name . "raqs")))
    (build-system r-build-system)
    (propagated-inputs (list r-httr2 r-cli))
    (home-page "https://github.com/HimesGroup/raqs")
    (synopsis "Interface to the US EPA Air Quality System (AQS) API")
    (description
     "Offers functions for fetching JSON data from the US EPA Air Quality System (AQS)
API with options to comply with the API rate limits.  See
<https://aqs.epa.gov/aqsweb/documents/data_api.html> for details of the AQS API.")
    (license license:expat)))

(define-public r-raptr
  (package
    (name "r-raptr")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raptr" version))
       (sha256
        (base32 "01l5047xdjr3hq2d3hfcs7yb27wm0abmx3jxszq9lm4yic9zjr76"))))
    (properties `((upstream-name . "raptr")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-terra
                             r-sp
                             r-shape
                             r-sf
                             r-scales
                             r-rcppeigen
                             r-rcpp
                             r-rcolorbrewer
                             r-pbsmapping
                             r-mvtnorm
                             r-matrix
                             r-ks
                             r-hypervolume
                             r-ggplot2
                             r-boot
                             r-bh
                             r-assertthat
                             r-adehabitathr))
    (native-inputs (list r-knitr))
    (home-page "https://jeffrey-hanson.com/raptr/")
    (synopsis "Representative and Adequate Prioritization Toolkit in R")
    (description
     "Biodiversity is in crisis.  The overarching aim of conservation is to preserve
biodiversity patterns and processes.  To this end, protected areas are
established to buffer species and preserve biodiversity processes.  But
resources are limited and so protected areas must be cost-effective.  This
package contains tools to generate plans for protected areas (prioritizations),
using spatially explicit targets for biodiversity patterns and processes.  To
obtain solutions in a feasible amount of time, this package uses the commercial
Gurobi software (obtained from <https://www.gurobi.com/>).  For more information
on using this package, see Hanson et al. (2018) <doi:10.1111/2041-210X.12862>.")
    (license license:gpl3)))

(define-public r-raptor
  (package
    (name "r-raptor")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAPTOR" version))
       (sha256
        (base32 "1bj3xsl83mb8zwap8icywrfdld382fram79b0n14jbk1l87rj9r4"))))
    (properties `((upstream-name . "RAPTOR")))
    (build-system r-build-system)
    (propagated-inputs (list r-mgcv))
    (home-page "https://the-hull.github.io/raptor/")
    (synopsis "Row and Position Tracheid Organizer")
    (description
     "This package performs wood cell anatomical data analyses on spatially explicit
xylem (tracheids) datasets derived from thin sections of woody tissue.  The
package includes functions for visualisation, detection and alignment of
continuous tracheid radial file (defined as rows) and individual tracheid
position within an annual ring of coniferous species.  This package is designed
to be used with elaborate cell output, e.g. as provided with ROXAS (von Arx &
Carrer, 2014 <doi:10.1016/j.dendro.2013.12.001>).  The package has been
validated for Picea abies, Larix Siberica, Pinus cembra and Pinus sylvestris.")
    (license license:gpl2+)))

(define-public r-rapsimng
  (package
    (name "r-rapsimng")
    (version "0.4.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rapsimng" version))
       (sha256
        (base32 "0nlvagjilzjbnpy7h7k6kc1jlg589g74dak8f5pksin3kch1bbb0"))))
    (properties `((upstream-name . "rapsimng")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-rsqlite
                             r-rlang
                             r-magrittr
                             r-jsonlite
                             r-dplyr
                             r-dbi))
    (native-inputs (list r-knitr))
    (home-page "https://rapsimng.bangyou.me/")
    (synopsis "APSIM Next Generation")
    (description
     "The Agricultural Production Systems @code{sIMulator} ('APSIM') is a widely used
to simulate the agricultural systems for multiple crops.  This package is
designed to create, modify and run apsimx files in the APSIM Next Generation
<https://www.apsim.info/>.")
    (license license:expat)))

(define-public r-rappsflyer
  (package
    (name "r-rappsflyer")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rappsflyer" version))
       (sha256
        (base32 "1n0h4iqnzb5xr531b6nvqsjx4mpsg1gp85av2b9gqg0wrbzzizm7"))))
    (properties `((upstream-name . "rappsflyer")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-retry
                             r-lgr
                             r-httr
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rappsflyer")
    (synopsis "Work with AppsFlyer API")
    (description
     "Loading data from @code{AppsFlyer} Pull API
<https://support.appsflyer.com/hc/en-us/articles/207034346-Using-Pull-API-aggregate-data>.")
    (license license:expat)))

(define-public r-rapport
  (package
    (name "r-rapport")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rapport" version))
       (sha256
        (base32 "14cbi3yag91lnr1yrbk8ra6j615z5a6h136dj3r6v628qahrhmsg"))))
    (properties `((upstream-name . "rapport")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-yaml r-stringr r-rapportools r-pander))
    (native-inputs (list esbuild))
    (home-page "https://rapporter.github.io/rapport/")
    (synopsis "Report Templating System")
    (description
     "Facilitating the creation of reproducible statistical report templates.  Once
created, rapport templates can be exported to various external formats (HTML,
@code{LaTeX}, PDF, ODT etc.) with pandoc as the converter backend.")
    (license license:agpl3)))

(define-public r-rapparmor
  (package
    (name "r-rapparmor")
    (version "3.2.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAppArmor" version))
       (sha256
        (base32 "12l4acr1vrn8rga4072yrp5hkwxl4llm8232gwzpihl3qlfj4121"))))
    (properties `((upstream-name . "RAppArmor")))
    (build-system r-build-system)
    (inputs (list))
    (native-inputs (list r-r-rsp pkg-config))
    (home-page "https://cran.r-project.org/package=RAppArmor")
    (synopsis "Bindings to AppArmor and Security Related Linux Tools")
    (description
     "Bindings to kernel methods for enforcing security restrictions. @code{AppArmor}
can apply mandatory access control (MAC) policies on a given task (process) via
security profiles with detailed ACL definitions.  In addition this package
implements bindings for setting process resource limits (rlimit), uid, gid,
affinity and priority.  The high level R function eval.secure builds on these
methods to perform dynamic sandboxing: it evaluates a single R expression within
a temporary fork which acts as a sandbox by enforcing fine grained restrictions
without affecting the main R process.  A portable version of this function is
now available in the unix package.")
    (license license:asl2.0)))

(define-public r-rapp
  (package
    (name "r-rapp")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rapp" version))
       (sha256
        (base32 "18d62wn808673qx3qclvi119i29r8pzm634x2zyy4mx59ixka9l4"))))
    (properties `((upstream-name . "Rapp")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml))
    (home-page "https://github.com/r-lib/Rapp")
    (synopsis "Easily Build Command Line Applications")
    (description
     "Run simple R scripts as command line applications, with automatic robust and
convenient support for command line arguments.  This package provides Rapp', an
alternative R front-end similar to Rscript', that enables this.")
    (license license:expat)))

(define-public r-rapidxmlr
  (package
    (name "r-rapidxmlr")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rapidxmlr" version))
       (sha256
        (base32 "14pa08yp8xmbqk8wwinz1xsphx75xq6vg8zgzcxc5zgmcf0ja5if"))))
    (properties `((upstream-name . "rapidxmlr")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rapidxmlr")
    (synopsis "'Rapidxml' C++ Header Files")
    (description
     "This package provides XML parsing capability through the Rapidxml C++
header-only library.")
    (license license:expat)))

(define-public r-rapidsplithalf
  (package
    (name "r-rapidsplithalf")
    (version "0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rapidsplithalf" version))
       (sha256
        (base32 "1ac7hpvi26gjzwxf6xma0307222aiap9029kpv8w9abpyz7v34jw"))))
    (properties `((upstream-name . "rapidsplithalf")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-foreach r-doparallel))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rapidsplithalf")
    (synopsis "Fast Split-Half Reliability Algorithm")
    (description
     "Accurately estimates the reliability of cognitive tasks using a fast and
flexible permutated split-half reliability algorithm that supports stratified
splitting while maintaining equal split sizes.  See Kahveci, Bathke, and
Blechert (2022) <doi:10.31234/osf.io/ta59r> for details.")
    (license license:gpl2+)))

(define-public r-rapidraker
  (package
    (name "r-rapidraker")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rapidraker" version))
       (sha256
        (base32 "1dhjsv22rdsv668d8dzdd6pm5xy549iiycv6isjmc5cwj3dp5fyz"))))
    (properties `((upstream-name . "rapidraker")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-slowraker r-rjava r-opennlpdata))
    (home-page "https://crew102.github.io/slowraker/articles/rapidraker.html")
    (synopsis "Rapid Automatic Keyword Extraction (RAKE) Algorithm")
    (description
     "This package provides a Java implementation of the RAKE algorithm ('Rose', S.,
Engel', D., Cramer', N. and Cowley', W. (2010) <doi:10.1002/9780470689646.ch1>),
which can be used to extract keywords from documents without any training data.")
    (license license:expat)))

(define-public r-rapidpolygonlookup
  (package
    (name "r-rapidpolygonlookup")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RapidPolygonLookup" version))
       (sha256
        (base32 "0h4snn3haa4a5rkafg98419by4nnz219wsm3y0dqgm4hw4bvha0g"))))
    (properties `((upstream-name . "RapidPolygonLookup")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp r-rgooglemaps r-rann r-pbsmapping))
    (home-page "https://cran.r-project.org/package=RapidPolygonLookup")
    (synopsis "POLYGON LOOKUP USING KD TREES")
    (description
     "Facilitates efficient polygon search using kd trees.  Coordinate level spatial
data can be aggregated to higher geographical identities like census blocks, ZIP
codes or police district boundaries.  This process requires mapping each point
in the given data set to a particular identity of the desired geographical
hierarchy.  Unless efficient data structures are used, this can be a daunting
task.  The operation point.in.polygon() from the package sp is computationally
expensive.  Here, we exploit kd-trees as efficient nearest neighbor search
algorithm to dramatically reduce the effective number of polygons being
searched.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-rapidphylo
  (package
    (name "r-rapidphylo")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rapidphylo" version))
       (sha256
        (base32 "1q0p43ikfpmza8prjcgf12471d0z0bmid33zyhkngykagrg5j2aa"))))
    (properties `((upstream-name . "rapidphylo")))
    (build-system r-build-system)
    (propagated-inputs (list r-phangorn r-ape))
    (home-page "https://github.com/ArindamRoyChoudhury/rapidphylo")
    (synopsis
     "Rapidly Estimates Phylogeny from Large Allele Frequency Data Using Root Distances Method")
    (description
     "Rapidly estimates tree-topology from large allele frequency data using Root
Distances Method, under a Brownian Motion Model.  See Peng et al. (2021)
<doi:10.1016/j.ympev.2021.107142>.")
    (license license:agpl3)))

(define-public r-rapidopgs
  (package
    (name "r-rapidopgs")
    (version "2.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RapidoPGS" version))
       (sha256
        (base32 "0jks5v9822gk4gip7027m2l26gccrm81iazn1006n1a0871caf98"))))
    (properties `((upstream-name . "RapidoPGS")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcurl
                             r-magrittr
                             r-iranges
                             r-genomicranges
                             r-dplyr
                             r-data-table
                             r-curl
                             r-coloc
                             r-bigsnpr
                             r-bigreadr))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RapidoPGS")
    (synopsis "Fast and Light Package to Compute Polygenic Risk Scores")
    (description
     "Quickly computes polygenic scores from GWAS summary statistics of either
case-control or quantitative traits without parameter tuning.  Reales,G.,
Vigorito, E., Kelemen,M., Wallace,C. (2021) <doi:10.1101/2020.07.24.220392>
\"RÃ¡@code{pidoPGS}: A rapid polygenic score calculator for summary GWAS data
without a test dataset\".")
    (license license:gpl3)))

(define-public r-rapidoc
  (package
    (name "r-rapidoc")
    (version "9.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rapidoc" version))
       (sha256
        (base32 "1nzwf4wx8syl9xpvmqn3mz72nhj80ssnm6wbfwnasg003ccfi43c"))))
    (properties `((upstream-name . "rapidoc")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (native-inputs (list esbuild))
    (home-page "https://github.com/meztez/rapidoc")
    (synopsis
     "Generates 'RapiDoc' Documentation from an 'OpenAPI' Specification")
    (description
     "This package provides a collection of HTML', @code{JavaScript}', CSS and fonts
assets that generate @code{RapiDoc} documentation from an @code{OpenAPI}
Specification: <https://mrin9.github.io/@code{RapiDoc/>}.")
    (license license:expat)))

(define-public r-rapidatetime
  (package
    (name "r-rapidatetime")
    (version "0.0.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RApiDatetime" version))
       (sha256
        (base32 "1s8dmv8phzr635z7l1af39jn5i3zs3hbnfij4m0rjs3mrq4fckpy"))))
    (properties `((upstream-name . "RApiDatetime")))
    (build-system r-build-system)
    (home-page "https://github.com/eddelbuettel/rapidatetime")
    (synopsis "R API for 'Date' and 'Datetime'")
    (description
     "Access to the C-level R date and datetime code is provided for C-level API use
by other packages via registration of native functions.  Client packages simply
include a single header R@code{ApiDatetime.h} provided by this package, and also
import it.  The R Core group is the original author of the code made available
with slight modifications by this package.")
    (license license:gpl2+)))

(define-public r-rapi
  (package
    (name "r-rapi")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rapi" version))
       (sha256
        (base32 "044c3qs6vyijl8j21rs351jvmz2f6i864bzzy8vrh4p58j7zhq0d"))))
    (properties `((upstream-name . "Rapi")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-stringr
                             r-rlist
                             r-rlang
                             r-rcpp
                             r-purrr
                             r-magrittr
                             r-lubridate
                             r-jsonlite
                             r-httr2
                             r-httr
                             r-glue
                             r-dplyr
                             r-digest
                             r-crayon))
    (home-page "https://github.com/DataRapi/Rapi")
    (synopsis "Interface for Multiple Data Providers 'EDDS' and 'FRED'")
    (description
     "Interface for multiple data sources, such as the EDDS API
<https://evds2.tcmb.gov.tr/index.php?/evds/@code{userDocs>} of the Central Bank
of the Republic of TÃ¼rkiye and the FRED API
<https://fred.stlouisfed.org/docs/api/fred/> of the Federal Reserve Bank.  Both
data providers require API keys for access, which users can easily obtain by
creating accounts on their respective websites.  The package provides caching
ability with the selection of periods to increase the speed and efficiency of
requests.  It combines datasets requested from different sources, helping users
when the data has common frequencies.  While combining data frames whenever
possible, it also keeps all requested data available as separate data frames to
increase efficiency.")
    (license license:expat)))

(define-public r-ranktreeensemble
  (package
    (name "r-ranktreeensemble")
    (version "0.23")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ranktreeEnsemble" version))
       (sha256
        (base32 "09nax4h3jajbkbjkxwd8zd075lkhgcfhh42c2zqwwn8bkdyk03gr"))))
    (properties `((upstream-name . "ranktreeEnsemble")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-randomforestsrc r-gbm r-data-tree))
    (home-page "https://github.com/TransBioInfoLab/ranktreeEnsemble/")
    (synopsis
     "Ensemble Models of Rank-Based Trees with Extracted Decision Rules")
    (description
     "Fast computing an ensemble of rank-based trees via boosting or random forest on
binary and multi-class problems.  It converts continuous gene expression
profiles into ranked gene pairs, for which the variable importance indices are
computed and adopted for dimension reduction.  Decision rules can be extracted
from trees.")
    (license license:gpl2+)))

(define-public r-ranks
  (package
    (name "r-ranks")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RANKS" version))
       (sha256
        (base32 "1c7khw2rxf88cycy81kqxyg7rzb9f8ns8n5x24zzjdvsws77fshq"))))
    (properties `((upstream-name . "RANKS")))
    (build-system r-build-system)
    (propagated-inputs (list r-rbgl r-perfmeas r-netpreproc r-limma r-graph))
    (home-page "https://cran.r-project.org/package=RANKS")
    (synopsis "Ranking of Nodes with Kernelized Score Functions")
    (description
     "Implementation of Kernelized score functions and other semi-supervised learning
algorithms for node label ranking to analyze biomolecular networks.  RANKS can
be easily applied to a large set of different relevant problems in computational
biology, ranging from automatic protein function prediction, to gene disease
prioritization and drug repositioning, and more in general to any bioinformatics
problem that can be formalized as a node label ranking problem in a graph.  The
modular nature of the implementation allows to experiment with different score
functions and kernels and to easily compare the results with baseline
network-based methods such as label propagation and random walk algorithms, as
well as to enlarge the algorithmic scheme by adding novel user-defined score
functions and kernels.")
    (license license:gpl2+)))

(define-public r-rankresponse
  (package
    (name "r-rankresponse")
    (version "4.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RankResponse" version))
       (sha256
        (base32 "1i686wgqz8pxdjsgyqr9i8fq1779h3jpzzrmh407pknawyii1vmy"))))
    (properties `((upstream-name . "RankResponse")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RankResponse")
    (synopsis
     "Ranking Responses in a Single Response Question or a Multiple Response Question")
    (description
     "This package provides methods for ranking responses of a single response
question or a multiple response question are described in the two papers: 1.
Wang, H. (2008).  Ranking Responses in Multiple-Choice Questions.  Journal of
Applied Statistics, 35, 465-474. <DOI:10.1080/02664760801924533> 2.  Wang, H.
and Huang, W. H. (2014).  Bayesian Ranking Responses in Multiple Response
Questions.  Journal of the Royal Statistical Society: Series A (Statistics in
Society), 177, 191-208. <DOI:10.1111/rssa.12009>.")
    (license license:gpl2+)))

(define-public r-rankrate
  (package
    (name "r-rankrate")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rankrate" version))
       (sha256
        (base32 "14262gwyr9n9vwj0njb9piw0algmfr2y6sswarsafvmficagbfhm"))))
    (properties `((upstream-name . "rankrate")))
    (build-system r-build-system)
    (propagated-inputs (list r-isotone r-gtools))
    (native-inputs (list r-knitr))
    (home-page "https://pearce790.github.io/rankrate/")
    (synopsis
     "Joint Statistical Models for Preference Learning with Rankings and Ratings")
    (description
     "Statistical tools for the Mallows-Binomial model, the first joint statistical
model for preference learning for rankings and ratings.")
    (license license:gpl3)))

(define-public r-rankpca
  (package
    (name "r-rankpca")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RankPCA" version))
       (sha256
        (base32 "1gp1j9lbjvlgf9n2ccb77604l88r0jdp33ryjc7djpy3i3ccr16s"))))
    (properties `((upstream-name . "RankPCA")))
    (build-system r-build-system)
    (propagated-inputs (list r-caret))
    (home-page "https://cran.r-project.org/package=RankPCA")
    (synopsis
     "Rank of Variables Based on Principal Component Analysis for Mixed Data Types")
    (description
     "Principal Component Analysis (PCA) is a statistical technique used to reduce the
dimensionality of a dataset while preserving as much variability as possible.
By transforming the original variables into a new set of uncorrelated variables
called principal components, PCA helps in identifying patterns and simplifying
the complexity of high-dimensional data.  The @code{RankPCA} package provides a
streamlined workflow for performing PCA on datasets containing both categorical
and continuous variables.  It facilitates data preprocessing, encoding of
categorical variables, and computes PCA to determine the optimal number of
principal components based on a specified variance threshold.  The package also
computes composite indices for ranking observations, which can be useful for
various analytical purposes.  Garai, S., & Paul, R. K. (2023)
<doi:10.1016/j.iswa.2023.200202>.")
    (license license:gpl3)))

(define-public r-rankinplot
  (package
    (name "r-rankinplot")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rankinPlot" version))
       (sha256
        (base32 "1kf8xwzx2mjgv3ad1yj70gm0mrsyghwkmjk98pwcj3a82qk94skr"))))
    (properties `((upstream-name . "rankinPlot")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales r-ggplot2))
    (home-page "https://cran.r-project.org/package=rankinPlot")
    (synopsis
     "Convenient Plotting for the Modified Rankin Scale and Other Ordinal Outcome Data")
    (description
     "This package provides convenient tools for visualising ordinal outcome data
following the \"Grotta Bar\" approach pioneered by The National Institute of
Neurological Disorders and Stroke rt-PA Stroke Study Group (1995)
<doi:10.1056/NEJM199512143332401>.")
    (license license:gpl2+)))

(define-public r-rankinma
  (package
    (name "r-rankinma")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rankinma" version))
       (sha256
        (base32 "12l627drysk2hkc62q8i8x25plqyl1iz9phw4x3hy34h3hdkq6wa"))))
    (properties `((upstream-name . "rankinma")))
    (build-system r-build-system)
    (propagated-inputs (list r-netmeta r-mvtnorm))
    (native-inputs (list r-knitr))
    (home-page "https://rankinma.shinyapps.io/rankinma/")
    (synopsis "Rank in Network Meta-Analysis")
    (description
     "This package provides a supportive collection of functions for gathering and
plotting treatment ranking metrics after network meta-analysis.")
    (license license:gpl3+)))

(define-public r-rankingproject
  (package
    (name "r-rankingproject")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RankingProject" version))
       (sha256
        (base32 "11i47arl3r32iky29wjawb26g0hiji0ddl70gcrcy8v9j0h01vap"))))
    (properties `((upstream-name . "RankingProject")))
    (build-system r-build-system)
    (native-inputs (list r-r-rsp r-knitr))
    (home-page "https://github.com/civilstat/RankingProject")
    (synopsis "The Ranking Project: Visualizations for Comparing Populations")
    (description
     "This package provides functions to generate plots and tables for comparing
independently- sampled populations.  Companion package to \"A Primer on
Visualizations for Comparing Populations, Including the Issue of Overlapping
Confidence Intervals\" by Wright, Klein, and Wieczorek (2019)
<DOI:10.1080/00031305.2017.1392359> and \"A Joint Confidence Region for an
Overall Ranking of Populations\" by Klein, Wright, and Wieczorek (2020)
<DOI:10.1111/rssc.12402>.")
    (license license:gpl2)))

(define-public r-rankicc
  (package
    (name "r-rankicc")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rankICC" version))
       (sha256
        (base32 "1qky7g1g0zjpjwpmh6c5qaki2c6r5vzgl63klmc4myz9d3fh6sb3"))))
    (properties `((upstream-name . "rankICC")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=rankICC")
    (synopsis "Rank Intraclass Correlation for Clustered Data")
    (description
     "Estimates the rank intraclass correlation coefficient (ICC) for clustered
continuous and ordinal data.  See Tu et al. (2023) <DOI:10.1002/sim.9864> for
details.")
    (license license:gpl2+)))

(define-public r-rankhazard
  (package
    (name "r-rankhazard")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rankhazard" version))
       (sha256
        (base32 "0kljn9b74alrd22b5pwfnamdbaqi2wa2z6yzpmgpfs3x0hv72fw7"))))
    (properties `((upstream-name . "rankhazard")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival))
    (home-page "https://cran.r-project.org/package=rankhazard")
    (synopsis "Rank-Hazard Plots")
    (description
     "Rank-hazard plots Karvanen and Harrell (2009) <DOI:10.1002/sim.3591> visualize
the relative importance of covariates in a proportional hazards model.  The key
idea is to rank the covariate values and plot the relative hazard as a function
of ranks scaled to interval [0,1].  The relative hazard is plotted in respect to
the reference hazard, which can bee.g. the hazard related to the median of the
covariate.")
    (license license:gpl2)))

(define-public r-rankfd
  (package
    (name "r-rankfd")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rankFD" version))
       (sha256
        (base32 "0p8kkscjnfssz58gp2kvpvw206vhqi6m1rknzs35l5ajck3gqzrm"))))
    (properties `((upstream-name . "rankFD")))
    (build-system r-build-system)
    (propagated-inputs (list r-mvtnorm r-multcomp r-mass r-lattice r-coin))
    (home-page "https://cran.r-project.org/package=rankFD")
    (synopsis "Rank-Based Tests for General Factorial Designs")
    (description
     "The @code{rankFD}() function calculates the Wald-type statistic (WTS) and the
ANOVA-type statistic (ATS) for nonparametric factorial designs, e.g., for count,
ordinal or score data in a crossed design with an arbitrary number of factors.
Brunner, E., Bathke, A. and Konietschke, F. (2018)
<doi:10.1007/978-3-030-02914-2>.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-rankdist
  (package
    (name "r-rankdist")
    (version "1.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rankdist" version))
       (sha256
        (base32 "1xqrkss8d5vv3blqpvrvdczsygphbx259hy9j7w9b2ahssw8cjr5"))))
    (properties `((upstream-name . "rankdist")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp r-permute r-optimx r-hash))
    (home-page "https://cran.r-project.org/package=rankdist")
    (synopsis "Distance Based Ranking Models")
    (description
     "This package implements distance based probability models for ranking data.  The
supported distance metrics include Kendall distance, Spearman distance, Footrule
distance, Hamming distance, Weighted-tau distance and Weighted Kendall distance.
 Phi-component model and mixture models are also supported.")
    (license license:gpl2+)))

(define-public r-rankdifferencetest
  (package
    (name "r-rankdifferencetest")
    (version "2021-11-25")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rankdifferencetest" version))
       (sha256
        (base32 "11isc6fjaicyibnbc315036wp7m670ja6kg4xq5s2x72k076v55f"))))
    (properties `((upstream-name . "rankdifferencetest")))
    (build-system r-build-system)
    (propagated-inputs (list r-rdpack r-modeltools r-coin))
    (home-page "http://brettklamer.com/work/rankdifferencetest")
    (synopsis "Kornbrot's Rank Difference Test")
    (description
     "This package implements Kornbrot's rank difference test as described in
<doi:10.1111/j.2044-8317.1990.tb00939.x>.  This method is a modified Wilcoxon
signed-rank test which produces consistent and meaningful results for ordinal or
monotonically-transformed data.")
    (license license:expat)))

(define-public r-rankcorr
  (package
    (name "r-rankcorr")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rankCorr" version))
       (sha256
        (base32 "0if7kp3f4dz164kw4lj7s4fq9qfjxgm6vz2i9p93hnipc8cg3azb"))))
    (properties `((upstream-name . "rankCorr")))
    (build-system r-build-system)
    (propagated-inputs (list r-rms r-rankicc))
    (home-page "https://cran.r-project.org/package=rankCorr")
    (synopsis
     "Total, Between-, and Within-Cluster Spearman Rank Correlations for Clustered Data")
    (description
     "Estimates the total, between-, and within-cluster Spearman rank correlations for
continuous and ordinal clustered data.
<https://github.com/shengxintu/@code{rankCorr>}.")
    (license license:gpl2+)))

(define-public r-rankcluster
  (package
    (name "r-rankcluster")
    (version "0.98.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rankcluster" version))
       (sha256
        (base32 "0lipl57xx6ik66579vmhammy86iwjlnc7qmkjn9xcj3prkqy5p2i"))))
    (properties `((upstream-name . "Rankcluster")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcppeigen r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=Rankcluster")
    (synopsis "Model-Based Clustering for Multivariate Partial Ranking Data")
    (description
     "Implementation of a model-based clustering algorithm for ranking data (C.
Biernacki, J. Jacques (2013) <doi:10.1016/j.csda.2012.08.008>).  Multivariate
rankings as well as partial rankings are taken into account.  This algorithm is
based on an extension of the Insertion Sorting Rank (ISR) model for ranking
data, which is a meaningful and effective model parametrized by a position
parameter (the modal ranking, quoted by mu) and a dispersion parameter (quoted
by pi).  The heterogeneity of the rank population is modelled by a mixture of
ISR, whereas conditional independence assumption is considered for multivariate
rankings.")
    (license license:gpl2+)))

(define-public r-rankaggsigfur
  (package
    (name "r-rankaggsigfur")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RankAggSIgFUR" version))
       (sha256
        (base32 "0wsmd9p3dfjs650q3b81k91fbl3bpjc8grm4233m8f941cabap8p"))))
    (properties `((upstream-name . "RankAggSIgFUR")))
    (build-system r-build-system)
    (propagated-inputs (list r-rfast r-plyr r-data-table r-combinat))
    (home-page "https://github.com/prakashvs613/RankAggSIgFUR")
    (synopsis
     "Polynomially Bounded Rank Aggregation under Kemeny's Axiomatic Approach")
    (description
     "Polynomially bounded algorithms to aggregate complete rankings under Kemeny's
axiomatic framework. @code{RankAggSIgFUR} (pronounced as rank-agg-cipher)
contains two heuristics algorithms: FUR and S@code{IgFUR}.  For details, please
see Badal and Das (2018) <doi:10.1016/j.cor.2018.06.007>.")
    (license license:gpl3+)))

(define-public r-rankaggregator
  (package
    (name "r-rankaggregator")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RankAggregator" version))
       (sha256
        (base32 "0j4s4fv28fbc6ij6fzpmza9n5lfrql8ll33fi65vhczz9pjhpjii"))))
    (properties `((upstream-name . "RankAggregator")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RankAggregator")
    (synopsis "Aggregation of (Partial) Ordinal Rankings")
    (description
     "Easily compute an aggregate ranking (also called a median ranking or a consensus
ranking) according to the axiomatic approach presented by Cook et al. (2007).
This approach minimises the number of violations between all candidate consensus
rankings and all input (partial) rankings, and draws on a branch and bound
algorithm and a heuristic algorithm to drastically improve speed.  The package
also provides an option to bootstrap a consensus ranking based on resampling
input rankings (with replacement).  Input rankings can be either incomplete
(partial) or complete.  Reference: Cook, W.D., Golany, B., Penn, M. and Raviv,
T. (2007) <doi:10.1016/j.cor.2005.05.030>.")
    (license license:gpl3)))

(define-public r-rankaggreg
  (package
    (name "r-rankaggreg")
    (version "0.6.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RankAggreg" version))
       (sha256
        (base32 "1g70njfv776qgp3i52kr6yxg7x9qliqaj33jm5vkgbajw1ampsdx"))))
    (properties `((upstream-name . "RankAggreg")))
    (build-system r-build-system)
    (propagated-inputs (list r-gtools))
    (home-page "https://cran.r-project.org/package=RankAggreg")
    (synopsis "Weighted Rank Aggregation")
    (description
     "This package performs aggregation of ordered lists based on the ranks using
several different algorithms: Cross-Entropy Monte Carlo algorithm, Genetic
algorithm, and a brute force algorithm (for small problems).")
    (license license:lgpl2.0+)))

(define-public r-rank
  (package
    (name "r-rank")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rank" version))
       (sha256
        (base32 "1pbi2s7361v6jzv9574dhcvdryachrw8s25vk2ca5jjvp9yrj2li"))))
    (properties `((upstream-name . "rank")))
    (build-system r-build-system)
    (home-page "https://github.com/selkamand/rank")
    (synopsis "Customisable Ranking of Numerical and Categorical Data")
    (description
     "This package provides a flexible alternative to the built-in rank() function
called smartrank().  Optionally rank categorical variables by frequency (instead
of in alphabetical order), and control whether ranking is based on
descending/ascending order.  smartrank() is suitable for both numerical and
categorical data.")
    (license license:expat)))

(define-public r-ranglapunjab
  (package
    (name "r-ranglapunjab")
    (version "2.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RanglaPunjab" version))
       (sha256
        (base32 "01j3gww9kil02d44jwlkz6j7lwn2him830bnshkly0s7mgh22pgr"))))
    (properties `((upstream-name . "RanglaPunjab")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyverse r-shiny r-jpeg))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RanglaPunjab")
    (synopsis "Displays Palette of 5 Colors")
    (description
     "Displays palette of 5 colors based on photos depicting the unique and vibrant
culture of Punjab in Northern India.  Since Punjab translates to ``Land of 5
Rivers there are 5 colors per palette.  If users need more than 5 colors, they
can merge 2 to 3 palettes to create their own color-combination, or they can
cherry-pick their own custom colors.  Users can view up to 3 palettes together.
Users can also list all the palette choices.  And last but not least, users can
see the photo that inspired a particular palette.")
    (license license:gpl2)))

(define-public r-rangemodelmetadata
  (package
    (name "r-rangemodelmetadata")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rangeModelMetadata" version))
       (sha256
        (base32 "0yv4w8vy7yjmkg8gkmgy05khmvw2h7v8ag5hzfm8km120m8215i8"))))
    (properties `((upstream-name . "rangeModelMetadata")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra r-spocc r-shiny r-bien))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rangeModelMetadata")
    (synopsis
     "Provides Templates for Metadata Files Associated with Species Range Models")
    (description
     "Range Modeling Metadata Standards (RMMS) address three challenges: they (i) are
designed for convenience to encourage use, (ii) accommodate a wide variety of
applications, and (iii) are extensible to allow the community of range modelers
to steer it as needed.  RMMS are based on a data dictionary that specifies a
hierarchical structure to catalog different aspects of the range modeling
process.  The dictionary balances a constrained, minimalist vocabulary to
improve standardization with flexibility for users to provide their own values.
Merow et al. (2019) <DOI:10.1111/geb.12993> describe the standards in more
detail.  Note that users who prefer to use the R package ecospat can obtain it
from <https://github.com/ecospat/ecospat>.")
    (license license:gpl3+)))

(define-public r-rangemapper
  (package
    (name "r-rangemapper")
    (version "2.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rangeMapper" version))
       (sha256
        (base32 "1wasvd3k2c6crl2q27d9q88x21pv66b6h9x3msfdcw0k0h719dzc"))))
    (properties `((upstream-name . "rangeMapper")))
    (build-system r-build-system)
    (propagated-inputs (list r-sf
                             r-rsqlite
                             r-raster
                             r-progressr
                             r-magrittr
                             r-glue
                             r-future-apply
                             r-future
                             r-exactextractr
                             r-dbi
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/mpio-be/rangeMapper")
    (synopsis "Platform for the Study of Macro-Ecology of Life History Traits")
    (description
     "This package provides tools for generation of (life-history) traits and
diversity maps on hexagonal or square grids.  Valcu et al.(2012)
<doi:10.1111/j.1466-8238.2011.00739.x>.")
    (license license:gpl2+)))

(define-public r-rangebuilder
  (package
    (name "r-rangebuilder")
    (version "2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rangeBuilder" version))
       (sha256
        (base32 "1r82rmmfwbfl2lxcsnl9xwyr2932jv43cjlvlihi5172irpfgvpw"))))
    (properties `((upstream-name . "rangeBuilder")))
    (build-system r-build-system)
    (propagated-inputs (list r-units
                             r-terra
                             r-stringi
                             r-sf
                             r-rnaturalearth
                             r-rcpp
                             r-pbapply
                             r-alphahull))
    (home-page "https://github.com/ptitle/rangeBuilder")
    (synopsis
     "Occurrence Filtering, Geographic Standardization and Generation of Species Range Polygons")
    (description
     "This package provides tools for filtering occurrence records, generating
alpha-hull-derived range polygons and mapping species distributions.")
    (license license:gpl3+)))

(define-public r-rang
  (package
    (name "r-rang")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rang" version))
       (sha256
        (base32 "1g5crf9k8pkyvbxxz2wb7pwa91fpk579jaq3d46kafr98xxvrnyb"))))
    (properties `((upstream-name . "rang")))
    (build-system r-build-system)
    (propagated-inputs (list r-vctrs
                             r-renv
                             r-remotes
                             r-pkgsearch
                             r-parsedate
                             r-memoise
                             r-jsonlite
                             r-httr
                             r-here
                             r-fastmap))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/gesistsa/rang")
    (synopsis "Reconstructing Reproducible R Computational Environments")
    (description
     "Resolve the dependency graph of R packages at a specific time point based on the
information from various R-hub web services <https://blog.r-hub.io/>.  The
dependency graph can then be used to reconstruct the R computational environment
with Rocker <https://rocker-project.org>.")
    (license license:gpl3+)))

(define-public r-randvar
  (package
    (name "r-randvar")
    (version "1.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RandVar" version))
       (sha256
        (base32 "1w7dv3cskmwnln0i76kqqis23i4zqlcfs43rkl9sp60rprfihm7w"))))
    (properties `((upstream-name . "RandVar")))
    (build-system r-build-system)
    (propagated-inputs (list r-startupmsg r-distrex r-distr))
    (home-page "https://r-forge.r-project.org/projects/robast/")
    (synopsis "Implementation of Random Variables")
    (description
     "This package implements random variables by means of S4 classes and methods.")
    (license license:lgpl3)))

(define-public r-randtests
  (package
    (name "r-randtests")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randtests" version))
       (sha256
        (base32 "1yrs0p7bmcjmwmm8iyadrb6p0w8ypwxzhmw6wkx3h2pi7730d6da"))))
    (properties `((upstream-name . "randtests")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=randtests")
    (synopsis "Testing Randomness in R")
    (description
     "This package provides several non parametric randomness tests for numeric
sequences.")
    (license license:gpl2+)))

(define-public r-randquotes
  (package
    (name "r-randquotes")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randquotes" version))
       (sha256
        (base32 "0fj9vx0c4059511wka7ip30yz87y144pz7ny840gp72qm73pp8li"))))
    (properties `((upstream-name . "randquotes")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-jsonlite r-httr r-curl))
    (home-page "https://github.com/amrrs/randquotes")
    (synopsis "Get Random Quotes from Quotes on Design API")
    (description
     "Connects to the site <http://quotesondesign.com/> that uses the @code{WordPress}
built-in REST API to provide a way for you to grab quotes.")
    (license (license:fsdg-compatible "AGPL"))))

(define-public r-randpro
  (package
    (name "r-randpro")
    (version "0.2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RandPro" version))
       (sha256
        (base32 "092mm9gybvcby2n161nldlq8s2ja2bc43jnkln6ss3lr29rmi9b3"))))
    (properties `((upstream-name . "RandPro")))
    (build-system r-build-system)
    (propagated-inputs (list r-e1071 r-caret))
    (home-page "https://cran.r-project.org/package=RandPro")
    (synopsis "Random Projection with Classification")
    (description
     "This package performs random projection using Johnson-Lindenstrauss (JL) Lemma
(see William B.Johnson and Joram Lindenstrauss (1984)
<doi:10.1090/conm/026/737400>).  Random Projection is a dimension reduction
technique, where the data in the high dimensional space is projected into the
low dimensional space using JL transform.  The original high dimensional data
matrix is multiplied with the low dimensional projection matrix which results in
reduced matrix.  The projection matrix can be generated using the projection
function that is independent to the original data.  Then finally apply the
classification task on the projected data.")
    (license license:gpl2+)))

(define-public r-randomwalker
  (package
    (name "r-randomwalker")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RandomWalker" version))
       (sha256
        (base32 "0yv6bkfm0dqp5zwxr3k38m57434pfsrpfq9qckfslkxwydmhf074"))))
    (properties `((upstream-name . "RandomWalker")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-rlang
                             r-purrr
                             r-patchwork
                             r-nns
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://www.spsanderson.com/RandomWalker/")
    (synopsis "Generate Random Walks Compatible with the 'tidyverse'")
    (description
     "Generates random walks of various types by providing a set of functions that are
compatible with the tidyverse'.  The functions provided in the package make it
simple to create random walks with a variety of properties, such as how many
simulations to run, how many steps to take, and the distribution of random walk
itself.")
    (license license:expat)))

(define-public r-randomuseragent
  (package
    (name "r-randomuseragent")
    (version "0.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Randomuseragent" version))
       (sha256
        (base32 "1ym272z5a2wnprz59db8knszzqglmrdmk77r7cfyzy5jwcqzy4jn"))))
    (properties `((upstream-name . "Randomuseragent")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/fangzhou-xie/Randomuseragent")
    (synopsis "Filtering and Randomly Sampling Real User-Agent Strings")
    (description
     "Based on data of real user-agent strings, we can set filtering conditions and
randomly sample user-agent strings from the user-agent string pool.")
    (license license:expat)))

(define-public r-randomuniformforest
  (package
    (name "r-randomuniformforest")
    (version "1.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomUniformForest" version))
       (sha256
        (base32 "1qr7c0pkqn2a9knpbc2ch6chwwrvfw1sr5949mkgml36xyv1syv7"))))
    (properties `((upstream-name . "randomUniformForest")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpp
                             r-proc
                             r-mass
                             r-iterators
                             r-ggplot2
                             r-foreach
                             r-doparallel
                             r-cluster))
    (native-inputs (list r-r-rsp))
    (home-page "https://cran.r-project.org/package=randomUniformForest")
    (synopsis
     "Random Uniform Forests for Classification, Regression and Unsupervised Learning")
    (description
     "Ensemble model, for classification, regression and unsupervised learning, based
on a forest of unpruned and randomized binary decision trees.  Each tree is
grown by sampling, with replacement, a set of variables at each node.  Each
cut-point is generated randomly, according to the continuous Uniform
distribution.  For each tree, data are either bootstrapped or subsampled.  The
unsupervised mode introduces clustering, dimension reduction and variable
importance, using a three-layer engine.  Random Uniform Forests are mainly aimed
to lower correlation between trees (or trees residuals), to provide a deep
analysis of variable importance and to allow native distributed and incremental
learning.")
    (license license:bsd-3)))

(define-public r-randomprojectiontest
  (package
    (name "r-randomprojectiontest")
    (version "0.1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RandomProjectionTest" version))
       (sha256
        (base32 "1pg88q7k89s33yfnqkn5d03mc3ix8ihh4q3l6064p44d98wdsw4f"))))
    (properties `((upstream-name . "RandomProjectionTest")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-glue))
    (home-page "https://cran.r-project.org/package=RandomProjectionTest")
    (synopsis "Two-Sample Test in High Dimensions using Random Projection")
    (description
     "This package performs the random projection test (Lopes et al., (2011)
<doi:10.48550/@code{arXiv.1108.2401>}) for the one-sample and two-sample
hypothesis testing problem for equality of means in the high dimensional
setting.  We are interested in detecting the mean vector in the one-sample
problem or the difference between mean vectors in the two-sample problem.")
    (license license:gpl3)))

(define-public r-randomnames
  (package
    (name "r-randomnames")
    (version "1.6-0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomNames" version))
       (sha256
        (base32 "13zqkg0hpi6bpisnn4wwwypv8kbvcnksl5n7p9kj7mdlw8vk38j1"))))
    (properties `((upstream-name . "randomNames")))
    (build-system r-build-system)
    (propagated-inputs (list r-toordinal r-data-table r-crayon))
    (native-inputs (list r-knitr))
    (home-page "https://centerforassessment.github.io/randomNames/")
    (synopsis "Generate Random Given and Surnames")
    (description
     "Function for generating random gender and ethnicity correct first and/or last
names.  Names are chosen proportionally based upon their probability of
appearing in a large scale data base of real names.")
    (license license:gpl3)))

(define-public r-randommachines
  (package
    (name "r-randommachines")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomMachines" version))
       (sha256
        (base32 "1b34jwvs2x67kbjmxa5rpxlrqsvghgnyddz250nwpchj2s4lgc17"))))
    (properties `((upstream-name . "randomMachines")))
    (build-system r-build-system)
    (propagated-inputs (list r-kernlab))
    (home-page "https://cran.r-project.org/package=randomMachines")
    (synopsis "An Ensemble Modeling using Random Machines")
    (description
     "This package provides a novel ensemble method employing Support Vector Machines
(SVMs) as base learners.  This powerful ensemble model is designed for both
classification (Ara A., et.  al, 2021) <doi:10.6339/21-JDS1014>, and regression
(Ara A., et.  al, 2021) <doi:10.1016/j.eswa.2022.117107> problems, offering
versatility and robust performance across different datasets and compared with
other consolidated methods as Random Forests (Maia M, et.  al, 2021)
<doi:10.6339/21-JDS1025>.")
    (license license:expat)))

(define-public r-randomlca
  (package
    (name "r-randomlca")
    (version "1.1-4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomLCA" version))
       (sha256
        (base32 "04qb2r4mpgsi077npf05gw1mf5halbc2r275mx4dil7s4d29javb"))))
    (properties `((upstream-name . "randomLCA")))
    (build-system r-build-system)
    (propagated-inputs (list r-rfast
                             r-matrix
                             r-lattice
                             r-foreach
                             r-fastghquad
                             r-dorng
                             r-doparallel
                             r-boot))
    (native-inputs (list r-r-rsp))
    (home-page "https://cran.r-project.org/package=randomLCA")
    (synopsis "Random Effects Latent Class Analysis")
    (description
     "Fits standard and random effects latent class models.  The single level random
effects model is described in Qu et al <doi:10.2307/2533043> and the two level
random effects model in Beath and Heller <doi:10.1177/1471082X0800900302>.
Examples are given for their use in diagnostic testing.")
    (license license:gpl2+)))

(define-public r-randomizer
  (package
    (name "r-randomizer")
    (version "3.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomizeR" version))
       (sha256
        (base32 "00w4h8xamf6wix67g921j0xqma5y6zmzd23vr8k2qa48an9bnkfm"))))
    (properties `((upstream-name . "randomizeR")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-rlang
                             r-reshape2
                             r-pwrgsd
                             r-purrr
                             r-plotrix
                             r-mvtnorm
                             r-mstate
                             r-magrittr
                             r-insight
                             r-gsdesign
                             r-ggplot2
                             r-dplyr
                             r-coin))
    (home-page "https://cran.r-project.org/package=randomizeR")
    (synopsis "Randomization for Clinical Trials")
    (description
     "This tool enables the user to choose a randomization procedure based on sound
scientific criteria.  It comprises the generation of randomization sequences as
well the assessment of randomization procedures based on carefully selected
criteria.  Furthermore, @code{randomizeR} provides a function for the comparison
of randomization procedures.")
    (license license:gpl3+)))

(define-public r-randomizebe
  (package
    (name "r-randomizebe")
    (version "0.3-6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomizeBE" version))
       (sha256
        (base32 "1pid2cgil2mjkssznd7wb08v69ipnv6k4gary19iba854sx8lzw2"))))
    (properties `((upstream-name . "randomizeBE")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=randomizeBE")
    (synopsis "Create a Random List for Crossover Studies")
    (description
     "This package contains a function to randomize subjects, patients in groups of
sequences (treatment sequences).  If a blocksize is given, the randomization
will be done within blocks.  The randomization may be controlled by a
Wald-Wolfowitz runs test.  Functions to obtain the p-value of that test are
included.  The package is mainly intended for randomization of bioequivalence
studies but may be used also for other clinical crossover studies.  Contains two
helper functions sequences() and williams() to get the sequences of commonly
used designs in BE studies.")
    (license license:gpl2+)))

(define-public r-randomizationinference
  (package
    (name "r-randomizationinference")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomizationInference" version))
       (sha256
        (base32 "0viji0qblnc423abhccn02gl30jbwa866vl7az9fdp95psaij1kp"))))
    (properties `((upstream-name . "randomizationInference")))
    (build-system r-build-system)
    (propagated-inputs (list r-permute r-matrixstats))
    (home-page "https://cran.r-project.org/package=randomizationInference")
    (synopsis "Flexible Randomization-Based Inference")
    (description
     "Allows the user to conduct randomization-based inference for a wide variety of
experimental scenarios.  The package leverages a potential outcomes framework to
output randomization-based p-values and null intervals for test statistics
geared toward any estimands of interest, according to the specified null and
alternative hypotheses.  Users can define custom randomization schemes so that
the randomization distributions are accurate for their experimental settings.
The package also creates visualizations of randomization distributions and can
test multiple test statistics simultaneously.")
    (license license:gpl2)))

(define-public r-randomglm
  (package
    (name "r-randomglm")
    (version "1.10-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomGLM" version))
       (sha256
        (base32 "0557dpca39nj1451l28x4xxfr92cf48gy7crlfhnv4k91kglwcnz"))))
    (properties `((upstream-name . "randomGLM")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-matrixstats
                             r-mass
                             r-hmisc
                             r-geometry
                             r-foreach
                             r-doparallel))
    (home-page "https://horvath.genetics.ucla.edu/rglm/")
    (synopsis "Random General Linear Model Prediction")
    (description
     "This package provides a bagging predictor based on generalized linear models
(GLMs) is implemented.  The method is published in Song, Langfelder and Horvath
(2013) <doi:10.1186/1471-2105-14-5>.")
    (license license:gpl2+)))

(define-public r-randomforestvip
  (package
    (name "r-randomforestvip")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomForestVIP" version))
       (sha256
        (base32 "1blfgkgxgzda1rprsm6pdclyhfll238b7jb8sxhgdwcf9s80bnqv"))))
    (properties `((upstream-name . "randomForestVIP")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-randomforest
                             r-minerva
                             r-gridextra
                             r-ggplot2
                             r-dplyr
                             r-car))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/KelvynBladen/randomForestVIP")
    (synopsis
     "Tune Random Forests Based on Variable Importance & Plot Results")
    (description
     "This package provides functions for assessing variable relations and
associations prior to modeling with a Random Forest algorithm (although these
are relevant for any predictive model).  Metrics such as partial correlations
and variance inflation factors are tabulated as well as plotted for the user.  A
function is available for tuning the main Random Forest hyper-parameter based on
model performance and variable importance metrics.  This grid-search technique
provides tables and plots showing the effect of the main hyper-parameter on each
of the assessment metrics.  It also returns each of the evaluated models to the
user.  The package also provides superior variable importance plots for
individual models.  All of the plots are developed so that the user has the
ability to edit and improve further upon the plots.  Derivations and methodology
are described in Bladen (2022) <https://digitalcommons.usu.edu/etd/8587/>.")
    (license license:gpl3)))

(define-public r-randomforestsgls
  (package
    (name "r-randomforestsgls")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RandomForestsGLS" version))
       (sha256
        (base32 "0xyryzlqc1miradkhj2z717ws02iasz0xnc95k1iiaw0xrpybkmz"))))
    (properties `((upstream-name . "RandomForestsGLS")))
    (build-system r-build-system)
    (propagated-inputs (list r-randomforest r-pbapply r-matrixstats r-brisc))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ArkajyotiSaha/RandomForestsGLS")
    (synopsis "Random Forests for Dependent Data")
    (description
     "Fits non-linear regression models on dependant data with Generalised Least
Square (GLS) based Random Forest (RF-GLS) detailed in Saha, Basu and Datta
(2021) <doi:10.1080/01621459.2021.1950003>.")
    (license license:gpl2+)))

(define-public r-randomforestexplainer
  (package
    (name "r-randomforestexplainer")
    (version "0.10.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomForestExplainer" version))
       (sha256
        (base32 "1ny8c3vn2zvdx12avwvlm4lp648jigkrkcvnhf5qmj8rh0w069v0"))))
    (properties `((upstream-name . "randomForestExplainer")))
    (build-system r-build-system)
    (propagated-inputs (list r-rmarkdown
                             r-reshape2
                             r-ranger
                             r-randomforest
                             r-ggrepel
                             r-ggplot2
                             r-ggally
                             r-dt
                             r-dplyr
                             r-data-table))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ModelOriented/randomForestExplainer")
    (synopsis
     "Explaining and Visualizing Random Forests in Terms of Variable Importance")
    (description
     "This package provides a set of tools to help explain which variables are most
important in a random forests.  Various variable importance measures are
calculated and visualized in different settings in order to get an idea on how
their importance changes depending on our criteria (Hemant Ishwaran and Udaya B.
Kogalur and Eiran Z. Gorodeski and Andy J. Minn and Michael S. Lauer (2010)
<doi:10.1198/jasa.2009.tm08622>, Leo Breiman (2001)
<doi:10.1023/A:1010933404324>).")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-randomcolor
  (package
    (name "r-randomcolor")
    (version "1.1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randomcoloR" version))
       (sha256
        (base32 "0rqh1zrdza12qq7475f77yvryhh4hj0pg25lb8ywrcljgaj53bnb"))))
    (properties `((upstream-name . "randomcoloR")))
    (build-system r-build-system)
    (propagated-inputs (list r-v8
                             r-stringr
                             r-scales
                             r-rtsne
                             r-colorspace
                             r-cluster))
    (home-page "https://cran.r-project.org/package=randomcoloR")
    (synopsis "Generate Attractive Random Colors")
    (description
     "Simple methods to generate attractive random colors.  The random colors are from
a wrapper of @code{randomColor.js}
<https://github.com/davidmerfield/@code{randomColor>}.  In addition, it also
generates optimally distinct colors based on k-means (inspired by
I@code{WantHue} <https://github.com/medialab/iwanthue>).")
    (license license:cc0)))

(define-public r-random-polychor-pa
  (package
    (name "r-random-polychor-pa")
    (version "1.1.4-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "random.polychor.pa" version))
       (sha256
        (base32 "1a8mnggdmyklxzqid81a88sx6v5jvhfnx5khvy21idsd8pp7pav2"))))
    (properties `((upstream-name . "random.polychor.pa")))
    (build-system r-build-system)
    (propagated-inputs (list r-sfsmisc
                             r-psych
                             r-nfactors
                             r-mvtnorm
                             r-mass
                             r-boot))
    (home-page "https://cran.r-project.org/package=random.polychor.pa")
    (synopsis "Parallel Analysis with Polychoric Correlation Matrices")
    (description
     "The Function performs a parallel analysis using simulated polychoric correlation
matrices.  The nth-percentile of the eigenvalues distribution obtained from both
the randomly generated and the real data polychoric correlation matrices is
returned.  A plot comparing the two types of eigenvalues (real and simulated)
will help determine the number of real eigenvalues that outperform random data.
The function is based on the idea that if real data are non-normal and the
polychoric correlation matrix is needed to perform a Factor Analysis, then the
Parallel Analysis method used to choose a non-random number of factors should
also be based on randomly generated polychoric correlation matrices and not on
Pearson correlation matrices.  Random data sets are simulated assuming or a
uniform or a multinomial distribution or via the bootstrap method of resampling
(i.e., random permutations of cases).  Also Multigroup Parallel analysis is made
available for random (uniform and multinomial distribution and with or without
difficulty factor) and bootstrap methods.  An option to choose between default
or full output is also available as well as a parameter to print Fit Statistics
(Chi-squared, TLI, RMSEA, RMR and BIC) for the factor solutions indicated by the
Parallel Analysis.  Also weighted correlation matrices may be considered for PA.")
    (license license:gpl2+)))

(define-public r-random-cdisc-data
  (package
    (name "r-random-cdisc-data")
    (version "0.3.16")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "random.cdisc.data" version))
       (sha256
        (base32 "1q5krsak9vaajdv5prh2qx9jb8hqnbmhcs657rxscq87xp300z8q"))))
    (properties `((upstream-name . "random.cdisc.data")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml
                             r-tidyr
                             r-tibble
                             r-stringr
                             r-rlang
                             r-magrittr
                             r-lubridate
                             r-lifecycle
                             r-dplyr
                             r-checkmate))
    (native-inputs (list r-rmarkdown r-knitr))
    (home-page "https://insightsengineering.github.io/random.cdisc.data/")
    (synopsis "Create Random ADaM Datasets")
    (description
     "This package provides a set of functions to create random Analysis Data Model
(A@code{DaM}) datasets and cached dataset.  A@code{DaM} dataset specifications
are described by the Clinical Data Interchange Standards Consortium (CDISC)
Analysis Data Model Team.")
    (license license:asl2.0)))

(define-public r-random
  (package
    (name "r-random")
    (version "0.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "random" version))
       (sha256
        (base32 "0sdhagwjlhldb8hn6h4nd1sflzhwkapzybdlb8hzisy3w2ygjn9b"))))
    (properties `((upstream-name . "random")))
    (build-system r-build-system)
    (propagated-inputs (list r-curl))
    (home-page "https://www.random.org")
    (synopsis "True Random Numbers using RANDOM.ORG")
    (description
     "The true random number service provided by the RANDOM.ORG website created by
Mads Haahr samples atmospheric noise via radio tuned to an unused broadcasting
frequency together with a skew correction algorithm due to John von Neumann.
More background is available in the included vignette based on an essay by Mads
Haahr.  In its current form, the package offers functions to retrieve random
integers, randomized sequences and random strings.")
    (license license:gpl2+)))

(define-public r-rando
  (package
    (name "r-rando")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rando" version))
       (sha256
        (base32 "085g48yzwapxxfmm5bvkz0v7pmjwmakb7nl128550ppgc16wxkgb"))))
    (properties `((upstream-name . "rando")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble r-rlang r-glue r-dplyr))
    (home-page "https://github.com/MyKo101/rando")
    (synopsis "Context Aware Random Numbers")
    (description
     "This package provides random number generating functions that are much more
context aware than the built-in functions.  The functions are also much safer,
as they check for incompatible values, and more reproducible.")
    (license license:expat)))

(define-public r-randnet
  (package
    (name "r-randnet")
    (version "0.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randnet" version))
       (sha256
        (base32 "1zb2arx63avjlqjpbf37cvix080khkihh6bb0g1h2alv4lbaaaak"))))
    (properties `((upstream-name . "randnet")))
    (build-system r-build-system)
    (propagated-inputs (list r-sparseflmm
                             r-rspectra
                             r-pracma
                             r-powerlaw
                             r-nnls
                             r-mgcv
                             r-matrix
                             r-irlba
                             r-entropy
                             r-data-table
                             r-auc))
    (home-page "https://cran.r-project.org/package=randnet")
    (synopsis
     "Random Network Model Estimation, Selection and Parameter Tuning")
    (description
     "Model selection and parameter tuning procedures for a class of random network
models.  The model selection can be done by a general cross-validation framework
called ECV from Li et.  al. (2016) <@code{arXiv:1612.04717>} .  Several other
model-based and task-specific methods are also included, such as NCV from Chen
and Lei (2016) <@code{arXiv:1411.1715>}, likelihood ratio method from Wang and
Bickel (2015) <@code{arXiv:1502.02069>}, spectral methods from Le and Levina
(2015) <@code{arXiv:1507.00827>}.  Many network analysis methods are also
implemented, such as the regularized spectral clustering (Amini et.  al.  2013
<doi:10.1214/13-AOS1138>) and its degree corrected version and graphon
neighborhood smoothing (Zhang et.  al.  2015 <@code{arXiv:1509.08588>}).  It
also includes the consensus clustering of Gao et.  al. (2014)
<@code{arXiv:1410.5837>}, the method of moments estimation of nomination SBM of
Li et.  al. (2020) <arxiv:2008.03652>, and the network mixing method of Li and
Le (2021) <arxiv:2106.02803>.  It also includes the informative core-periphery
data processing method of Miao and Li (2021) <@code{arXiv:2101.06388>}.  The
work to build and improve this package is partially supported by the NSF grants
DMS-2015298 and DMS-2015134.")
    (license license:gpl2+)))

(define-public r-randmeta
  (package
    (name "r-randmeta")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RandMeta" version))
       (sha256
        (base32 "0bh3rkdfmwqym47q8f90pw3mmx7q8jyp4rz16ggqrmk1b5bdyqjb"))))
    (properties `((upstream-name . "RandMeta")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RandMeta")
    (synopsis
     "Efficient Numerical Algorithm for Exact Inference in Meta Analysis")
    (description
     "This package provides a novel numerical algorithm that provides functionality
for estimating the exact 95% confidence interval of the location parameter in
the random effects model, and is much faster than the naive method.  Works best
when the number of studies is between 6-20.")
    (license license:gpl2)))

(define-public r-randgeo
  (package
    (name "r-randgeo")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randgeo" version))
       (sha256
        (base32 "14hlh9k66lcbf0xhnxx12rrnyl8awqcsm3csvxdz23s5wnm2ya5p"))))
    (properties `((upstream-name . "randgeo")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ropensci/randgeo")
    (synopsis "Generate Random 'WKT' or 'GeoJSON'")
    (description
     "Generate random positions (latitude/longitude), Well-known text ('WKT') points
or polygons, or @code{GeoJSON} points or polygons.")
    (license license:expat)))

(define-public r-randcorr
  (package
    (name "r-randcorr")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randcorr" version))
       (sha256
        (base32 "1hnr0wvbsmgql39wlj4z2qbqn0fdfwyihfl6xgrlzvs9vrmig5xx"))))
    (properties `((upstream-name . "randcorr")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=randcorr")
    (synopsis "Generate a Random p x p Correlation Matrix")
    (description
     "This package implements the algorithm by Pourahmadi and Wang (2015)
<doi:10.1016/j.spl.2015.06.015> for generating a random p x p correlation
matrix.  Briefly, the idea is to represent the correlation matrix using Cholesky
factorization and p(p-1)/2 hyperspherical coordinates (i.e., angles), sample the
angles from a particular distribution and then convert to the standard
correlation matrix form.  The angles are sampled from a distribution with pdf
proportional to sin^k(theta) (0 < theta < pi, k >= 1) using the efficient
sampling algorithm described in Enes Makalic and Daniel F. Schmidt (2018)
<@code{arXiv:1809.05212>}.")
    (license license:gpl3+)))

(define-public r-randchecks
  (package
    (name "r-randchecks")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "randChecks" version))
       (sha256
        (base32 "0fwbacnv38zf0014h9l45spfa4yd4wdif7m2a1jbl11pmns70wxm"))))
    (properties `((upstream-name . "randChecks")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=randChecks")
    (synopsis
     "Covariate Balance Checks: Randomization Tests and Graphical Diagnostics")
    (description
     "This package provides randomization tests and graphical diagnostics for
assessing randomized assignment and covariate balance for a binary treatment
variable.  See Branson (2021) <@code{arXiv:1804.08760>} for details.")
    (license license:expat)))

(define-public r-ramsvm
  (package
    (name "r-ramsvm")
    (version "2.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ramsvm" version))
       (sha256
        (base32 "1mr3q99i5s4p91fsvpz6qlc40ndqxmzrnmm8m2msxrbavqan7lck"))))
    (properties `((upstream-name . "ramsvm")))
    (build-system r-build-system)
    (propagated-inputs (list r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=ramsvm")
    (synopsis "Reinforced Angle-Based Multicategory Support Vector Machines")
    (description
     "This package provides a solution path for Reinforced Angle-based Multicategory
Support Vector Machines, with linear learning, polynomial learning, and Gaussian
kernel learning.  C. Zhang, Y. Liu, J. Wang and H. Zhu. (2016)
<doi:10.1080/10618600.2015.1043010>.")
    (license license:gpl2)))

(define-public r-rams
  (package
    (name "r-rams")
    (version "1.4.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RaMS" version))
       (sha256
        (base32 "14sclcyvvjlxgcqf8qkxlmci3haxpn87gn25gxvlpxkkd5ff44ss"))))
    (properties `((upstream-name . "RaMS")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2 r-data-table r-base64enc))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/wkumler/RaMS")
    (synopsis "R Access to Mass-Spec Data")
    (description
     "R-based access to mass-spectrometry (MS) data.  While many packages exist to
process MS data, many of these make it difficult to access the underlying
mass-to-charge ratio (m/z), intensity, and retention time of the files
themselves.  This package is designed to format MS data in a tidy fashion and
allows the user perform the plotting and analysis.")
    (license license:expat)))

(define-public r-ramps
  (package
    (name "r-ramps")
    (version "0.6.18")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ramps" version))
       (sha256
        (base32 "198m5616n6z71a33jkaw22i7y8324vbnwgzblsicdl4wdrdd0h78"))))
    (properties `((upstream-name . "ramps")))
    (build-system r-build-system)
    (propagated-inputs (list r-nlme r-matrix r-maps r-fields r-coda))
    (home-page "https://www.jstatsoft.org/v25/i10")
    (synopsis "Bayesian Geostatistical Modeling with RAMPS")
    (description
     "Bayesian geostatistical modeling of Gaussian processes using a reparameterized
and marginalized posterior sampling (RAMPS) algorithm designed to lower
autocorrelation in MCMC samples.  Package performance is tuned for large spatial
datasets.")
    (license license:gpl2)))

(define-public r-rampath
  (package
    (name "r-rampath")
    (version "0.5.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAMpath" version))
       (sha256
        (base32 "0dp5illypz3qdj2qmn47wy208mcjhkkwvw8yq2spzcsn55l8f0nx"))))
    (properties `((upstream-name . "RAMpath")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass r-lavaan r-ellipse))
    (home-page "https://nd.psychstat.org")
    (synopsis
     "Structural Equation Modeling Using the Reticular Action Model (RAM) Notation")
    (description
     "We rewrite of RAMpath software developed by John @code{McArdle} and Steven Boker
as an R package.  In addition to performing regular SEM analysis through the R
package lavaan, RAMpath has unique features.  First, it can generate path
diagrams according to a given model.  Second, it can display path tracing rules
through path diagrams and decompose total effects into their respective direct
and indirect effects as well as decompose variance and covariance into
individual bridges.  Furthermore, RAMpath can fit dynamic system models
automatically based on latent change scores and generate vector field plots
based upon results obtained from a bivariate dynamic system.  Starting version
0.4, RAMpath can conduct power analysis for both univariate and bivariate latent
change score models.")
    (license license:gpl2)))

(define-public r-ramp
  (package
    (name "r-ramp")
    (version "2.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAMP" version))
       (sha256
        (base32 "0836fiycrsxiwdw7srz1rvsf639iqh2rk89gavx4kvn0i0sc8d2x"))))
    (properties `((upstream-name . "RAMP")))
    (build-system r-build-system)
    (native-inputs (list gfortran))
    (home-page "https://cran.r-project.org/package=RAMP")
    (synopsis "Regularized Generalized Linear Models with Interaction Effects")
    (description
     "This package provides an efficient procedure for fitting the entire solution
path for high-dimensional regularized quadratic generalized linear models with
interactions effects under the strong or weak heredity constraint.")
    (license license:gpl2)))

(define-public r-ramlegacy
  (package
    (name "r-ramlegacy")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ramlegacy" version))
       (sha256
        (base32 "0q8qks8qapar12dzlkxlbvw4rj7qxmfw64cph834ckm4z7sis873"))))
    (properties `((upstream-name . "ramlegacy")))
    (build-system r-build-system)
    (propagated-inputs (list r-readxl r-rappdirs r-httr r-crayon r-cli))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ropensci/ramlegacy")
    (synopsis "Download and Read RAM Legacy Stock Assessment Database")
    (description
     "This package contains functions to download, cache and read in Excel version of
the RAM Legacy Stock Assessment Data Base, an online compilation of stock
assessment results for commercially exploited marine populations from around the
world.  The database is named after Dr. Ransom A. Myers whose original
stock-recruitment database, is no longer being updated.  More information about
the database can be found at <https://ramlegacy.org/>.  Ricard, D., Minto, C.,
Jensen, O.P. and Baum, J.K. (2012) <doi:10.1111/j.1467-2979.2011.00435.x>.")
    (license license:expat)))

(define-public r-ramify
  (package
    (name "r-ramify")
    (version "0.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ramify" version))
       (sha256
        (base32 "0cxmkxhshg0vrcxai2gbm4iih04f44liv5nh5jiq85hjz8qbhdi2"))))
    (properties `((upstream-name . "ramify")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/bgreenwell/ramify")
    (synopsis "Additional Matrix Functionality")
    (description
     "Additional matrix functionality for R including: (1) wrappers for the base
matrix function that allow matrices to be created from character strings and
lists (the former is especially useful for creating block matrices), (2) better
printing of large matrices via the generic \"pretty\" print function, and (3) a
number of convenience functions for users more familiar with other scientific
languages like Julia', Matlab'/'Octave', or Python'+'@code{NumPy}'.")
    (license license:gpl2+)))

(define-public r-rameritrade
  (package
    (name "r-rameritrade")
    (version "0.1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rameritrade" version))
       (sha256
        (base32 "1yp655zy1zn86x49adg3wwq8jvflm64a8gyaf9f3w75ihjy470bf"))))
    (properties `((upstream-name . "rameritrade")))
    (build-system r-build-system)
    (propagated-inputs (list r-urltools
                             r-magrittr
                             r-lubridate
                             r-jsonlite
                             r-httr
                             r-dplyr))
    (home-page "https://exploringfinance.github.io/rameritrade/")
    (synopsis "'TD Ameritrade' API Interface for R")
    (description
     "Use R to interface with the TD Ameritrade API
<https://developer.tdameritrade.com/>.  Functions include authentication,
trading, price requests, account information, and option chains.  A user will
need a TD brokerage account and TD Ameritrade developer app.  See README for
authentication process and examples.")
    (license license:gpl3)))

(define-public r-ramcmc
  (package
    (name "r-ramcmc")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ramcmc" version))
       (sha256
        (base32 "1a4r8010bsz5lzpznmr6akxjiif35kaylp2h72ky7gg4qn0bhpxz"))))
    (properties `((upstream-name . "ramcmc")))
    (build-system r-build-system)
    (propagated-inputs (list r-rcpparmadillo r-rcpp))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=ramcmc")
    (synopsis "Robust Adaptive Metropolis Algorithm")
    (description
     "Function for adapting the shape of the random walk Metropolis proposal as
specified by robust adaptive Metropolis algorithm by Vihola (2012)
<doi:10.1007/s11222-011-9269-5>.  The package also includes fast functions for
rank-one Cholesky update and downdate.  These functions can be used directly
from R or the corresponding C++ header files can be easily linked to other R
packages.")
    (license license:gpl2+)))

(define-public r-ramclustr
  (package
    (name "r-ramclustr")
    (version "1.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAMClustR" version))
       (sha256
        (base32 "0mlizk0rga6mprp4n2ff12yamvfsfk9v46d94ra6ld0i2jxm84fd"))))
    (properties `((upstream-name . "RAMClustR")))
    (build-system r-build-system)
    (propagated-inputs (list r-webchem
                             r-stringr
                             r-pcamethods
                             r-jsonlite
                             r-httr
                             r-gplots
                             r-ggplot2
                             r-fastcluster
                             r-e1071
                             r-dynamictreecut))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/cbroeckl/RAMClustR")
    (synopsis
     "Mass Spectrometry Metabolomics Feature Clustering and Interpretation")
    (description
     "This package provides a feature clustering algorithm for non-targeted mass
spectrometric metabolomics data.  This method is compatible with gas and liquid
chromatography coupled mass spectrometry, including indiscriminant tandem mass
spectrometry data <DOI: 10.1021/ac501530d>.")
    (license license:gpl2+)))

(define-public r-ramchoice
  (package
    (name "r-ramchoice")
    (version "2.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ramchoice" version))
       (sha256
        (base32 "020a4n44vbbdx9j6nzl12hwp6xs1aj7hxjvj315rkd2g82fvvfj4"))))
    (properties `((upstream-name . "ramchoice")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass))
    (home-page "https://cran.r-project.org/package=ramchoice")
    (synopsis
     "Revealed Preference and Attention Analysis in Random Limited Attention Models")
    (description
     "It is widely documented in psychology, economics and other disciplines that
socio-economic agent may not pay full attention to all available alternatives,
rendering standard revealed preference theory invalid.  This package implements
the estimation and inference procedures of Cattaneo, Ma, Masatlioglu and
Suleymanov (2020) <@code{arXiv:1712.03448>} and Cattaneo, Cheung, Ma, and
Masatlioglu (2022) <@code{arXiv:2110.10650>}, which utilizes standard choice
data to partially identify and estimate a decision maker's preference and
attention.  For inference, several simulation-based critical values are
provided.")
    (license license:gpl2)))

(define-public r-ramcharts4
  (package
    (name "r-ramcharts4")
    (version "1.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rAmCharts4" version))
       (sha256
        (base32 "0lpy2mpflhryxg96miz64nqrf5f97c4h78cs0bpf5qn33jci66wh"))))
    (properties `((upstream-name . "rAmCharts4")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-stringr
                             r-shiny
                             r-reactr
                             r-minpack-lm
                             r-lubridate
                             r-jsonlite
                             r-htmlwidgets
                             r-htmltools
                             r-base64enc))
    (home-page "https://github.com/stla/rAmCharts4")
    (synopsis "Interface to the JavaScript Library 'amCharts 4'")
    (description
     "This package creates @code{JavaScript} charts.  The charts can be included in
Shiny apps and R markdown documents, or viewed from the R console and RStudio
viewer.  Based on the @code{JavaScript} library @code{amCharts} 4 and the R
packages htmlwidgets and @code{reactR}'.  Currently available types of chart
are: vertical and horizontal bar chart, radial bar chart, stacked bar chart,
vertical and horizontal Dumbbell chart, line chart, scatter chart, range area
chart, gauge chart, boxplot chart, pie chart, and 100% stacked bar chart.")
    (license license:gpl3)))

(define-public r-ramcharts
  (package
    (name "r-ramcharts")
    (version "2.1.15")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rAmCharts" version))
       (sha256
        (base32 "0fcspbmzyyk6hinpjp29dv2banm0gssn9vy2zjf2p498hmysy3db"))))
    (properties `((upstream-name . "rAmCharts")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-zoo
                             r-yaml
                             r-piper
                             r-knitr
                             r-htmlwidgets
                             r-htmltools
                             r-data-table))
    (native-inputs (list esbuild))
    (home-page "https://datastorm-open.github.io/introduction_ramcharts/")
    (synopsis "JavaScript Charts Tool")
    (description
     "This package provides an R interface for using @code{AmCharts} Library.  Based
on htmlwidgets', it provides a global architecture to generate @code{JavaScript}
source code for charts.  Most of classes in the library have their equivalent in
R with S4 classes; for those classes, not all properties have been referenced
but can easily be added in the constructors.  Complex properties (e.g.
@code{JavaScript} object) can be passed as named list.  See examples at
<https://datastorm-open.github.io/introduction_ramcharts/> and
<https://www.amcharts.com/> for more information about the library.  The package
includes the free version of @code{AmCharts} Library.  Its only limitation is a
small link to the web site displayed on your charts.  If you enjoy this library,
do not hesitate to refer to this page <https://www.amcharts.com/online-store/>
to purchase a licence, and thus support its creators and get a period of
Priority Support.  See also <https://www.amcharts.com/about/> for more
information about @code{AmCharts} company.")
    (license license:gpl2+)))

(define-public r-ramble
  (package
    (name "r-ramble")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Ramble" version))
       (sha256
        (base32 "0225za85i5nvf8l89i5bz7nxsxykd3v9fp1wgihmncca6n8vhgpl"))))
    (properties `((upstream-name . "Ramble")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/chappers/Ramble")
    (synopsis "Parser Combinator for R")
    (description
     "Parser generator for R using combinatory parsers.  It is inspired by combinatory
parsers developed in Haskell.")
    (license license:expat)))

(define-public r-ramanmp
  (package
    (name "r-ramanmp")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RamanMP" version))
       (sha256
        (base32 "0rdj8vvs9l86yscx2mvy6nazzws8gd1x5bxvszlssinb20pns69z"))))
    (properties `((upstream-name . "RamanMP")))
    (build-system r-build-system)
    (propagated-inputs (list r-imputets r-ggrepel r-ggplot2 r-dplyr))
    (home-page "https://cran.r-project.org/package=RamanMP")
    (synopsis "Analysis and Identification of Raman Spectra of Microplastics")
    (description
     "Pre-processing and polymer identification of Raman spectra of plastics.
Pre-processing includes normalisation functions, peak identification based on
local maxima, smoothing process and removal of spectral region of no interest.
Polymer identification can be performed using Pearson correlation coefficient or
Euclidean distance (Renner et al. (2019), <doi:10.1016/j.trac.2018.12.004>), and
the comparison can be done with a user-defined database or with the database
already implemented in the package, which currently includes 356 spectra, with
several spectra of plastic colorants.")
    (license license:gpl2+)))

(define-public r-ralsa
  (package
    (name "r-ralsa")
    (version "1.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RALSA" version))
       (sha256
        (base32 "1mvggmprqpgyj8d0fpyma44jkpx32dbfagjrh8mg5hny0bzzz5vm"))))
    (properties `((upstream-name . "RALSA")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-stringi
                             r-shinywidgets
                             r-shinyjs
                             r-shinyfiles
                             r-shinydashboard
                             r-shiny
                             r-rstudioapi
                             r-readr
                             r-rclipboard
                             r-openxlsx
                             r-import
                             r-hmisc
                             r-haven
                             r-ggplot2
                             r-foreign
                             r-dt
                             r-data-table))
    (home-page "https://ralsa.ineri.org/")
    (synopsis "R Analyzer for Large-Scale Assessments")
    (description
     "Prepare and analyze data from large-scale assessments and surveys with complex
sampling and assessment design (see Rutkowski', 2010
<doi:10.3102/0013189X10363170>).  Such studies are, for example, international
assessments like TIMSS', PIRLS and PISA'.  A graphical interface is available
for the non-technical user.The package includes functions to covert the original
data from SPSS into R data sets keeping the user-defined missing values, merge
data from different respondents and/or countries, generate variable
dictionaries, modify data, produce descriptive statistics (percentages, means,
percentiles, benchmarks) and multivariate statistics (correlations, linear
regression, binary logistic regression).  The number of supported studies and
analysis types will increase in future.  For a general presentation of the
package, see Mirazchiyski', 2021a (<doi:10.1186/s40536-021-00114-4>).  For
detailed technical aspects of the package, see Mirazchiyski', 2021b
(<doi:10.3390/psych3020018>).")
    (license license:gpl2)))

(define-public r-ralger
  (package
    (name "r-ralger")
    (version "2.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ralger" version))
       (sha256
        (base32 "1j0np7h051dglva3dj9b64fagr99hvpsza1q2fnc7g3x1ki7mgni"))))
    (properties `((upstream-name . "ralger")))
    (build-system r-build-system)
    (propagated-inputs (list r-xml2
                             r-tidyr
                             r-stringr
                             r-stringi
                             r-rvest
                             r-robotstxt
                             r-dplyr
                             r-curl
                             r-crayon))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/feddelegrand7/ralger")
    (synopsis "Easy Web Scraping")
    (description "The goal of ralger is to facilitate web scraping in R.")
    (license license:expat)))

(define-public r-raker
  (package
    (name "r-raker")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rakeR" version))
       (sha256
        (base32 "0cd89q6k0y9z1qk9k06iw56lhj4c52ckr0g4qv6q95lkyrbi3qg8"))))
    (properties `((upstream-name . "rakeR")))
    (build-system r-build-system)
    (propagated-inputs (list r-wrswor r-ipfp))
    (home-page "https://philmikejones.github.io/rakeR/")
    (synopsis "Easy Spatial Microsimulation (Raking) in R")
    (description
     "This package provides functions for performing spatial microsimulation
('raking') in R.")
    (license license:gpl3)))

(define-public r-rajive
  (package
    (name "r-rajive")
    (version "1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RaJIVE" version))
       (sha256
        (base32 "1r3csf3xpk6rx494bqamb9b8dhj1169cng6gdi52h62m8vchnak5"))))
    (properties `((upstream-name . "RaJIVE")))
    (build-system r-build-system)
    (propagated-inputs (list r-ggplot2 r-foreach r-doparallel))
    (home-page "https://cran.r-project.org/package=RaJIVE")
    (synopsis "Robust Angle Based Joint and Individual Variation Explained")
    (description
     "This package provides a robust alternative to the @code{aJIVE} (angle based
Joint and Individual Variation Explained) method (Feng et al 2018:
<doi:10.1016/j.jmva.2018.03.008>) for the estimation of joint and individual
components in the presence of outliers in multi-source data.  It decomposes the
multi-source data into joint, individual and residual (noise) contributions.
The decomposition is robust to outliers and noise in the data.  The method is
illustrated in Ponzi et al (2021) <@code{arXiv:2101.09110>}.")
    (license license:expat)))

(define-public r-rairtable
  (package
    (name "r-rairtable")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rairtable" version))
       (sha256
        (base32 "1lb312c5zhq9ls9x89j2rdg1hrpqrbyds53ajl8dxgww5fbgx5m4"))))
    (properties `((upstream-name . "rairtable")))
    (build-system r-build-system)
    (propagated-inputs (list r-tibble
                             r-rlang
                             r-progress
                             r-jsonlite
                             r-httr
                             r-dplyr
                             r-crayon
                             r-cli))
    (home-page "https://matthewjrogers.github.io/rairtable/")
    (synopsis "Efficient Wrapper for the 'Airtable' API")
    (description
     "Efficient CRUD interface for the Airtable API
<https://airtable.com/developers/web/api>, supporting batch requests and
parallel encoding of large data sets.")
    (license license:expat)))

(define-public r-rainfarmr
  (package
    (name "r-rainfarmr")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rainfarmr" version))
       (sha256
        (base32 "1gasnmyjnis6vv0krx6299ck2a6v9v1fgqajzqdpjaz2fsxn245i"))))
    (properties `((upstream-name . "rainfarmr")))
    (build-system r-build-system)
    (home-page "https://github.com/jhardenberg/rainfarmr")
    (synopsis "Stochastic Precipitation Downscaling with the RainFARM Method")
    (description
     "An implementation of the @code{RainFARM} (Rainfall Filtered Autoregressive
Model) stochastic precipitation downscaling method (Rebora et al. (2006)
<doi:10.1175/JHM517.1>).  Adapted for climate downscaling according to D'Onofrio
et al. (2018) <doi:10.1175/JHM-D-13-096.1> and for complex topography as in
Terzago et al. (2018) <doi:10.5194/nhess-18-2825-2018>.  The @code{RainFARM}
method is based on the extrapolation to small scales of the Fourier spectrum of
a large-scale precipitation field, using a fixed logarithmic slope and random
phases at small scales, followed by a nonlinear transformation of the resulting
linearly correlated stochastic field. @code{RainFARM} allows to generate
ensembles of spatially downscaled precipitation fields which conserve
precipitation at large scales and whose statistical properties are consistent
with the small-scale statistics of observed precipitation, based only on
knowledge of the large-scale precipitation field.")
    (license license:asl2.0)))

(define-public r-rainfallerosivityfactor
  (package
    (name "r-rainfallerosivityfactor")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RainfallErosivityFactor" version))
       (sha256
        (base32 "0yw6a2x7yp49wwx2r38fwbcv74xsb9j7k64q68v2qdk45khmixd9"))))
    (properties `((upstream-name . "RainfallErosivityFactor")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=RainfallErosivityFactor")
    (synopsis "The Rainfall-Runoff Erosivity Factor")
    (description "Determination of rainfall-runoff erosivity factor.")
    (license license:gpl2+)))

(define-public r-rainette
  (package
    (name "r-rainette")
    (version "0.3.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rainette" version))
       (sha256
        (base32 "1x6929rsav80x7ihy7572pqbvdf2hhnb0wp28mvyfvzj9ivqcx8w"))))
    (properties `((upstream-name . "rainette")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-shiny
                             r-rspectra
                             r-rlang
                             r-rcpp
                             r-quanteda-textstats
                             r-quanteda
                             r-purrr
                             r-progressr
                             r-miniui
                             r-highr
                             r-gridextra
                             r-ggwordcloud
                             r-ggplot2
                             r-dplyr
                             r-dendextend))
    (native-inputs (list r-knitr))
    (home-page "https://juba.github.io/rainette/")
    (synopsis "The Reinert Method for Textual Data Clustering")
    (description
     "An R implementation of the Reinert text clustering method.  For more details
about the algorithm see the included vignettes or Reinert (1990)
<doi:10.1177/075910639002600103>.")
    (license license:gpl3+)))

(define-public r-raincin
  (package
    (name "r-raincin")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raincin" version))
       (sha256
        (base32 "1wi430vsp5c0vm9p1srrs0nrbdb8x31qh7zph4v3fy7j0z226cwh"))))
    (properties `((upstream-name . "raincin")))
    (build-system r-build-system)
    (propagated-inputs (list r-popdemo r-lme4))
    (home-page "https://cran.r-project.org/package=raincin")
    (synopsis "Ranking with Incomplete Information")
    (description
     "Various statistical and mathematical ranking and rating methods with incomplete
information are included.  This package is initially designed for the scoring
system in a high school project showcase to rank student research projects,
where each judge can only evaluate a set of projects in a limited time period.
See Langville, A. N. and Meyer, C. D. (2012), Who is Number 1: The Science of
Rating and Ranking, Princeton University Press <doi:10.1515/9781400841677>, and
Gou, J. and Wu, S. (2020), A Judging System for Project Showcase: Rating and
Ranking with Incomplete Information, Technical Report.")
    (license license:gpl3)))

(define-public r-rainbowr
  (package
    (name "r-rainbowr")
    (version "0.1.35")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAINBOWR" version))
       (sha256
        (base32 "0cpjjnjfv53q0cwgia5fbay4n02z0q26jjr2p7c7rpykd382lr7c"))))
    (properties `((upstream-name . "RAINBOWR")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-rrblup
                             r-rfast
                             r-rcppeigen
                             r-rcpp
                             r-r-utils
                             r-pegas
                             r-pbmcapply
                             r-optimx
                             r-mm4lmm
                             r-matrix
                             r-mass
                             r-htmlwidgets
                             r-here
                             r-gaston
                             r-expm
                             r-cluster
                             r-ape))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RAINBOWR")
    (synopsis "Genome-Wide Association Study with SNP-Set Methods")
    (description
     "By using RAINBOWR (Reliable Association INference By Optimizing Weights with R),
users can test multiple SNPs (Single Nucleotide Polymorphisms) simultaneously by
kernel-based (SNP-set) methods.  This package can also be applied to
haplotype-based GWAS (Genome-Wide Association Study).  Users can test not only
additive effects but also dominance and epistatic effects.  In detail, please
check our paper on PLOS Computational Biology: Kosuke Hamazaki and Hiroyoshi
Iwata (2020) <doi:10.1371/journal.pcbi.1007663>.")
    (license license:expat)))

(define-public r-rai
  (package
    (name "r-rai")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rai" version))
       (sha256
        (base32 "0qimfzchbrarkwmv3mxxbdgvqzk16sc8m1h140zm0cnfgr2pvi5p"))))
    (properties `((upstream-name . "rai")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-readr r-ggplot2 r-dplyr))
    (home-page "https://github.com/korydjohnson/rai")
    (synopsis "Revisiting-Alpha-Investing for Polynomial Regression")
    (description
     "This package provides a modified implementation of stepwise regression that
greedily searches the space of interactions among features in order to build
polynomial regression models.  Furthermore, the hypothesis tests conducted are
valid-post model selection due to the use of a revisiting procedure that
implements an alpha-investing rule.  As a result, the set of rejected sequential
hypotheses is proven to control the marginal false discover rate.  When not
searching for polynomials, the package provides a statistically valid algorithm
to run and terminate stepwise regression.  For more information, see Johnson,
Stine, and Foster (2019) <@code{arXiv:1510.06322>}.")
    (license license:gpl3)))

(define-public r-ragtop
  (package
    (name "r-ragtop")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ragtop" version))
       (sha256
        (base32 "0vgc2q71g8ysccq19kbk9a4swxgd5qj91xm4bshfgdg5chxqnb50"))))
    (properties `((upstream-name . "ragtop")))
    (build-system r-build-system)
    (propagated-inputs (list r-limsolve r-futile-logger))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=ragtop")
    (synopsis "Pricing Equity Derivatives with Extensions of Black-Scholes")
    (description
     "Algorithms to price American and European equity options, convertible bonds and
a variety of other financial derivatives.  It uses an extension of the usual
Black-Scholes model in which jump to default may occur at a probability
specified by a power-law link between stock price and hazard rate as found in
the paper by Takahashi, Kobayashi, and Nakagawa (2001)
<doi:10.3905/jfi.2001.319302>.  We use ideas and techniques from Andersen and
Buffum (2002) <doi:10.2139/ssrn.355308> and Linetsky (2006)
<doi:10.1111/j.1467-9965.2006.00271.x>.")
    (license license:gpl2+)))

(define-public r-rags2ridges
  (package
    (name "r-rags2ridges")
    (version "2.2.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rags2ridges" version))
       (sha256
        (base32 "09dp04y8wl7cws5y94k9j2rlrmm2ci1lk8y77cb17lxr0i1yv6gb"))))
    (properties `((upstream-name . "rags2ridges")))
    (build-system r-build-system)
    (propagated-inputs (list r-snowfall
                             r-sfsmisc
                             r-rspectra
                             r-reshape
                             r-rcpparmadillo
                             r-rcpp
                             r-rbgl
                             r-igraph
                             r-hmisc
                             r-grbase
                             r-graph
                             r-ggplot2
                             r-fdrtool
                             r-expm))
    (native-inputs (list r-knitr))
    (home-page "https://cfwp.github.io/rags2ridges/")
    (synopsis
     "Ridge Estimation of Precision Matrices from High-Dimensional Data")
    (description
     "Proper L2-penalized maximum likelihood estimators for precision matrices and
supporting functions to employ these estimators in a graphical modeling setting.
 For details, see Peeters, Bilgrau, & van Wieringen (2022)
<doi:10.18637/jss.v102.i04> and associated publications.")
    (license license:gpl2+)))

(define-public r-raggrid
  (package
    (name "r-raggrid")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RagGrid" version))
       (sha256
        (base32 "0crnpd75lyhd0awzqzqy7bzw4ydgxpyhy1ybb1ff4qsnisbjdbba"))))
    (properties `((upstream-name . "RagGrid")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-knitr r-htmlwidgets r-htmltools r-crosstalk))
    (native-inputs (list esbuild))
    (home-page "https://github.com/no-types/RagGrid/")
    (synopsis "Wrapper of the 'JavaScript' Library 'agGrid'")
    (description
     "Data objects in R can be rendered as HTML tables using the @code{JavaScript}
library ag-grid (typically via R Markdown or Shiny').  The ag-grid library has
been included in this R package.  The package name @code{RagGrid} is an
abbreviation of R @code{agGrid}'.")
    (license license:expat)))

(define-public r-rage
  (package
    (name "r-rage")
    (version "1.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Rage" version))
       (sha256
        (base32 "0scpig0glh1ajc5fp7xrdb0b5f11x1f5ls43wb6b9kjif4fi25cl"))))
    (properties `((upstream-name . "Rage")))
    (build-system r-build-system)
    (propagated-inputs (list r-popdemo r-mass r-expm r-diagrammer))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jonesor/Rage")
    (synopsis "Life History Metrics from Matrix Population Models")
    (description
     "This package provides functions for calculating life history metrics using
matrix population models ('MPMs').  Described in Jones et al. (2021)
<doi:10.1101/2021.04.26.441330>.")
    (license license:gpl3)))

(define-public r-rafsi
  (package
    (name "r-rafsi")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rafsi" version))
       (sha256
        (base32 "03f5svk6y2by7sja9clf7pmmb4mz6k4mx7qzh6bq87fgfcngq89g"))))
    (properties `((upstream-name . "rafsi")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rafsi")
    (synopsis "Ranking of Alternatives with the RAFSI Method")
    (description
     "Ranking of Alternatives through Functional mapping of criterion sub-intervals
into a Single Interval Method is designed to perform multi-criteria
decision-making (MCDM), developed by MaliÅ¡a Å½iÅ¾ovic in 2020
(<doi:10.3390/math8061015>).  It calculates the final sorted rankings based on a
decision matrix where rows represent alternatives and columns represent
criteria.  The method uses: - A numeric vector of weights for each criterion
(the sum of weights must be 1). - A numeric vector of ideal values for each
criterion. - A numeric vector of anti-ideal values for each criterion. - Numeric
values representing the extent to which the ideal value is preferred over the
anti-ideal value, and the extent to which the anti-ideal value is considered
worse.  The function standardizes the decision matrix, normalizes the data,
applies weights, and returns the final sorted rankings.")
    (license license:gpl3+)))

(define-public r-rafs
  (package
    (name "r-rafs")
    (version "0.2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAFS" version))
       (sha256
        (base32 "02s4p7hsjm2znj5rcfrd2cqwynd03p8zbby8qxnfxr3hp5ggq7hr"))))
    (properties `((upstream-name . "RAFS")))
    (build-system r-build-system)
    (propagated-inputs (list r-splittools r-mdfs r-fastcluster))
    (home-page "https://www.mdfs.it/")
    (synopsis "Robust Aggregative Feature Selection")
    (description
     "This package provides a cross-validated minimal-optimal feature selection
algorithm.  It utilises popularity counting, hierarchical clustering with
feature dissimilarity measures, and prefiltering with all-relevant feature
selection method to obtain the minimal-optimal set of features.")
    (license license:gpl3)))

(define-public r-raem
  (package
    (name "r-raem")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raem" version))
       (sha256
        (base32 "1hn4a8sys57lk4x984z4skg874r77ybid9w725yxh0wb5v5rr40k"))))
    (properties `((upstream-name . "raem")))
    (build-system r-build-system)
    (propagated-inputs (list r-desolve))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/cneyens/raem")
    (synopsis
     "Analytic Element Modeling of Steady Single-Layer Groundwater Flow")
    (description
     "This package provides a model of single-layer groundwater flow in steady-state
under the Dupuit-Forchheimer assumption can be created by placing elements such
as wells, area-sinks and line-sinks at arbitrary locations in the flow field.
Output variables include hydraulic head and the discharge vector.  Particle
traces can be computed numerically in three dimensions.  The underlying theory
is described in Haitjema (1995) <doi:10.1016/B978-0-12-316550-3.X5000-4> and
references therein.")
    (license license:expat)))

(define-public r-radwords
  (package
    (name "r-radwords")
    (version "0.1.18")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAdwords" version))
       (sha256
        (base32 "1c3m2j2cf1s51p783rdng5ns913bv7rbjc1vpmrmsxg2kf5f6qyq"))))
    (properties `((upstream-name . "RAdwords")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjson r-rcurl))
    (home-page "https://github.com/jburkhardt/RAdwords")
    (synopsis "Loading Google Adwords Data into R")
    (description
     "Aims at loading Google Adwords data into R. Adwords is an online advertising
service that enables advertisers to display advertising copy to web users (see
<https://developers.google.com/adwords/> for more information).  Therefore the
package implements three main features.  First, the package provides an
authentication process for R with the Google Adwords API (see
<https://developers.google.com/adwords/api/> for more information) via OAUTH2.
Second, the package offers an interface to apply the Adwords query language in R
and query the Adwords API with ad-hoc reports.  Third, the received data are
transformed into suitable data formats for further data processing and data
analysis.")
    (license license:expat)))

(define-public r-radviz
  (package
    (name "r-radviz")
    (version "0.9.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Radviz" version))
       (sha256
        (base32 "0ayrkax1g7x9jvkl8lni08ydm1lhcwpcbvy1xj9zk3bpd5zpll86"))))
    (properties `((upstream-name . "Radviz")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang
                             r-rcpparmadillo
                             r-rcpp
                             r-pracma
                             r-igraph
                             r-hexbin
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/yannabraham/Radviz")
    (synopsis "Project Multidimensional Data in 2D Space")
    (description
     "An implementation of the radviz projection in R. It enables the visualization of
multidimensional data while maintaining the relation to the original dimensions.
 This package provides functions to create and plot radviz projections, and a
number of summary plots that enable comparison and analysis.  For reference see
Ankerst *et al.* (1996)
(<https://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.68.1811>) for original
implementation, see Di Caro *et al* (2012)
(<https://link.springer.com/chapter/10.1007/978-3-642-13672-6_13>) for the
original method for dimensional anchor arrangements, see Demsar *et al.* (2007)
(<doi:10.1016/j.jbi.2007.03.010>) for the original Freeviz implementation.")
    (license (license:fsdg-compatible "CC BY-NC-SA 4.0"))))

(define-public r-radstackshelpr
  (package
    (name "r-radstackshelpr")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RADstackshelpR" version))
       (sha256
        (base32 "0j2vazbji8xqb8xkd9jrpi10iqj30rvkdjfs4snavl9nsbra99yf"))))
    (properties `((upstream-name . "RADstackshelpR")))
    (build-system r-build-system)
    (propagated-inputs (list r-vcfr r-gridextra r-ggridges r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RADstackshelpR")
    (synopsis "Optimize the De Novo Stacks Pipeline via R")
    (description
     "Offers a handful of useful wrapper functions which streamline the reading,
analyzing, and visualizing of variant call format (vcf) files in R. This package
was designed to facilitate an explicit pipeline for optimizing Stacks (Rochette
et al., 2019) (<doi:10.1111/mec.15253>) parameters during de novo (without a
reference genome) assembly and variant calling of restriction-enzyme associated
DNA sequence (RADseq) data.  The pipeline implemented here is based on the 2017
paper \"Lost in Parameter Space\" (Paris et al., 2017)
(<doi:10.1111/2041-210X.12775>) which establishes clear recommendations for
optimizing the parameters m', M', and n', during the process of assembling loci.")
    (license license:expat)))

(define-public r-radsafer
  (package
    (name "r-radsafer")
    (version "2.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radsafer" version))
       (sha256
        (base32 "0zw0dn8pi1yn786fcmm414dap77wdni43dma2pyjbxb15zagpmli"))))
    (properties `((upstream-name . "radsafer")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-scatterplot3d
                             r-rlang
                             r-readr
                             r-raddata
                             r-magrittr
                             r-lifecycle
                             r-ggthemes
                             r-ggplot2
                             r-dplyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/markhogue/radsafer")
    (synopsis "Radiation Safety")
    (description
     "This package provides functions for radiation safety, also known as \"radiation
protection\" and \"radiological control\".  The science of radiation protection is
called \"health physics\" and its engineering functions are called \"radiological
engineering\".  Functions in this package cover many of the computations needed
by radiation safety professionals.  Examples include: obtaining updated
calibration and source check values for radiation monitors to account for
radioactive decay in a reference source, simulating instrument readings to
better understand measurement uncertainty, correcting instrument readings for
geometry and ambient atmospheric conditions.  Many of these functions are
described in Johnson and Kirby (2011, ISBN-13: 978-1609134198).  Utilities are
also included for developing inputs and processing outputs with radiation
transport codes, such as MCNP, a general-purpose Monte Carlo N-Particle code
that can be used for neutron, photon, electron, or coupled
neutron/photon/electron transport (Werner et.  al. (2018)
<doi:10.2172/1419730>).")
    (license license:gpl3)))

(define-public r-radous
  (package
    (name "r-radous")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radous" version))
       (sha256
        (base32 "1pip3givlkzb8i65nz6w724818jjr8j8nizpc3g35r9bvpmn7c2y"))))
    (properties `((upstream-name . "radous")))
    (build-system r-build-system)
    (propagated-inputs (list r-readr r-httr r-glue r-curl r-checkmate))
    (home-page "https://github.com/feddelegrand7/radous")
    (synopsis "Query Random User Data from the Random User Generator API")
    (description
     "Generate random user data from the Random User Generator API. For more
information, see <https://randomuser.me/>.")
    (license license:expat)))

(define-public r-radonc
  (package
    (name "r-radonc")
    (version "1.1.8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RadOnc" version))
       (sha256
        (base32 "0nc8f2f2yvfvx81xm87zr08asisyar9zdx3fwqz0lvz5xgrwkp3x"))))
    (properties `((upstream-name . "RadOnc")))
    (build-system r-build-system)
    (propagated-inputs (list r-ptinpoly r-oro-dicom))
    (home-page "https://cran.r-project.org/package=RadOnc")
    (synopsis "Analytical Tools for Radiation Oncology")
    (description
     "Designed for the import, analysis, and visualization of dosimetric and
volumetric data in Radiation Oncology, the tools herein enable import of
dose-volume histogram information from multiple treatment planning system
platforms and 3D structural representations and dosimetric information from
DICOM-RT files.  These tools also enable subsequent visualization and
statistical analysis of these data.")
    (license license:gpl2+)))

(define-public r-radlibs
  (package
    (name "r-radlibs")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radlibs" version))
       (sha256
        (base32 "1xl7pacqgiv68ay7mkr6bkx3rqqr7z8b9yh42n4zm7ybqfxbx6dr"))))
    (properties `((upstream-name . "radlibs")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-lexicon r-data-table))
    (home-page "https://cran.r-project.org/package=radlibs")
    (synopsis "Build Your Own Madlibs!")
    (description
     "Make your phrase or sentence into something funny! Pass a string with the
keywords in, and get out a bit of humor.")
    (license license:bsd-3)))

(define-public r-radir
  (package
    (name "r-radir")
    (version "1.0.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radir" version))
       (sha256
        (base32 "12a99ig3n6kp5wa5rjp2w1nal4qqjs6vq05d3lrqcyl3bind6lqb"))))
    (properties `((upstream-name . "radir")))
    (build-system r-build-system)
    (propagated-inputs (list r-hermite))
    (home-page "https://cran.r-project.org/package=radir")
    (synopsis "Inverse-Regression Estimation of Radioactive Doses")
    (description
     "Radioactive doses estimation using individual chromosomal aberrations
information.  See Higueras M, Puig P, Ainsbury E, Rothkamm K. (2015)
<doi:10.1088/0952-4746/35/3/557>.")
    (license license:gpl2+)))

(define-public r-radiosonde
  (package
    (name "r-radiosonde")
    (version "4.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RadioSonde" version))
       (sha256
        (base32 "02ncpyvjxvk192bdaqqmqpr9bfwwli0qp58fxghaf3x0qimd3d1c"))))
    (properties `((upstream-name . "RadioSonde")))
    (build-system r-build-system)
    (propagated-inputs (list r-fields))
    (home-page "https://cran.r-project.org/package=RadioSonde")
    (synopsis "Tools for Plotting Skew-T Diagrams and Wind Profiles")
    (description
     "This package provides a collection of programs for plotting SKEW-T,log p
diagrams and wind profiles for data collected by radiosondes (the typical
weather balloon-borne instrument).  The format of this plot with companion lines
to assess atmospheric stability are both standard in meteorology and difficult
to create from basic graphics functions.  Hence this package.  One novel feature
is being able add several profiles to the same plot for comparison.  Use
\"help(@code{ExampleSonde})\" for an explanation of the variables needed and how
they should be named in a data frame.  See
<https://github.com/dnychka/Radiosonde> for the package home page.")
    (license license:gpl2+)))

(define-public r-radiant-multivariate
  (package
    (name "r-radiant-multivariate")
    (version "1.6.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radiant.multivariate" version))
       (sha256
        (base32 "02nviya2i45xpgnjsldpm5hvy30nh5z1nb6yk5wrps3hl044lqgi"))))
    (properties `((upstream-name . "radiant.multivariate")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny
                             r-scales
                             r-rlang
                             r-radiant-model
                             r-radiant-data
                             r-psych
                             r-polycor
                             r-patchwork
                             r-mass
                             r-magrittr
                             r-lubridate
                             r-import
                             r-gparotation
                             r-gower
                             r-ggrepel
                             r-ggplot2
                             r-dplyr
                             r-clustmixtype
                             r-car))
    (home-page "https://github.com/radiant-rstats/radiant.multivariate/")
    (synopsis
     "Multivariate Menu for Radiant: Business Analytics using R and Shiny")
    (description
     "The Radiant Multivariate menu includes interfaces for perceptual mapping, factor
analysis, cluster analysis, and conjoint analysis.  The application extends the
functionality in radiant.data'.")
    (license (list license:agpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-radiant-model
  (package
    (name "r-radiant-model")
    (version "1.6.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radiant.model" version))
       (sha256
        (base32 "0442pwj623qrrhiv8yp1r1dhi0jrnkmxd7cydmp87q65fj1xvvyy"))))
    (properties `((upstream-name . "radiant.model")))
    (build-system r-build-system)
    (propagated-inputs (list r-yaml
                             r-xgboost
                             r-vip
                             r-tidyselect
                             r-tidyr
                             r-stringr
                             r-stringi
                             r-shiny
                             r-scales
                             r-sandwich
                             r-rpart
                             r-rlang
                             r-ranger
                             r-radiant-data
                             r-radiant-basics
                             r-psych
                             r-pdp
                             r-patchwork
                             r-nnet
                             r-neuralnettools
                             r-magrittr
                             r-lubridate
                             r-import
                             r-ggrepel
                             r-ggplot2
                             r-e1071
                             r-dplyr
                             r-diagrammer
                             r-data-tree
                             r-car
                             r-broom))
    (home-page "https://github.com/radiant-rstats/radiant.model/")
    (synopsis "Model Menu for Radiant: Business Analytics using R and Shiny")
    (description
     "The Radiant Model menu includes interfaces for linear and logistic regression,
naive Bayes, neural networks, classification and regression trees, model
evaluation, collaborative filtering, decision analysis, and simulation.  The
application extends the functionality in radiant.data'.")
    (license (list license:agpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-radiant-design
  (package
    (name "r-radiant-design")
    (version "1.6.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radiant.design" version))
       (sha256
        (base32 "0dcc8f6w07hpsjhgan7x0l9zsql82f3d8b9kannsnm2m54cnp5ja"))))
    (properties `((upstream-name . "radiant.design")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny
                             r-randomizr
                             r-radiant-data
                             r-pwr
                             r-polycor
                             r-mvtnorm
                             r-magrittr
                             r-import
                             r-dplyr
                             r-algdesign))
    (home-page "https://github.com/radiant-rstats/radiant.design/")
    (synopsis "Design Menu for Radiant: Business Analytics using R and Shiny")
    (description
     "The Radiant Design menu includes interfaces for design of experiments, sampling,
and sample size calculation.  The application extends the functionality in
radiant.data'.")
    (license (list license:agpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-radiant-basics
  (package
    (name "r-radiant-basics")
    (version "1.6.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radiant.basics" version))
       (sha256
        (base32 "12sm0zypd5n9f5pk7bpdqh7h0p54cmvxp3slzdmi5sa0mbklfc9q"))))
    (properties `((upstream-name . "radiant.basics")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-shiny
                             r-scales
                             r-rlang
                             r-radiant-data
                             r-psych
                             r-polycor
                             r-patchwork
                             r-magrittr
                             r-lubridate
                             r-import
                             r-ggplot2
                             r-dplyr))
    (home-page "https://github.com/radiant-rstats/radiant.basics/")
    (synopsis "Basics Menu for Radiant: Business Analytics using R and Shiny")
    (description
     "The Radiant Basics menu includes interfaces for probability calculation, central
limit theorem simulation, comparing means and proportions, goodness-of-fit
testing, cross-tabs, and correlation.  The application extends the functionality
in radiant.data'.")
    (license (list license:agpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-radiant
  (package
    (name "r-radiant")
    (version "1.6.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radiant" version))
       (sha256
        (base32 "1v4vb5dpqljpk3xya26psg988v17nfcybjzw3dnp6bi77x24cq5k"))))
    (properties `((upstream-name . "radiant")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny
                             r-radiant-multivariate
                             r-radiant-model
                             r-radiant-design
                             r-radiant-data
                             r-radiant-basics
                             r-import))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/radiant-rstats/radiant")
    (synopsis "Business Analytics using R and Shiny")
    (description
     "This package provides a platform-independent browser-based interface for
business analytics in R, based on the shiny package.  The application combines
the functionality of radiant.data', radiant.design', radiant.basics',
radiant.model', and radiant.multivariate'.")
    (license (list license:agpl3
                   (license:fsdg-compatible "file://LICENSE")))))

(define-public r-radialvisgadgets
  (package
    (name "r-radialvisgadgets")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RadialVisGadgets" version))
       (sha256
        (base32 "18a2c89jpdaln9cl5y4w161121fld08wm57m40qacsj1vlnkh6j9"))))
    (properties `((upstream-name . "RadialVisGadgets")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-shinyscreenshot
                             r-shinyjs
                             r-shiny
                             r-rlang
                             r-miniui
                             r-import
                             r-ggplot2
                             r-dplyr
                             r-caret))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jmatute/RadialShinyGadgets")
    (synopsis "Interactive Gadgets for Radial Visualization Approaches")
    (description
     "Shiny-based interactive gadgets of radial visualization methods and extensions
thereof.")
    (license license:expat)))

(define-public r-raddata
  (package
    (name "r-raddata")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RadData" version))
       (sha256
        (base32 "0kpmxii2080iid99y1rh0bdrvw2wf6gqwbafa4p28hvbw9lk6zw3"))))
    (properties `((upstream-name . "RadData")))
    (build-system r-build-system)
    (home-page "https://github.com/markhogue/RadData")
    (synopsis "Nuclear Decay Data for Dosimetric Calculations - ICRP 107")
    (description
     "Nuclear Decay Data for Dosimetric Calculations from the International Commission
on Radiological Protection from ICRP Publication 107.  Ann.  ICRP 38 (3).
Eckerman, Keith and Endo, Akira 2008 <doi:10.1016/j.icrp.2008.10.004>
<https://www.icrp.org/publication.asp?id=ICRP%20Publication%20107>.  This is a
database of the physical data needed in calculations of radionuclide-specific
protection and operational quantities.  The data is prescribed by the ICRP, the
international authority on radiation dose standards, for estimating dose from
the intake of or exposure to radionuclides in the workplace and the environment.
 The database contains information on the half-lives, decay chains, and yields
and energies of radiations emitted in nuclear transformations of 1252
radionuclides of 97 elements.")
    (license license:gpl2)))

(define-public r-radarchart
  (package
    (name "r-radarchart")
    (version "0.3.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radarchart" version))
       (sha256
        (base32 "0gcxnbgj8ja1m4wzhbjy67m6zphf0c5ni9yx7sr7f0abm03ry753"))))
    (properties `((upstream-name . "radarchart")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-htmlwidgets r-htmltools))
    (native-inputs (list r-knitr esbuild))
    (home-page "https://github.com/mangothecat/radarchart")
    (synopsis "Radar Chart from 'Chart.js'")
    (description
     "Create interactive radar charts using the Chart.js @code{JavaScript} library and
the htmlwidgets package.  Chart.js <http://www.chartjs.org/> is a lightweight
library that supports several types of simple chart using the HTML5 canvas
element.  This package provides an R interface specifically to the radar chart,
sometimes called a spider chart, for visualising multivariate data.")
    (license license:expat)))

(define-public r-radarboxplot
  (package
    (name "r-radarboxplot")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radarBoxplot" version))
       (sha256
        (base32 "1lmgh8j3c6jiiwpdz9l5zd07xcv87laxnj789bpqnmxa0szsfngl"))))
    (properties `((upstream-name . "radarBoxplot")))
    (build-system r-build-system)
    (home-page "https://github.com/caiohamamura/radarBoxplot-R")
    (synopsis "Implementation of the Radar-Boxplot")
    (description
     "This package creates the radar-boxplot, a plot that was created by the author
during his Ph.D. in forest resources.  The radar-boxplot is a visualization
feature suited for multivariate classification/clustering.  It provides an
intuitive deep understanding of the data.")
    (license license:expat)))

(define-public r-radar
  (package
    (name "r-radar")
    (version "1.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "radar" version))
       (sha256
        (base32 "1wh5j3cfbj01jx2kbm9ca5cqhbb0vw7ifjn426bllm4lbbd8l273"))))
    (properties `((upstream-name . "radar")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=radar")
    (synopsis "Fundamental Formulas for Radar")
    (description
     "Fundamental formulas for Radar, for attenuation, range, velocity, effectiveness,
power, scatter, doppler, geometry, radar equations, etc.  Based on Nick Guy's
Python package @code{PyRadarMet}.")
    (license license:gpl3+)))

(define-public r-rada
  (package
    (name "r-rada")
    (version "1.1.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rADA" version))
       (sha256
        (base32 "0p47nqm8mki03pq5gzc2r5vx4vixs6hpf7am1fvadgi2bn2jrcl2"))))
    (properties `((upstream-name . "rADA")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-reshape2
                             r-openxlsx
                             r-matrixstats
                             r-lmertest
                             r-lme4
                             r-knitr
                             r-hmisc
                             r-gridextra
                             r-ggplot2
                             r-forestplot
                             r-e1071
                             r-dplyr
                             r-car))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rADA")
    (synopsis
     "Statistical Analysis and Cut-Point Determination of Immunoassays")
    (description
     "Systematically transform immunoassay data, evaluate if the data is normally
distributed, and pick the right method for cut point determination based on that
evaluation.  This package can also produce plots that are needed for reports, so
data analysis and visualization can be done easily.")
    (license license:gpl3)))

(define-public r-ractivecampaign
  (package
    (name "r-ractivecampaign")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ractivecampaign" version))
       (sha256
        (base32 "1l7266qryba2zijgs7xj4p073l69q0iin6qgsbnn7dafmggv5mlr"))))
    (properties `((upstream-name . "ractivecampaign")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-stringr
                             r-retry
                             r-pbapply
                             r-httr
                             r-dplyr
                             r-cli))
    (home-page "https://cran.r-project.org/package=ractivecampaign")
    (synopsis "Loading Data from 'ActiveCampaign API v3'")
    (description
     "Interface for loading data from @code{ActiveCampaign} API v3
<https://developers.activecampaign.com/reference>.  Provide functions for
getting data by deals, contacts, accounts, campaigns and messages.")
    (license license:expat)))

(define-public r-racmacs
  (package
    (name "r-racmacs")
    (version "1.2.9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "Racmacs" version))
       (sha256
        (base32 "0csrbmri44ykrrx25a21hnqca74w6hvsiza43k7jix26bchysynl"))))
    (properties `((upstream-name . "Racmacs")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-vctrs
                             r-shinyjs
                             r-shinyfiles
                             r-shiny
                             r-shape
                             r-rmarchingcubes
                             r-rlang
                             r-rcppprogress
                             r-rcppensmallen
                             r-rcpparmadillo
                             r-rcpp
                             r-rapidjsonr
                             r-mass
                             r-magrittr
                             r-ks
                             r-jsonlite
                             r-igraph
                             r-htmlwidgets
                             r-htmltools
                             r-ggplot2
                             r-ellipsis
                             r-dplyr
                             r-brotli))
    (native-inputs (list r-knitr esbuild))
    (home-page "https://acorg.github.io/Racmacs/")
    (synopsis "Antigenic Cartography Macros")
    (description
     "This package provides a toolkit for making antigenic maps from immunological
assay data, in order to quantify and visualize antigenic differences between
different pathogen strains as described in Smith et al. (2004)
<doi:10.1126/science.1097211> and used in the World Health Organization
influenza vaccine strain selection process.  Additional functions allow for the
diagnostic evaluation of antigenic maps and an interactive viewer is provided to
explore antigenic relationships amongst several strains and incorporate the
visualization of associated genetic information.")
    (license license:agpl3)))

(define-public r-racir
  (package
    (name "r-racir")
    (version "2.0.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "racir" version))
       (sha256
        (base32 "0qpjnaifx4z1jvyrc8p5jny0ci20w2ri1rs68sv9b93nkaiixnps"))))
    (properties `((upstream-name . "racir")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jstinzi/racir")
    (synopsis "Rapid A/Ci Response (RACiR) Data Analysis")
    (description
     "This package contains functions useful for reading in Licor 6800 files,
correcting and analyzing rapid A/Ci response (RA@code{CiR}) data.  Requires some
user interaction to adjust the calibration (empty chamber) data file to a
useable range.  Calibration uses a 1st to 5th order polynomial as suggested in
Stinziano et al. (2017) <doi:10.1111/pce.12911>.  Data can be processed
individually or batch processed for all files paired with a given calibration
file.  RA@code{CiR} is a trademark of LI-COR Biosciences, and used with
permission.")
    (license license:expat)))

(define-public r-raceland
  (package
    (name "r-raceland")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "raceland" version))
       (sha256
        (base32 "0kkl12amzaff6y4bj1c62p1clkvxlfm8d20i6d09x35hkkxblnjk"))))
    (properties `((upstream-name . "raceland")))
    (build-system r-build-system)
    (propagated-inputs (list r-terra
                             r-sf
                             r-rcpparmadillo
                             r-rcpp
                             r-plotwidgets
                             r-comat))
    (native-inputs (list r-knitr))
    (home-page "https://jakubnowosad.com/raceland/")
    (synopsis
     "Pattern-Based Zoneless Method for Analysis and Visualization of Racial Topography")
    (description
     "This package implements a computational framework for a pattern-based, zoneless
analysis, and visualization of (ethno)racial topography (Dmowska, Stepinski, and
Nowosad (2020) <doi:10.1016/j.apgeog.2020.102239>).  It is a reimagined approach
for analyzing residential segregation and racial diversity based on the concept
of landscapeâ used in the domain of landscape ecology.")
    (license license:expat)))

(define-public r-raceid
  (package
    (name "r-raceid")
    (version "0.3.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RaceID" version))
       (sha256
        (base32 "0jmgc2nf65ymhk88mzlmh96wwygr0gs3ca1mc0all0a5c6vxyj8b"))))
    (properties `((upstream-name . "RaceID")))
    (build-system r-build-system)
    (propagated-inputs (list r-vegan
                             r-umap
                             r-runner
                             r-rtsne
                             r-rcpp
                             r-rcolorbrewer
                             r-randomforest
                             r-quadprog
                             r-princurve
                             r-pheatmap
                             r-matrixstats
                             r-matrix
                             r-mass
                             r-locfit
                             r-leiden
                             r-irlba
                             r-igraph
                             r-ica
                             r-harmony
                             r-ggplot2
                             r-fpc
                             r-fnn
                             r-fateid
                             r-coop
                             r-cluster))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RaceID")
    (synopsis
     "Identification of Cell Types, Inference of Lineage Trees, and Prediction of Noise Dynamics from Single-Cell RNA-Seq Data")
    (description
     "Application of @code{RaceID} allows inference of cell types and prediction of
lineage trees by the @code{StemID2} algorithm (Herman, J.S., Sagar, Grun D.
(2018) <DOI:10.1038/nmeth.4662>). @code{VarID2} is part of this package and
allows quantification of biological gene expression noise at single-cell
resolution (Rosales-Alvarez, R.E., Rettkowski, J., Herman, J.S., Dumbovic, G.,
Cabezas-Wallscheid, N., Grun, D. (2023) <DOI:10.1186/s13059-023-02974-1>).")
    (license license:gpl3)))

(define-public r-racademyocean
  (package
    (name "r-racademyocean")
    (version "0.3.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "racademyocean" version))
       (sha256
        (base32 "14dj4vizs8yvmmf5ny5d0cz7g42ncrk2aibb139vkd69h2a3xaax"))))
    (properties `((upstream-name . "racademyocean")))
    (build-system r-build-system)
    (propagated-inputs (list r-withr
                             r-tidyr
                             r-stringr
                             r-rlang
                             r-retry
                             r-rappdirs
                             r-purrr
                             r-pbapply
                             r-httr2
                             r-dplyr
                             r-cli))
    (home-page "https://cran.r-project.org/package=racademyocean")
    (synopsis "Client for 'AcademyOcean API'")
    (description "Provide function for work with @code{AcademyOcean} API
<https://academyocean.com/api>.")
    (license license:expat)))

(define-public r-rac
  (package
    (name "r-rac")
    (version "1.5.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RAC" version))
       (sha256
        (base32 "0ar2vbckfr26slbibbbcx409c8mw338x4apmxs7by6prnlwr6fpx"))))
    (properties `((upstream-name . "RAC")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp r-rstudioapi r-raster r-plotrix
                             r-matrixstats))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=RAC")
    (synopsis "R Package for Aqua Culture")
    (description
     "Solves the individual bioenergetic balance for different aquaculture sea fish
(Sea Bream and Sea Bass; Brigolin et al., 2014 <doi:10.3354/aei00093>) and
shellfish (Mussel and Clam; Brigolin et al., 2009
<doi:10.1016/j.ecss.2009.01.029>; Solidoro et al., 2000
<doi:10.3354/meps199137>).  Allows for spatialized model runs and population
simulations.")
    (license license:expat)))

(define-public r-rabr
  (package
    (name "r-rabr")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "RABR" version))
       (sha256
        (base32 "1ckh0cw5xaqbzx8f7i6lsbspblfm0mmmadaifmln2rz3vr0hf1f4"))))
    (properties `((upstream-name . "RABR")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival
                             r-multxpert
                             r-multcomp
                             r-ggplot2
                             r-foreach
                             r-doparallel
                             r-data-table
                             r-cubature
                             r-asd))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/tian-yu-zhan/RABR")
    (synopsis "Simulations for Response Adaptive Block Randomization Design")
    (description
     "Conduct simulations of the Response Adaptive Block Randomization (RABR) design
to evaluate its type I error rate, power and operating characteristics for
binary and continuous endpoints.  For more details of the proposed method,
please refer to Zhan et al. (2021) <doi:10.1002/sim.9104>.")
    (license license:expat)))

(define-public r-rabi
  (package
    (name "r-rabi")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rabi" version))
       (sha256
        (base32 "0jndx1gvsnsv1xrx3ismgvjp7d4kj3436zcawvw32c5klvxx0y4j"))))
    (properties `((upstream-name . "rabi")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringdist r-shiny r-polynom r-numbers))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=rabi")
    (synopsis
     "Generate Codes to Uniquely and Robustly Identify Individuals for Animal Behavior Studies")
    (description
     "Facilitates the design and generation of optimal color (or symbol) codes that
can be used to mark and identify individual animals.  These codes are made such
that the IDs are robust to partial erasure: even if sections of the code are
lost, the entire identity of the animal can be reconstructed.  Thus, animal
subjects are not confused and no ambiguity is introduced.")
    (license license:gpl3)))

(define-public r-ra4bayesmeta
  (package
    (name "r-ra4bayesmeta")
    (version "1.0-8")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "ra4bayesmeta" version))
       (sha256
        (base32 "1v55ci595x4rhrfswh53m8556sc4lj49b1339yja8ww4rsrx872a"))))
    (properties `((upstream-name . "ra4bayesmeta")))
    (build-system r-build-system)
    (propagated-inputs (list r-bayesmeta))
    (home-page "https://cran.r-project.org/package=ra4bayesmeta")
    (synopsis "Reference Analysis for Bayesian Meta-Analysis")
    (description
     "Functionality for performing a principled reference analysis in the Bayesian
normal-normal hierarchical model used for Bayesian meta-analysis, as described
in Ott, Plummer and Roos (2021) <doi:10.1002/sim.9076>.  Computes a reference
posterior, induced by a minimally informative improper reference prior for the
between-study (heterogeneity) standard deviation.  Determines additional proper
anti-conservative (and conservative) prior benchmarks.  Includes functions for
reference analyses at both the posterior and the prior level, which, given the
data, quantify the informativeness of a heterogeneity prior of interest relative
to the minimally informative reference prior and the proper prior benchmarks.
The functions operate on data sets which are compatible with the bayesmeta
package.")
    (license license:gpl2+)))

(define-public r-r6qualitytools
  (package
    (name "r-r6qualitytools")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r6qualitytools" version))
       (sha256
        (base32 "06yrh6ladbrclg8dsi9a31yx38zx4lg1kx9bxn6rnafim9ijgb82"))))
    (properties `((upstream-name . "r6qualitytools")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-scales
                             r-rsolnp
                             r-rcolorbrewer
                             r-r6
                             r-plotly
                             r-patchwork
                             r-mass
                             r-gridextra
                             r-ggplot2
                             r-envstats
                             r-dplyr))
    (home-page "https://github.com/Fabianenc/r6qualitytools")
    (synopsis "R6-Based Statistical Methods for Quality Science")
    (description
     "This package provides a comprehensive suite of statistical tools for Quality
Management, designed around the Define, Measure, Analyze, Improve, and Control
(DMAIC) cycle used in Six Sigma methodology.  Based on the discontinued CRAN
package qualitytools', this package refactors its original design by
incorporating R6 object-oriented programming for increased flexibility and
performance.  It replaces traditional graphics with modern, interactive
visualizations using ggplot2 and plotly'.  Built on tidyverse principles, it
simplifies data manipulation and visualization, offering an intuitive approach
to quality science.")
    (license license:gpl3+)))

(define-public r-r6p
  (package
    (name "r-r6p")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R6P" version))
       (sha256
        (base32 "18qy69zwyzp27fiqlplcjh0034d2pn9dhnfkraarh4jxnbi7masm"))))
    (properties `((upstream-name . "R6P")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyr
                             r-tibble
                             r-stringr
                             r-r6
                             r-purrr
                             r-dplyr
                             r-collections))
    (home-page "https://tidylab.github.io/R6P/")
    (synopsis "Design Patterns in R")
    (description
     "Build robust and maintainable software with object-oriented design patterns in
R. Design patterns abstract and present in neat, well-defined components and
interfaces the experience of many software designers and architects over many
years of solving similar problems.  These are solutions that have withstood the
test of time with respect to re-usability, flexibility, and maintainability.
R6P provides abstract base classes with examples for a few known design
patterns.  The patterns were selected by their applicability to analytic
projects in R. Using these patterns in R projects have proven effective in
dealing with the complexity that data-driven applications possess.")
    (license license:expat)))

(define-public r-r6methods
  (package
    (name "r-r6methods")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r6methods" version))
       (sha256
        (base32 "18q1qd7hkxbk0yilqdk17cp7qbl4c71jv10z732539wcmy8svb1v"))))
    (properties `((upstream-name . "r6methods")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-shiny
                             r-rstudioapi
                             r-purrr
                             r-miniui
                             r-magrittr
                             r-glue
                             r-dplyr))
    (home-page "https://github.com/jakubsob/r6methods")
    (synopsis "Make Methods for R6 Classes")
    (description
     "Generate boilerplate code for R6 classes.  Given R6 class create getters and/or
setters for selected class fields or use RStudio addins to insert methods
straight into class definition.")
    (license license:expat)))

(define-public r-r6extended
  (package
    (name "r-r6extended")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r6extended" version))
       (sha256
        (base32 "1kq1j5rx57053mslj8jx1s0wjvhis7x3y264zw44q4k2x48q9wxs"))))
    (properties `((upstream-name . "r6extended")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6 r-magrittr r-hellno r-digest))
    (home-page "https://github.com/petermeissner/r6extended")
    (synopsis "Extension for 'R6' Base Class")
    (description
     "Useful methods and data fields to extend the bare bones R6 class provided by the
R6 package - ls-method, hashes, warning- and message-method, general get-method
and a debug-method that assigns self and private to the global environment.")
    (license license:expat)))

(define-public r-r6ds
  (package
    (name "r-r6ds")
    (version "1.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R6DS" version))
       (sha256
        (base32 "0ai1yqfhn634vm88waxdb6j24vwcna29gdqzdrwm0nxwf7l6g0m3"))))
    (properties `((upstream-name . "R6DS")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/yukai-yang/R6DS")
    (synopsis "R6 Reference Class Based Data Structures")
    (description
     "This package provides reference classes implementing some useful data
structures.  The package implements these data structures by using the reference
class R6.  Therefore, the classes of the data structures are also reference
classes which means that their instances are passed by reference.  The
implemented data structures include stack, queue, double-ended queue, doubly
linked list, set, dictionary and binary search tree.  See for example
<https://en.wikipedia.org/wiki/Data_structure> for more information about the
data structures.")
    (license license:gpl3)))

(define-public r-r6causal
  (package
    (name "r-r6causal")
    (version "0.8.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R6causal" version))
       (sha256
        (base32 "0qi569gsjhslg7xk2xjcglnighlfpdr5yzfb4hajq57w49p310zf"))))
    (properties `((upstream-name . "R6causal")))
    (build-system r-build-system)
    (propagated-inputs (list r-r6
                             r-mass
                             r-igraph
                             r-glue
                             r-dosearch
                             r-data-table
                             r-cfid
                             r-causaleffect))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=R6causal")
    (synopsis "R6 Class for Structural Causal Models")
    (description
     "The implemented R6 class SCM aims to simplify working with structural causal
models.  The missing data mechanism can be defined as a part of the structural
model.  The class contains methods for 1) defining a structural causal model via
functions, text or conditional probability tables, 2) printing basic information
on the model, 3) plotting the graph for the model using packages igraph or
qgraph', 4) simulating data from the model, 5) applying an intervention, 6)
checking the identifiability of a query using the R packages causaleffect and
dosearch', 7) defining the missing data mechanism, 8) simulating incomplete data
from the model according to the specified missing data mechanism and 9) checking
the identifiability in a missing data problem using the R package dosearch'.  In
addition, there are functions for running experiments and doing counterfactual
inference using simulation.")
    (license license:agpl3)))

(define-public r-r62s3
  (package
    (name "r-r62s3")
    (version "1.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R62S3" version))
       (sha256
        (base32 "0g01izg77spn79xqwva2gzrvk66i20xlb789wl5rgcz7pz7gpjd2"))))
    (properties `((upstream-name . "R62S3")))
    (build-system r-build-system)
    (propagated-inputs (list r-data-table))
    (home-page "https://github.com/RaphaelS1/R62S3/")
    (synopsis "Automatic Method Generation from R6")
    (description
     "After defining an R6 class, R62S3 is used to automatically generate optional
S3/S4 generics and methods for dispatch.  Also allows piping for R6 objects.")
    (license license:expat)))

(define-public r-r5r
  (package
    (name "r-r5r")
    (version "2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r5r" version))
       (sha256
        (base32 "1kvn7341v2dfbv580bzc3zhdmnxk400mjrbrs5bar2hwkwvv4w4r"))))
    (properties `((upstream-name . "r5r")))
    (build-system r-build-system)
    (propagated-inputs (list r-zip
                             r-sfheaders
                             r-sf
                             r-rlang
                             r-rjava
                             r-jsonlite
                             r-data-table
                             r-concaveman
                             r-cli
                             r-checkmate))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/ipeaGIT/r5r")
    (synopsis "Rapid Realistic Routing with 'R5'")
    (description
     "Rapid realistic routing on multimodal transport networks (walk, bike, public
transport and car) using R5', the Rapid Realistic Routing on Real-world and
Reimagined networks engine <https://github.com/conveyal/r5>.  The package allows
users to generate detailed routing analysis or calculate travel time matrices
using seamless parallel computing on top of the R5 Java machine.  While R5 is
developed by Conveyal, the package r5r is independently developed by a team at
the Institute for Applied Economic Research (Ipea) with contributions from
collaborators.  Apart from the documentation in this package, users will find
additional information on R5 documentation at <https://docs.conveyal.com/>.
Although we try to keep new releases of r5r in synchrony with R5, the
development of R5 follows Conveyal's independent update process.  Hence, users
should confirm the R5 version implied by the Conveyal user manual (see
<https://docs.conveyal.com/changelog>) corresponds with the R5 version that r5r
depends on.  This version of r5r depends on R5 v7.1.")
    (license license:expat)))

(define-public r-r4ss
  (package
    (name "r-r4ss")
    (version "1.44.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r4ss" version))
       (sha256
        (base32 "1khcp386kxz2rwzfvx0a3bf3ws69dh9vqhjsnwh29gy6g238050d"))))
    (properties `((upstream-name . "r4ss")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-lifecycle
                             r-kableextra
                             r-ggplot2
                             r-forcats
                             r-dplyr
                             r-corpcor
                             r-coda))
    (home-page "https://github.com/r4ss/r4ss")
    (synopsis "R Code for Stock Synthesis")
    (description
     "This package provides a collection of R functions for use with Stock Synthesis,
a fisheries stock assessment modeling platform written in ADMB by Dr. Richard D.
Methot at the NOAA Northwest Fisheries Science Center.  The functions include
tools for summarizing and plotting results, manipulating files, visualizing
model parameterizations, and various other common stock assessment tasks.  This
version of {r4ss} is compatible with Stock Synthesis versions 3.24 through 3.30
(specifically version 3.30.19.01, from April 2022).")
    (license license:gpl3)))

(define-public r-r4lineups
  (package
    (name "r-r4lineups")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r4lineups" version))
       (sha256
        (base32 "1p0dnrp21zx1l9lqx01jnq54d5ppb8siibv47i4gsp7c7db9ymxc"))))
    (properties `((upstream-name . "r4lineups")))
    (build-system r-build-system)
    (propagated-inputs (list r-purrr
                             r-psych
                             r-proc
                             r-magrittr
                             r-magick
                             r-here
                             r-ggrepel
                             r-ggplot2
                             r-dplyr
                             r-boot))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=r4lineups")
    (synopsis "Statistical Inference on Lineup Fairness")
    (description
     "Since the early 1970s eyewitness testimony researchers have recognised the
importance of estimating properties such as lineup bias (is the lineup biased
against the suspect, leading to a rate of choosing higher than one would expect
by chance?), and lineup size (how many reasonable choices are in fact available
to the witness? A lineup is supposed to consist of a suspect and a number of
additional members, or foils, whom a poor-quality witness might mistake for the
perpetrator).  Lineup measures are descriptive, in the first instance, but since
the earliest articles in the literature researchers have recognised the
importance of reasoning inferentially about them.  This package contains
functions to compute various properties of laboratory or police lineups, and is
intended for use by researchers in forensic psychology and/or eyewitness
testimony research.  Among others, the r4lineups package includes functions for
calculating lineup proportion, functional size, various estimates of effective
size, diagnosticity ratio, homogeneity of the diagnosticity ratio, ROC curves
for confidence x accuracy data and the degree of similarity of faces in a
lineup.")
    (license license:cc0)))

(define-public r-r4hcr
  (package
    (name "r-r4hcr")
    (version "0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R4HCR" version))
       (sha256
        (base32 "01lsig6z38mrlrmc63ys0cfp0x7w4i7nkqpyf14allla1jlfh0fk"))))
    (properties `((upstream-name . "R4HCR")))
    (build-system r-build-system)
    (propagated-inputs (list r-survival r-metafor r-meta r-mada r-irr))
    (home-page "https://cran.r-project.org/package=R4HCR")
    (synopsis "R for Health Care Research")
    (description
     "This package provides a collection of datasets that accompany the forthcoming
book \"R for Health Care Research\".")
    (license license:expat)))

(define-public r-r4googleads
  (package
    (name "r-r4googleads")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r4googleads" version))
       (sha256
        (base32 "1v7nfr6fk9q5dchf3ig4169kv0vx1jrbbsgkdgfhhc2mz3cqck16"))))
    (properties `((upstream-name . "r4googleads")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/banboo-data/r4googleads")
    (synopsis "'Google Ads API' Interface")
    (description
     "Interface for the Google Ads API'.  Google Ads is an online advertising service
that enables advertisers to display advertising to web users (see
<https://developers.google.com/google-ads/> for more information).")
    (license license:expat)))

(define-public r-r4ds-tutorials
  (package
    (name "r-r4ds-tutorials")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r4ds.tutorials" version))
       (sha256
        (base32 "05wy99n3i43wgzpqd4gsj1skz1jgp2q4q8s99q0ia453xig49shm"))))
    (properties `((upstream-name . "r4ds.tutorials")))
    (build-system r-build-system)
    (propagated-inputs (list r-tutorial-helpers))
    (home-page "https://ppbds.github.io/r4ds.tutorials/")
    (synopsis "Tutorials for \"R for Data Science\"")
    (description
     "When assigned \"R for Data Science\" (Wickham, Ãetinkaya-Rundel, and Grolemund
(2023, ISBN: 1492097402)), students should read the book and type in all the
associated R commands themselves.  Sadly, that never happens.  These tutorials
allow students to demonstrate (and their instructors to be sure) that all work
has been completed.  See Kane (2023)
<https://ppbds.github.io/tutorial.helpers/articles/instructions.html> from the
tutorial.helpers package for a background discussion.")
    (license license:expat)))

(define-public r-r4couchdb
  (package
    (name "r-r4couchdb")
    (version "0.7.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R4CouchDB" version))
       (sha256
        (base32 "1wd1yqbs8m4zqvdm6x7mrcyk5b5pr4azm3r49nrilg8fnr2bk9rz"))))
    (properties `((upstream-name . "R4CouchDB")))
    (build-system r-build-system)
    (propagated-inputs (list r-rjsonio r-rcurl r-bitops))
    (home-page "https://github.com/wactbprot/R4CouchDB")
    (synopsis "R Convenience Layer for CouchDB 2.0")
    (description
     "This package provides a collection of functions for basic database and document
management operations such as add, get, list access or delete.  Every
@code{cdbFunction}() gets and returns a list() containing the connection setup.
Such a list can be generated by @code{cdbIni}().")
    (license license:expat)))

(define-public r-r3port
  (package
    (name "r-r3port")
    (version "0.2.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R3port" version))
       (sha256
        (base32 "0vcn0qay1fxwvaa81jin0s5ly22sjriqavgy8x981xjzdxl5s5ww"))))
    (properties `((upstream-name . "R3port")))
    (build-system r-build-system)
    (propagated-inputs (list r-whisker r-tinytex r-reshape2 r-plyr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/RichardHooijmaijers/R3port")
    (synopsis "Report Functions to Create HTML and PDF Files")
    (description
     "Create and combine HTML and PDF reports from within R. Possibility to design
tables and listings for reporting and also include R plots.")
    (license license:gpl2+)))

(define-public r-r3pg
  (package
    (name "r-r3pg")
    (version "0.1.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r3PG" version))
       (sha256
        (base32 "0sr5mxqd1pck4fcn3sh66qdn4kzyibzxmr422c77j7hlqcmqm27n"))))
    (properties `((upstream-name . "r3PG")))
    (build-system r-build-system)
    (native-inputs (list r-r-rsp gfortran))
    (home-page "https://github.com/trotsiuk/r3PG")
    (synopsis "Simulating Forest Growth using the 3-PG Model")
    (description
     "This package provides a flexible and easy-to-use interface for the Physiological
Processes Predicting Growth (3-PG) model written in Fortran.  The r3PG serves as
a flexible and easy-to-use interface for the 3-PGpjs (monospecific, evenaged and
evergreen forests) described in Landsberg & Waring (1997)
<doi:10.1016/S0378-1127(97)00026-1> and the 3-PGmix (deciduous, uneven-aged or
mixed-species forests) described in Forrester & Tang (2016)
<doi:10.1016/j.ecolmodel.2015.07.010>.")
    (license license:gpl3)))

(define-public r-r3js
  (package
    (name "r-r3js")
    (version "0.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r3js" version))
       (sha256
        (base32 "1qkk6h2i15mg4ylq30znxyc0la3940263k1w6a17fy2vs26j6n3h"))))
    (properties `((upstream-name . "r3js")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-vctrs r-jsonlite r-htmlwidgets r-htmltools
                             r-ellipsis))
    (native-inputs (list r-knitr esbuild))
    (home-page "https://cran.r-project.org/package=r3js")
    (synopsis "'WebGL'-Based 3D Plotting using the 'three.js' Library")
    (description
     "This package provides R and @code{JavaScript} functions to allow
@code{WebGL'-based} 3D plotting using the three.js @code{JavaScript} library.
Interactivity through roll-over highlighting and toggle buttons is also
supported.")
    (license license:agpl3)))

(define-public r-r3dmol
  (package
    (name "r-r3dmol")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r3dmol" version))
       (sha256
        (base32 "06wzszqcy50gks1bss81j1l2a4adi271pnz6310w57g681q1ng19"))))
    (properties `((upstream-name . "r3dmol")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-magrittr r-htmlwidgets r-bio3d))
    (native-inputs (list r-knitr esbuild))
    (home-page "https://github.com/swsoyee/r3dmol")
    (synopsis "Create Interactive 3D Visualizations of Molecular Data")
    (description
     "Create rich and fully interactive 3D visualizations of molecular data.
Visualizations can be included in Shiny apps and R markdown documents, or viewed
from the R console and RStudio Viewer.  r3dmol includes an extensive API to
manipulate the visualization after creation, and supports getting data out of
the visualization into R. Based on the 3dmol.js and the htmlwidgets R package.")
    (license license:bsd-3)))

(define-public r-r311
  (package
    (name "r-r311")
    (version "0.3.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r311" version))
       (sha256
        (base32 "1gnyccin2f6wg7g2knnzsckkf3wrfb6xrkw8cg2z9db61nxacdrq"))))
    (properties `((upstream-name . "r311")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-curl))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/jslth/r311")
    (synopsis "Interface to the 'open311' Standard")
    (description
     "Access and handle APIs that use the international open311 @code{GeoReport} v2
standard for civic issue tracking
<https://wiki.open311.org/@code{GeoReport_v2/>}.  Retrieve civic service types
and request data.  Select and add available open311 endpoints and jurisdictions.
 Implicitly supports custom queries and open311 extensions.  Requires a minimal
number of hard dependencies while still allowing the integration in common R
formats ('xml2', tibble', sf').")
    (license license:expat)))

(define-public r-r2winbugs
  (package
    (name "r-r2winbugs")
    (version "2.1-22.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2WinBUGS" version))
       (sha256
        (base32 "199qkp4ar0kkdf7a2fn9aq17253ss97mddaivydcywvbp50n53j3"))))
    (properties `((upstream-name . "R2WinBUGS")))
    (build-system r-build-system)
    (propagated-inputs (list r-coda r-boot))
    (home-page "https://cran.r-project.org/package=R2WinBUGS")
    (synopsis "Running 'WinBUGS' and 'OpenBUGS' from 'R' / 'S-PLUS'")
    (description
     "Invoke a BUGS model in @code{OpenBUGS} or @code{WinBUGS}', a class \"bugs\" for
BUGS results and functions to work with that class.  Function write.model()
allows a BUGS model file to be written.  The class and auxiliary functions could
be used with other MCMC programs, including JAGS'.")
    (license license:gpl2)))

(define-public r-r2wd
  (package
    (name "r-r2wd")
    (version "1.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2wd" version))
       (sha256
        (base32 "05dbqljb4pia7fd3349mq60jg7kdjii6wwxvmhlyl91k0dv7d98m"))))
    (properties `((upstream-name . "R2wd")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=R2wd")
    (synopsis "Write MS-Word documents from R")
    (description
     "This package uses either the @code{statconnDCOM} server (via the rcom package)
or the RDCOMClient to communicate with MS-Word via the COM interface.")
    (license license:gpl2)))

(define-public r-r2ucare
  (package
    (name "r-r2ucare")
    (version "1.0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2ucare" version))
       (sha256
        (base32 "0940c9zw3fifs7m4hrx9aqv4d56q3263bl12lzk2mx2sfjp9rzlw"))))
    (properties `((upstream-name . "R2ucare")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-rmark))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/oliviergimenez/R2ucare")
    (synopsis "Goodness-of-Fit Tests for Capture-Recapture Models")
    (description
     "This package performs goodness-of-fit tests for capture-recapture models as
described by Gimenez et al. (2018) <doi:10.1111/2041-210X.13014>.  Also contains
several functions to process capture-recapture data.")
    (license license:gpl2+)))

(define-public r-r2symbols
  (package
    (name "r-r2symbols")
    (version "1.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2symbols" version))
       (sha256
        (base32 "18q4jlc6agbpryv34bjjx49srq57m3731g13rcfdidk32kfgj7l7"))))
    (properties `((upstream-name . "r2symbols")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-htmltools))
    (native-inputs (list r-knitr))
    (home-page "https://r2symbols.obi.obianom.com")
    (synopsis "Symbols for 'Markdown' and 'Shiny' Application")
    (description
     "Direct insertion of over 1000 symbols (e.g. currencies, letters, emojis, arrows,
mathematical symbols and so on) into Rmarkdown documents and Shiny applications
by incorporating HTML hex codes.")
    (license license:expat)))

(define-public r-r2sundials
  (package
    (name "r-r2sundials")
    (version "6.5.0-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2sundials" version))
       (sha256
        (base32 "0zbaqfml3f778zip3aggy17l1wzn26z41bzx9mk0wbgzx2mi0dwf"))))
    (properties `((upstream-name . "r2sundials")))
    (build-system r-build-system)
    (propagated-inputs (list r-rmumps r-rcpparmadillo r-rcpp))
    (home-page "https://cran.r-project.org/package=r2sundials")
    (synopsis "Wrapper for 'SUNDIALS' Solving ODE and Sensitivity Problem")
    (description
     "Wrapper for widely used SUNDIALS software (SUite of Nonlinear and
DIfferential/ALgebraic Equation Solvers) and more precisely to its CVODES
solver.  It is aiming to solve ordinary differential equations (ODE) and
optionally pending forward sensitivity problem.  The wrapper is made R friendly
by allowing to pass custom parameters to user's callback functions.  Such
functions can be both written in R and in C++ ('@code{RcppArmadillo} flavor).
In case of C++', performance is greatly improved so this option is highly
advisable when performance matters.  If provided, Jacobian matrix can be
calculated either in dense or sparse format.  In the latter case rmumps package
is used to solve corresponding linear systems.  Root finding and pending event
management are optional and can be specified as R or C++ functions too.  This
makes them a very flexible tool for controlling the ODE system during the time
course simulation.  SUNDIALS library was published in Hindmarsh et al. (2005)
<doi:10.1145/1089014.1089020>.")
    (license license:gpl2+)))

(define-public r-r2stl
  (package
    (name "r-r2stl")
    (version "1.0.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2stl" version))
       (sha256
        (base32 "0xh4kz64013gpvrics7p24nq091953zh8yccifknrl7bn15z6sal"))))
    (properties `((upstream-name . "r2stl")))
    (build-system r-build-system)
    (home-page "https://github.com/paulnorthrop/r2stl")
    (synopsis "Visualizing Data using a 3D Printer")
    (description
     "Converts data to STL (stereolithography) files that can be used to feed a
3-dimensional printer.  The 3-dimensional output from a function can be
materialized into a solid surface in a plastic material, therefore allowing more
detailed examination.  There are many possible uses for this new tool, such as
to examine mathematical expressions with very irregular shapes, to aid teaching
people with impaired vision, to create raised relief maps from digital elevation
maps (DEMs), to bridge the gap between mathematical tools and rapid prototyping,
and many more.  Ian Walker created the function r2stl() and Jose Gama assembled
the package.")
    (license license:cc-by-sa4.0)))

(define-public r-r2spss
  (package
    (name "r-r2spss")
    (version "0.3.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2spss" version))
       (sha256
        (base32 "1d0znbw0bmgl8k9xwz78lmidh8338n3vq4f9qyqmb87nvjmiilhl"))))
    (properties `((upstream-name . "r2spss")))
    (build-system r-build-system)
    (propagated-inputs (list r-scales r-ggplot2 r-car))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/aalfons/r2spss")
    (synopsis "Format R Output to Look Like SPSS")
    (description
     "Create plots and @code{LaTeX} tables that look like SPSS output for use in
teaching materials.  Rather than copying-and-pasting SPSS output into documents,
R code that mocks up SPSS output can be integrated directly into dynamic
@code{LaTeX} documents with tools such as knitr.  Functionality includes
statistical techniques that are typically covered in introductory statistics
classes: descriptive statistics, common hypothesis tests, ANOVA, and linear
regression, as well as box plots, histograms, scatter plots, and line plots
(including profile plots).")
    (license license:gpl3+)))

(define-public r-r2social
  (package
    (name "r-r2social")
    (version "1.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2social" version))
       (sha256
        (base32 "19q4sndbz5hxvkqy7w9s33l03jv26n4sp6vmcpb08ifxrxjxjsca"))))
    (properties `((upstream-name . "r2social")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny r-quickcode r-htmltools))
    (native-inputs (list r-knitr))
    (home-page "https://r2social.obi.obianom.com")
    (synopsis
     "Seamless Integration of Sharing and Connect Buttons in Markdown and Apps")
    (description
     "Implementation of JQuery <https://jquery.com> and CSS styles to allow easy
incorporation of various social media elements on a page.  The elements include
addition of share buttons or connect with us buttons or hyperlink buttons to
Shiny applications or dashboards and Rmarkdown documents.Sharing capability on
social media platforms including Facebook <https://www.facebook.com>, Linkedin
<https://www.linkedin.com>, X/Twitter <https://x.com>, Tumblr
<https://www.tumblr.com>, Pinterest <https://www.pinterest.com>, Whatsapp
<https://www.whatsapp.com>, Reddit <https://www.reddit.com>, Baidu
<https://www.baidu.com>, Blogger <https://www.blogger.com>, Weibo
<https://www.weibo.com>, Instagram <https://www.instagram.com>, Telegram
<https://www.telegram.me>, Youtube <https://www.youtube.com>.")
    (license license:expat)))

(define-public r-r2shortcode
  (package
    (name "r-r2shortcode")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2shortcode" version))
       (sha256
        (base32 "1q6zf3pxdmh8p2mlls1iw2043cbn5pixfw1b4sv03gcipymp5jzy"))))
    (properties `((upstream-name . "r2shortcode")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/oobianom/r2shortcode")
    (synopsis
     "Shorten Function Names of Functions in Another Package and Create an Index to Make Them Accessible")
    (description
     "When creating a package, authors may sometimes struggle with coming up with easy
and straightforward function names, and at the same time hoping that other
packages do not already have the same function names.  In trying to meet this
goal, sometimes, function names are not descriptive enough and may confuse the
potential users.  The purpose of this package is to serve as a package function
short form generator and also provide shorthand names for other functions.
Having this package will entice authors to create long function names without
the fear of users not wanting to use their packages because of the long names.
In a way, everyone wins - the authors can use long descriptive function names,
and the users can use this package to make short functions names while still
using the package in question.")
    (license license:expat)))

(define-public r-r2sample
  (package
    (name "r-r2sample")
    (version "1.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2sample" version))
       (sha256
        (base32 "18v7i0h4jbnyd08c24sr8fydk209fp76hc2k7yivva616m5c4s2d"))))
    (properties `((upstream-name . "R2sample")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny r-rcpp r-microbenchmark r-ggplot2))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=R2sample")
    (synopsis "Two Sample Problem Routines using Permutation")
    (description
     "The routine twosample_test() in this package runs the two sample test using
various test statistic.  The p values are found via permutation.  The routine
twosample_power() allows the calculation of the power in various cases, and
plot_power() draws the corresponding power graphs.")
    (license license:gpl2+)))

(define-public r-r2rtf
  (package
    (name "r-r2rtf")
    (version "1.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2rtf" version))
       (sha256
        (base32 "0lhz6ay2f250hqalz96h4x8pshg8v8zljzz3x9lvrdsygcc8hjyn"))))
    (properties `((upstream-name . "r2rtf")))
    (build-system r-build-system)
    (native-inputs (list r-knitr))
    (home-page "https://merck.github.io/r2rtf/")
    (synopsis
     "Easily Create Production-Ready Rich Text Format (RTF) Table and Figure")
    (description
     "Create production-ready Rich Text Format (RTF) table and figure with flexible
format.")
    (license license:gpl3)))

(define-public r-r2roc
  (package
    (name "r-r2roc")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2ROC" version))
       (sha256
        (base32 "0xmzsd5rbfidypkxcp8jf9afa7l4r70h627gcz4y4j688n110piw"))))
    (properties `((upstream-name . "R2ROC")))
    (build-system r-build-system)
    (home-page "https://github.com/mommy003/R2ROC")
    (synopsis "AUC Statistics")
    (description
     "Area under the receiver operating characteristic curves (AUC) statistic for
significance test.  Variance and covariance of AUC values used to assess the 95%
Confidence interval (CI) and p-value of the AUC difference for both nested and
non-nested model.")
    (license license:gpl3+)))

(define-public r-r2resize
  (package
    (name "r-r2resize")
    (version "1.9.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2resize" version))
       (sha256
        (base32 "1s5mkgrq66kbwh8vm2dnbhn801b44ym3vr98nvv9bn81cbn4ifaf"))))
    (properties `((upstream-name . "r2resize")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny r-quickcode r-htmltools r-dt))
    (native-inputs (list r-knitr))
    (home-page "https://r2resize.obi.obianom.com")
    (synopsis
     "In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents")
    (description
     "Automatic resizing toolbar for containers, images and tables.  Various resizer
or expandable container functionalities are also included.  Most suitable to
include in shiny', markdown and quarto documents.")
    (license license:expat)))

(define-public r-r2redux
  (package
    (name "r-r2redux")
    (version "1.0.17")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2redux" version))
       (sha256
        (base32 "07666saxzxy48i2dd0gi0m1x912dn5s78m9rqriwnavnx76ca20i"))))
    (properties `((upstream-name . "r2redux")))
    (build-system r-build-system)
    (home-page "https://github.com/mommy003/r2redux")
    (synopsis "R2 Statistic")
    (description
     "R2 statistic for significance test.  Variance and covariance of R2 values used
to assess the 95% CI and p-value of the R2 difference.")
    (license license:gpl3+)))

(define-public r-r2r
  (package
    (name "r-r2r")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2r" version))
       (sha256
        (base32 "0vp0ak88m3ssca8b8kxf9w6qkxsdy0qs6cngrr9gqvbrnx0gh9j6"))))
    (properties `((upstream-name . "r2r")))
    (build-system r-build-system)
    (propagated-inputs (list r-rlang r-digest))
    (native-inputs (list r-knitr))
    (home-page "https://github.com/vgherard/r2r")
    (synopsis "R-Object to R-Object Hash Maps")
    (description
     "Implementation of hash tables (hash sets and hash maps) in R, featuring
arbitrary R objects as keys, arbitrary hash and key-comparison functions, and
customizable behaviour upon queries of missing keys.")
    (license license:gpl3+)))

(define-public r-r2pptx
  (package
    (name "r-r2pptx")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2pptx" version))
       (sha256
        (base32 "12p3018b514kk1yxm1xyc0835j34zvpr1fz8k5rpiz30fbxjip58"))))
    (properties `((upstream-name . "r2pptx")))
    (build-system r-build-system)
    (propagated-inputs (list r-officer r-glue))
    (native-inputs (list r-knitr))
    (home-page "https://mattle24.github.io/r2pptx/")
    (synopsis "Object Oriented R -> PowerPoint")
    (description
     "This package provides a friendly, object oriented API for creating
@code{PowerPoint} slide decks in R.")
    (license license:gpl3)))

(define-public r-r2ppt
  (package
    (name "r-r2ppt")
    (version "2.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2PPT" version))
       (sha256
        (base32 "1fbylphlc7sps7m3w7hp2d24v09bhig4zzqb9fjr0zcbwqwi1c07"))))
    (properties `((upstream-name . "R2PPT")))
    (build-system r-build-system)
    (home-page "https://github.com/waynegitshell/R2PPT/")
    (synopsis "Simple R Interface to Microsoft PowerPoint using RDCOMClient")
    (description
     "This package provides a simple set of wrappers to easily use RDCOMClient for
generating Microsoft @code{PowerPoint} presentations.  Warning:this package is
soon to be archived from CRAN.")
    (license license:gpl3)))

(define-public r-r2pmml
  (package
    (name "r-r2pmml")
    (version "0.28.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2pmml" version))
       (sha256
        (base32 "110hr4cj4xlm050hmhag0v32jw6g5ka2ws0jibjw58zm4fg3c0x0"))))
    (properties `((upstream-name . "r2pmml")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (home-page "https://github.com/jpmml/r2pmml")
    (synopsis "Convert R Models to PMML")
    (description
     "R wrapper for the JPMML-R library <https://github.com/jpmml/jpmml-r>, which
converts R models to Predictive Model Markup Language (PMML).")
    (license license:agpl3)))

(define-public r-r2openbugs
  (package
    (name "r-r2openbugs")
    (version "3.2-3.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2OpenBUGS" version))
       (sha256
        (base32 "0689aqa034xkbyy46m3sjanjkxrii4ma1crm5qw5kaqbx7dg153c"))))
    (properties `((upstream-name . "R2OpenBUGS")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-coda r-boot))
    (home-page "https://cran.r-project.org/package=R2OpenBUGS")
    (synopsis "Running OpenBUGS from R")
    (description
     "Using this package, it is possible to call a BUGS model, summarize inferences
and convergence in a table and graph, and save the simulations in arrays for
easy access in R.")
    (license license:gpl2)))

(define-public r-r2mlwin
  (package
    (name "r-r2mlwin")
    (version "0.8-9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2MLwiN" version))
       (sha256
        (base32 "0zzvpsmcfvnr6v0dg5dbfz8sx2h2m6krkb0q8bxxlj552nn2qvgr"))))
    (properties `((upstream-name . "R2MLwiN")))
    (build-system r-build-system)
    (inputs (list))
    (propagated-inputs (list r-tibble
                             r-texreg
                             r-r2winbugs
                             r-memisc
                             r-matrix
                             r-lattice
                             r-foreign
                             r-foreach
                             r-doparallel
                             r-digest
                             r-coda
                             r-broom))
    (home-page "http://www.bristol.ac.uk/cmm/software/r2mlwin/")
    (synopsis "Running 'MLwiN' from Within R")
    (description
     "An R command interface to the M@code{LwiN} multilevel modelling software
package.")
    (license license:gpl2+)))

(define-public r-r2mlm
  (package
    (name "r-r2mlm")
    (version "0.3.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2mlm" version))
       (sha256
        (base32 "1gsmmwgm50cfmzqpm6khlfkgr65x9q7qnm821x46cw9yi64ip5an"))))
    (properties `((upstream-name . "r2mlm")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-stringr
                             r-rockchalk
                             r-rlang
                             r-nlme
                             r-magrittr
                             r-lme4
                             r-dplyr))
    (home-page "https://github.com/mkshaw/r2mlm")
    (synopsis "R-Squared Measures for Multilevel Models")
    (description
     "Generates both total- and level-specific R-squared measures from Rights and
Sterbaâs (2019) <doi:10.1037/met0000184> framework of R-squared measures for
multilevel models with random intercepts and/or slopes, which is based on a
complete decomposition of variance.  Additionally generates graphical
representations of these R-squared measures to allow visualizing and
interpreting all measures in the framework together as an integrated set.  This
framework subsumes 10 previously-developed R-squared measures for multilevel
models as special cases of 5 measures from the framework, and it also includes
several newly-developed measures.  Measures in the framework can be used to
compute R-squared differences when comparing multilevel models (following
procedures in Rights & Sterba (2020) <doi:10.1080/00273171.2019.1660605>).
Bootstrapped confidence intervals can also be calculated.  To use the confidence
interval functionality, download bootmlm from
<https://github.com/marklhc/bootmlm>.")
    (license license:gpl3)))

(define-public r-r2jags
  (package
    (name "r-r2jags")
    (version "0.8-9")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2jags" version))
       (sha256
        (base32 "0k71ms7xnj8yrqc1i8yn6hki863p6dzbx6x2pijxvn7f37wvh1nz"))))
    (properties `((upstream-name . "R2jags")))
    (build-system r-build-system)
    (inputs (list jags))
    (propagated-inputs (list r-stringr r-rjags r-r2winbugs r-coda r-abind))
    (home-page "https://cran.r-project.org/package=R2jags")
    (synopsis "Using R to Run 'JAGS'")
    (description
     "Providing wrapper functions to implement Bayesian analysis in JAGS. Some major
features include monitoring convergence of a MCMC model using Rubin and Gelman
Rhat statistics, automatically running a MCMC model till it converges, and
implementing parallel processing of a MCMC model for multiple chains.")
    (license license:gpl3+)))

(define-public r-r2fireworks
  (package
    (name "r-r2fireworks")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2fireworks" version))
       (sha256
        (base32 "1kifyr4g92ca7n432jwi5x5qigikvka40k54xb6s8w5fjgfv7g9b"))))
    (properties `((upstream-name . "r2fireworks")))
    (build-system r-build-system)
    (propagated-inputs (list r-shiny r-htmltools))
    (native-inputs (list r-knitr))
    (home-page "https://r2fireworks.obi.obianom.com/")
    (synopsis
     "Enhance Your 'Rmarkdown' and 'shiny' Apps with Dazzling Fireworks Celebrations")
    (description
     "Implementation of JQuery <https://jquery.com> and CSS styles to allow the
display of fireworks on a document.  Toolkit to easily incorporate celebratory
splashes in Rmarkdown and shiny apps.")
    (license license:expat)))

(define-public r-r2dt
  (package
    (name "r-r2dt")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2DT" version))
       (sha256
        (base32 "0hyisq6mij80v14sjspn9idd1h38sd1knbpd0dn2wy9k2w1fl0pk"))))
    (properties `((upstream-name . "R2DT")))
    (build-system r-build-system)
    (propagated-inputs (list r-plyr r-devfunc r-data-table))
    (home-page "https://cran.r-project.org/package=R2DT")
    (synopsis "Translation of Base R-Like Functions for 'data.table' Objects")
    (description
     "Some heavily used base R functions are reconstructed to also be compliant to
data.table objects.  Also, some general helper functions that could be of
interest for working with data.table objects are included.")
    (license license:gpl3)))

(define-public r-r2dii-plot
  (package
    (name "r-r2dii-plot")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2dii.plot" version))
       (sha256
        (base32 "0gfqhqkp9dnzjipgzf665am9mzyv5p7l13ahcw44bpmya4zrsifg"))))
    (properties `((upstream-name . "r2dii.plot")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr
                             r-scales
                             r-rlang
                             r-r2dii-data
                             r-magrittr
                             r-glue
                             r-ggrepel
                             r-ggplot2
                             r-dplyr))
    (home-page "https://github.com/RMI-PACTA/r2dii.plot")
    (synopsis
     "Visualize the Climate Scenario Alignment of a Financial Portfolio")
    (description
     "Create plots to visualize the alignment of a corporate lending financial
portfolio to climate change scenarios based on climate indicators (production
and emission intensities) across key climate relevant sectors of the PACTA
methodology (Paris Agreement Capital Transition Assessment;
<https://www.transitionmonitor.com/>).  Financial institutions use PACTA to
study how their capital allocation decisions align with climate change
mitigation goals.")
    (license license:expat)))

(define-public r-r2dii-match
  (package
    (name "r-r2dii-match")
    (version "0.2.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2dii.match" version))
       (sha256
        (base32 "1f2r5f0p851yhjb81gam7spai46bbrrj2y1g89p0s1kjcpnz6ixz"))))
    (properties `((upstream-name . "r2dii.match")))
    (build-system r-build-system)
    (propagated-inputs (list r-tidyselect
                             r-tidyr
                             r-tibble
                             r-stringi
                             r-stringdist
                             r-rlang
                             r-r2dii-data
                             r-purrr
                             r-magrittr
                             r-lifecycle
                             r-glue
                             r-dplyr
                             r-data-table))
    (home-page "https://rmi-pacta.github.io/r2dii.match/")
    (synopsis "Tools to Match Corporate Lending Portfolios with Climate Data")
    (description
     "These tools implement in R a fundamental part of the software PACTA (Paris
Agreement Capital Transition Assessment), which is a free tool that calculates
the alignment between financial portfolios and climate scenarios
(<https://www.transitionmonitor.com/>).  Financial institutions use PACTA to
study how their capital allocation decisions align with climate change
mitigation goals.  This package matches data from corporate lending portfolios
to asset level data from market-intelligence databases (e.g. power plant
capacities, emission factors, etc.).  This is the first step to assess if a
financial portfolio aligns with climate goals.")
    (license license:expat)))

(define-public r-r2dii-data
  (package
    (name "r-r2dii-data")
    (version "0.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2dii.data" version))
       (sha256
        (base32 "160mzbb9j2hvhf60k236nli899rz2ghfnwc7wzb18bfffhsj1ysx"))))
    (properties `((upstream-name . "r2dii.data")))
    (build-system r-build-system)
    (propagated-inputs (list r-lifecycle))
    (home-page "https://rmi-pacta.github.io/r2dii.data/")
    (synopsis
     "Datasets to Measure the Alignment of Corporate Loan Books with Climate Goals")
    (description
     "These datasets support the implementation in R of the software PACTA (Paris
Agreement Capital Transition Assessment), which is a free tool that calculates
the alignment between corporate lending portfolios and climate scenarios
(<https://www.transitionmonitor.com/>).  Financial institutions use PACTA to
study how their capital allocation decisions align with climate change
mitigation goals.  Because both financial institutions and market data providers
keep their data private, this package provides fake, public data to enable the
development and use of PACTA in R.")
    (license license:cc0)))

(define-public r-r2dii-analysis
  (package
    (name "r-r2dii-analysis")
    (version "0.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2dii.analysis" version))
       (sha256
        (base32 "02rawyr3z0zg2yhc04mdnjkwrczwwv2822vphwyv3vwwlayjy3fh"))))
    (properties `((upstream-name . "r2dii.analysis")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-tidyselect
                             r-tidyr
                             r-rlang
                             r-r2dii-data
                             r-magrittr
                             r-lifecycle
                             r-glue
                             r-dplyr))
    (home-page "https://github.com/RMI-PACTA/r2dii.analysis")
    (synopsis "Measure Climate Scenario Alignment of Corporate Loans")
    (description
     "These tools help you to assess if a corporate lending portfolio aligns with
climate goals.  They summarize key climate indicators attributed to the
portfolio (e.g. production, emission factors), and calculate alignment targets
based on climate scenarios.  They implement in R the last step of the free
software PACTA (Paris Agreement Capital Transition Assessment;
<https://www.transitionmonitor.com/>).  Financial institutions use PACTA to
study how their capital allocation decisions align with climate change
mitigation goals.")
    (license license:expat)))

(define-public r-r2dictionary
  (package
    (name "r-r2dictionary")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2dictionary" version))
       (sha256
        (base32 "09xsmgb1vpqafn9z4yh64qc3gwpd1rpiyj4vpagck8779rxdkqph"))))
    (properties `((upstream-name . "r2dictionary")))
    (build-system r-build-system)
    (propagated-inputs (list r-stringr r-rstudioapi))
    (native-inputs (list r-knitr))
    (home-page "https://r2dictionary.obi.obianom.com")
    (synopsis "Mini-Dictionary for 'R', 'Shiny' and 'Rmarkdown' Documents")
    (description
     "Despite the predominant use of R for data manipulation and various robust
statistical calculations, in recent years, more people from various disciplines
are beginning to use R for other purposes.  A critical milestone that has
enabled large influx of users in the R community is the development of the
Tidyverse family of packages and Rmarkdown.  With the latter, one can write all
kinds of documents and produce output in formats such html and pdf very easily.
In doing this seemlessly, further tools are needed for such users to easily and
freely write in R for all kinds of purposes.  The r2dictionary introduces a
means for users to directly search for definitions of terms within the R
environment.")
    (license license:expat)))

(define-public r-r2d3
  (package
    (name "r-r2d3")
    (version "0.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2d3" version))
       (sha256
        (base32 "15mphywsr0603ipbgzac65n1nj7m77fmw3ypc33p9ng4fllg035r"))))
    (properties `((upstream-name . "r2d3")))
    (build-system r-build-system)
    (arguments
     (list
      #:modules '((guix build r-build-system)
                  (guix build minify-build-system)
                  (guix build utils)
                  (ice-9 match))
      #:imported-modules `(,@%r-build-system-modules (guix build
                                                      minify-build-system))
      #:phases '(modify-phases %standard-phases
                  (add-after 'unpack 'process-javascript
                    (lambda* (#:key inputs #:allow-other-keys)
                      (with-directory-excursion "inst/"
                        (for-each (match-lambda
                                    ((source . target) (minify source
                                                               #:target target)))
                                  '())))))))
    (propagated-inputs (list r-rstudioapi r-jsonlite r-htmlwidgets r-htmltools))
    (native-inputs (list r-knitr esbuild))
    (home-page "https://rstudio.github.io/r2d3/")
    (synopsis "Interface to 'D3' Visualizations")
    (description
     "Suite of tools for using D3', a library for producing dynamic, interactive data
visualizations.  Supports translating objects into D3 friendly data structures,
rendering D3 scripts, publishing D3 visualizations, incorporating D3 in R
Markdown, creating interactive D3 applications with Shiny, and distributing D3
based htmlwidgets in R packages.")
    (license license:bsd-3)))

(define-public r-r2d2
  (package
    (name "r-r2d2")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2d2" version))
       (sha256
        (base32 "1956p9xr9as8v4673d6fsdyas3racfzh6a5pafqz56r8ai1ssbyq"))))
    (properties `((upstream-name . "r2d2")))
    (build-system r-build-system)
    (propagated-inputs (list r-sp r-mass r-kernsmooth))
    (home-page "https://cran.r-project.org/package=r2d2")
    (synopsis
     "Bivariate (Two-Dimensional) Confidence Region and Frequency Distribution")
    (description
     "Generic functions to analyze the distribution of two continuous variables:
conf2d to calculate a smooth empirical confidence region, and freq2d to
calculate a frequency distribution.")
    (license license:gpl3)))

(define-public r-r2country
  (package
    (name "r-r2country")
    (version "2.0.2.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r2country" version))
       (sha256
        (base32 "1a98zq4xyni0lx7x2vhnwill9d5c0f17l49ashpj2mh81y76c1s7"))))
    (properties `((upstream-name . "r2country")))
    (build-system r-build-system)
    (propagated-inputs (list r-quickcode))
    (native-inputs (list r-knitr))
    (home-page "https://r2country.obi.obianom.com")
    (synopsis
     "Country Data with Names, Capitals, Currencies, Populations, Time, Languages and so on")
    (description
     "Obtain information about countries around the globe.  Information for names,
states, languages, time, capitals, currency and many more.  Data source are
Wikipedia <https://www.wikipedia.org>, @code{TimeAndDate}
<https://www.timeanddate.com> and @code{CountryCode} <https://countrycode.org>.")
    (license license:expat)))

(define-public r-r2beat
  (package
    (name "r-r2beat")
    (version "1.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2BEAT" version))
       (sha256
        (base32 "02vxch3pszh3lv4z01da5g6d9zjnjv5cyxciiw4ina767lsk0rgk"))))
    (properties `((upstream-name . "R2BEAT")))
    (build-system r-build-system)
    (propagated-inputs (list r-sampling r-glue r-foreach r-doparallel))
    (home-page "https://barcaroli.github.io/R2BEAT/")
    (synopsis "Multistage Sampling Allocation and Sample Selection")
    (description
     "Multivariate optimal allocation for different domains in one and two stages
stratified sample design.  R2BEAT extends the Neyman (1934) â Tschuprow (1923)
allocation method to the case of several variables, adopting a generalization of
the Bethelâs proposal (1989).  R2BEAT develops this methodology but, moreover,
it allows to determine the sample allocation in the multivariate and
multi-domains case of estimates for two-stage stratified samples.  It also
allows to perform both Primary Stage Units and Secondary Stage Units selection.
This package requires the availability of @code{ReGenesees}', that can be
installed from <https://github.com/@code{DiegoZardetto/ReGenesees>}.")
    (license (license:fsdg-compatible "EUPL"))))

(define-public r-r2bayesx
  (package
    (name "r-r2bayesx")
    (version "1.1-5")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2BayesX" version))
       (sha256
        (base32 "1x3hv0dfkh4ywi47qkmk6wvfz07rp5riwnxcnn32jflwcdzscqva"))))
    (properties `((upstream-name . "R2BayesX")))
    (build-system r-build-system)
    (propagated-inputs (list r-mgcv r-colorspace r-bayesxsrc))
    (home-page "https://cran.r-project.org/package=R2BayesX")
    (synopsis "Estimate Structured Additive Regression Models with 'BayesX'")
    (description
     "An R interface to estimate structured additive regression (STAR) models with
@code{BayesX}'.")
    (license (list license:gpl2 license:gpl3))))

(define-public r-r2admb
  (package
    (name "r-r2admb")
    (version "0.7.16.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2admb" version))
       (sha256
        (base32 "1sv20hkgz3vvqkwzj7i2xn7sb8skzhdl7jnrk85m6zza65917f32"))))
    (properties `((upstream-name . "R2admb")))
    (build-system r-build-system)
    (propagated-inputs (list r-lattice r-coda))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=R2admb")
    (synopsis "'ADMB' to R Interface Functions")
    (description
     "This package provides a series of functions to call AD Model Builder (i.e.,
compile and run models) from within R, read the results back into R as admb
objects, and provide standard accessors (i.e.  coef(), vcov(), etc.).")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-r2addhaz
  (package
    (name "r-r2addhaz")
    (version "0.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R2Addhaz" version))
       (sha256
        (base32 "1xaqbzq2chsgkg1gc163fq8qcgzq9wwn2bm4mwvc31ay0gg4f3xi"))))
    (properties `((upstream-name . "R2Addhaz")))
    (build-system r-build-system)
    (propagated-inputs (list r-zoo
                             r-survival
                             r-rdpack
                             r-pracma
                             r-catools
                             r-ahaz))
    (home-page "https://cran.r-project.org/package=R2Addhaz")
    (synopsis
     "R2 Measure of Explained Variation under the Additive Hazards Model")
    (description
     "R^2 measure of explained variation under the semiparametric additive hazards
model is estimated.  The measure can be used as a measure of predictive
capability and therefore it can be adopted in model selection process.  Rava, D.
and Xu, R. (2020) <@code{arXiv:2003.09460>}.")
    (license license:gpl2)))

(define-public r-r1magic
  (package
    (name "r-r1magic")
    (version "0.3.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R1magic" version))
       (sha256
        (base32 "03sx0lr3yaycvs1cklwamhdy4fbxnp3wizwvmd4szg9irlyj536p"))))
    (properties `((upstream-name . "R1magic")))
    (build-system r-build-system)
    (home-page "https://cran.r-project.org/package=R1magic")
    (synopsis "Compressive Sampling: Sparse Signal Recovery Utilities")
    (description
     "Utilities for sparse signal recovery suitable for compressed sensing.  L1, L2
and TV penalties, DFT basis matrix, simple sparse signal generator, mutual
cumulative coherence between two matrices and examples, Lp complex norm, scaling
back regression coefficients.")
    (license license:gpl3+)))

(define-public r-r02pro
  (package
    (name "r-r02pro")
    (version "0.2")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r02pro" version))
       (sha256
        (base32 "1w8vq6ldhvvpcw6kq1nrfrr15ji5zc5p7nhqcr03ixw4qc20lx9w"))))
    (properties `((upstream-name . "r02pro")))
    (build-system r-build-system)
    (propagated-inputs (list r-learnr))
    (home-page "https://r02pro.github.io/")
    (synopsis "R Programming: Zero to Pro")
    (description
     "This is a companion package of the book \"R Programming: Zero to Pro\"
<https://r02pro.github.io/>.  It contains the datasets used in the book and
provides interactive exercises corresponding to the book.  It covers a wide
range of topics including visualization, data transformation, tidying data, data
input and output.")
    (license license:gpl2)))

(define-public r-r0
  (package
    (name "r-r0")
    (version "1.3-1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R0" version))
       (sha256
        (base32 "1bf6f3hijhpwqfpaqdbh9hzy85yjmwxfjssj1bpihl3dql1kv3ad"))))
    (properties `((upstream-name . "R0")))
    (build-system r-build-system)
    (propagated-inputs (list r-mass))
    (home-page "https://github.com/tobadia/R0")
    (synopsis
     "Estimation of R0 and Real-Time Reproduction Number from Epidemics")
    (description
     "Estimation of reproduction numbers for disease outbreak, based on incidence
data.  The R0 package implements several documented methods.  It is therefore
possible to compare estimations according to the methods used.  Depending on the
methods requested by user, basic reproduction number (commonly denoted as R0) or
real-time reproduction number (referred to as R(t)) is computed, along with a
95% Confidence Interval.  Plotting outputs will give different graphs depending
on the methods requested : basic reproductive number estimations will only show
the epidemic curve (collected data) and an adjusted model, whereas real-time
methods will also show the R(t) variations throughout the outbreak time period.
Sensitivity analysis tools are also provided, and allow for investigating
effects of varying Generation Time distribution or time window on estimates.")
    (license license:gpl2+)))

(define-public r-r-temis
  (package
    (name "r-r-temis")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R.temis" version))
       (sha256
        (base32 "1qa381fv1hxd1fv9d22772aibiia6m2ycm69znjy3ah2w986hjfh"))))
    (properties `((upstream-name . "R.temis")))
    (build-system r-build-system)
    (propagated-inputs (list r-wordcloud
                             r-tm-plugin-lexisnexis
                             r-tm-plugin-factiva
                             r-tm-plugin-europresse
                             r-tm-plugin-alceste
                             r-tm
                             r-testthat
                             r-stringi
                             r-snowballc
                             r-slam
                             r-nlp
                             r-igraph
                             r-factominer
                             r-explor
                             r-crayon))
    (home-page "https://github.com/nalimilan/R.TeMiS")
    (synopsis "Integrated Text Mining Solution")
    (description
     "An integrated solution to perform a series of text mining tasks such as
importing and cleaning a corpus, and analyses like terms and documents counts,
lexical summary, terms co-occurrences and documents similarity measures, graphs
of terms, correspondence analysis and hierarchical clustering.  Corpora can be
imported from spreadsheet-like files, directories of raw text files, as well as
from Dow Jones Factiva', @code{LexisNexis}', Europresse and Alceste files.")
    (license license:gpl2+)))

(define-public r-r-proxy
  (package
    (name "r-r-proxy")
    (version "0.1.3")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r.proxy" version))
       (sha256
        (base32 "1v7x23lk5zzzilv6lpmajh2wa1ana330v2607rm816kir8k6ywa0"))))
    (properties `((upstream-name . "r.proxy")))
    (build-system r-build-system)
    (propagated-inputs (list r-jsonlite r-httr r-curl))
    (home-page "https://github.com/xiayh17/r.proxy")
    (synopsis "Set Proxy in R Console")
    (description
     "The use of proxies is required in certain network environments.  Despite the
power of system level software, it is still inconvenient to switch proxy
networks at random in R's console.  This package is designed to provide
one-click switching between proxy and non-proxy states.")
    (license license:expat)))

(define-public r-r-matlab
  (package
    (name "r-r-matlab")
    (version "3.7.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "R.matlab" version))
       (sha256
        (base32 "1nixlk8yiyh27kbwvabzw83jw0pa6w0kaf09c5ana851d0i544yp"))))
    (properties `((upstream-name . "R.matlab")))
    (build-system r-build-system)
    (propagated-inputs (list r-r-utils r-r-oo r-r-methodss3))
    (home-page "https://github.com/HenrikBengtsson/R.matlab")
    (synopsis "Read and Write MAT Files and Call MATLAB from Within R")
    (description
     "This package provides methods @code{readMat}() and @code{writeMat}() for reading
and writing MAT files.  For user with MATLAB v6 or newer installed (either
locally or on a remote host), the package also provides methods for controlling
MATLAB (trademark) via R and sending and retrieving data between R and MATLAB.")
    (license license:lgpl2.1+)))

(define-public r-r-jive
  (package
    (name "r-r-jive")
    (version "2.4")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r.jive" version))
       (sha256
        (base32 "12zjzjjy1dwhr1gxb5029p5l3wjhwaysja4zf6insdnx1fd0ybxd"))))
    (properties `((upstream-name . "r.jive")))
    (build-system r-build-system)
    (propagated-inputs (list r-gplots r-abind))
    (native-inputs (list r-knitr))
    (home-page "https://cran.r-project.org/package=r.jive")
    (synopsis "Perform JIVE Decomposition for Multi-Source Data")
    (description
     "This package performs the Joint and Individual Variation Explained (JIVE)
decomposition on a list of data sets when the data share a dimension, returning
low-rank matrices that capture the joint and individual structure of the data
[O'Connell, MJ and Lock, EF (2016) <doi:10.1093/bioinformatics/btw324>].  It
provides two methods of rank selection when the rank is unknown, a permutation
test and a Bayesian Information Criterion (BIC) selection algorithm.  Also
included in the package are three plotting functions for visualizing the
variance attributed to each data source: a bar plot that shows the percentages
of the variability attributable to joint and individual structure, a heatmap
that shows the structure of the variability, and principal component plots.")
    (license license:gpl3)))

(define-public r-r-blip
  (package
    (name "r-r-blip")
    (version "1.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "r.blip" version))
       (sha256
        (base32 "1p33g6i6fq9c27d5ix9nd8prv90i4hrf91x34bldlw8041sjqxm0"))))
    (properties `((upstream-name . "r.blip")))
    (build-system r-build-system)
    (inputs (list openjdk))
    (propagated-inputs (list r-foreign r-bnlearn))
    (home-page "https://cran.r-project.org/package=r.blip")
    (synopsis "Bayesian Network Learning Improved Project")
    (description
     "Allows the user to learn Bayesian networks from datasets containing thousands of
variables.  It focuses on score-based learning, mainly the BIC and the BDeu
score functions.  It provides state-of-the-art algorithms for the following
tasks: (1) parent set identification - Mauro Scanagatta (2015)
<http://papers.nips.cc/paper/5803-learning-bayesian-networks-with-thousands-of-variables>;
(2) general structure optimization - Mauro Scanagatta (2018)
<doi:10.1007/s10994-018-5701-9>, Mauro Scanagatta (2018)
<http://proceedings.mlr.press/v73/scanagatta17a.html>; (3) bounded treewidth
structure optimization - Mauro Scanagatta (2016)
<http://papers.nips.cc/paper/6232-learning-treewidth-bounded-bayesian-networks-with-thousands-of-variables>;
(4) structure learning on incomplete data sets - Mauro Scanagatta (2018)
<doi:10.1016/j.ijar.2018.02.004>.  Distributed under the LGPL-3 by IDSIA.")
    (license license:lgpl3)))

