{
  "_id": "6a227877cd65a98ecbd4c40c",
  "Package": "permute",
  "Title": "Functions for Generating Restricted Permutations of Data",
  "Version": "0.9-10",
  "Authors@R": "c(person(given = \"Gavin L.\", family = \"Simpson\",\nemail = \"ucfagls@gmail.com\",\nrole = c(\"aut\", \"cph\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9084-8413\")),\nperson(given = \"R Core Team\", role = \"cph\"),\nperson(given = \"Douglas M.\", family = \"Bates\", role = \"ctb\"),\nperson(given = \"Jari\", family = \"Oksanen\", role = \"ctb\"))",
  "Description": "A set of restricted permutation designs for freely\nexchangeable, line transects (time series), and spatial grid\ndesigns plus permutation of blocks (groups of samples) is\nprovided. 'permute' also allows split-plot designs, in which\nthe whole-plots or split-plots or both can be\nfreely-exchangeable or one of the restricted designs. The\n'permute' package is modelled after the permutation schemes of\n'Canoco 3.1' (and later) by Cajo ter Braak.",
  "License": "GPL-2",
  "ByteCompile": "true",
  "URL": "https://github.com/gavinsimpson/permute",
  "BugReports": "https://github.com/gavinsimpson/permute/issues",
  "Copyright": "see file COPYRIGHTS",
  "VignetteBuilder": "knitr",
  "Repository": "https://gavinsimpson.r-universe.dev",
  "Date/Publication": "2026-02-05 20:36:41 UTC",
  "RemoteUrl": "https://github.com/gavinsimpson/permute",
  "RemoteRef": "HEAD",
  "RemoteSha": "688cca6db016e71faf1043909732fd78b87e3657",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 07:13:25 UTC",
    "User": "root"
  },
  "Author": "Gavin L. Simpson [aut, cph, cre] (ORCID:\n<https://orcid.org/0000-0002-9084-8413>),\nR Core Team [cph],\nDouglas M. Bates [ctb],\nJari Oksanen [ctb]",
  "Maintainer": "Gavin L. Simpson <ucfagls@gmail.com>",
  "MD5sum": "b734012a05f13abb93809bb215a31d80",
  "_user": "gavinsimpson",
  "_type": "src",
  "_file": "permute_0.9-10.tar.gz",
  "_fileid": "6fbd0f548cda750b58a3a7dd71d2b72f671af2cb00e6e3dad4de8b071ec26484",
  "_filesize": 307537,
  "_sha256": "6fbd0f548cda750b58a3a7dd71d2b72f671af2cb00e6e3dad4de8b071ec26484",
  "_created": "2026-06-05T07:13:25.000Z",
  "_published": "2026-06-05T07:19:19.381Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79681512777,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430911401"
    },
    {
      "job": 79681512795,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430912725"
    },
    {
      "job": 79681512764,
      "time": 79,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430967379"
    },
    {
      "job": 79681512742,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430960768"
    },
    {
      "job": 79681114855,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430880743"
    },
    {
      "job": 79681512752,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430909069"
    },
    {
      "job": 79681512757,
      "time": 70,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430899775"
    },
    {
      "job": 79681512747,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430910620"
    },
    {
      "job": 79681512778,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430909913"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/27000956574",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gavinsimpson/permute",
  "_commit": {
    "id": "688cca6db016e71faf1043909732fd78b87e3657",
    "author": "Gavin Simpson <ucfagls@gmail.com>",
    "committer": "Gavin Simpson <ucfagls@gmail.com>",
    "message": "document changes for #41; bump patch version again\n",
    "time": 1770323801
  },
  "_maintainer": {
    "name": "Gavin L. Simpson",
    "email": "ucfagls@gmail.com",
    "login": "gavinsimpson",
    "orcid": "0000-0002-9084-8413",
    "description": "",
    "uuid": 514696
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "vegan",
      "version": ">= 2.0-0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 0.5",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "sessioninfo",
      "role": "Suggests"
    }
  ],
  "_owner": "gavinsimpson",
  "_selfowned": true,
  "_usedby": 553,
  "_updates": [
    {
      "week": "2025-26",
      "n": 5
    },
    {
      "week": "2026-06",
      "n": 6
    }
  ],
  "_tags": [],
  "_topics": [
    "permutation",
    "restricted-permutations"
  ],
  "_stars": 24,
  "_contributors": [
    {
      "user": "gavinsimpson",
      "count": 475,
      "uuid": 514696
    },
    {
      "user": "jarioksa",
      "count": 19,
      "uuid": 1432933
    }
  ],
  "_userbio": {
    "uuid": 514696,
    "type": "user",
    "name": "Gavin Simpson"
  },
  "_downloads": {
    "count": 116768,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/permute"
  },
  "_mentions": 11,
  "_devurl": "https://github.com/gavinsimpson/permute",
  "_searchresults": 696,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/permute.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gavinsimpson/permute",
  "_realowner": "gavinsimpson",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.6-1",
      "date": "2011-09-08"
    },
    {
      "version": "0.6-2",
      "date": "2011-09-28"
    },
    {
      "version": "0.6-3",
      "date": "2011-11-02"
    },
    {
      "version": "0.7-0",
      "date": "2012-04-05"
    },
    {
      "version": "0.8-0",
      "date": "2013-12-01"
    },
    {
      "version": "0.8-3",
      "date": "2014-01-29"
    },
    {
      "version": "0.8-4",
      "date": "2015-05-19"
    },
    {
      "version": "0.9-0",
      "date": "2016-01-25"
    },
    {
      "version": "0.9-4",
      "date": "2016-09-09"
    },
    {
      "version": "0.9-5",
      "date": "2019-03-12"
    },
    {
      "version": "0.9-7",
      "date": "2022-01-27"
    },
    {
      "version": "0.9-8",
      "date": "2025-06-25"
    },
    {
      "version": "0.9-10",
      "date": "2026-02-06"
    }
  ],
  "_exports": [
    "allPerms",
    "as.allPerms",
    "Blocks",
    "check",
    "getAllperms",
    "getBlocks",
    "getCol",
    "getComplete",
    "getConstant",
    "getControl",
    "getDim",
    "getHow",
    "getMake",
    "getMaxperm",
    "getMinperm",
    "getMirror",
    "getNperm",
    "getObserved",
    "getPlots",
    "getRow",
    "getStrata",
    "getType",
    "getWithin",
    "how",
    "numPerms",
    "permute",
    "Plots",
    "setAllperms<-",
    "setBlocks<-",
    "setCol<-",
    "setComplete<-",
    "setConstant<-",
    "setDim<-",
    "setMake<-",
    "setMaxperm<-",
    "setMinperm<-",
    "setMirror<-",
    "setNperm<-",
    "setObserved<-",
    "setPlots<-",
    "setRow<-",
    "setStrata<-",
    "setType<-",
    "setWithin<-",
    "shuffle",
    "shuffleFree",
    "shuffleGrid",
    "shuffleSeries",
    "shuffleSet",
    "shuffleStrata",
    "Within"
  ],
  "_datasets": [
    {
      "name": "jackal",
      "title": "Mandible lengths of male and female golden jackals",
      "object": "jackal",
      "file": "jackal.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Length",
        "Sex"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "allPerms",
      "title": "Complete enumeration of all possible permutations",
      "topics": [
        "allPerms",
        "as.allPerms",
        "as.matrix.allPerms",
        "print.allPerms",
        "print.summary.allPerms",
        "summary.allPerms"
      ]
    },
    {
      "page": "allUtils",
      "title": "Utility functions for complete enumeration of all possible permutations",
      "topics": [
        "allFree",
        "allGrid",
        "allSeries",
        "allStrata"
      ]
    },
    {
      "page": "check",
      "title": "Utility functions for permutation schemes",
      "topics": [
        "check",
        "print.check",
        "print.summary.check",
        "summary.check"
      ]
    },
    {
      "page": "get-methods",
      "title": "Extractor functions to access components of a permutation design",
      "topics": [
        "get-methods",
        "getAllperms",
        "getAllperms.default",
        "getAllperms.how",
        "getBlocks",
        "getBlocks.default",
        "getBlocks.how",
        "getBlocks.permControl",
        "getCol",
        "getCol.default",
        "getCol.how",
        "getCol.permControl",
        "getCol.Plots",
        "getCol.Within",
        "getComplete",
        "getComplete.default",
        "getComplete.how",
        "getComplete.permControl",
        "getConstant",
        "getConstant.default",
        "getConstant.how",
        "getConstant.permControl",
        "getConstant.Within",
        "getControl",
        "getControl.allPerms",
        "getControl.default",
        "getDim",
        "getDim.default",
        "getDim.how",
        "getDim.permControl",
        "getDim.Plots",
        "getDim.Within",
        "getHow",
        "getMake",
        "getMake.default",
        "getMake.how",
        "getMaxperm",
        "getMaxperm.default",
        "getMaxperm.how",
        "getMaxperm.permControl",
        "getMinperm",
        "getMinperm.default",
        "getMinperm.how",
        "getMinperm.permControl",
        "getMirror",
        "getMirror.default",
        "getMirror.how",
        "getMirror.permControl",
        "getMirror.Plots",
        "getMirror.Within",
        "getNperm",
        "getNperm.default",
        "getNperm.how",
        "getNperm.permControl",
        "getObserved",
        "getObserved.default",
        "getObserved.how",
        "getPlots",
        "getPlots.default",
        "getPlots.how",
        "getPlots.permControl",
        "getRow",
        "getRow.default",
        "getRow.how",
        "getRow.permControl",
        "getRow.Plots",
        "getRow.Within",
        "getStrata",
        "getStrata.default",
        "getStrata.how",
        "getStrata.permControl",
        "getStrata.Plots",
        "getType",
        "getType.default",
        "getType.how",
        "getType.permControl",
        "getType.Plots",
        "getType.Within",
        "getWithin",
        "getWithin.default",
        "getWithin.how",
        "getWithin.permControl"
      ]
    },
    {
      "page": "how",
      "title": "How to define a permutation design?",
      "topics": [
        "Blocks",
        "how",
        "Plots",
        "print.how",
        "Within"
      ]
    },
    {
      "page": "jackal",
      "title": "Mandible lengths of male and female golden jackals",
      "topics": [
        "jackal"
      ]
    },
    {
      "page": "nobs",
      "title": "Number of observations in a given object",
      "topics": [
        "nobs-methods",
        "nobs.character",
        "nobs.data.frame",
        "nobs.factor",
        "nobs.integer",
        "nobs.matrix",
        "nobs.numeric"
      ]
    },
    {
      "page": "numPerms",
      "title": "Number of possible permutations for a given object",
      "topics": [
        "numPerms"
      ]
    },
    {
      "page": "set-methods",
      "title": "Replacement functions to set components of a permutation design",
      "topics": [
        "set-methods",
        "setAllperms<-",
        "setAllperms<-.default",
        "setAllperms<-.how",
        "setAllperms<-.permControl",
        "setBlocks<-",
        "setBlocks<-.default",
        "setBlocks<-.how",
        "setBlocks<-.permControl",
        "setCol<-",
        "setCol<-.default",
        "setCol<-.how",
        "setCol<-.Plots",
        "setCol<-.Within",
        "setComplete<-",
        "setComplete<-.default",
        "setComplete<-.how",
        "setComplete<-.permControl",
        "setConstant<-",
        "setConstant<-.default",
        "setConstant<-.how",
        "setConstant<-.Plots",
        "setConstant<-.Within",
        "setDim<-",
        "setDim<-.default",
        "setDim<-.how",
        "setDim<-.Plots",
        "setDim<-.Within",
        "setMake<-",
        "setMake<-.default",
        "setMake<-.how",
        "setMaxperm<-",
        "setMaxperm<-.default",
        "setMaxperm<-.how",
        "setMaxperm<-.permControl",
        "setMinperm<-",
        "setMinperm<-.default",
        "setMinperm<-.how",
        "setMinperm<-.permControl",
        "setMirror<-",
        "setMirror<-.default",
        "setMirror<-.how",
        "setMirror<-.Plots",
        "setMirror<-.Within",
        "setNperm<-",
        "setNperm<-.default",
        "setNperm<-.how",
        "setNperm<-.permControl",
        "setObserved<-",
        "setObserved<-.default",
        "setObserved<-.how",
        "setPlots<-",
        "setPlots<-.default",
        "setPlots<-.how",
        "setRow<-",
        "setRow<-.default",
        "setRow<-.how",
        "setRow<-.Plots",
        "setRow<-.Within",
        "setStrata<-",
        "setStrata<-.default",
        "setStrata<-.how",
        "setStrata<-.Plots",
        "setType<-",
        "setType<-.default",
        "setType<-.how",
        "setType<-.Plots",
        "setType<-.Within",
        "setWithin<-",
        "setWithin<-.default",
        "setWithin<-.how"
      ]
    },
    {
      "page": "shuffle",
      "title": "Unrestricted and restricted permutations",
      "topics": [
        "permute",
        "shuffle"
      ]
    },
    {
      "page": "shuffle-utils",
      "title": "Utility functions for unrestricted and restricted permutations",
      "topics": [
        "shuffle-utils",
        "shuffleFree",
        "shuffleGrid",
        "shuffleSeries",
        "shuffleStrata"
      ]
    },
    {
      "page": "shuffleSet",
      "title": "Generate a set of permutations from the specified design.",
      "topics": [
        "as.matrix.permutationMatrix",
        "shuffleSet"
      ]
    }
  ],
  "_readme": "https://github.com/gavinsimpson/permute/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "permutations.Rmd",
      "filename": "permutations.html",
      "title": "Restricted permutations; using the permute package",
      "author": "Gavin L. Simpson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Simple randomisation",
        "The shuffle() and shuffleSet() functions",
        "Generating restricted permutations",
        "Generating sets of permutations with shuffleSet()",
        "Defining permutation designs",
        "Set the number of permutations",
        "The levels of the permutation hierarchy",
        "Permuting samples at the lowest level",
        "Permuting samples at the Plot level",
        "Specifying blocks; the top of the permute hierarchy",
        "Examples",
        "Using permute in R functions",
        "Accesing and changing permutation designs",
        "Computational details"
      ],
      "created": "2021-11-05 12:29:06",
      "modified": "2024-08-12 10:21:23",
      "commits": 3
    }
  ],
  "_score": 13.509990709031083,
  "_indexed": true,
  "_nocasepkg": "permute",
  "_universes": [
    "gavinsimpson"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9-10",
      "date": "2026-06-05T07:15:20.000Z",
      "distro": "noble",
      "commit": "688cca6db016e71faf1043909732fd78b87e3657",
      "fileid": "d0feea58d26f7625d9abc4fafb1fe2e4766ad0a990c0bc38a41eab368e0312a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/27000956574"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9-10",
      "date": "2026-06-05T07:15:22.000Z",
      "distro": "noble",
      "commit": "688cca6db016e71faf1043909732fd78b87e3657",
      "fileid": "9e34a12f3ae53732635c340cb9352c60e253f1db56e395072f7ec766663f599f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/27000956574"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9-10",
      "date": "2026-06-05T07:18:54.000Z",
      "commit": "688cca6db016e71faf1043909732fd78b87e3657",
      "fileid": "0d924f000a93ac96fff5655024f75d2cdb4c66b7e5203c499f96c712d1d39fce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/27000956574"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9-10",
      "date": "2026-06-05T07:18:24.000Z",
      "commit": "688cca6db016e71faf1043909732fd78b87e3657",
      "fileid": "7a373bbc0a659747bf9bd7c7a77248522aa474c336b073e11e536a475195092d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/27000956574"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9-10",
      "date": "2026-06-05T07:15:26.000Z",
      "commit": "688cca6db016e71faf1043909732fd78b87e3657",
      "fileid": "06de0f95da100704f0fecbf8be44293d7a86a96b07b673d61d4adbc9a67b5d34",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/27000956574"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9-10",
      "date": "2026-06-05T07:14:29.000Z",
      "commit": "688cca6db016e71faf1043909732fd78b87e3657",
      "fileid": "5cf2b680dbbe0d1164e14afec6e044e3a8491571d5bab3a1f7aa83715ff75195",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/27000956574"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9-10",
      "date": "2026-06-05T07:14:52.000Z",
      "commit": "688cca6db016e71faf1043909732fd78b87e3657",
      "fileid": "c940b1aa14a875a1612fd1b3870401382145f59b8f06176ac1bbdcf7c65c5b12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/27000956574"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9-10",
      "date": "2026-06-05T07:15:05.000Z",
      "commit": "688cca6db016e71faf1043909732fd78b87e3657",
      "fileid": "a429a9379619ff2c9cf980cdc0b01cb5cd78db227fab44c499ad424be8fabfdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gavinsimpson/actions/runs/27000956574"
    }
  ]
}