{
  "_id": "6a104d9eacfb0bcc41ca06e0",
  "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://jonthegeek.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-05-10 06:54:46 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>",
  "MD5sum": "290aacf8c0f63017455fdc2d4677197b",
  "_user": "jonthegeek",
  "_type": "src",
  "_file": "dlr_1.0.1.9001.tar.gz",
  "_fileid": "eb9f91f825af7eaa0a03209aee01535d5c097553b57e201930f49b6dd56bc6ad",
  "_filesize": 119516,
  "_sha256": "eb9f91f825af7eaa0a03209aee01535d5c097553b57e201930f49b6dd56bc6ad",
  "_created": "2026-05-10T06:54:46.000Z",
  "_published": "2026-05-22T12:35:42.005Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77380468933,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6901751551"
    },
    {
      "job": 77380468991,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6901750865"
    },
    {
      "job": 77380469033,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6901746650"
    },
    {
      "job": 77380469053,
      "time": 85,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6901747445"
    },
    {
      "job": 77380468636,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901737930"
    },
    {
      "job": 77380468394,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160599174"
    },
    {
      "job": 77380468776,
      "time": 78,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6901746619"
    },
    {
      "job": 77380469253,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6901745683"
    },
    {
      "job": 77380469179,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6901746181"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/25622238911",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 33983824,
    "orcid": "0000-0003-4781-4346"
  },
  "_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": 33983824,
    "type": "user",
    "name": "Jon Harmon",
    "description": "Executive Director at DSLC.io (fka @r4ds) | Principal Developer (@atorus-research)"
  },
  "_downloads": {
    "count": 317,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dlr"
  },
  "_devurl": "https://github.com/macmillancontentscience/dlr",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_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": false,
  "_nocasepkg": "dlr",
  "_universes": [
    "jonthegeek"
  ],
  "_indexurl": "https://macmillancontentscience.r-universe.dev/dlr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9001",
      "date": "2026-05-10T06:56:49.000Z",
      "distro": "noble",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "2d63dfb1c6af62d55a22941ef9c5e2f9f9bbdfd4ce7b153dd948ba6073c1ddf3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/25622238911"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1.9001",
      "date": "2026-05-10T06:56:47.000Z",
      "distro": "noble",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "41131e0ae8fe157eeaf13a4e7e17ca89d499121216e3f6e6ef2495252573fccc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/25622238911"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9001",
      "date": "2026-05-10T06:56:11.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "d6c384a94ba36215b84d1bd30f2ad8485f9df408342cafd80f9af3f373cd700c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/25622238911"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1.9001",
      "date": "2026-05-10T06:56:17.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "d36991763a6383fbcd96e6df53dea1424c4afc9f934e86e6e2666b64239aea25",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/25622238911"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9001",
      "date": "2026-05-10T06:56:03.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "f392f1b529623f2e8037bd86f316dcee9ca80256f80cf397e7999ddbc38694ca",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/25622238911"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9001",
      "date": "2026-05-10T06:55:55.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "665b328a74562fa7bada36c71b48c1eb7b269e6b158edc3e87c722faef70a4f8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/25622238911"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1.9001",
      "date": "2026-05-10T06:55:59.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "afee7a63847e7ae4b3b2f212b61e11da0175f63032d959cc5f2181c44cad22e6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/25622238911"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9001",
      "date": "2026-05-22T12:35:28.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "9e051442eb18d04a3cc753ef00afa509931935295fe42192b9dec1662d293694",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/25622238911"
    }
  ]
}