Invokes RStudio addin functionality to scrape select installed packages and
create indices for use in the "Chat with Retrieval" application.
Value
No return value, called for side effects only.
Note
This addin requires RStudio to be available and will stop with an
error message if RStudio API is not accessible.
Examples
if (FALSE) { # rlang::is_interactive()
# This function is typically run within RStudio as an Addin.
# It would not be called directly in the code.
addin_scrape_pkgs()
}