mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See https://github.com/macports/macports-ports/pull/26909#issuecomment-3339115770
30 lines
1.4 KiB
Tcl
30 lines
1.4 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup R 1.0
|
|
|
|
R.setup cran mmaechler round 0.21-0.2
|
|
revision 1
|
|
categories-append math
|
|
maintainers nomaintainer
|
|
license AGPL-3+
|
|
description Rounding to decimal digits
|
|
long_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 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.
|
|
homepage https://gitlab.com/mmaechler/round
|
|
checksums rmd160 08b0b1e3d71db78c706d0296022c86052e2b8067 \
|
|
sha256 2ea3c546a1ae784a16edbf1876e7a2b89762bf74d586b3afed3e329536119b1d \
|
|
size 72364
|
|
|
|
depends_test-append port:R-gmp \
|
|
port:R-knitr \
|
|
port:R-rmarkdown
|
|
|
|
# Some archs including PPC may not work as expected:
|
|
# https://gitlab.com/mmaechler/round/-/issues/3
|
|
# https://gitlab.com/mmaechler/round/-/issues/1
|
|
test.run yes
|