{
  "_id": "6a55d8f6ff0138dec5d69b83",
  "Package": "dlr",
  "Title": "Download and Cache Files Safely",
  "Version": "1.0.1.9001",
  "Authors@R": "c(\nperson(given = \"Jonathan\",\nfamily = \"Bratt\",\nrole = c(\"aut\"),\nemail = \"jonathan.bratt@macmillan.com\",\ncomment = c(ORCID = \"0000-0003-2859-0076\")),\nperson(given = \"Jon\",\nfamily = \"Harmon\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jonthegeek@gmail.com\",\ncomment = c(ORCID = \"0000-0003-4781-4346\")),\nperson(given = \"Bedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning\",\nrole = c(\"cph\", \"fnd\"))\n)",
  "Description": "The goal of dlr is to provide a friendly wrapper around\nthe common pattern of downloading a file if that file does not\nalready exist locally.",
  "License": "Apache License (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.1",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/macmillancontentscience/dlr",
  "BugReports": "https://github.com/macmillancontentscience/dlr/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libuv1-dev",
  "Repository": "https://macmillancontentscience.r-universe.dev",
  "Date/Publication": "2022-09-22 15:33:33 UTC",
  "RemoteUrl": "https://github.com/macmillancontentscience/dlr",
  "RemoteRef": "HEAD",
  "RemoteSha": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-14 06:33:48 UTC",
    "User": "root"
  },
  "Author": "Jonathan Bratt [aut] (ORCID: <https://orcid.org/0000-0003-2859-0076>),\nJon Harmon [aut, cre] (ORCID: <https://orcid.org/0000-0003-4781-4346>),\nBedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning [cph, fnd]",
  "Maintainer": "Jon Harmon <jonthegeek@gmail.com>",
  "_user": "macmillancontentscience",
  "_type": "src",
  "_file": "dlr_1.0.1.9001.tar.gz",
  "_fileid": "https://r2.ropensci.org/94783d0bcd901ac6b65d353f88df3d60126ebb0d2246fdcc6d6da42f3caf3f6c",
  "_filesize": 119599,
  "_sha256": "94783d0bcd901ac6b65d353f88df3d60126ebb0d2246fdcc6d6da42f3caf3f6c",
  "_expires": "2026-10-22T06:36:36.000Z",
  "_created": "2026-07-14T06:33:48.000Z",
  "_published": "2026-07-14T06:36:38.077Z",
  "_jobs": [
    {
      "job": 87016795480,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8302357570"
    },
    {
      "job": 87016795429,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8302354565"
    },
    {
      "job": 87016795418,
      "time": 77,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8302341242"
    },
    {
      "job": 87016795422,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8302342543"
    },
    {
      "job": 87016377026,
      "time": 155,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8302315084"
    },
    {
      "job": 87016795421,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8302348572"
    },
    {
      "job": 87016795472,
      "time": 80,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8302342256"
    },
    {
      "job": 87016795431,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8302347861"
    },
    {
      "job": 87016795450,
      "time": 68,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8302338868"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/29311592730",
  "_status": "success",
  "_upstream": "https://github.com/macmillancontentscience/dlr",
  "_commit": {
    "id": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
    "author": "Jon Harmon <jonthegeek@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "More easily create cache dir. (#20)\n\n* More easily create cache dir.\r\n\r\nCloses #17.\r\n\r\n* Fix they/the typo\r\n\r\nCo-authored-by: Jonathan Bratt <33073024+jonathanbratt@users.noreply.github.com>\r\n\r\nCo-authored-by: Jonathan Bratt <33073024+jonathanbratt@users.noreply.github.com>",
    "time": 1663860813
  },
  "_maintainer": {
    "name": "Jon Harmon",
    "email": "jonthegeek@gmail.com",
    "login": "jonthegeek",
    "mastodon": "@jonthegeek@fosstodon.org",
    "bluesky": "@jonthegeek.com",
    "linkedin": "in/jonthegeek",
    "description": "Executive Director at DSLC.io (fka @r4ds) | Principal Developer (@atorus-research)",
    "uuid": 33983824,
    "orcid": "0000-0003-4781-4346"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "rappdirs",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "macmillancontentscience",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jonthegeek",
      "count": 18,
      "uuid": 33983824
    }
  ],
  "_userbio": {
    "uuid": 73667768,
    "type": "organization",
    "name": "Macmillan Learning Content Science",
    "followers": 5,
    "description": "A team of data scientists researching and applying content analysis techniques"
  },
  "_downloads": {
    "count": 336,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dlr"
  },
  "_devurl": "https://github.com/macmillancontentscience/dlr",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dlr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/macmillancontentscience/dlr",
  "_realowner": "macmillancontentscience",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-09-06"
    },
    {
      "version": "1.0.1",
      "date": "2021-09-18"
    }
  ],
  "_exports": [
    "app_cache_dir",
    "construct_cached_file_path",
    "construct_processed_filename",
    "create_app_cache_dir",
    "maybe_cache",
    "maybe_process",
    "read_or_cache",
    "read_or_process",
    "set_app_cache_dir",
    "set_timeout"
  ],
  "_help": [
    {
      "page": "app_cache_dir",
      "title": "Path to an App Cache Directory",
      "topics": [
        "app_cache_dir"
      ]
    },
    {
      "page": "construct_cached_file_path",
      "title": "Construct Cache Path",
      "topics": [
        "construct_cached_file_path"
      ]
    },
    {
      "page": "construct_processed_filename",
      "title": "Construct Processed Filename",
      "topics": [
        "construct_processed_filename"
      ]
    },
    {
      "page": "create_app_cache_dir",
      "title": "Create a Cache Directory for an App",
      "topics": [
        "create_app_cache_dir"
      ]
    },
    {
      "page": "maybe_cache",
      "title": "Cache a File if Necessary",
      "topics": [
        "maybe_cache"
      ]
    },
    {
      "page": "maybe_process",
      "title": "Process a File if Necessary",
      "topics": [
        "maybe_process"
      ]
    },
    {
      "page": "read_or_cache",
      "title": "Read or Cache a File",
      "topics": [
        "read_or_cache"
      ]
    },
    {
      "page": "read_or_process",
      "title": "Read or Process a File",
      "topics": [
        "read_or_process"
      ]
    },
    {
      "page": "set_app_cache_dir",
      "title": "Set a Cache Directory for an App",
      "topics": [
        "set_app_cache_dir"
      ]
    },
    {
      "page": "set_timeout",
      "title": "Set Download Timeout",
      "topics": [
        "set_timeout"
      ]
    }
  ],
  "_readme": "https://github.com/macmillancontentscience/dlr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "digest",
    "fs",
    "glue",
    "rappdirs",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "your-package.Rmd",
      "filename": "your-package.html",
      "title": "Integrating into Your Package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "read_or_cache",
        "maybe_cache",
        "app_cache_dir",
        "set_app_cache_dir"
      ],
      "created": "2021-08-17 18:41:31",
      "modified": "2021-08-27 18:14:56",
      "commits": 2
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "dlr",
  "_universes": [
    "macmillancontentscience",
    "jonthegeek"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9001",
      "date": "2026-07-14T06:35:59.000Z",
      "distro": "resolute",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "https://r2.ropensci.org/1182942ca4e6cd0e46ce4557b5f65b824b6b49149f677b201c478c3c972dea13",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/29311592730"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1.9001",
      "date": "2026-07-14T06:35:51.000Z",
      "distro": "resolute",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "https://r2.ropensci.org/f3061466f0840558f4c888a60dd6b3ceeecc5d8ef8f159e5b9d1171a75a61dd7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/29311592730"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9001",
      "date": "2026-07-14T06:35:10.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "https://r2.ropensci.org/e6b72b4518b74b7b02dd74b3158026e17e7b96dd4638c6d22d8b1ace0cc6f854",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/29311592730"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1.9001",
      "date": "2026-07-14T06:35:14.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "https://r2.ropensci.org/3abd09334220b631940731016b46c0b222358497b6aaa7f622d31e681607e9fc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/29311592730"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9001",
      "date": "2026-07-14T06:35:45.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "https://r2.ropensci.org/9e020b26be98599f4bab4089a0fb140892e2110fb0971c7549b720bbb9617e73",
      "status": "success",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/29311592730"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9001",
      "date": "2026-07-14T06:35:04.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "https://r2.ropensci.org/6af6d20ae5718e2ca5c3f88de7361be7a8100c8d8aa71e05fde3d827a9a6b393",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/29311592730"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9001",
      "date": "2026-07-14T06:35:21.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "https://r2.ropensci.org/fcb22ca63856cdd987ffd127d7304e1e4cc0cdea27514b69339989b4c2b285d6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/29311592730"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1.9001",
      "date": "2026-07-14T06:34:48.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "https://r2.ropensci.org/21022de87d57a0ac20169384a45d2a3f6aa328eca22faa15013a088ebf41c112",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/29311592730"
    }
  ]
}