{
  "_id": "6a49b1d5dbd0482285eb5322",
  "Package": "affirm",
  "Title": "Secular affirmations against data",
  "Version": "0.2.1",
  "Authors@R": "c(\nperson(\"Daniel D.\", \"Sjoberg\", , \"danield.sjoberg@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-0862-2018\")),\nperson(\"Travis\", \"Gerke\", , \"tgerke@mail.harvard.edu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-9500-8907\")),\nperson(\"Shannon\", \"Pileggi\", , \"shannon.pileggi@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-7732-4164\")),\nperson(\"PCCTC, LLC\", , , \"zzPDL_PCCTC_Data_Science@mskcc.org\", role = c(\"cph\", \"cre\"))\n)",
  "Description": "What the package does (one paragraph).",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/pages/pcctc/affirm/,\nhttps://pcctc.github.io/affirm/",
  "BugReports": "https://github.com/pcctc/affirm/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nlibssl-dev libnode-dev libx11-dev",
  "Repository": "https://ddsjoberg.r-universe.dev",
  "Date/Publication": "2025-07-02 18:10:53 UTC",
  "RemoteUrl": "https://github.com/pcctc/affirm",
  "RemoteRef": "HEAD",
  "RemoteSha": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-05 01:18:55 UTC",
    "User": "root"
  },
  "Author": "Daniel D. Sjoberg [aut] (ORCID:\n<https://orcid.org/0000-0003-0862-2018>),\nTravis Gerke [aut] (ORCID: <https://orcid.org/0000-0002-9500-8907>),\nShannon Pileggi [aut] (ORCID: <https://orcid.org/0000-0002-7732-4164>),\nPCCTC, LLC [cph, cre]",
  "Maintainer": "\"PCCTC, LLC\" <zzPDL_PCCTC_Data_Science@mskcc.org>",
  "_user": "ddsjoberg",
  "_type": "src",
  "_file": "affirm_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/f50e7840b0766a9b5c5787877f3a97f30c334ca4b0d4eda7c94f3d67d930776c",
  "_filesize": 3821906,
  "_sha256": "f50e7840b0766a9b5c5787877f3a97f30c334ca4b0d4eda7c94f3d67d930776c",
  "_expires": "2026-10-13T01:22:27.000Z",
  "_created": "2026-07-05T01:18:55.000Z",
  "_published": "2026-07-05T01:22:29.032Z",
  "_jobs": [
    {
      "job": 85182049565,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8087115502"
    },
    {
      "job": 85182049562,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8087115701"
    },
    {
      "job": 85182049542,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8087109895"
    },
    {
      "job": 85182049553,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087109909"
    },
    {
      "job": 85181840367,
      "time": 232,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087096439"
    },
    {
      "job": 85182049558,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8087113816"
    },
    {
      "job": 85182049547,
      "time": 132,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8087111438"
    },
    {
      "job": 85182049530,
      "time": 152,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8087113579"
    },
    {
      "job": 85182049537,
      "time": 129,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8087111126"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/28725396369",
  "_status": "success",
  "_upstream": "https://github.com/pcctc/affirm",
  "_commit": {
    "id": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
    "author": "Meghan - The Tidy Trekker <67963743+Meghansaha@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Affirm Previous Report Incorporation (#44)\n\n* roll forward\n\nroll forward\n\n* yo, this is UNSTABLE\n\n* `wb_to_df` tweak\n\n* more `wb_to_df` tweaks\n\n* join key switch\n\n* drop anon vars\n\n* more join key testing\n\n* addressing some `join_key` edge cases found in testing\n\n* joining debug\n\n* major updates, test suite additions, basic checks;\n\n* removing `previous_file` suffix check\n\n* updated local packages to fix other tests; updated snapshot; fix for naming operations in `affirm_report_excel()`\n\n* added processes for dealing with affirmation additions/removals from previous reports.\n\n* attempt update to `upload-artifact@v4`\n\n* renamed `.update_summary_sheet` to `.update_sheets`; refactored and annotated `.update_sheets`; added to `affirm_excel_report` test suite.\n\n* `.add_affirmation_sheet` cleanup\n\n* `utils-report` change\n\n* Work to account for randomly added sheets, inclusion of `sheet_type` metadata, and additional test suites.\n\n* til XML is not worth it\n\n* tweaks for production\n\n* Removal of \"prev other sheet\" work and addition of \"prev_other\" catch/error.\n\n* debug new affirmation column checking\n\n* tweak indices for column mismatch checks\n\n* hot potato debug - adding skips for new affirmation mismatch checks\n\n* sort new and prev lists before operations\n\n* replace anonymous indexing with explicit indexing via sheet names\n\n* updated annotation and duplicate error messaging; Added tests for new duplication messages; Updated `affirm_report_excel` snapshots.\n\n* improved annotations; updated/corrected `NEWS.md`; updated `affirm_report_excel()`'s documentation; Bumped version to 0.2.1\n\n* Update R/affirm_report.R\n\nCo-authored-by: Shannon Pileggi <skmcclintock@gmail.com>\n\n* Update R/utils-report.R\r\n\r\nyou right\n\nCo-authored-by: Shannon Pileggi <skmcclintock@gmail.com>\n\n* cleanup test suite\n\n* clean up documentation\n\n---------\n\nCo-authored-by: Shannon Pileggi <skmcclintock@gmail.com>",
    "time": 1751479853
  },
  "_maintainer": {
    "name": "\"PCCTC, LLC\"",
    "email": "zzpdl_pcctc_data_science@mskcc.org"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "base64enc",
      "version": ">= 0.1-3",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.1",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "version": ">= 1.6.2",
      "role": "Imports"
    },
    {
      "package": "gt",
      "version": ">= 0.9.0",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "version": ">= 0.5.5",
      "role": "Imports"
    },
    {
      "package": "openxlsx2",
      "version": ">= 1.1",
      "role": "Imports"
    },
    {
      "package": "readr",
      "version": ">= 2.1.4",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.1",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "webshot2",
      "version": ">= 0.1.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "version": ">= 3.2.1",
      "role": "Suggests"
    }
  ],
  "_owner": "pcctc",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "ddsjoberg",
      "count": 57,
      "uuid": 26774684
    },
    {
      "user": "shannonpileggi",
      "count": 13,
      "uuid": 17747575
    },
    {
      "user": "meghansaha",
      "count": 3,
      "uuid": 67963743
    },
    {
      "user": "tgerke",
      "count": 2,
      "uuid": 3831928
    },
    {
      "user": "edavidaja",
      "count": 1,
      "uuid": 12927842
    }
  ],
  "_userbio": {
    "uuid": 26774684,
    "type": "user",
    "name": "Daniel Sjoberg",
    "followers": 430,
    "description": "Senior Principal Data Scientist @Genentech; previously @sloan_kettering; \r\nGolden Girls Superfan"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/affirm"
  },
  "_devurl": "https://github.com/pcctc/affirm",
  "_pkgdown": "https://pcctc.github.io/affirm/",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/affirm.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",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    ".check_replace_argument",
    ".data",
    ".env",
    "%>%",
    "affirm_class",
    "affirm_clean_join",
    "affirm_close",
    "affirm_false",
    "affirm_init",
    "affirm_na",
    "affirm_no_dupes",
    "affirm_not_na",
    "affirm_range",
    "affirm_report_excel",
    "affirm_report_gt",
    "affirm_report_raw_data",
    "affirm_true",
    "affirm_values",
    "all_of",
    "any_of",
    "contains",
    "ends_with",
    "everything",
    "expr",
    "last_col",
    "matches",
    "num_range",
    "one_of",
    "prepend_df_name",
    "starts_with"
  ],
  "_datasets": [
    {
      "name": "DM",
      "title": "Subject Demographics",
      "object": "dm",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "SUBJECT",
        "AGE",
        "RACE"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "RAND",
      "title": "Subject Randomization",
      "object": "rand",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "SUBJECT",
        "RAND_GROUP",
        "RAND_STRATA"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "affirm_false",
      "title": "Affirm False",
      "concept": [
        "Data Affirmations"
      ],
      "topics": [
        "affirm_false"
      ]
    },
    {
      "page": "affirm_init",
      "title": "Begin Affirmations",
      "topics": [
        "affirm_close",
        "affirm_init"
      ]
    },
    {
      "page": "affirm_na",
      "title": "Affirm Class",
      "concept": [
        "Data Affirmations"
      ],
      "topics": [
        "affirm_class",
        "affirm_clean_join",
        "affirm_na",
        "affirm_not_na"
      ]
    },
    {
      "page": "affirm_no_dupes",
      "title": "Affirm Range",
      "concept": [
        "Data Affirmations"
      ],
      "topics": [
        "affirm_no_dupes"
      ]
    },
    {
      "page": "affirm_range",
      "title": "Affirm Range",
      "concept": [
        "Data Affirmations"
      ],
      "topics": [
        "affirm_range"
      ]
    },
    {
      "page": "affirm_report",
      "title": "Affirmation Report",
      "topics": [
        "affirm_report",
        "affirm_report_excel",
        "affirm_report_gt",
        "affirm_report_raw_data"
      ]
    },
    {
      "page": "affirm_true",
      "title": "Affirm True",
      "concept": [
        "Data Affirmations"
      ],
      "topics": [
        "affirm_true"
      ]
    },
    {
      "page": "affirm_values",
      "title": "Affirm Values",
      "concept": [
        "Data Affirmations"
      ],
      "topics": [
        "affirm_values"
      ]
    },
    {
      "page": "DM",
      "title": "Subject Demographics",
      "topics": [
        "DM"
      ]
    },
    {
      "page": "prepend_df_name",
      "title": "Prepend DF Name to Column Names",
      "topics": [
        "prepend_df_name"
      ]
    },
    {
      "page": "RAND",
      "title": "Subject Randomization",
      "topics": [
        "RAND"
      ]
    }
  ],
  "_pkglogo": "https://github.com/pcctc/affirm/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/pcctc/affirm/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bigD",
    "bit",
    "bit64",
    "bitops",
    "bslib",
    "cachem",
    "cli",
    "clipr",
    "commonmark",
    "cpp11",
    "crayon",
    "curl",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "glue",
    "gt",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "knitr",
    "labeling",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "memoise",
    "mime",
    "openxlsx2",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reactable",
    "reactR",
    "readr",
    "rlang",
    "rmarkdown",
    "sass",
    "scales",
    "stringi",
    "tibble",
    "tidyselect",
    "tinytex",
    "tzdb",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Validate EDC Data",
        "Initiate",
        "Affirm",
        "Report",
        "Validate Derived Variables"
      ],
      "created": "2023-06-08 04:09:44",
      "modified": "2023-06-08 17:10:06",
      "commits": 3
    }
  ],
  "_score": 4.146128035678238,
  "_indexed": false,
  "_nocasepkg": "affirm",
  "_universes": [
    "ddsjoberg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-05T01:21:25.000Z",
      "distro": "resolute",
      "commit": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
      "fileid": "https://r2.ropensci.org/01c56c5ca62cb3f6de100a71f41ed891d5e423bb90dd3e5fb5bd95e92afcd70e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/28725396369"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-05T01:21:24.000Z",
      "distro": "resolute",
      "commit": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
      "fileid": "https://r2.ropensci.org/e23aa1a7ee2e21e8e5afa46cdce54027ea5420e15bf3b4c51c7062dfc96253da",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/28725396369"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-05T01:20:34.000Z",
      "commit": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
      "fileid": "https://r2.ropensci.org/bf50d5c2e5d2cacba51c06ae5f66926d752e6218402fb3e559181b9c98c9e9fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/28725396369"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-05T01:20:42.000Z",
      "commit": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
      "fileid": "https://r2.ropensci.org/b1e22b0894c77b7c21d8cfebb827779964bc083f9078c4d07d4bc9c05976d095",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/28725396369"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-07-05T01:21:48.000Z",
      "commit": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
      "fileid": "https://r2.ropensci.org/9cb2575de7eec3f696c09999e1bda520b9b99ab9165a7dbf34245d9b78d8037d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/28725396369"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-05T01:20:16.000Z",
      "commit": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
      "fileid": "https://r2.ropensci.org/974721a9bc10f5712016648885cf4b44d5ba5fe8c9073c670bf0e5a918176ed3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/28725396369"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-05T01:20:50.000Z",
      "commit": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
      "fileid": "https://r2.ropensci.org/65a263f950b0711732f9414c7ede413b84927c99f8a3fcaf0695e24f2744f29b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/28725396369"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-05T01:20:24.000Z",
      "commit": "7b328b2874cfe835f27f65e27e89ea5cf364166c",
      "fileid": "https://r2.ropensci.org/59484cda6bfdffd2b2cf4b8b01597994b67618254745b8c9bd4320a9057717b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddsjoberg/actions/runs/28725396369"
    }
  ]
}