From eb528ed4d5692d08dada919c7d91355ce4799ea1 Mon Sep 17 00:00:00 2001 From: Tom Ebergen Date: Fri, 8 Sep 2023 13:59:16 +0200 Subject: [PATCH] update README --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f8a695fbb..62f771319 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,21 @@ install.packages("duckdb") ## Building -The default build compiles a release version from an amalgamation. +To build the bleeding edge of duckdb-r, you can clone this repository and run ```sh -R CMD INSTALL . +~duckdb-r: R CMD INSTALL . ``` +If you wish to test new duckdb functionality with duckdb-r, make sure your clones of `duckdb-r` and `duckdb` share the same parent directory. Then run the following commands +```sh +~ (cd duckdb && git checkout {{desired_branch}}) +~ (cd ducdkb-r && ./vendor.sh) +~ (cd duckdb-r && R CMD INSTALL .) +``` + +It helps if both the duckdb directory and duckdb-r directory are clean. If you encounter linker errors, merge both duckdb-r and duckdb with their respective main branches. + ## Dependencies