[
https://issues.apache.org/jira/browse/ARROW-12558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Keane closed ARROW-12558.
----------------------------------
Resolution: Fixed
> [R] Can we link to RE2 with rtools 3.5?
> ---------------------------------------
>
> Key: ARROW-12558
> URL: https://issues.apache.org/jira/browse/ARROW-12558
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Reporter: Jonathan Keane
> Priority: Major
>
> It looks like we conditionally use RE2 (only on RTOOLS 4.0), do we need to do
> this or can RTOOLS 3.5 compile RE2?
> https://github.com/apache/arrow/blob/master/r/configure.win#L59
> From
> https://github.com/r-windows/rtools-backports/pull/42#issuecomment-827185255
> OK I deployed this, but note that now you need to fix your R package, because
> you built w/ libre2, but currently in your R package you only link to with
> -lre2 for rtools40, but not for the backport:
> https://github.com/apache/arrow/blob/master/r/configure.win#L59
> So you need to change that to link to -lre2 unconditionally.
> Before you submit to cran make sure to test on winbuilder, in particular the
> R-oldrelease flavour, which uses this backport.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)