{
  "_id": "6af27a01be2268deb4a38b7b",
  "Package": "rstudioai",
  "Type": "Package",
  "Title": "RgentAI: AI-Powered Statistical Analysis Assistant for R",
  "Version": "2.4.16",
  "Author": "Nathan Bresette",
  "Maintainer": "Nathan Bresette <support@rgentai.com>",
  "Description": "An intelligent AI assistant for R programming that\nprovides conversational chat, plot analysis, error debugging,\nand specialized agents for data cleaning, transformation,\nstatistical analysis, and machine learning workflows.",
  "License": "MIT + file LICENSE",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "make libssl-dev zlib1g-dev",
  "Repository": "https://nathanbresette.r-universe.dev",
  "Date/Publication": "2026-11-10 01:24:54 UTC",
  "RemoteUrl": "https://github.com/NathanBresette/Rgent-AI",
  "RemoteRef": "HEAD",
  "RemoteSha": "081169482cd6645c8ffbb45bdf8df1d08638a033",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-10 01:53:46 UTC",
    "User": "root"
  },
  "_user": "nathanbresette",
  "_type": "src",
  "_file": "rstudioai_2.4.16.tar.gz",
  "_fileid": "https://r2.ropensci.org/e5cba46816d2ec6c24c51e003dd933826088ee8613272f16e14efe2a61b43ad7",
  "_filesize": 1696236,
  "_sha256": "e5cba46816d2ec6c24c51e003dd933826088ee8613272f16e14efe2a61b43ad7",
  "_expires": "2027-02-18T01:57:05.000Z",
  "_created": "2026-11-10T01:53:46.000Z",
  "_published": "2026-11-10T01:57:20.829Z",
  "_upstream": "https://github.com/NathanBresette/Rgent-AI",
  "_status": "success",
  "_maintainer": {
    "name": "Nathan Bresette",
    "email": "support@rgentai.com"
  },
  "_jobs": [
    {
      "job": 129575178227,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13727878988"
    },
    {
      "job": 129575178270,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13727759340"
    },
    {
      "job": 129575178254,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13727314580"
    },
    {
      "job": 129575178228,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13727299758"
    },
    {
      "job": 129573960988,
      "time": 197,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13728421230"
    },
    {
      "job": 129575178307,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13728760266"
    },
    {
      "job": 129575178251,
      "time": 89,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13727759238"
    },
    {
      "job": 129575178282,
      "time": 81,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13728735343"
    },
    {
      "job": 129575178186,
      "time": 103,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13728675657"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nathanbresette/actions/runs/42738606450",
  "_commit": {
    "id": "081169482cd6645c8ffbb45bdf8df1d08638a033",
    "author": "Nathan Bresette <nathanbresette04@gmail.com>",
    "committer": "Nathan Bresette <nathanbresette04@gmail.com>",
    "message": "Tests pass on Windows (r-universe check): locale-independent sort check, test page written byte for byte\n",
    "time": 1794273894
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "rstudioapi",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "httpuv",
      "role": "Imports"
    },
    {
      "package": "later",
      "role": "Imports"
    },
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    },
    {
      "package": "clipr",
      "role": "Suggests"
    }
  ],
  "_owner": "nathanbresette",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 27
    },
    {
      "week": "2025-49",
      "n": 41
    },
    {
      "week": "2025-51",
      "n": 5
    },
    {
      "week": "2025-52",
      "n": 21
    },
    {
      "week": "2026-01",
      "n": 5
    },
    {
      "week": "2026-45",
      "n": 18
    },
    {
      "week": "2026-46",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "nathanbresette",
      "count": 322,
      "uuid": 148147840
    }
  ],
  "_userbio": {
    "uuid": 148147840,
    "type": "user",
    "name": "Nathan Bresette",
    "followers": 2
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rstudioai"
  },
  "_devurl": "https://github.com/nathanbresette/rgent-ai",
  "_searchresults": 8,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rstudioai.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "ai_insert_code",
    "ai_replace_code",
    "ai_smart_insert",
    "assemble_intelligent_context_safe",
    "auto_capture_error",
    "auto_start_rgent",
    "capture_context",
    "capture_last_error",
    "check_and_update_package",
    "convert_explorer_view_to_code",
    "detect_context_changes",
    "execute_code",
    "execute_r_function",
    "execute_with_capture",
    "get_available_dataframes",
    "get_available_objects",
    "get_console_context",
    "get_dataframe_chunk_filtered",
    "get_dataframe_explorer_data",
    "get_dataframe_info",
    "get_object_explorer_data",
    "remove_error_monitoring",
    "run_rgent",
    "setup_rprofile_auto_start",
    "stop_websocket_server",
    "test_auto_capture",
    "trigger_auto_capture"
  ],
  "_help": [
    {
      "page": "grapes-or-or-grapes",
      "title": "Visualization Agent for RStudio AI",
      "topics": [
        "%||%"
      ]
    },
    {
      "page": "add_to_conversation_history",
      "title": "Add message to conversation history",
      "topics": [
        "add_to_conversation_history"
      ]
    },
    {
      "page": "ai_addin_viewer",
      "title": "Launch the AI assistant in the browser One-command solution that opens the HTML interface connected to Render backend",
      "topics": [
        "ai_addin_viewer"
      ]
    },
    {
      "page": "ai_insert_code",
      "title": "AI-driven code insertion with intelligent placement",
      "topics": [
        "ai_insert_code"
      ]
    },
    {
      "page": "ai_replace_code",
      "title": "AI-driven code replacement",
      "topics": [
        "ai_replace_code"
      ]
    },
    {
      "page": "ai_smart_insert",
      "title": "Smart code insertion with AI context",
      "topics": [
        "ai_smart_insert"
      ]
    },
    {
      "page": "analyze_last_plot",
      "title": "Main plot analysis function",
      "topics": [
        "analyze_last_plot"
      ]
    },
    {
      "page": "analyze_visualization_plot",
      "title": "Analyze visualization agent plot specifically This function is designed for visualization agent plots and doesn't interfere with the analyze_last_plot button",
      "topics": [
        "analyze_visualization_plot"
      ]
    },
    {
      "page": "auto_capture_error",
      "title": "Auto-capture error context and show notification",
      "topics": [
        "auto_capture_error"
      ]
    },
    {
      "page": "capture_context",
      "title": "Capture current workspace context",
      "topics": [
        "capture_context"
      ]
    },
    {
      "page": "capture_context_smart",
      "title": "Capture current workspace context with smart filtering",
      "topics": [
        "capture_context_smart"
      ]
    },
    {
      "page": "capture_context_smart_incremental",
      "title": "Smart context capture with incremental processing",
      "topics": [
        "capture_context_smart_incremental"
      ]
    },
    {
      "page": "capture_last_error",
      "title": "Capture last error with context and code",
      "topics": [
        "capture_last_error"
      ]
    },
    {
      "page": "detect_context_changes",
      "title": "Detect changes between two context states",
      "topics": [
        "detect_context_changes"
      ]
    },
    {
      "page": "execute_code",
      "title": "Execute code directly in R console",
      "topics": [
        "execute_code"
      ]
    },
    {
      "page": "execute_code_in_session",
      "title": "R Code Execution Engine",
      "topics": [
        "execute_code_in_session"
      ]
    },
    {
      "page": "execute_plot_analysis",
      "title": "Execute analysis commands and collect results",
      "topics": [
        "execute_plot_analysis"
      ]
    },
    {
      "page": "execute_r_function",
      "title": "Execute R function directly from frontend",
      "topics": [
        "execute_r_function"
      ]
    },
    {
      "page": "execute_with_capture",
      "title": "Execute code with auto-capture",
      "topics": [
        "execute_with_capture"
      ]
    },
    {
      "page": "extract_keywords",
      "title": "Extract keywords from user query",
      "topics": [
        "extract_keywords"
      ]
    },
    {
      "page": "extract_plot_data",
      "title": "Extract data variables from plot command",
      "topics": [
        "extract_plot_data"
      ]
    },
    {
      "page": "find_exact_matches",
      "title": "Find exact matches for keywords in object names",
      "topics": [
        "find_exact_matches"
      ]
    },
    {
      "page": "find_last_plot_command",
      "title": "Update workspace index Find the last plot command in R history",
      "topics": [
        "find_last_plot_command"
      ]
    },
    {
      "page": "find_partial_matches",
      "title": "Find partial and fuzzy matches for keywords in object names",
      "topics": [
        "find_partial_matches"
      ]
    },
    {
      "page": "generate_analysis_commands",
      "title": "Generate analysis commands based on plot type",
      "topics": [
        "generate_analysis_commands"
      ]
    },
    {
      "page": "get_available_dataframes",
      "title": "Get Available DataFrames in Global Environment",
      "topics": [
        "get_available_dataframes"
      ]
    },
    {
      "page": "get_console_context",
      "title": "Get the console lines above the error",
      "topics": [
        "get_console_context"
      ]
    },
    {
      "page": "get_conversation_history",
      "title": "Get conversation history as formatted string",
      "topics": [
        "get_conversation_history"
      ]
    },
    {
      "page": "get_dataframe_info",
      "title": "Get Basic Information About a DataFrame",
      "topics": [
        "get_dataframe_info"
      ]
    },
    {
      "page": "get_last_executed_code",
      "title": "Get the last executed code from R history",
      "topics": [
        "get_last_executed_code"
      ]
    },
    {
      "page": "get_relevant_context_for_error",
      "title": "Get relevant context from index based on error type",
      "topics": [
        "get_relevant_context_for_error"
      ]
    },
    {
      "page": "get_rstudio_theme",
      "title": "Get RStudio theme information",
      "topics": [
        "get_rstudio_theme"
      ]
    },
    {
      "page": "identify_plot_type",
      "title": "Identify plot type from command",
      "topics": [
        "identify_plot_type"
      ]
    },
    {
      "page": "insert_code",
      "title": "Insert code into active document",
      "topics": [
        "insert_code"
      ]
    },
    {
      "page": "insert_code_at_location",
      "title": "Insert code at specific location in document",
      "topics": [
        "insert_code_at_location"
      ]
    },
    {
      "page": "launch_html_interface",
      "title": "Launch HTML interface with HTTPS support for clipboard API",
      "topics": [
        "launch_html_interface"
      ]
    },
    {
      "page": "launch_websocket_chat",
      "title": "Backwards compatibility alias",
      "topics": [
        "launch_websocket_chat"
      ]
    },
    {
      "page": "load_execution_settings",
      "title": "Load execution settings",
      "topics": [
        "load_execution_settings"
      ]
    },
    {
      "page": "log_code_to_file",
      "title": "Log code to file",
      "topics": [
        "log_code_to_file"
      ]
    },
    {
      "page": "log_error_to_file",
      "title": "Log error to file",
      "topics": [
        "log_error_to_file"
      ]
    },
    {
      "page": "reconstruct_base_plot_command",
      "title": "Reconstruct multi-line base R plot command (plot, hist, boxplot, barplot)",
      "topics": [
        "reconstruct_base_plot_command"
      ]
    },
    {
      "page": "reconstruct_ggplot_command",
      "title": "Reconstruct multi-line ggplot2 command",
      "topics": [
        "reconstruct_ggplot_command"
      ]
    },
    {
      "page": "reconstruct_qq_command",
      "title": "Reconstruct base R QQ plot command possibly spanning multiple lines",
      "topics": [
        "reconstruct_qq_command"
      ]
    },
    {
      "page": "refresh_context",
      "title": "Refresh context and send to backend",
      "topics": [
        "refresh_context"
      ]
    },
    {
      "page": "remove_error_monitoring",
      "title": "Remove error monitoring task callback",
      "topics": [
        "remove_error_monitoring"
      ]
    },
    {
      "page": "run_rgent",
      "title": "Launch the AI assistant in RStudio viewer One-command solution that opens the HTML interface connected to Render backend",
      "topics": [
        "run_rgent"
      ]
    },
    {
      "page": "save_execution_settings",
      "title": "Save execution settings",
      "topics": [
        "save_execution_settings"
      ]
    },
    {
      "page": "send_error_to_ai",
      "title": "Send debug error to AI for analysis",
      "topics": [
        "send_error_to_ai"
      ]
    },
    {
      "page": "smart_filter_objects",
      "title": "Smart filtering functions for workspace objects",
      "topics": [
        "smart_filter_objects"
      ]
    },
    {
      "page": "start_websocket_server",
      "title": "Start WebSocket server for R-JavaScript communication",
      "topics": [
        "start_websocket_server"
      ]
    },
    {
      "page": "stop_websocket_server",
      "title": "Stop WebSocket server",
      "topics": [
        "stop_websocket_server"
      ]
    },
    {
      "page": "test_auto_capture",
      "title": "Test auto-capture system",
      "topics": [
        "test_auto_capture"
      ]
    },
    {
      "page": "toggle_auto_fix",
      "title": "Toggle auto-fix mode (removed)",
      "topics": [
        "toggle_auto_fix"
      ]
    },
    {
      "page": "trigger_auto_capture",
      "title": "Manually trigger auto-capture",
      "topics": [
        "trigger_auto_capture"
      ]
    },
    {
      "page": "update_workspace_index_full",
      "title": "Full workspace update (fallback)",
      "topics": [
        "update_workspace_index_full"
      ]
    },
    {
      "page": "update_workspace_index_incremental",
      "title": "Incremental workspace update functions",
      "topics": [
        "update_workspace_index_incremental"
      ]
    }
  ],
  "_readme": "https://github.com/NathanBresette/Rgent-AI/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "cli",
    "curl",
    "digest",
    "fastmap",
    "httpuv",
    "httr",
    "jsonlite",
    "later",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "otel",
    "promises",
    "R6",
    "Rcpp",
    "rlang",
    "rstudioapi",
    "sys"
  ],
  "_score": 3.021189299069938,
  "_indexed": true,
  "_nocasepkg": "rstudioai",
  "_universes": [
    "nathanbresette"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.16",
      "date": "2026-11-10T01:56:13.000Z",
      "distro": "resolute",
      "commit": "081169482cd6645c8ffbb45bdf8df1d08638a033",
      "fileid": "https://r2.ropensci.org/765117052cb39112e7cbe67bcf9180501fe084faa984fe72a0b0f66d335ec5bc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nathanbresette/actions/runs/42738606450"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.4.16",
      "date": "2026-11-10T01:55:42.000Z",
      "distro": "resolute",
      "commit": "081169482cd6645c8ffbb45bdf8df1d08638a033",
      "fileid": "https://r2.ropensci.org/ba82cac734f78855d41a30f98916981e28a72991b0ff6c97ca8e1c2f767a7cf8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nathanbresette/actions/runs/42738606450"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.16",
      "date": "2026-11-10T01:55:19.000Z",
      "commit": "081169482cd6645c8ffbb45bdf8df1d08638a033",
      "fileid": "https://r2.ropensci.org/4146f620cced738d3c2d52670b63e532947b2e51ad6fee48825d49c007b34d00",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nathanbresette/actions/runs/42738606450"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.4.16",
      "date": "2026-11-10T01:55:39.000Z",
      "commit": "081169482cd6645c8ffbb45bdf8df1d08638a033",
      "fileid": "https://r2.ropensci.org/307453a947b576a4de182a694e28dd13d812bfe419eee3c6164105617dd591e2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nathanbresette/actions/runs/42738606450"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4.16",
      "date": "2026-11-10T01:55:46.000Z",
      "commit": "081169482cd6645c8ffbb45bdf8df1d08638a033",
      "fileid": "https://r2.ropensci.org/91d374f31f4039dd96f01b34b61d59453e028a96d44fdd8f89203ce610c9be2c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nathanbresette/actions/runs/42738606450"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.16",
      "date": "2026-11-10T01:54:45.000Z",
      "commit": "081169482cd6645c8ffbb45bdf8df1d08638a033",
      "fileid": "https://r2.ropensci.org/3c63609c4a73383ba0aaf30a8db15c7e93b1fed8da5ce53c830d5c3993f2672d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nathanbresette/actions/runs/42738606450"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.4.16",
      "date": "2026-11-10T01:54:47.000Z",
      "commit": "081169482cd6645c8ffbb45bdf8df1d08638a033",
      "fileid": "https://r2.ropensci.org/539d6648d10bd635953b971ee60a46b9372816a03e7d074b8b6c8ce777c923cd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nathanbresette/actions/runs/42738606450"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.4.16",
      "date": "2026-11-10T01:54:56.000Z",
      "commit": "081169482cd6645c8ffbb45bdf8df1d08638a033",
      "fileid": "https://r2.ropensci.org/d35f3a9e095b6bfc34baea3b96cfcf30e93e7270c7d7168e3b4aecff827d5de2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nathanbresette/actions/runs/42738606450"
    }
  ]
}