<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d3ee6c3eff6ffffd89ac24bc4e156b129eb2be4b">https://github.com/macports/macports-ports/commit/d3ee6c3eff6ffffd89ac24bc4e156b129eb2be4b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d3ee6c3eff6ffffd89ac24bc4e156b129eb2be4b
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Mar 27 02:53:01 2023 +0700

<span style='display:block; white-space:pre;color:#404040;'>    R-openxlsx2: new port
</span>---
 R/R-openxlsx2/Portfile                  | 38 +++++++++++++++++++++++++++++++++
 R/R-openxlsx2/files/patch-isfinite.diff | 11 ++++++++++
 2 files changed, 49 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-openxlsx2/Portfile b/R/R-openxlsx2/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ee303593a5b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-openxlsx2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem          1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           R 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+R.setup             github JanMarvin openxlsx2 0.5.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append   office
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license             MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description         Read, write and edit xlsx files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description    {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage            https://janmarvin.github.io/openxlsx2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  623e340a92b24cb2f6c95d51a2e3df8ff494599d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  507de13c4f7688ce3ec6a2b80fe55b55705778dcd49bd72bc925b6c82891b631 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    6431813
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append  port:R-magrittr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-R6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-Rcpp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-stringi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-zip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/JanMarvin/openxlsx2/issues/565
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-isfinite.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_test-append port:R-covr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-ggplot2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-knitr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-mschart \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-rmarkdown \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-roxygen2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-rvg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-testthat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:R-waldo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# One test fails on 32-bit, apparently due to precision: https://github.com/JanMarvin/openxlsx2/issues/566
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run            yes
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-openxlsx2/files/patch-isfinite.diff b/R/R-openxlsx2/files/patch-isfinite.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..092872c83a6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-openxlsx2/files/patch-isfinite.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/helper_functions.cpp.orig  2023-02-26 22:27:18.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/helper_functions.cpp       2023-03-27 02:20:49.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -289,7 +289,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   res = R_strtod(x.c_str(), &endp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  if (isBlankString(endp) && isfinite(res)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  if (isBlankString(endp) && std::isfinite(res)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     return 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span></pre><pre style='margin:0'>

</pre>