Skip to content

Commit

Permalink
Merge pull request #5 from Tmonster/update_readme
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr authored Sep 9, 2023
2 parents 9017eb9 + eb528ed commit 54fd03f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 54fd03f

Please sign in to comment.