{
  "_id": "6a1d311f1d7bb097a0a3af1e",
  "Package": "conStruct",
  "Version": "1.0.6",
  "Date": "2024-1-08",
  "Title": "Models Spatially Continuous and Discrete Population Genetic\nStructure",
  "Description": "A method for modeling genetic data as a combination of\ndiscrete layers, within each of which relatedness may decay\ncontinuously with geographic distance. This package contains\ncode for running analyses (which are implemented in the\nmodeling language 'rstan') and visualizing and interpreting\noutput. See the paper for more details on the model and its\nutility.",
  "Authors@R": "person(\"Gideon\", \"Bradburd\", email = \"bradburd@umich.edu\", role = c(\"aut\", \"cre\"))",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "ByteCompile": "true",
  "SystemRequirements": "GNU make",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "make",
  "Repository": "https://gbradburd.r-universe.dev",
  "Date/Publication": "2026-05-02 06:59:26 UTC",
  "RemoteUrl": "https://github.com/gbradburd/construct",
  "RemoteRef": "HEAD",
  "RemoteSha": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
  "Packaged": {
    "Date": "2026-06-01 06:47:48 UTC",
    "User": "root"
  },
  "Author": "Gideon Bradburd [aut, cre]",
  "Maintainer": "Gideon Bradburd <bradburd@umich.edu>",
  "MD5sum": "c546e54f3f8f0d1aae174aa4f1d96b7b",
  "_user": "gbradburd",
  "_type": "src",
  "_file": "conStruct_1.0.6.tar.gz",
  "_fileid": "72f3a449f9b9703baa6a875b8fc619d78fe74ce6bd175d51e94a6bb9a1359871",
  "_filesize": 952097,
  "_sha256": "72f3a449f9b9703baa6a875b8fc619d78fe74ce6bd175d51e94a6bb9a1359871",
  "_created": "2026-06-01T06:47:48.000Z",
  "_published": "2026-06-01T07:13:35.009Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78800804533,
      "time": 379,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325173954"
    },
    {
      "job": 78800804542,
      "time": 402,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325179722"
    },
    {
      "job": 78800804546,
      "time": 399,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325178809"
    },
    {
      "job": 78800804537,
      "time": 401,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325179671"
    },
    {
      "job": 78800804628,
      "time": 342,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325282396"
    },
    {
      "job": 78800804603,
      "time": 822,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325424246"
    },
    {
      "job": 78800804550,
      "time": 384,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325282216"
    },
    {
      "job": 78800804612,
      "time": 795,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325370008"
    },
    {
      "job": 78799673133,
      "time": 554,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325073475"
    },
    {
      "job": 78800804510,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78800804547,
      "time": 488,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325201642"
    },
    {
      "job": 78800804554,
      "time": 481,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325199368"
    },
    {
      "job": 78800804517,
      "time": 490,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325202091"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gbradburd/construct",
  "_commit": {
    "id": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
    "author": "Gideon Bradburd <bradburd@umich.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #74 from chriscrsmith/precision\n\nRelax numerical precision for covariance matrix symmetry check",
    "time": 1777705166
  },
  "_maintainer": {
    "name": "Gideon Bradburd",
    "email": "bradburd@umich.edu",
    "login": "gbradburd",
    "description": "",
    "uuid": 6391876
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 1.5.0",
      "role": "Imports"
    },
    {
      "package": "caroline",
      "role": "Imports"
    },
    {
      "package": "gtools",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "maps",
      "role": "Suggests"
    }
  ],
  "_owner": "gbradburd",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 38,
  "_contributors": [
    {
      "user": "gbradburd",
      "count": 28,
      "uuid": 6391876
    },
    {
      "user": "petrelharp",
      "count": 3,
      "uuid": 1046249
    },
    {
      "user": "andrjohns",
      "count": 2,
      "uuid": 27717896
    },
    {
      "user": "chriscrsmith",
      "count": 2,
      "uuid": 3697668
    },
    {
      "user": "karolisr",
      "count": 1,
      "uuid": 2320003
    },
    {
      "user": "cooplab",
      "count": 1,
      "uuid": 4187236
    },
    {
      "user": "grillino",
      "count": 1,
      "uuid": 3080603
    }
  ],
  "_userbio": {
    "uuid": 6391876,
    "type": "user",
    "name": "Gideon Bradburd"
  },
  "_downloads": {
    "count": 240,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/conStruct"
  },
  "_mentions": 10,
  "_devurl": "https://github.com/gbradburd/construct",
  "_searchresults": 82,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/conStruct.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gbradburd/construct",
  "_realowner": "gbradburd",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2018-09-18"
    },
    {
      "version": "1.0.1",
      "date": "2018-10-19"
    },
    {
      "version": "1.0.2",
      "date": "2018-11-08"
    },
    {
      "version": "1.0.3",
      "date": "2019-01-03"
    },
    {
      "version": "1.0.4",
      "date": "2019-12-12"
    },
    {
      "version": "1.0.5",
      "date": "2023-03-17"
    },
    {
      "version": "1.0.6",
      "date": "2024-01-08"
    }
  ],
  "_exports": [
    "calculate.layer.contribution",
    "compare.two.runs",
    "conStruct",
    "make.admix.pie.plot",
    "make.all.the.plots",
    "make.structure.plot",
    "match.layers.x.runs",
    "structure2conStruct",
    "x.validation"
  ],
  "_datasets": [
    {
      "name": "conStruct.data",
      "title": "Example dataset used in a 'conStruct' analysis",
      "object": "conStruct.data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "data.block",
      "title": "Example 'data.block' generated by a 'conStruct' analysis",
      "object": "data.block",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "conStruct-package",
      "title": "The 'conStruct' package.",
      "topics": [
        "conStruct-package"
      ]
    },
    {
      "page": "calculate.layer.contribution",
      "title": "Calculate layer contribution",
      "topics": [
        "calculate.layer.contribution"
      ]
    },
    {
      "page": "compare.two.runs",
      "title": "Compare two conStruct runs",
      "topics": [
        "compare.two.runs"
      ]
    },
    {
      "page": "conStruct",
      "title": "Run a conStruct analysis.",
      "topics": [
        "conStruct"
      ]
    },
    {
      "page": "conStruct.data",
      "title": "Example dataset used in a 'conStruct' analysis",
      "topics": [
        "conStruct.data"
      ]
    },
    {
      "page": "data.block",
      "title": "Example 'data.block' generated by a 'conStruct' analysis",
      "topics": [
        "data.block"
      ]
    },
    {
      "page": "make.admix.pie.plot",
      "title": "Make admixture pie plot",
      "topics": [
        "make.admix.pie.plot"
      ]
    },
    {
      "page": "make.all.the.plots",
      "title": "Make output plots",
      "topics": [
        "make.all.the.plots"
      ]
    },
    {
      "page": "make.structure.plot",
      "title": "Make STRUCTURE output plot",
      "topics": [
        "make.structure.plot"
      ]
    },
    {
      "page": "match.layers.x.runs",
      "title": "Match layers up across independent conStruct runs",
      "topics": [
        "match.layers.x.runs"
      ]
    },
    {
      "page": "print.conStruct.results",
      "title": "An S3 print method for class conStruct.results",
      "topics": [
        "print.conStruct.results"
      ]
    },
    {
      "page": "print.data.block",
      "title": "An S3 print method for class data.block",
      "topics": [
        "print.data.block"
      ]
    },
    {
      "page": "print.freq.data",
      "title": "An S3 print method for class freq.data",
      "topics": [
        "print.freq.data"
      ]
    },
    {
      "page": "print.layer.params",
      "title": "An S3 print method for class layer.params",
      "topics": [
        "print.layer.params"
      ]
    },
    {
      "page": "structure2conStruct",
      "title": "Convert a dataset from STRUCTURE to conStruct format",
      "topics": [
        "structure2conStruct"
      ]
    },
    {
      "page": "x.validation",
      "title": "Run a conStruct cross-validation analysis",
      "topics": [
        "x.validation"
      ]
    }
  ],
  "_readme": "https://github.com/gbradburd/construct/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "caroline",
    "checkmate",
    "cli",
    "codetools",
    "cpp11",
    "desc",
    "distributional",
    "doParallel",
    "farver",
    "foreach",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "gtools",
    "inline",
    "isoband",
    "iterators",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "format-data.Rmd",
      "filename": "format-data.html",
      "title": "How to format data for a conStruct analysis",
      "author": "Gideon Bradburd",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Format data",
        "conStruct data",
        "Allele frequency data",
        "Geographic sampling coordinates",
        "Geographic distance matrix",
        "Other formats to conStruct",
        "STRUCTURE to conStruct",
        "STRUCTURE data format",
        "Microsatellites"
      ],
      "created": "2018-08-15 15:25:49",
      "modified": "2023-12-21 16:06:37",
      "commits": 5
    },
    {
      "source": "model-comparison.Rmd",
      "filename": "model-comparison.html",
      "title": "How to compare conStruct model runs",
      "author": "Gideon Bradburd",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model comparison",
        "Cross-validation",
        "How it works",
        "How to run a cross-validation analysis",
        "Visualizing results",
        "Interpreting results",
        "Parallelization",
        "Layer contributions",
        "How to calculate layer contributions",
        "Cross-validation vs. Layer contribution",
        "Advanced options",
        "Specifying data partitions"
      ],
      "created": "2018-08-21 20:23:35",
      "modified": "2018-09-05 02:09:08",
      "commits": 3
    },
    {
      "source": "run-conStruct.Rmd",
      "filename": "run-conStruct.html",
      "title": "How to run a conStruct analysis",
      "author": "Gideon Bradburd",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Run conStruct",
        "Running a conStruct analysis",
        "Spatial Model",
        "Nonspatial Model",
        "Other function options",
        "Model diagnosis",
        "MCMC diagnosis",
        "Independent runs",
        "Missing data"
      ],
      "created": "2018-08-15 15:25:49",
      "modified": "2018-09-05 02:09:08",
      "commits": 4
    },
    {
      "source": "visualize-results.Rmd",
      "filename": "visualize-results.html",
      "title": "How to visualize the results of a conStruct analysis",
      "author": "Gideon Bradburd",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Visualize results",
        "Make all the plots",
        "Visualizing estimated admixture proportions",
        "STRUCTURE plots",
        "Order STRUCTURE plots",
        "ADMIXTURE pie plots",
        "Pie plot on a map",
        "Comparing two conStruct runs"
      ],
      "created": "2018-09-04 18:16:04",
      "modified": "2019-01-02 19:24:24",
      "commits": 3
    }
  ],
  "_score": 8.572778695048152,
  "_indexed": true,
  "_nocasepkg": "construct",
  "_universes": [
    "gbradburd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-06-01T06:53:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "dd64b94a0b7de21a46db6d39e10e856f9833647a7d2479cb0c7a046e854accff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-06-01T06:53:30.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "97258ab2ae48e7a80b613ffc76e15256b260fe9c3df586d20ddaf97898aef072",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-06-01T06:53:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "16cb51a771fa08f096db95446e981a977a3297787341349222f9578e630d4cff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-06-01T06:53:27.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "31e2a5642dad98f97f2ce305bd06df1877bafa066dcb140049f14caa60492140",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-06-01T07:00:23.000Z",
      "arch": "aarch64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "17321c9ff9c7b45c562a8a459b210d33a6ed095133ecac44f5294012e75769a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-06-01T07:03:59.000Z",
      "arch": "x86_64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "b71d4eeb763108440c66c16a03865f1faea4c8a2affd566dfdee6f4050b092a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-06-01T06:59:50.000Z",
      "arch": "aarch64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "0882b960dfc1a579973a0e8e449f7408302c3da7d0cedebdf1693b5a9b0e087f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-06-01T07:01:08.000Z",
      "arch": "x86_64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "3850bb6c1ca45555111a689cb6b138c6cd72aeb19fec844bbd6a2d71ddfa8925",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-06-01T06:52:30.000Z",
      "arch": "x86_64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "3d3361e190ed8fdea2a42afc21de01d166da327d5c470ad9c77027ea704444d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-06-01T06:52:26.000Z",
      "arch": "x86_64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "8c2896bf92bae61075cf7de544e722394f574e7e0bdf0acf47c4da11d9b63deb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-06-01T06:52:25.000Z",
      "arch": "x86_64",
      "commit": "9dde30b88ba8ebe2852ae54fbaf2f6bb7c69b4c5",
      "fileid": "600549270726b008e1c2fcb9f794dec83138c7ef7f4133b5db40ffb268d132af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gbradburd/actions/runs/26739419347"
    }
  ]
}