{
  "_id": "6acf85a9e2d863f662952446",
  "Package": "codestral",
  "Title": "Chat and FIM with 'Codestral'",
  "Version": "0.0.2.9001",
  "Date": "2026-01-13",
  "Authors@R": "c(\nperson(\"Marc\", \"Grossouvre\", , \"marcgrossouvre@urbs.fr\", role = c(\"aut\", \"cre\")),\nperson(, \"URBS company\", , \"contact@urbs.fr\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Create an addin in 'Rstudio' to do fill-in-the-middle\n(FIM) and chat with latest Mistral AI models for coding,\n'Codestral' and 'Codestral Mamba'. For more details about\n'Mistral AI API':\n<https://docs.mistral.ai/getting-started/quickstart/> and\n<https://docs.mistral.ai/api/>. For more details about\n'Codestral' model: <https://mistral.ai/news/codestral>; about\n'Codestral Mamba': <https://mistral.ai/news/codestral-mamba>.",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "URL": "https://urbs-dev.github.io/codestral/",
  "BugReports": "https://github.com/urbs-dev/codestral/issues",
  "VignetteBuilder": "knitr",
  "License": "MIT + file LICENSE",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://urbs-dev.r-universe.dev",
  "Date/Publication": "2026-10-13 14:19:32 UTC",
  "RemoteUrl": "https://github.com/urbs-dev/codestral",
  "RemoteRef": "HEAD",
  "RemoteSha": "fdf3d05e2475b93d0f0e869868db445484127d74",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 22:28:05 UTC",
    "User": "root"
  },
  "Author": "Marc Grossouvre [aut, cre],\nURBS company [cph, fnd]",
  "Maintainer": "Marc Grossouvre <marcgrossouvre@urbs.fr>",
  "_user": "urbs-dev",
  "_type": "src",
  "_file": "codestral_0.0.2.9001.tar.gz",
  "_fileid": "https://r2.ropensci.org/a92cd95a6d8819e7f3cbd0fe62acb3e0efbdc3f3165c15528141b40c90697783",
  "_filesize": 128693,
  "_sha256": "a92cd95a6d8819e7f3cbd0fe62acb3e0efbdc3f3165c15528141b40c90697783",
  "_expires": "2027-01-22T13:37:39.000Z",
  "_created": "2026-10-13T22:28:05.000Z",
  "_published": "2026-10-14T13:37:45.634Z",
  "_buildurl": "https://github.com/r-universe/urbs-dev/actions/runs/38477544703",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115883834907,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11857080716"
    },
    {
      "job": 115883834313,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11857220632"
    },
    {
      "job": 115883835795,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11857255478"
    },
    {
      "job": 115883835304,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11856100899"
    },
    {
      "job": 115883830537,
      "time": 232,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11857220340"
    },
    {
      "job": 115883835062,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11856105732"
    },
    {
      "job": 115883835224,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11855735733"
    },
    {
      "job": 115883835439,
      "time": 89,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11856060761"
    },
    {
      "job": 115883835012,
      "time": 59,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11856095711"
    }
  ],
  "_upstream": "https://github.com/urbs-dev/codestral",
  "_commit": {
    "id": "fdf3d05e2475b93d0f0e869868db445484127d74",
    "author": "mgrossouvre <marcgrossouvre@urbs.fr>",
    "committer": "mgrossouvre <marcgrossouvre@urbs.fr>",
    "message": "Correct typo in DESCRIPTION\n",
    "time": 1791901172
  },
  "_maintainer": {
    "name": "Marc Grossouvre",
    "email": "marcgrossouvre@urbs.fr",
    "login": "mgrossouvre",
    "description": "",
    "uuid": 151849906
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rstudioapi",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "urbs-dev",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-52",
      "n": 2
    },
    {
      "week": "2026-01",
      "n": 8
    },
    {
      "week": "2026-03",
      "n": 13
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-21",
      "n": 7
    },
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "V0.0.2",
      "date": "2026-01-15"
    }
  ],
  "_topics": [
    "api-client",
    "codestral",
    "mistral-ai",
    "mistral-api",
    "rstudio-addin"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "mgrossouvre",
      "count": 78,
      "uuid": 151849906
    },
    {
      "user": "comevussor",
      "count": 1,
      "uuid": 56354596
    }
  ],
  "_userbio": {
    "uuid": 109113392,
    "type": "organization",
    "name": "U.R.B.S",
    "followers": 7
  },
  "_downloads": {
    "count": 361,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/codestral"
  },
  "_devurl": "https://github.com/urbs-dev/codestral",
  "_pkgdown": "https://urbs-dev.github.io/codestral/",
  "_searchresults": 8,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/codestral.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/urbs-dev/codestral",
  "_realowner": "urbs-dev",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2025-05-09"
    },
    {
      "version": "0.0.2",
      "date": "2026-01-15"
    }
  ],
  "_exports": [
    "allow_detect_package",
    "codestral",
    "codestral_init",
    "detect_package",
    "include_package_files",
    "insert_addin",
    "inventory_Rfiles",
    "run_prompt"
  ],
  "_datasets": [
    {
      "name": "ALLMARKERS",
      "title": "Markers for Codestral",
      "object": "ALLMARKERS",
      "class": [
        "data.frame"
      ],
      "fields": [
        "marker",
        "decription"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "ENDPOINTS",
      "title": "Endpoints for the Codestral API.",
      "object": "ENDPOINTS",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "allow_detect_package",
      "title": "Allow codestral to detect package environment",
      "topics": [
        "allow_detect_package"
      ]
    },
    {
      "page": "codestral",
      "title": "Fill in the middle with Codestral",
      "topics": [
        "codestral"
      ]
    },
    {
      "page": "codestral_init",
      "title": "Initialize codestral",
      "topics": [
        "codestral_init"
      ]
    },
    {
      "page": "compile_dialog",
      "title": "Analyses a prompt to re-buid the dialog",
      "topics": [
        "compile_dialog"
      ]
    },
    {
      "page": "complete_current_script",
      "title": "Fill in the middle or complete",
      "topics": [
        "complete_current_script"
      ]
    },
    {
      "page": "debug_mode",
      "title": "Set debug mode",
      "topics": [
        "debug_mode"
      ]
    },
    {
      "page": "detect_package",
      "title": "Detect whether the working directory is that of a package",
      "topics": [
        "detect_package"
      ]
    },
    {
      "page": "ENDPOINTS",
      "title": "Endpoints for the Codestral API.",
      "topics": [
        "ENDPOINTS"
      ]
    },
    {
      "page": "include_file",
      "title": "Read and include files in a prompt",
      "topics": [
        "include_file"
      ]
    },
    {
      "page": "include_package_files",
      "title": "Include package files in the prompt",
      "topics": [
        "include_package_files"
      ]
    },
    {
      "page": "insert_addin",
      "title": "Insert the model's answer",
      "topics": [
        "insert_addin"
      ]
    },
    {
      "page": "inventory_Rfiles",
      "title": "Inventory R files in the current directory",
      "topics": [
        "inventory_Rfiles"
      ]
    },
    {
      "page": "run_prompt",
      "title": "Run a prompt from the console",
      "topics": [
        "run_prompt"
      ]
    }
  ],
  "_readme": "https://github.com/urbs-dev/codestral/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "rstudioapi",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "codestral-introduction.Rmd",
      "filename": "codestral-introduction.html",
      "title": "codestral-introduction",
      "engine": "knitr::rmarkdown",
      "headings": [
        "codestral",
        "Installation",
        "Set up for usage in Rstudio",
        "A simple example to start with",
        "Using codestral package",
        "Fill in the middle (FIM)",
        "Chat",
        "Include chosen files content",
        "Include all R files while developing R extensions (packages)",
        "Modify the assistant behaviour (role).",
        "Make it more efficient using keyboard shortcut",
        "Information about your data"
      ],
      "created": "2026-01-13 13:35:48",
      "modified": "2026-01-13 13:35:48",
      "commits": 1
    },
    {
      "source": "codestral-environment-variables.Rmd",
      "filename": "codestral-environment-variables.html",
      "title": "List and function of environment variables created by codestral",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-01-23 13:52:34",
      "modified": "2026-01-23 13:52:34",
      "commits": 1
    }
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "codestral",
  "_universes": [
    "urbs-dev",
    "mgrossouvre"
  ],
  "_previous": "0.0.2.9000",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2.9001",
      "date": "2026-10-13T22:30:12.000Z",
      "distro": "resolute",
      "commit": "fdf3d05e2475b93d0f0e869868db445484127d74",
      "fileid": "https://r2.ropensci.org/449f65c6f94696f879c2be0af60e90782fc8817bfcbc970797ec52be81246644",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/urbs-dev/actions/runs/38477544703"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2.9001",
      "date": "2026-10-13T22:30:03.000Z",
      "distro": "resolute",
      "commit": "fdf3d05e2475b93d0f0e869868db445484127d74",
      "fileid": "https://r2.ropensci.org/de2fdf1f5f7d4eb171133a99c278fb89fac74c9aec5a2831b78cd49209ded584",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/urbs-dev/actions/runs/38477544703"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2.9001",
      "date": "2026-10-13T22:29:47.000Z",
      "commit": "fdf3d05e2475b93d0f0e869868db445484127d74",
      "fileid": "https://r2.ropensci.org/0fcabf63086f5b4552a4aebe274f378a60bac0058c9ee451147d9f90230523a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/urbs-dev/actions/runs/38477544703"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.2.9001",
      "date": "2026-10-13T22:29:52.000Z",
      "commit": "fdf3d05e2475b93d0f0e869868db445484127d74",
      "fileid": "https://r2.ropensci.org/6bacb7a2a25db5a8adb9cf86137305e0e8b44198264f8f36e1b833d3195401b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/urbs-dev/actions/runs/38477544703"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2.9001",
      "date": "2026-10-13T22:30:02.000Z",
      "commit": "fdf3d05e2475b93d0f0e869868db445484127d74",
      "fileid": "https://r2.ropensci.org/898fc1cf48c9a295cffffe21a3a826f496732dd4c9775fbb39cddf1820511bfa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/urbs-dev/actions/runs/38477544703"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2.9001",
      "date": "2026-10-13T22:29:16.000Z",
      "commit": "fdf3d05e2475b93d0f0e869868db445484127d74",
      "fileid": "https://r2.ropensci.org/9d3c951412aead49ddb94971189b50d4294c8e17d1c685dd27fc5f693c4bf086",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/urbs-dev/actions/runs/38477544703"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2.9001",
      "date": "2026-10-13T22:29:34.000Z",
      "commit": "fdf3d05e2475b93d0f0e869868db445484127d74",
      "fileid": "https://r2.ropensci.org/f3846d6f1ea999928acf2973534d0c1ceda07733721c3af3084f02dae131ce9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/urbs-dev/actions/runs/38477544703"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2.9001",
      "date": "2026-10-13T22:29:10.000Z",
      "commit": "fdf3d05e2475b93d0f0e869868db445484127d74",
      "fileid": "https://r2.ropensci.org/91f90de5587f6ba01683bb554eec0e5838f2b3601318101aa8cdf19e13f650ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/urbs-dev/actions/runs/38477544703"
    }
  ]
}