PacketLLM - AI Assistant Gadget for 'RStudio'
Provides an interactive 'RStudio' gadget for working with
an AI assistant during package and script development. The
gadget can use selected editor text, the active source file,
package metadata, and uploaded files as context for code
explanation, code generation, documentation, and review
workflows. It offers model presets, assistant behavior
settings, responsive code-focused output, and explicit copy,
insert, and replace actions for the active source editor. API
interactions via the 'httr' package are performed
asynchronously using 'promises' and 'future' to avoid blocking
the R console. The backend is configured via the OPENAI_API_KEY
environment variable.