Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions r/data-raw/docgen.R
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,16 @@ render_pkg <- function(df, pkg) {
paste("#'", c(header, bullets), collapse = "\n")
}

# Load the current development version so we get the latest function mappings
if (requireNamespace("devtools", quietly = TRUE)) {
devtools::load_all()
} else {
warning(
"devtools is not installed. Using installed arrow package instead of current working code.\n",
"To generate accurate docs, install the current branch version of arrow first."
)
}

docs <- arrow:::.cache$docs

# Add some functions
Expand Down
Loading