{
  "_id": "6a1427f3acfb0bcc41d3ff96",
  "Package": "envsetup",
  "Title": "Support the Setup of the R Environment for Clinical Trial\nProgramming Workflows",
  "Version": "0.3.0",
  "Authors@R": "c(\nperson(\"Nicholas\", \"Masel\", email = \"nmasel@its.jnj.com\", role = c(\"aut\", \"cre\")),\nperson(\"Mike\", \"Stackhouse\", email = \"mike.stackhouse@atorusresearch.com\", role = c(\"aut\"), comment = c(ORCID = \"0000-0001-6030-723X\")),\nperson(\"Aidan\", \"Ceney\", email = \"aidan.ceney@atorusresearch.com\", role = \"aut\"),\nperson(\"Johnson & Johnson Innovative Medicine\", role = c(\"cph\", \"fnd\")),\nperson(\"Atorus Research, Inc.\", role = \"cph\")\n)",
  "Description": "The purpose of this package is to support the setup the R\nenvironment. The two main features are 'autos', to\nautomatically source files and/or directories into your\nenvironment, and 'paths' to consistently set path objects\nacross projects for input and output. Both are implemented\nusing a configuration file to allow easy, custom configurations\nthat can be used for multiple or all projects.",
  "License": "Apache License 2.0",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/pharmaverse/envsetup",
  "BugReports": "https://github.com/pharmaverse/envsetup/issues",
  "Config/pak/sysreqs": "cmake git make libgit2-dev libuv1-dev libssl-dev\nlibx11-dev",
  "Repository": "https://pharmaverse.r-universe.dev",
  "Date/Publication": "2025-10-17 16:24:31 UTC",
  "RemoteUrl": "https://github.com/pharmaverse/envsetup",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 10:40:32 UTC",
    "User": "root"
  },
  "Author": "Nicholas Masel [aut, cre],\nMike Stackhouse [aut] (ORCID: <https://orcid.org/0000-0001-6030-723X>),\nAidan Ceney [aut],\nJohnson & Johnson Innovative Medicine [cph, fnd],\nAtorus Research, Inc. [cph]",
  "Maintainer": "Nicholas Masel <nmasel@its.jnj.com>",
  "MD5sum": "0991aaa5be4e0ccafe9c6310cfb78d52",
  "_user": "pharmaverse",
  "_type": "src",
  "_file": "envsetup_0.3.0.tar.gz",
  "_fileid": "3a7807e2bd8f6df77976f63073e19318fd7dab04941ba67c6ea0232b45db98e0",
  "_filesize": 328163,
  "_sha256": "3a7807e2bd8f6df77976f63073e19318fd7dab04941ba67c6ea0232b45db98e0",
  "_created": "2026-05-25T10:40:32.000Z",
  "_published": "2026-05-25T10:44:03.807Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77697775804,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196626444"
    },
    {
      "job": 77697775806,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196632351"
    },
    {
      "job": 77697775787,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196613061"
    },
    {
      "job": 77697775781,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196615423"
    },
    {
      "job": 77697309194,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196587173"
    },
    {
      "job": 77697775768,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196616813"
    },
    {
      "job": 77697775816,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196612157"
    },
    {
      "job": 77697775790,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196609359"
    },
    {
      "job": 77697775820,
      "time": 79,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196608477"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26396175739",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pharmaverse/envsetup",
  "_commit": {
    "id": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
    "author": "Nicholas Masel <61123199+nicholas-masel@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "added CRAN badge (#88)\n\n",
    "time": 1760718271
  },
  "_maintainer": {
    "name": "Nicholas Masel",
    "email": "nmasel@its.jnj.com",
    "login": "nmasel",
    "description": "",
    "uuid": 45665210
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "config",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "usethis",
      "role": "Imports"
    },
    {
      "package": "envnames",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "styler",
      "role": "Suggests"
    },
    {
      "package": "renv",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "pharmaverse",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 3
    },
    {
      "week": "2025-42",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2025-10-16"
    }
  ],
  "_stars": 12,
  "_contributors": [
    {
      "user": "nicholas-masel",
      "count": 82,
      "uuid": 61123199
    },
    {
      "user": "mstackhouse",
      "count": 30,
      "uuid": 31387567
    },
    {
      "user": "nmasel",
      "count": 8,
      "uuid": 45665210
    },
    {
      "user": "gmbecker",
      "count": 2,
      "uuid": 908721
    },
    {
      "user": "arkadiuszbeer",
      "count": 2,
      "uuid": 86738093
    }
  ],
  "_userbio": {
    "uuid": 84541169,
    "type": "organization",
    "name": "pharmaverse"
  },
  "_downloads": {
    "count": 181,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/envsetup"
  },
  "_devurl": "https://github.com/pharmaverse/envsetup",
  "_searchresults": 292,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/envsetup.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pharmaverse/envsetup",
  "_realowner": "pharmaverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2025-10-16"
    }
  ],
  "_exports": [
    "build_from_config",
    "detach_autos",
    "envsetup_environment",
    "get_path",
    "init",
    "read_path",
    "rprofile",
    "validate_config",
    "write_path"
  ],
  "_help": [
    {
      "page": "build_from_config",
      "title": "Build directory structure from a configuration file",
      "topics": [
        "build_from_config"
      ]
    },
    {
      "page": "detach_autos",
      "title": "Detach the autos from the current session",
      "topics": [
        "detach_autos"
      ]
    },
    {
      "page": "envsetup_environment",
      "title": "Environment Setup Environment",
      "topics": [
        "envsetup_environment"
      ]
    },
    {
      "page": "get_path",
      "title": "Get Path Object from Environment",
      "topics": [
        "get_path"
      ]
    },
    {
      "page": "init",
      "title": "Initialize the R environment with envsetup",
      "topics": [
        "init"
      ]
    },
    {
      "page": "read_path",
      "title": "Read path",
      "topics": [
        "read_path"
      ]
    },
    {
      "page": "rprofile",
      "title": "Function used to pass through code to the .Rprofile",
      "topics": [
        "rprofile"
      ]
    },
    {
      "page": "validate_config",
      "title": "Validate a configuration file",
      "topics": [
        "validate_config"
      ]
    },
    {
      "page": "write_path",
      "title": "Retrieve a file path from an envsetup object containing paths",
      "topics": [
        "write_path"
      ]
    }
  ],
  "_pkglogo": "https://github.com/pharmaverse/envsetup/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/pharmaverse/envsetup/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "clipr",
    "config",
    "crayon",
    "credentials",
    "curl",
    "desc",
    "envnames",
    "fs",
    "gert",
    "gh",
    "gitcreds",
    "glue",
    "httr2",
    "ini",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "purrr",
    "R6",
    "rappdirs",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "sys",
    "usethis",
    "vctrs",
    "whisker",
    "withr",
    "yaml",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "auto_sourcing.Rmd",
      "filename": "auto_sourcing.html",
      "title": "Automatic Script Sourcing",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic AUTOS Configuration",
        "Working Example: Single Script Library",
        "Loading and Using Auto-Sourced Functions",
        "Multiple Script Libraries",
        "Using Multiple Libraries",
        "Understanding Function Conflicts and the Overwrite Parameter",
        "Quick Example of Function Conflicts",
        "Environment-Specific Auto-Sourcing",
        "How Auto-Sourcing Works",
        "Technical Details of Conflict Handling",
        "Benefits of Auto-Sourcing",
        "Common Use Cases",
        "Project Utilities",
        "Environment-Specific Functions",
        "Team Libraries",
        "Managing Function Conflicts with the Overwrite Parameter",
        "Default Behavior: Overwrite = TRUE",
        "Conservative Behavior: Overwrite = FALSE",
        "Understanding Conflict Detection",
        "Function Metadata Tracking",
        "How Metadata Tracking Works",
        "Accessing Function Metadata",
        "Benefits of Metadata Tracking",
        "1. Debugging Function Issues",
        "2. Audit Trail",
        "Metadata and the detach_autos() Function",
        "Best Practices"
      ],
      "created": "2025-07-31 13:56:47",
      "modified": "2025-07-31 13:56:47",
      "commits": 1
    },
    {
      "source": "basic_paths.Rmd",
      "filename": "basic_paths.html",
      "title": "Basic Path Configuration",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Understanding Path Configuration",
        "Configuration Structure Levels",
        "Level 1: Execution Environment",
        "Level 2: Paths and Autos",
        "Level 3: Specific Configuration",
        "Working Example",
        "Loading and Using the Configuration",
        "Accessing Your Configured Paths",
        "How It Works",
        "Benefits",
        "Next Steps"
      ],
      "created": "2025-07-31 13:56:47",
      "modified": "2025-07-31 13:56:47",
      "commits": 1
    },
    {
      "source": "dynamic_paths.Rmd",
      "filename": "dynamic_paths.html",
      "title": "Dynamic Path Management",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Advanced Path Resolution",
        "The Problem: Moving Data",
        "Solution: Multiple Path Locations",
        "Working Example Setup",
        "Understanding the Configuration",
        "Using read_path() for Smart File Location",
        "Path Search Order",
        "Controlling Search Order with envsetup_environ",
        "Environment-Specific Path Resolution",
        "Production Path Resolution",
        "Practical Usage Pattern",
        "Benefits of Dynamic Paths",
        "Common Patterns",
        "Development-First Search",
        "Production-Only Search",
        "Next Steps"
      ],
      "created": "2025-07-31 13:56:47",
      "modified": "2025-07-31 13:56:47",
      "commits": 1
    },
    {
      "source": "multiple_environments.Rmd",
      "filename": "multiple_environments.html",
      "title": "Managing Multiple Environments",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Multiple Environment Configuration",
        "The Challenge",
        "Environment-Specific Configuration",
        "Working Example",
        "Loading Different Environments",
        "Default Environment",
        "QA Environment",
        "Production Environment",
        "Configuration Inheritance",
        "Environment Selection Strategies",
        "1. Environment Variable",
        "2. Programmatic Selection",
        "Best Practices",
        "Next Steps"
      ],
      "created": "2025-07-31 13:56:47",
      "modified": "2025-07-31 13:56:47",
      "commits": 1
    },
    {
      "source": "tips.Rmd",
      "filename": "tips.html",
      "title": "Tips",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1:  Safely set autos"
      ],
      "created": "2025-05-09 13:52:51",
      "modified": "2025-05-09 13:52:51",
      "commits": 1
    }
  ],
  "_score": 7.845594093160025,
  "_indexed": true,
  "_nocasepkg": "envsetup",
  "_universes": [
    "pharmaverse",
    "nmasel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-25T10:43:02.000Z",
      "distro": "noble",
      "commit": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
      "fileid": "a954f4158992ff03f729344d027ce6321a3874da263a5806fb1af85fa6cc97ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26396175739"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-25T10:43:28.000Z",
      "distro": "noble",
      "commit": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
      "fileid": "10cc77bab1e5ac954d3a40b080f06a836e6e82f46fe7825dea1b58bca7abbc15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26396175739"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-25T10:42:14.000Z",
      "commit": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
      "fileid": "b757b36cf9171cc4155ab4938e45ffcdf49318325e3aa97c470d8f045675720d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26396175739"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-25T10:42:22.000Z",
      "commit": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
      "fileid": "2a17f3bee239b57b9be08c4c88d5b2738bea60a83b9d55fbf83a8346bc7f5bc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26396175739"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-05-25T10:42:43.000Z",
      "commit": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
      "fileid": "29f3b03e1698cfdff94ec4570c79286c9ff5b3c4ed537884a6e6bfd3231d0b41",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26396175739"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-25T10:41:59.000Z",
      "commit": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
      "fileid": "b6728af58f15246f6352516b8fbe2f48264c0bd56678b8866ab2c1b34b7fc559",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26396175739"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-25T10:41:48.000Z",
      "commit": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
      "fileid": "efe598f55dfc2197d7accf16b97aa256a825bca53d71a454ef5c4b6b53bdd314",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26396175739"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-25T10:41:46.000Z",
      "commit": "9b4fed1c69f0d5ece4eddb9c2f62b67a15bd0f44",
      "fileid": "a929155a02f8c2ed855ca9439b7a143eb9a30e6cd49eb84a8a7e3d823b96c501",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26396175739"
    }
  ]
}