{
  "_id": "6a1fe70db401979e7343cd1d",
  "Type": "Package",
  "Package": "sourcoise",
  "Title": "Source a Script and Cache",
  "Version": "1.1.0.900",
  "Authors@R": "person(\"Xavier\", \"Timbeau\", , \"xavier.timbeau@sciencespo.fr\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Provides a function that behaves nearly as base::source()\nbut implements a caching mechanism on disk, project based.  It\nallows to quasi source() R scripts that gather data but can\nfail or consume to much time to respond even if nothing new is\nexpected.  It comes with tools to check and execute on demand\nor when cache is invalid the script.",
  "License": "MIT + file LICENSE",
  "URL": "https://xtimbeau.github.io/sourcoise/,\nhttps://github.com/xtimbeau/sourcoise",
  "BugReports": "https://github.com/xtimbeau/sourcoise/issues",
  "VignetteBuilder": "quarto",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "Quarto command line tools\n(https://github.com/quarto-dev/quarto-cli).",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://xtimbeau.r-universe.dev",
  "Date/Publication": "2026-04-04 14:53:42 UTC",
  "RemoteUrl": "https://github.com/xtimbeau/sourcoise",
  "RemoteRef": "HEAD",
  "RemoteSha": "056e8f9e713fb567e041f9b7bce0f169046706e8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 08:29:19 UTC",
    "User": "root"
  },
  "Author": "Xavier Timbeau [aut, cre, cph]",
  "Maintainer": "Xavier Timbeau <xavier.timbeau@sciencespo.fr>",
  "MD5sum": "d756f3af166d2884b59d85f9dd204da3",
  "_user": "xtimbeau",
  "_type": "src",
  "_file": "sourcoise_1.1.0.900.tar.gz",
  "_fileid": "674e27cb4c71953bd31ff69a6b5331853324fcaf08fe327e224ea6c82fbde67a",
  "_filesize": 242853,
  "_sha256": "674e27cb4c71953bd31ff69a6b5331853324fcaf08fe327e224ea6c82fbde67a",
  "_created": "2026-06-03T08:29:19.000Z",
  "_published": "2026-06-03T08:34:21.632Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79253126817,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379533482"
    },
    {
      "job": 79253126842,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379537834"
    },
    {
      "job": 79253126805,
      "time": 265,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379564095"
    },
    {
      "job": 79253126828,
      "time": 218,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379548509"
    },
    {
      "job": 79252572336,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379479805"
    },
    {
      "job": 79253126860,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379530292"
    },
    {
      "job": 79253126847,
      "time": 222,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379558694"
    },
    {
      "job": 79253126835,
      "time": 156,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379535519"
    },
    {
      "job": 79253126832,
      "time": 240,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379565882"
    }
  ],
  "_buildurl": "https://github.com/r-universe/xtimbeau/actions/runs/26872901820",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/xtimbeau/sourcoise",
  "_commit": {
    "id": "056e8f9e713fb567e041f9b7bce0f169046706e8",
    "author": "Xavier Timbeau <54633745+xtimbeau@users.noreply.github.com>",
    "committer": "Xavier Timbeau <54633745+xtimbeau@users.noreply.github.com>",
    "message": "try it\n",
    "time": 1775314422
  },
  "_maintainer": {
    "name": "Xavier Timbeau",
    "email": "xavier.timbeau@sciencespo.fr",
    "login": "xtimbeau",
    "linkedin": "in/xavier-timbeau-b141b61a",
    "twitter": "@XTimbeau",
    "description": "",
    "uuid": 54633745
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "lobstr",
      "role": "Imports"
    },
    {
      "package": "logger",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "qs2",
      "role": "Imports"
    },
    {
      "package": "RcppSimdJson",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rprojroot",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "xtimbeau",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 15
    },
    {
      "week": "2025-50",
      "n": 14
    },
    {
      "week": "2025-51",
      "n": 9
    },
    {
      "week": "2025-52",
      "n": 18
    },
    {
      "week": "2026-01",
      "n": 8
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-14",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2025-12-09"
    },
    {
      "name": "v1.1.0",
      "date": "2026-01-08"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "xtimbeau",
      "count": 229,
      "uuid": 54633745
    }
  ],
  "_userbio": {
    "uuid": 54633745,
    "type": "user",
    "name": "Xavier Timbeau"
  },
  "_downloads": {
    "count": 474,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sourcoise"
  },
  "_devurl": "https://github.com/xtimbeau/sourcoise",
  "_pkgdown": "https://xtimbeau.github.io/sourcoise/",
  "_searchresults": 10,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sourcoise.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/xtimbeau/sourcoise",
  "_realowner": "xtimbeau",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2025-03-15"
    },
    {
      "version": "0.6.0",
      "date": "2025-05-27"
    },
    {
      "version": "0.6.1",
      "date": "2025-05-27"
    },
    {
      "version": "0.6.2",
      "date": "2025-05-27"
    },
    {
      "version": "1.0.0",
      "date": "2025-12-11"
    },
    {
      "version": "1.1.0",
      "date": "2026-01-07"
    }
  ],
  "_exports": [
    "set_sourcoise_root",
    "sourcoise",
    "sourcoise_clear",
    "sourcoise_clear_all",
    "sourcoise_lapse",
    "sourcoise_meta",
    "sourcoise_priority",
    "sourcoise_refresh",
    "sourcoise_reset",
    "sourcoise_status",
    "sourcoise_untrack"
  ],
  "_help": [
    {
      "page": "set_sourcoise_root",
      "title": "Set the Root Directory for Sourcoise",
      "topics": [
        "set_sourcoise_root"
      ]
    },
    {
      "page": "sourcoise",
      "title": "sources R script and caches results on disk",
      "concept": [
        "sourcoise"
      ],
      "topics": [
        "sourcoise"
      ]
    },
    {
      "page": "sourcoise_clear",
      "title": "Cleans sourcoise cache",
      "concept": [
        "sourcoise"
      ],
      "topics": [
        "sourcoise_clear"
      ]
    },
    {
      "page": "sourcoise_clear_all",
      "title": "Cleans sourcoise cache",
      "concept": [
        "sourcoise"
      ],
      "topics": [
        "sourcoise_clear_all"
      ]
    },
    {
      "page": "sourcoise_lapse",
      "title": "Change Cache Lapse Policy",
      "topics": [
        "sourcoise_lapse"
      ]
    },
    {
      "page": "sourcoise_meta",
      "title": "Get Sourcoise Metadata for a Script",
      "topics": [
        "sourcoise_meta"
      ]
    },
    {
      "page": "sourcoise_priority",
      "title": "Change Priority of Cached Files",
      "topics": [
        "sourcoise_priority"
      ]
    },
    {
      "page": "sourcoise_refresh",
      "title": "Refresh sourcoise cache by executing sources selected",
      "concept": [
        "sourcoise"
      ],
      "topics": [
        "sourcoise_refresh"
      ]
    },
    {
      "page": "sourcoise_reset",
      "title": "Resets sourcoise",
      "concept": [
        "sourcoise"
      ],
      "topics": [
        "sourcoise_reset"
      ]
    },
    {
      "page": "sourcoise_status",
      "title": "Cache status of sourcoise",
      "concept": [
        "sourcoise"
      ],
      "topics": [
        "sourcoise_status"
      ]
    },
    {
      "page": "sourcoise_untrack",
      "title": "Remove Tracking from Cached Files",
      "topics": [
        "sourcoise_untrack"
      ]
    }
  ],
  "_pkglogo": "https://github.com/xtimbeau/sourcoise/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/xtimbeau/sourcoise/raw/HEAD/README.md",
  "_rundeps": [
    "cachem",
    "cli",
    "cpp11",
    "crayon",
    "digest",
    "dplyr",
    "evaluate",
    "fastmap",
    "fs",
    "generics",
    "glue",
    "highr",
    "jsonlite",
    "knitr",
    "lifecycle",
    "lobstr",
    "logger",
    "lubridate",
    "magrittr",
    "memoise",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "purrr",
    "qs2",
    "R6",
    "Rcpp",
    "RcppParallel",
    "RcppSimdJson",
    "rlang",
    "rprojroot",
    "stringfish",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "advanced.qmd",
      "filename": "advanced.html",
      "title": "advanced",
      "engine": "quarto::html",
      "headings": [],
      "created": "2025-03-07 14:31:01",
      "modified": "2025-03-07 14:31:01",
      "commits": 1
    },
    {
      "source": "compared.qmd",
      "filename": "compared.html",
      "title": "compared",
      "engine": "quarto::html",
      "headings": [],
      "created": "2025-03-07 13:31:46",
      "modified": "2025-03-15 17:07:09",
      "commits": 2
    },
    {
      "source": "sourcoise.qmd",
      "filename": "sourcoise.html",
      "title": "sourcoise",
      "engine": "quarto::html",
      "headings": [],
      "created": "2025-02-28 07:21:11",
      "modified": "2025-12-30 07:32:47",
      "commits": 23
    }
  ],
  "_score": 5.477121254719663,
  "_indexed": true,
  "_nocasepkg": "sourcoise",
  "_universes": [
    "xtimbeau"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.900",
      "date": "2026-06-03T08:31:31.000Z",
      "distro": "noble",
      "commit": "056e8f9e713fb567e041f9b7bce0f169046706e8",
      "fileid": "30d1913a2bdc3078aa646605ed72ce9291a64cdc3c232724e4aea96b0a3f2296",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xtimbeau/actions/runs/26872901820"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0.900",
      "date": "2026-06-03T08:31:45.000Z",
      "distro": "noble",
      "commit": "056e8f9e713fb567e041f9b7bce0f169046706e8",
      "fileid": "8fa434232e28ed1e697bf61060b67e4c2dfb4010b3fe737981fe3b029953d3ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xtimbeau/actions/runs/26872901820"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.900",
      "date": "2026-06-03T08:33:06.000Z",
      "commit": "056e8f9e713fb567e041f9b7bce0f169046706e8",
      "fileid": "5753ee3d1b7274261e7579fb9e216e37890e129464ac7be86cc092bdd497aba5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xtimbeau/actions/runs/26872901820"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0.900",
      "date": "2026-06-03T08:32:17.000Z",
      "commit": "056e8f9e713fb567e041f9b7bce0f169046706e8",
      "fileid": "9eead87c048213584fb2e9e5617a8b2d30d983771c4102f1f50a8d93c00eee43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xtimbeau/actions/runs/26872901820"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.900",
      "date": "2026-06-03T08:31:58.000Z",
      "commit": "056e8f9e713fb567e041f9b7bce0f169046706e8",
      "fileid": "417b7fe6ab7ea7f3fb6626646144f1194e804da8b6a41b88712a939ce736ea05",
      "status": "success",
      "buildurl": "https://github.com/r-universe/xtimbeau/actions/runs/26872901820"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.900",
      "date": "2026-06-03T08:32:39.000Z",
      "commit": "056e8f9e713fb567e041f9b7bce0f169046706e8",
      "fileid": "0b41dd0fb773f36bd9b4a9968f9becced5e25bd1b6e8d8a11e980760caf9620e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xtimbeau/actions/runs/26872901820"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.900",
      "date": "2026-06-03T08:31:40.000Z",
      "commit": "056e8f9e713fb567e041f9b7bce0f169046706e8",
      "fileid": "3e905ade8a2b15b2646a91e5217328d127956a8c7fafd95fc3fe05244a6e95c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xtimbeau/actions/runs/26872901820"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0.900",
      "date": "2026-06-03T08:32:57.000Z",
      "commit": "056e8f9e713fb567e041f9b7bce0f169046706e8",
      "fileid": "c2ed3e62e3729cbb80a7915dd6faf88b6c7a93d8907a2226f1f5b63fd6a11cdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xtimbeau/actions/runs/26872901820"
    }
  ]
}