From 7a0acce9c3abc6440530d2850e97d4fb9db74fcb Mon Sep 17 00:00:00 2001 From: Gabor Szarnyas Date: Sun, 28 Apr 2024 12:01:15 +0200 Subject: [PATCH] Link troubleshooting page for R installation --- _includes/installation.html | 2 +- docs/dev/building/troubleshooting.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/_includes/installation.html b/_includes/installation.html index 6b18d8173d8..c601757e8c6 100644 --- a/_includes/installation.html +++ b/_includes/installation.html @@ -91,7 +91,7 @@

Usage example

{% highlight r %}install.packages("duckdb"){% endhighlight %}

- On aarch64, if the DuckDB R package does not successfully compile, you may need to change your R environment's make variables. + On aarch64, if the DuckDB R package does not successfully compile, you may need to change your R environment's Make variables.
diff --git a/docs/dev/building/troubleshooting.md b/docs/dev/building/troubleshooting.md index c081b35f84c..1f938006943 100644 --- a/docs/dev/building/troubleshooting.md +++ b/docs/dev/building/troubleshooting.md @@ -26,6 +26,8 @@ To work around this, create or edit the `~/.R/Makevars` file: ALL_CXXFLAGS = $(PKG_CXXFLAGS) -fPIC $(SHLIB_CXXFLAGS) $(CXXFLAGS) ``` +When making this change, also consider [making the build parallel](#building-the-r-package-is-slow). + ## Building the httpfs Extension and Python Package on macOS **Problem:** The build fails on macOS when both the [`httpfs` extension](../../extensions/httpfs) and the Python package are included: