{
  "_id": "6a198ff5acfb0bcc41dfd91d",
  "Package": "attachment",
  "Title": "Deal with Dependencies",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\"Vincent\", \"Guyader\", , \"vincent@thinkr.fr\", role = c(\"cre\", \"aut\"),\ncomment = c(ORCID = \"0000-0003-0671-9270\")),\nperson(\"Sébastien\", \"Rochette\", , \"sebastienrochettefr@gmail.com\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-1565-9313\", \"previous maintainer\")),\nperson(\"Murielle\", \"Delmotte\", , \"murielle@thinkr.fr\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-1339-2424\")),\nperson(\"Swann\", \"Floc'hlay\", , \"swann@thinkr.fr\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-1477-830X\")),\nperson(\"ThinkR\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Manage dependencies during package development. This can\nretrieve all dependencies that are used in \".R\" files in the\n\"R/\" directory, in \".Rmd\" files in \"vignettes/\" directory and\nin 'roxygen2' documentation of functions. There is a function\nto update the \"DESCRIPTION\" file of your package with 'CRAN'\npackages or any other remote package.  All functions to\nretrieve dependencies of \".R\" scripts and \".Rmd\" or \".qmd\"\nfiles can be used independently of a package development.",
  "License": "GPL-3",
  "URL": "https://thinkr-open.github.io/attachment/,\nhttps://github.com/ThinkR-open/attachment",
  "BugReports": "https://github.com/ThinkR-open/attachment/issues",
  "VignetteBuilder": "knitr",
  "Config/fusen/version": "0.6.0",
  "Config/Needs/website": "ThinkR-open/thinkrtemplate",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Language": "en-US",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev",
  "Repository": "https://thinkr-open.r-universe.dev",
  "Date/Publication": "2026-05-29 10:38:49 UTC",
  "RemoteUrl": "https://github.com/ThinkR-open/attachment",
  "RemoteRef": "HEAD",
  "RemoteSha": "8e73618c051c394d5dbe094129eb1065821dbf3d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-29 13:05:39 UTC",
    "User": "root"
  },
  "Author": "Vincent Guyader [cre, aut] (ORCID:\n<https://orcid.org/0000-0003-0671-9270>),\nSébastien Rochette [aut] (ORCID:\n<https://orcid.org/0000-0002-1565-9313>, previous maintainer),\nMurielle Delmotte [aut] (ORCID:\n<https://orcid.org/0000-0002-1339-2424>),\nSwann Floc'hlay [aut] (ORCID: <https://orcid.org/0000-0003-1477-830X>),\nThinkR [cph, fnd]",
  "Maintainer": "Vincent Guyader <vincent@thinkr.fr>",
  "MD5sum": "0ee8bda569ccce361c59cedac16c1beb",
  "_user": "thinkr-open",
  "_type": "src",
  "_file": "attachment_1.0.1.tar.gz",
  "_fileid": "6eb75c1dfa12e0bbd72d9a486b3d31ce1ba73779afa1f979b633fbfbcedf0673",
  "_filesize": 338090,
  "_sha256": "6eb75c1dfa12e0bbd72d9a486b3d31ce1ba73779afa1f979b633fbfbcedf0673",
  "_created": "2026-05-29T13:05:39.000Z",
  "_published": "2026-05-29T13:09:09.777Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78506455971,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291399950"
    },
    {
      "job": 78506455944,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291410396"
    },
    {
      "job": 78506455968,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7291381370"
    },
    {
      "job": 78506455906,
      "time": 124,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291393304"
    },
    {
      "job": 78505815632,
      "time": 229,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291351421"
    },
    {
      "job": 78506455833,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291389119"
    },
    {
      "job": 78506455872,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291386118"
    },
    {
      "job": 78506455918,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7291385478"
    },
    {
      "job": 78506455896,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291386116"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thinkr-open/actions/runs/26638762072",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ThinkR-open/attachment",
  "_commit": {
    "id": "8e73618c051c394d5dbe094129eb1065821dbf3d",
    "author": "Kenneth Keuk <54773822+R-KenK@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "fix: typo in create_renv_for_dev() cli message (#138)\n\n* fix: typo in create_renv_for_dev() cli message",
    "time": 1780051129
  },
  "_maintainer": {
    "name": "Vincent Guyader",
    "email": "vincent@thinkr.fr",
    "login": "vincentguyader",
    "description": "Founder @ThinkR-open ",
    "uuid": 10470699,
    "orcid": "0000-0003-0671-9270"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "desc",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "glue",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "version": ">= 1.20",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 1.5",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "version": ">= 1.10",
      "role": "Imports"
    },
    {
      "package": "roxygen2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.3.1",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Suggests"
    },
    {
      "package": "renv",
      "version": ">= 0.8.4",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "thinkr-open",
  "_selfowned": true,
  "_usedby": 6,
  "_updates": [
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-04-24"
    }
  ],
  "_topics": [
    "hacktoberfest"
  ],
  "_stars": 111,
  "_contributors": [
    {
      "user": "statnmap",
      "count": 194,
      "uuid": 21193866
    },
    {
      "user": "vincentguyader",
      "count": 109,
      "uuid": 10470699
    },
    {
      "user": "murielledelmotte",
      "count": 42,
      "uuid": 38312934
    },
    {
      "user": "dagousket",
      "count": 11,
      "uuid": 54443785
    },
    {
      "user": "espinielli",
      "count": 2,
      "uuid": 891692
    },
    {
      "user": "maelle",
      "count": 2,
      "uuid": 8360597
    },
    {
      "user": "dianebeldame",
      "count": 2,
      "uuid": 9906346
    },
    {
      "user": "cderv",
      "count": 1,
      "uuid": 6791940
    },
    {
      "user": "colinfay",
      "count": 1,
      "uuid": 17936236
    },
    {
      "user": "r-kenk",
      "count": 1,
      "uuid": 54773822
    }
  ],
  "_userbio": {
    "uuid": 19155426,
    "type": "organization",
    "name": "ThinkR",
    "description": "R Engineering, training, and consulting"
  },
  "_downloads": {
    "count": 6240,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/attachment"
  },
  "_devurl": "https://github.com/thinkr-open/attachment",
  "_pkgdown": "https://thinkr-open.github.io/attachment/",
  "_searchresults": 59,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/attachment.html",
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/thinkr-open/attachment",
  "_realowner": "thinkr-open",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.9",
      "date": "2019-05-05"
    },
    {
      "version": "0.1.0",
      "date": "2020-03-15"
    },
    {
      "version": "0.2.0",
      "date": "2021-01-19"
    },
    {
      "version": "0.2.1",
      "date": "2021-01-21"
    },
    {
      "version": "0.2.3",
      "date": "2021-11-10"
    },
    {
      "version": "0.2.4",
      "date": "2021-11-16"
    },
    {
      "version": "0.2.5",
      "date": "2022-05-15"
    },
    {
      "version": "0.3.0",
      "date": "2022-09-19"
    },
    {
      "version": "0.3.1",
      "date": "2023-01-27"
    },
    {
      "version": "0.4.0",
      "date": "2023-05-31"
    },
    {
      "version": "0.4.1",
      "date": "2024-01-22"
    },
    {
      "version": "0.4.2",
      "date": "2024-07-01"
    },
    {
      "version": "0.4.3",
      "date": "2025-01-31"
    },
    {
      "version": "0.4.4",
      "date": "2025-02-08"
    },
    {
      "version": "0.4.5",
      "date": "2025-03-14"
    },
    {
      "version": "1.0.0",
      "date": "2026-04-25"
    }
  ],
  "_exports": [
    "%>%",
    "att_amend_desc",
    "att_from_data",
    "att_from_description",
    "att_from_examples",
    "att_from_namespace",
    "att_from_qmd",
    "att_from_qmds",
    "att_from_rmd",
    "att_from_rmds",
    "att_from_rscript",
    "att_from_rscripts",
    "att_to_desc_from_is",
    "att_to_desc_from_pkg",
    "att_to_description",
    "complete_remote_branch",
    "create_dependencies_file",
    "create_renv_for_dev",
    "create_renv_for_prod",
    "find_remotes",
    "install_from_description",
    "install_if_missing",
    "set_remotes_to_desc"
  ],
  "_help": [
    {
      "page": "att_amend_desc",
      "title": "Amend DESCRIPTION with dependencies read from package code parsing",
      "topics": [
        "att_amend_desc",
        "att_to_desc_from_pkg"
      ]
    },
    {
      "page": "att_from_data",
      "title": "Look for functions called in data loading code",
      "topics": [
        "att_from_data"
      ]
    },
    {
      "page": "att_from_description",
      "title": "Return all package dependencies from current package",
      "topics": [
        "att_from_description"
      ]
    },
    {
      "page": "att_from_examples",
      "title": "Get all packages called in examples from R files",
      "topics": [
        "att_from_examples"
      ]
    },
    {
      "page": "att_from_namespace",
      "title": "return package dependencies from NAMESPACE file",
      "topics": [
        "att_from_namespace"
      ]
    },
    {
      "page": "att_from_rmd",
      "title": "Get all dependencies from a Rmd file",
      "topics": [
        "att_from_qmd",
        "att_from_rmd"
      ]
    },
    {
      "page": "att_from_rmds",
      "title": "Get all packages called in vignettes folder",
      "topics": [
        "att_from_qmds",
        "att_from_rmds"
      ]
    },
    {
      "page": "att_from_rscript",
      "title": "Look for functions called with '::' and library/requires in one script",
      "topics": [
        "att_from_rscript"
      ]
    },
    {
      "page": "att_from_rscripts",
      "title": "Look for functions called with '::' and library/requires in folder of scripts",
      "topics": [
        "att_from_rscripts"
      ]
    },
    {
      "page": "att_to_desc_from_is",
      "title": "Amend DESCRIPTION with dependencies from imports and suggests package list",
      "topics": [
        "att_to_desc_from_is"
      ]
    },
    {
      "page": "create_dependencies_file",
      "title": "Create the list of instructions to install dependencies from a DESCRIPTION file",
      "topics": [
        "create_dependencies_file"
      ]
    },
    {
      "page": "create_renv_for_dev",
      "title": "Create reproducible environments for your R projects with _renv_",
      "topics": [
        "create_renv_for_dev",
        "create_renv_for_prod"
      ]
    },
    {
      "page": "find_remotes",
      "title": "Proposes values for Remotes field for DESCRIPTION file based on your installation",
      "topics": [
        "find_remotes"
      ]
    },
    {
      "page": "install_from_description",
      "title": "Install missing package from DESCRIPTION",
      "topics": [
        "install_from_description"
      ]
    },
    {
      "page": "install_if_missing",
      "title": "install packages if missing",
      "topics": [
        "install_if_missing"
      ]
    },
    {
      "page": "set_remotes_to_desc",
      "title": "Add Remotes field to DESCRIPTION based on your local installation",
      "topics": [
        "set_remotes_to_desc"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ThinkR-open/attachment/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ThinkR-open/attachment/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "brew",
    "bslib",
    "cachem",
    "callr",
    "cli",
    "commonmark",
    "cpp11",
    "desc",
    "digest",
    "evaluate",
    "fastmap",
    "fontawesome",
    "fs",
    "glue",
    "highr",
    "htmltools",
    "jquerylib",
    "jsonlite",
    "knitr",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "pkgbuild",
    "pkgload",
    "processx",
    "ps",
    "R6",
    "rappdirs",
    "rlang",
    "rmarkdown",
    "roxygen2",
    "rprojroot",
    "sass",
    "stringi",
    "stringr",
    "tinytex",
    "vctrs",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "a-fill-pkg-description.Rmd",
      "filename": "a-fill-pkg-description.html",
      "title": "a-Help during package development",
      "author": "Sébastien Rochette",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load package",
        "Use \"dev/dev_history.R\"",
        "Fill your DESCRIPTION file",
        "Change default parameters",
        "Use the configuration file",
        "Ignore some of the dependencies automatically detected",
        "Add extra Suggests dependencies",
        "Move detected dependencies from Imports to Suggests",
        "A package was not detected by att_amend_desc",
        "I have a Rmarkdown file / Quarto file in my \"inst/\" directory",
        "Example on a fake package",
        "Propose content for \"Remotes\" field",
        "Create a file for package installation",
        "Other possibilities"
      ],
      "created": "2021-11-15 22:13:08",
      "modified": "2024-08-01 15:10:45",
      "commits": 9
    },
    {
      "source": "b-bookdown-and-scripts.Rmd",
      "filename": "b-bookdown-and-scripts.html",
      "title": "Bookdown, quarto and other scripts dependencies",
      "author": "Sébastien Rochette",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load package",
        "Use \"dev/dev_history.R\"",
        "Use {attachment} with {bookdown} / {pagedown} / {quarto} dependencies",
        "Propose content for \"Remotes\" field",
        "Get all packages listed in \"namespace\"",
        "Get all packages added using pkg::function or library/require",
        "Get all packages called in your Rmd",
        "Get all packages called in your Rmd and show them in this same Rmd"
      ],
      "created": "2021-11-15 22:13:08",
      "modified": "2024-08-01 15:10:45",
      "commits": 5
    },
    {
      "source": "create-dependencies-file.Rmd",
      "filename": "create-dependencies-file.html",
      "title": "Create dependencies file",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Write instructions to install all dependencies from a \"DESCRIPTION\" file"
      ],
      "created": "2023-03-27 10:30:02",
      "modified": "2026-04-24 13:03:05",
      "commits": 7
    },
    {
      "source": "use_renv.Rmd",
      "filename": "use_renv.html",
      "title": "Use {renv} with developers tools",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Create reproducible environments for your R projects with"
      ],
      "created": "2022-05-13 16:34:32",
      "modified": "2022-05-13 16:34:32",
      "commits": 1
    }
  ],
  "_score": 10.723964581645802,
  "_indexed": true,
  "_nocasepkg": "attachment",
  "_universes": [
    "thinkr-open",
    "vincentguyader"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-29T13:07:44.000Z",
      "distro": "noble",
      "commit": "8e73618c051c394d5dbe094129eb1065821dbf3d",
      "fileid": "2faac6c9ec338310860e8fe5a4360fea26a12de9cf65a409dc8d640b5d20d9a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thinkr-open/actions/runs/26638762072"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-29T13:08:14.000Z",
      "distro": "noble",
      "commit": "8e73618c051c394d5dbe094129eb1065821dbf3d",
      "fileid": "727f0247dbb710345365b35edb31100ee70af499e3d4a51c1ea8b7748354e379",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thinkr-open/actions/runs/26638762072"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-29T13:07:03.000Z",
      "commit": "8e73618c051c394d5dbe094129eb1065821dbf3d",
      "fileid": "108906244bbe037d51f458ad0580bb1bb9ff1d5f3b1bf1864ff777d1ee8a94fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thinkr-open/actions/runs/26638762072"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-29T13:07:23.000Z",
      "commit": "8e73618c051c394d5dbe094129eb1065821dbf3d",
      "fileid": "22eae9048036e64adc4996f4b73b13f04daa6bec7bd05e35d020708ceaa0a05a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thinkr-open/actions/runs/26638762072"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-05-29T13:07:46.000Z",
      "commit": "8e73618c051c394d5dbe094129eb1065821dbf3d",
      "fileid": "ab9cad32b9207a251afbd8cb6cbe93779eb4b922bd83ad82a8cc910b00aa509c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thinkr-open/actions/runs/26638762072"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-29T13:06:46.000Z",
      "commit": "8e73618c051c394d5dbe094129eb1065821dbf3d",
      "fileid": "0ada782b763d809b705c6db1639f7bc872efe9d5031bc2b17c60d16c08b42363",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thinkr-open/actions/runs/26638762072"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-29T13:06:47.000Z",
      "commit": "8e73618c051c394d5dbe094129eb1065821dbf3d",
      "fileid": "e7d3535a8686dc1b6f5332dbe624e29e9574abb096fe2efda96094e166788d73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thinkr-open/actions/runs/26638762072"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-29T13:06:47.000Z",
      "commit": "8e73618c051c394d5dbe094129eb1065821dbf3d",
      "fileid": "dbe1f6508f0d3bdc3424cc5ae5c3727069fdff5f2f9e8a2a78533fab62fa3bfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thinkr-open/actions/runs/26638762072"
    }
  ]
}