
R/helpai-package.R
helpai-package.RdThis package builds custom R help pages, based on questions you ask to a LLM (by default, it is Ollama running locally).
ai_ask() the main function for queries,
ai_explain_term() to get a definition and brief explanation on a
(statistical) term.
ai_explain_function() produces a short help page for an R
function with explanation of its main arguments and a short example.
ai_explain_code() details how a small piece of R code works.
ai_explain_error() explain what en R error message means.