{
  "_id": "6abae9bd99f7aa8c6aa428e8",
  "Package": "permRand",
  "Title": "Permutation Randomization",
  "Version": "1.0.0",
  "Authors@R": "c(person(\"Michelle\", \"Mellers\", email=\"michelle.mellers.ctr@usuhs.edu\", role = c(\"aut\", \"cre\",\"cph\")),person(\"Thaddeus\", \"Haight\", email=\"thaddeus.haight.ctr@usuhs.edu\", role = c(\"aut\")))",
  "Description": "Provides randomization using permutation for applications.\nTo provide a Quality Control (QC) check, QC samples can be\nrandomized within strata.  A second function allows for the\nability to ”switch” samples to meet set requirements and\nperform a certain amount of minimization on these switches. The\nfunctions are flexible for users by specifying strata size and\nnumber of QC samples per strata.  The randomization meets the\nfollowing requirements • QC sample requirements: QC samples not\nadjacent, QC samples from same mother must follow certain\npatterns. • Matched sample sets must be within a single strata,\nand next to each other.",
  "URL": "https://github.com/m-mellers/permRand",
  "BugReports": "https://github.com/m-mellers/permRand/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "License": "GPL (>= 3)",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-28 22:19:14 UTC",
    "User": "root"
  },
  "Author": "Michelle Mellers [aut, cre, cph], Thaddeus Haight [aut]",
  "Maintainer": "Michelle Mellers <michelle.mellers.ctr@usuhs.edu>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-09-28 07:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/permRand",
  "RemoteSha": "8ab6a19813ed38abcf4abef18eb06631371c6152",
  "RemoteSubdir": "permRand",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "permRand_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6b0907348de71ed23914f6b51846820a9b325e75025c8c82cc25970a89e9cb0f",
  "_filesize": 380006,
  "_sha256": "6b0907348de71ed23914f6b51846820a9b325e75025c8c82cc25970a89e9cb0f",
  "_expires": "2027-01-06T22:27:07.000Z",
  "_created": "2026-09-28T22:19:14.000Z",
  "_published": "2026-09-28T22:27:09.046Z",
  "_jobs": [
    {
      "job": 109161596867,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11001635800"
    },
    {
      "job": 109161596886,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11001184991"
    },
    {
      "job": 109161596976,
      "time": 121,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11002300775"
    },
    {
      "job": 109161596818,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11002180503"
    },
    {
      "job": 109160477145,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11001635372"
    },
    {
      "job": 109161596762,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11001885119"
    },
    {
      "job": 109161596800,
      "time": 91,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11000559799"
    },
    {
      "job": 109161597056,
      "time": 82,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11001299661"
    },
    {
      "job": 109161596951,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11001600691"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/36491316167",
  "_status": "success",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "8ab6a19813ed38abcf4abef18eb06631371c6152",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add permRand to CRANhaven, because archived on 2026-09-28 07:02:00 +0000\n",
    "time": 1790578920
  },
  "_maintainer": {
    "name": "Michelle Mellers",
    "email": "michelle.mellers.ctr@usuhs.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-40",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "followers": 3,
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 190,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/permRand"
  },
  "_devurl": "https://github.com/m-mellers/permrand",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/permRand.html"
  ],
  "_homeurl": "https://github.com/m-mellers/permrand",
  "_realowner": "m-mellers",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-09-03"
    }
  ],
  "_exports": [
    "allRand",
    "batchCount",
    "countQC",
    "formatRand",
    "orderCases",
    "outputLab",
    "randTest",
    "switchR",
    "testCCAcross",
    "testPair",
    "testQCmatch",
    "testRand",
    "uniqueID"
  ],
  "_datasets": [
    {
      "name": "emptyQC",
      "title": "A dataset containing locations of empty QC samples.",
      "object": "emptyQC",
      "class": [
        "data.frame"
      ],
      "fields": [
        "serumID",
        "rack",
        "row",
        "col"
      ],
      "rows": 492,
      "table": true,
      "tojson": true
    },
    {
      "name": "motherQC",
      "title": "A dataset containing locations of the mother QC samples.",
      "object": "motherQC",
      "class": [
        "data.frame"
      ],
      "fields": [
        "serumID",
        "rack",
        "row",
        "col"
      ],
      "rows": 123,
      "table": true,
      "tojson": true
    },
    {
      "name": "QCMaster",
      "title": "A dataset containing QC sample IDs and packing location.",
      "object": "QCMaster",
      "class": [
        "data.frame"
      ],
      "fields": [
        "serumID",
        "rack",
        "row",
        "col",
        "event",
        "motherSerumID",
        "motherRack",
        "motherRow",
        "motherCol",
        "studyID"
      ],
      "rows": 452,
      "table": true,
      "tojson": true
    },
    {
      "name": "serumIDs",
      "title": "A dataset containing serum sample IDs linked with studyIDs.",
      "object": "serumIDs",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "studyID",
        "event",
        "serumID"
      ],
      "rows": 7027,
      "table": true,
      "tojson": true
    },
    {
      "name": "serumLoc",
      "title": "A dataset containing the a packing list with serum samples.",
      "object": "serumLoc",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "serumID",
        "rack",
        "row",
        "col"
      ],
      "rows": 7027,
      "table": true,
      "tojson": true
    },
    {
      "name": "serumMaster3",
      "title": "A dataset containing information for QC and serum samples.",
      "object": "serumMaster3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "serumID",
        "studyID",
        "event",
        "rack",
        "row",
        "col",
        "ccID",
        "caseControl",
        "QCsamp"
      ],
      "rows": 1876,
      "table": true,
      "tojson": true
    },
    {
      "name": "serumRand",
      "title": "A dataset containing randomized QC and serum samples.",
      "object": "serumRand",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "serumID",
        "studyID",
        "event",
        "rack",
        "row",
        "col",
        "ccID",
        "caseControl",
        "QCsamp",
        "batchN",
        "loc"
      ],
      "rows": 1876,
      "table": true,
      "tojson": true
    },
    {
      "name": "serumSwitch",
      "title": "A dataset containing switched and randomized QC and serum samples.",
      "object": "serumSwitch",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "serumID",
        "studyID",
        "event",
        "ccID",
        "caseControl",
        "QCsamp",
        "batchN",
        "loc",
        "outoforder"
      ],
      "rows": 1876,
      "table": true,
      "tojson": true
    },
    {
      "name": "serumSwitchP",
      "title": "A dataset containing switched and randomized QC and serum samples with packing locations.",
      "object": "serumSwitchP",
      "class": [
        "data.frame"
      ],
      "fields": [
        "serumID",
        "rack",
        "row",
        "col",
        "studyID",
        "event",
        "ccID",
        "caseControl",
        "QCsamp",
        "batchN",
        "loc",
        "outoforder"
      ],
      "rows": 1876,
      "table": true,
      "tojson": true
    },
    {
      "name": "testR",
      "title": "A dataset containing the example non-randomized serum sample file.",
      "object": "testR",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "allRand",
      "title": "Data Randomization",
      "topics": [
        "allRand"
      ]
    },
    {
      "page": "batchCount",
      "title": "Tests the number in each batch.",
      "topics": [
        "batchCount"
      ]
    },
    {
      "page": "countQC",
      "title": "Number of QC in each batch.",
      "topics": [
        "countQC"
      ]
    },
    {
      "page": "emptyQC",
      "title": "A dataset containing locations of empty QC samples.",
      "topics": [
        "emptyQC"
      ]
    },
    {
      "page": "formatRand",
      "title": "Formats data",
      "topics": [
        "formatRand"
      ]
    },
    {
      "page": "motherQC",
      "title": "A dataset containing locations of the mother QC samples.",
      "topics": [
        "motherQC"
      ]
    },
    {
      "page": "orderCases",
      "title": "Number of single group in sequence.",
      "topics": [
        "orderCases"
      ]
    },
    {
      "page": "outputLab",
      "title": "Output labels.",
      "topics": [
        "outputLab"
      ]
    },
    {
      "page": "QCMaster",
      "title": "A dataset containing QC sample IDs and packing location.",
      "topics": [
        "QCMaster"
      ]
    },
    {
      "page": "randTest",
      "title": "QC Identifiers",
      "topics": [
        "randTest"
      ]
    },
    {
      "page": "serumIDs",
      "title": "A dataset containing serum sample IDs linked with studyIDs.",
      "topics": [
        "serumIDs"
      ]
    },
    {
      "page": "serumLoc",
      "title": "A dataset containing the a packing list with serum samples.",
      "topics": [
        "serumLoc"
      ]
    },
    {
      "page": "serumMaster3",
      "title": "A dataset containing information for QC and serum samples.",
      "topics": [
        "serumMaster3"
      ]
    },
    {
      "page": "serumRand",
      "title": "A dataset containing randomized QC and serum samples.",
      "topics": [
        "serumRand"
      ]
    },
    {
      "page": "serumSwitch",
      "title": "A dataset containing switched and randomized QC and serum samples.",
      "topics": [
        "serumSwitch"
      ]
    },
    {
      "page": "serumSwitchP",
      "title": "A dataset containing switched and randomized QC and serum samples with packing locations.",
      "topics": [
        "serumSwitchP"
      ]
    },
    {
      "page": "switchR",
      "title": "Switching Generating Function",
      "topics": [
        "switchR"
      ]
    },
    {
      "page": "testCCAcross",
      "title": "Sample groups within batches",
      "topics": [
        "testCCAcross"
      ]
    },
    {
      "page": "testPair",
      "title": "Ensures complete sets.",
      "topics": [
        "testPair"
      ]
    },
    {
      "page": "testQCmatch",
      "title": "Tests QC matches",
      "topics": [
        "testQCmatch"
      ]
    },
    {
      "page": "testR",
      "title": "A dataset containing the example non-randomized serum sample file.",
      "topics": [
        "testR"
      ]
    },
    {
      "page": "testRand",
      "title": "Test Dataset",
      "topics": [
        "testRand"
      ]
    },
    {
      "page": "uniqueID",
      "title": "Unique IDs",
      "topics": [
        "uniqueID"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "BatchProc.Rmd",
      "filename": "BatchProc.html",
      "title": "permRand: Permutation Randomization",
      "author": "Michelle Mellers, PhD and Thaddeus Haight, PhD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Vignette for the Package: permRand",
        "Example Use of Package Functions",
        "Step 1: Generate a Test Dataset",
        "Step 2: Format Datasets",
        "Step 3: Randomize Dataset",
        "Step 4: Check the Randomization",
        "Step 5: Packing Lists From the Randomization Results",
        "Step 6: Switching Without Re-Randomization",
        "Step 7: Checking the Results",
        "Step 8: Output the Packing Lists for the switchR Function"
      ],
      "created": "2026-09-28 07:02:00",
      "modified": "2026-09-28 07:02:00",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "permrand",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://m-mellers.r-universe.dev/permRand",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-28T22:21:27.000Z",
      "distro": "resolute",
      "commit": "8ab6a19813ed38abcf4abef18eb06631371c6152",
      "fileid": "https://r2.ropensci.org/293824064ed5cc2312dfad3c8a4e307bbf13a27a777bbb8e84e3e8ee7c2af1f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/36491316167"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-09-28T22:21:20.000Z",
      "distro": "resolute",
      "commit": "8ab6a19813ed38abcf4abef18eb06631371c6152",
      "fileid": "https://r2.ropensci.org/7c8d58dfc076674f2d24bb175b0ecfd51fe315a36c57bd7018c4a43e4ded17e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/36491316167"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-28T22:25:59.000Z",
      "commit": "8ab6a19813ed38abcf4abef18eb06631371c6152",
      "fileid": "https://r2.ropensci.org/737005bda4e9852c3681fc2040fd461e8da214f785b9b1449976d512ea6c8aff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/36491316167"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-09-28T22:25:14.000Z",
      "commit": "8ab6a19813ed38abcf4abef18eb06631371c6152",
      "fileid": "https://r2.ropensci.org/87790646d0d98b9d29adf85ebfb0b827268a7381a5e3e51282d7afb39b8d013c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/36491316167"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-09-28T22:21:14.000Z",
      "commit": "8ab6a19813ed38abcf4abef18eb06631371c6152",
      "fileid": "https://r2.ropensci.org/f10f69e4cc580d5d025eb0078409ccf456c0702403ceb1470be4bd4bd95d763b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/36491316167"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-28T22:20:30.000Z",
      "commit": "8ab6a19813ed38abcf4abef18eb06631371c6152",
      "fileid": "https://r2.ropensci.org/07bc122822f90a67a51e2c2b868493f8fbdfe9bfb15fe87d897ed19f232a7127",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/36491316167"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-28T22:20:21.000Z",
      "commit": "8ab6a19813ed38abcf4abef18eb06631371c6152",
      "fileid": "https://r2.ropensci.org/5daf4d40d1ac44634a072d77d1827b801cc36113d3419bc75462e6bb3820080a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/36491316167"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-09-28T22:20:35.000Z",
      "commit": "8ab6a19813ed38abcf4abef18eb06631371c6152",
      "fileid": "https://r2.ropensci.org/76655f8bb14f22edfc9b80cae56a9ac54a3f3a27204dd241f5b9512007f08fd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/36491316167"
    }
  ]
}