% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bootstrap.R
\name{duckhts_build}
\alias{duckhts_build}
\title{Build the duckhts DuckDB extension}
\usage{
duckhts_build(build_dir = NULL, make = NULL, force = FALSE, verbose = TRUE)
}
\arguments{
\item{build_dir}{Where to build. Required. Use a writable location such as
\code{tempdir()} when the installed package directory is read-only.}

\item{make}{Optional GNU make command to use (e.g., "gmake" or "make").
When NULL, auto-detects gmake or make. If a non-GNU make is used,
htslib's configure step will fail.}

\item{force}{Rebuild even if the extension file already exists.}

\item{verbose}{Print build output.}
}
\value{
Path to the built \code{duckhts.duckdb_extension} file.
}
\description{
Compiles htslib and the duckhts extension from the sources bundled in the
installed R package. The built \code{.duckdb_extension} file is placed in
the extension directory.
}
