{
  "_id": "6a28697e732311cd875874ae",
  "Package": "plantmix",
  "Title": "Genetic Study of Plant Mixtures",
  "Version": "1.0.2",
  "Authors@R": "c(person(\"Timothee\", \"Flutre\", email=\"timothee.flutre@inrae.fr\", role=c(\"aut\", \"ctb\", \"cre\"), comment=c(ORCID=\"0000-0003-4489-4782\")),\nperson(\"\", \"INRAE\", role=c(\"cph\",\"fnd\")),\nperson(\"Jerome\", \"Enjalbert\", email=\"jerome.enjalbert@inrae.fr\", role=c(\"ctb\"), comment=c(ORCID=\"0000-0003-0408-2253\")),\nperson(\"Emma\", \"Forst\", email=\"emma.forst@inra.fr\", role=c(\"ctb\"), comment=c(ORCID=\"0000-0001-9557-3589\")),\nperson(\"Maxence\", \"Remerand\", email=\"maxence.remerand@ens-paris-saclay.fr\", role=c(\"ctb\"), comment=c(ORCID=\"0009-0007-3217-5613\")),\nperson(\"Jemay\", \"Salomon\", email=\"jemaysalomon@gmail.com\", role=c(\"ctb\"), comment=c(ORCID=\"0000-0003-4454-7916\")))",
  "Maintainer": "Timothee Flutre <timothee.flutre@inrae.fr>",
  "Description": "Fit linear mixed models dedicated to the genetic study of\nplant mixtures, such as those based on general and specific\nmixing abilities (GMA-SMA) as well as direct and social\nbreeding values (DBV-SBV), also known as direct and indirect\ngenetic effects (DGE-IGE). More details in Forst et al (2019,\n<doi:10.1016/j.fcr.2019.107571>) for GMA-SMA models, and\nSalomon et al (2026, <doi:10.64898/2026.03.27.714849>) for\nDBV-SBV models. The package also provides functions to optimize\nexperimental designs, simulate data sets and compute\ninteraction indices.",
  "License": "AGPL-3",
  "Copyright": "INRAE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Additional_repositories": "https://famuvie.github.io/breedR,\nhttps://inla.r-inla-download.org/R/stable",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-09 19:22:34 UTC",
    "User": "root"
  },
  "Author": "Timothee Flutre [aut, ctb, cre] (ORCID:\n<https://orcid.org/0000-0003-4489-4782>), INRAE [cph, fnd],\nJerome Enjalbert [ctb] (ORCID:\n<https://orcid.org/0000-0003-0408-2253>), Emma Forst [ctb]\n(ORCID: <https://orcid.org/0000-0001-9557-3589>), Maxence\nRemerand [ctb] (ORCID:\n<https://orcid.org/0009-0007-3217-5613>), Jemay Salomon [ctb]\n(ORCID: <https://orcid.org/0000-0003-4454-7916>)",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-09 15:50:07 UTC",
  "RemoteUrl": "https://github.com/cran/plantmix",
  "RemoteRef": "HEAD",
  "RemoteSha": "24a33b86e4e84f1075d13f853023e9dd3219a82d",
  "MD5sum": "431865467ab5832eb81f0fcab88678c4",
  "_user": "cran",
  "_type": "src",
  "_file": "plantmix_1.0.2.tar.gz",
  "_fileid": "333557ae6d8dd00f8c1f7e90d72f8f408c8ba346ccaff18b1c5c703bdc1fcf35",
  "_filesize": 2893812,
  "_sha256": "333557ae6d8dd00f8c1f7e90d72f8f408c8ba346ccaff18b1c5c703bdc1fcf35",
  "_created": "2026-06-09T19:22:34.000Z",
  "_published": "2026-06-09T19:29:02.895Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80408124299,
      "time": 293,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7518015091"
    },
    {
      "job": 80408124305,
      "time": 252,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7517999178"
    },
    {
      "job": 80408124403,
      "time": 256,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7518001967"
    },
    {
      "job": 80408124327,
      "time": 266,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7518004325"
    },
    {
      "job": 80407045333,
      "time": 338,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7517906999"
    },
    {
      "job": 80408124237,
      "time": 197,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27229910610",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/plantmix",
  "_commit": {
    "id": "24a33b86e4e84f1075d13f853023e9dd3219a82d",
    "author": "Timothee Flutre <timothee.flutre@inrae.fr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.2\n",
    "time": 1781020207
  },
  "_maintainer": {
    "name": "Timothee Flutre",
    "email": "timothee.flutre@inrae.fr",
    "login": "timflutre",
    "description": "Research scientist in the lab \"Quantitative Genetics and Evolution\" (GQE)",
    "uuid": 607508,
    "orcid": "0000-0003-4489-4782"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Depends"
    },
    {
      "package": "TMB",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.13",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "TMB",
      "version": ">= 1.9.17",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "breedR",
      "role": "Suggests"
    },
    {
      "package": "INLA",
      "role": "Suggests"
    },
    {
      "package": "emmeans",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "MM4LMM",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.2",
      "date": "2026-06-09"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "timflutre",
      "count": 1,
      "uuid": 607508
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/plantmix"
  },
  "_searchresults": 0,
  "_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/plantmix.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2026-06-09"
    }
  ],
  "_exports": [
    "CC",
    "estimGRM",
    "estimRYMRep",
    "estimRYRep",
    "fitDBVSBVinter",
    "fitGMASMA",
    "getDesignBinaryCropMix",
    "getDesignBinaryVarMix",
    "getMixtureList",
    "getMixturesPerGeno",
    "imageMat",
    "infoCriterion",
    "invvec",
    "invvecMixes",
    "LER",
    "mixSowingWeight",
    "mkAllZSMA",
    "mkZGMA",
    "mkZinterspe",
    "mkZSMA",
    "nbSeedsToSownInPure",
    "normBiasError",
    "paramBoot4TMB",
    "pivotMixData2Long",
    "pivotMixData2Wide",
    "plotDesignCropMix",
    "plotDesignVarMix",
    "plotDiallel",
    "RII",
    "RIInet",
    "rmatnorm",
    "RY",
    "RYM",
    "RYP",
    "RYT",
    "simulDBVSBVinter",
    "simulGenosDoseStruct",
    "summarizeGMASMAs",
    "vec"
  ],
  "_help": [
    {
      "page": "CC",
      "title": "Change in contribution",
      "topics": [
        "CC"
      ]
    },
    {
      "page": "estimGRM",
      "title": "Estimate a GRM",
      "topics": [
        "estimGRM"
      ]
    },
    {
      "page": "estimRYMRep",
      "title": "RYM with \"rep\" effect",
      "topics": [
        "estimRYMRep"
      ]
    },
    {
      "page": "estimRYRep",
      "title": "RY with \"rep\" effect",
      "topics": [
        "estimRYRep"
      ]
    },
    {
      "page": "fitDBVSBVinter",
      "title": "Fit DBV-SBV models for interspecific mixtures",
      "topics": [
        "fitDBVSBVinter"
      ]
    },
    {
      "page": "fitGMASMA",
      "title": "Fit GMA-SMA models",
      "topics": [
        "fitGMASMA"
      ]
    },
    {
      "page": "getDesignBinaryCropMix",
      "title": "Optimize design for binary crop mixtures",
      "topics": [
        "getDesignBinaryCropMix"
      ]
    },
    {
      "page": "getDesignBinaryVarMix",
      "title": "Optimize design for binary varietal mixtures",
      "topics": [
        "getDesignBinaryVarMix"
      ]
    },
    {
      "page": "getMixtureList",
      "title": "Reformat composition of mixtures into a list",
      "topics": [
        "getMixtureList"
      ]
    },
    {
      "page": "getMixturesPerGeno",
      "title": "Get mixture(s) per genotype",
      "topics": [
        "getMixturesPerGeno"
      ]
    },
    {
      "page": "imageMat",
      "title": "Image of a matrix",
      "topics": [
        "imageMat"
      ]
    },
    {
      "page": "infoCriterion",
      "title": "Information criterion",
      "topics": [
        "infoCriterion"
      ]
    },
    {
      "page": "invvec",
      "title": "Inverse vec operator",
      "topics": [
        "invvec"
      ]
    },
    {
      "page": "invvecMixes",
      "title": "Inverse vec for mixtures",
      "topics": [
        "invvecMixes"
      ]
    },
    {
      "page": "LER",
      "title": "Land equivalent ratio (LER)",
      "topics": [
        "LER"
      ]
    },
    {
      "page": "mixSowingWeight",
      "title": "Sowing",
      "topics": [
        "mixSowingWeight"
      ]
    },
    {
      "page": "mkAllZSMA",
      "title": "Design matrices of SMAs for GMA-SMA models",
      "topics": [
        "mkAllZSMA"
      ]
    },
    {
      "page": "mkZGMA",
      "title": "Design matrix of GMAs for GMA-SMA models",
      "topics": [
        "mkZGMA"
      ]
    },
    {
      "page": "mkZinterspe",
      "title": "Design matrices for DBV-SBV models in an inter-specific trial",
      "topics": [
        "mkZinterspe"
      ]
    },
    {
      "page": "mkZSMA",
      "title": "Design matrix of SMAs for GMA-SMA models",
      "topics": [
        "mkZSMA"
      ]
    },
    {
      "page": "nbSeedsToSownInPure",
      "title": "Sowing",
      "topics": [
        "nbSeedsToSownInPure"
      ]
    },
    {
      "page": "normBiasError",
      "title": "Normalized bias error",
      "topics": [
        "normBiasError"
      ]
    },
    {
      "page": "paramBoot4TMB",
      "title": "Parametric bootstrap with TMB",
      "topics": [
        "paramBoot4TMB"
      ]
    },
    {
      "page": "pivotMixData2Long",
      "title": "Pivot mixture data into the long format",
      "topics": [
        "pivotMixData2Long"
      ]
    },
    {
      "page": "pivotMixData2Wide",
      "title": "Pivot mixture data into the wide format",
      "topics": [
        "pivotMixData2Wide"
      ]
    },
    {
      "page": "plotDesignCropMix",
      "title": "Plot design for crop mixtures",
      "topics": [
        "plotDesignCropMix"
      ]
    },
    {
      "page": "plotDesignVarMix",
      "title": "Plot design for varietal mixtures",
      "topics": [
        "plotDesignVarMix"
      ]
    },
    {
      "page": "plotDiallel",
      "title": "Plot diallel",
      "topics": [
        "plotDiallel"
      ]
    },
    {
      "page": "RII",
      "title": "Relative interaction index (RII)",
      "topics": [
        "RII"
      ]
    },
    {
      "page": "RIInet",
      "title": "Net Relative interaction index (RIInet)",
      "topics": [
        "RIInet"
      ]
    },
    {
      "page": "rmatnorm",
      "title": "Matrix-variate Normal distribution",
      "topics": [
        "rmatnorm"
      ]
    },
    {
      "page": "RY",
      "title": "Relative yield (RY)",
      "topics": [
        "RY"
      ]
    },
    {
      "page": "RYM",
      "title": "Relative yield of mixture (RYM)",
      "topics": [
        "RYM"
      ]
    },
    {
      "page": "RYP",
      "title": "Relative yield per plant (RYP)",
      "topics": [
        "RYP"
      ]
    },
    {
      "page": "RYT",
      "title": "Relative yield total (RYT)",
      "topics": [
        "RYT"
      ]
    },
    {
      "page": "simulDBVSBVinter",
      "title": "Simulate w.r.t. a DBV-SBV model for interspecific mixtures",
      "topics": [
        "simulDBVSBVinter"
      ]
    },
    {
      "page": "simulGenosDoseStruct",
      "title": "Simulate SNP genotypes",
      "topics": [
        "simulGenosDoseStruct"
      ]
    },
    {
      "page": "summarizeGMASMAs",
      "title": "Model summary",
      "topics": [
        "summarizeGMASMAs"
      ]
    },
    {
      "page": "vec",
      "title": "Vec operator",
      "topics": [
        "vec"
      ]
    }
  ],
  "_readme": "https://github.com/cran/plantmix/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "igraph",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "pkgconfig",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "TMB",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "vig1_intro-GMA-SMA.Rmd",
      "filename": "vig1_intro-GMA-SMA.html",
      "title": "Introduction to GMA-SMA models ",
      "author": "T. Flutre, J. Enjalbert",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preamble",
        "Models",
        "Overview",
        "Notations",
        "Major assumptions",
        "Model 1",
        "Model 2",
        "Model 3",
        "Models in vector form",
        "Other models",
        "Examples of design matrices",
        "Design matrix for GMAs",
        "Design matrix for SMAs",
        "Model 2'",
        "Model 2''",
        "Model 3'",
        "Data simulation",
        "Sparse design",
        "Design matrices",
        "Parameters",
        "Phenotypes",
        "Inference",
        "Model fits",
        "Checks",
        "Model comparisons",
        "Reference",
        "Appendix"
      ],
      "created": "2026-06-09 15:50:07",
      "modified": "2026-06-09 15:50:07",
      "commits": 1
    },
    {
      "source": "vig2_GMA-SMA_simul-infer.Rmd",
      "filename": "vig2_GMA-SMA_simul-infer.html",
      "title": "Example of GMA-SMA models for varietal mixtures in microplots ",
      "author": "T. Flutre",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preamble",
        "Overview",
        "Simulate data",
        "Simulate the genotypes",
        "Set the dimensions",
        "SNP genotypes",
        "Additive genetic relationships",
        "Simulate the phenotypes",
        "Incomplete, yet balanced design",
        "Field trial",
        "Design matrices",
        "Parameters",
        "Phenotypes",
        "Infer the parameters",
        "Model 1",
        "Fit",
        "Check",
        "Model 2",
        "Model 3",
        "Model 2'",
        "Model 2''",
        "Model 3'",
        "Appendix"
      ],
      "created": "2026-06-09 15:50:07",
      "modified": "2026-06-09 15:50:07",
      "commits": 1
    },
    {
      "source": "vig3_DBV-SBV_crop-mix_testers.Rmd",
      "filename": "vig3_DBV-SBV_crop-mix_testers.html",
      "title": "Example of DBV-SBV models for species mixtures in a tester-based design ",
      "author": "J. Salomon, J. Enjalbert, T. Flutre",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preamble",
        "Simulate data",
        "Simulate the genotypes",
        "Set the dimensions",
        "SNP genotypes",
        "Additive genetic relationships",
        "Simulate the phenotypes",
        "Design sparsity",
        "Indices of plant mixtures",
        "RYT (LER) and RYP",
        "RYM",
        "Explore the data",
        "Yield map",
        "Infer the parameters",
        "Using intercrops only",
        "Prepare the inputs",
        "Fit the model",
        "Checks",
        "Parametric bootstrap",
        "Using both sole crops and intercrops",
        "Reference",
        "Appendix"
      ],
      "created": "2026-06-09 15:50:07",
      "modified": "2026-06-09 15:50:07",
      "commits": 1
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "plantmix",
  "_universes": [
    "cran",
    "timflutre"
  ],
  "_indexurl": "https://timflutre.r-universe.dev/plantmix",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-09T19:26:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "24a33b86e4e84f1075d13f853023e9dd3219a82d",
      "fileid": "84db225509e0df5b420e2f5ed9e1d310272ccfce89e8d74515f7890db98cb5e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27229910610"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-09T19:26:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "24a33b86e4e84f1075d13f853023e9dd3219a82d",
      "fileid": "fff387a2d72b85d2402cda5e2682a5803c2f2c278a5f841b7ab8a4938d1efd8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27229910610"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-09T19:26:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "24a33b86e4e84f1075d13f853023e9dd3219a82d",
      "fileid": "8cb81476627b49015dfa093afd07c1796ea9244b070500aea58d2b7e8b214ec9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27229910610"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-09T19:26:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "24a33b86e4e84f1075d13f853023e9dd3219a82d",
      "fileid": "ff0ade299a5d94a032fa4841bc5c7153e65ebb8a421319d535003fd2d62bd366",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27229910610"
    }
  ]
}