{
  "_id": "6a27d2db24555f66ed545565",
  "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-06-09 08:42:42 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": "f1a2c8a75f782982a16a923fc2506f76",
  "_user": "jonthegeek",
  "_type": "src",
  "_file": "dlr_1.0.1.9001.tar.gz",
  "_fileid": "6ac2f66dafdc48bfc9087aed0140436dc8752326ba7e12050dd0cf6685965a4b",
  "_filesize": 117087,
  "_sha256": "6ac2f66dafdc48bfc9087aed0140436dc8752326ba7e12050dd0cf6685965a4b",
  "_created": "2026-06-09T08:42:42.000Z",
  "_published": "2026-06-09T08:46:19.892Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80282681182,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7502756657"
    },
    {
      "job": 80282681183,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7502757496"
    },
    {
      "job": 80282681149,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7502777080"
    },
    {
      "job": 80282681141,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7502749616"
    },
    {
      "job": 80282135766,
      "time": 185,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502715305"
    },
    {
      "job": 80282681174,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502752043"
    },
    {
      "job": 80282681173,
      "time": 75,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7502742395"
    },
    {
      "job": 80282681186,
      "time": 115,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7502756579"
    },
    {
      "job": 80282681188,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7502747057"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27194342960",
  "_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",
    "description": "Executive Director at DSLC.io (fka @r4ds) | Principal Developer (@atorus-research)",
    "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": 322,
    "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-06-09T08:44:48.000Z",
      "distro": "noble",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "525ade1e07d737a0dc5d5465ef91b64441f048d7e77a960c1e4a6e6ce8a2091d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27194342960"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1.9001",
      "date": "2026-06-09T08:44:51.000Z",
      "distro": "noble",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "1f6a631326b5aaf7dea2b57c238f38fc932213db7d5f66350a21c5ec52c2f965",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27194342960"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9001",
      "date": "2026-06-09T08:45:35.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "f79037059468b5e038e257d8b4643fa727ef144e624614405e27f3983656709b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27194342960"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1.9001",
      "date": "2026-06-09T08:44:30.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "acab3422ad0ed300d61db83f98369b160d93033671f07337df8aa36f1753b7df",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27194342960"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9001",
      "date": "2026-06-09T08:44:48.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "21c61830d4f3b9fdffafac0d683848873017901ac356e3e7a04033f03f8b1bc9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27194342960"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9001",
      "date": "2026-06-09T08:44:02.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "1de71ffe5dd4dd6cdf0e9e455a4032d90bdc2226ce7ee55f6abf61bc4b8bc38b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27194342960"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9001",
      "date": "2026-06-09T08:44:36.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "fab977e6229ebf102390e1294cb862c799111ae860aaba756f68ac0f98e354fe",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27194342960"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1.9001",
      "date": "2026-06-09T08:44:15.000Z",
      "commit": "3c0473e61f2fe8e05b8ad4622fc25bcb843fcb54",
      "fileid": "695271de38ebfed9b06dccdb1ead390c4b6d86f7ecccd272b3ccf3e4ac3c20db",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27194342960"
    }
  ]
}