{
  "_id": "6ad8fb93db07788da70a964e",
  "Package": "hsquared",
  "Title": "'R' Interface for 'Julia'-Backed Quantitative-Genetic Models",
  "Version": "0.9.0",
  "Authors@R": "c(\nperson(\"Shinichi\", \"Nakagawa\", , \"itchyshin@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-7765-5182\")),\nperson(\"Yefeng\", \"Yang\", role = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-8610-4016\")),\nperson(\"Szymon\", \"Drobniak\", role = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-8101-6247\"))\n)",
  "Description": "Provides an interface for quantitative-genetic models in\n'R', backed by the 'HSquared.jl' engine for 'Julia'. Fits\nGaussian pedigree animal models by restricted maximum\nlikelihood, using average-information restricted maximum\nlikelihood (AI-REML; Gilmour et al. (1995)\n<doi:10.2307/2533274>) for the univariate model. Returns\nheritability, variance components, breeding values, and\ncovariance and correlation matrices for multivariate models.\nFormula and pedigree validation can run without 'Julia'. Model\nfitting requires a local 'Julia' and 'HSquared.jl'; use\nhs_control(engine = \"validate\") to preview the model contract\nwithout fitting. What you may report is listed on the package\narticle 'Can I fit and report this?', not in\nvalidation_status(), which is a developer evidence table.\nModel-specific restrictions are documented in that article.\nUncertainty intervals are not coverage-calibrated.",
  "License": "MIT + file LICENSE",
  "URL": "https://itchyshin.github.io/hsquared/,\nhttps://github.com/itchyshin/hsquared,\nhttps://github.com/itchyshin/HSquared.jl",
  "BugReports": "https://github.com/itchyshin/hsquared/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-21 17:46:43 UTC",
    "User": "root"
  },
  "Author": "Shinichi Nakagawa [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-7765-5182>), Yefeng Yang [aut,\ncph] (ORCID: <https://orcid.org/0000-0002-8610-4016>), Szymon\nDrobniak [aut, cph] (ORCID:\n<https://orcid.org/0000-0001-8101-6247>)",
  "Maintainer": "Shinichi Nakagawa <itchyshin@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-21 15:23:59 UTC",
  "RemoteUrl": "https://github.com/cran/hsquared",
  "RemoteRef": "HEAD",
  "RemoteSha": "0b9138d212f0237c5c9248016665ca24cc316f85",
  "_user": "cran",
  "_type": "src",
  "_file": "hsquared_0.9.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c164fc8aecba15919a58d244779dcd87493325bae01303932073b5dddd87766c",
  "_filesize": 1231936,
  "_sha256": "c164fc8aecba15919a58d244779dcd87493325bae01303932073b5dddd87766c",
  "_expires": "2027-01-29T17:51:13.000Z",
  "_created": "2026-10-21T17:46:43.000Z",
  "_published": "2026-10-21T17:51:15.536Z",
  "_upstream": "https://github.com/cran/hsquared",
  "_status": "success",
  "_maintainer": {
    "name": "Shinichi Nakagawa",
    "email": "itchyshin@gmail.com",
    "login": "itchyshin",
    "orcid": "0000-0002-7765-5182",
    "description": "An evolutionary biologist (with some Darwinian fitness in his arms), trying to learn how to use Git and R together. ",
    "uuid": 12078523
  },
  "_jobs": [
    {
      "job": 119384624004,
      "time": 218,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12367204139"
    },
    {
      "job": 119384623885,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12367966700"
    },
    {
      "job": 119382906098,
      "time": 198,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12366958523"
    },
    {
      "job": 119384623988,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12368525919"
    },
    {
      "job": 119384623903,
      "time": 150,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12366559329"
    },
    {
      "job": 119384623901,
      "time": 136,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12367976677"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39646323623",
  "_commit": {
    "id": "0b9138d212f0237c5c9248016665ca24cc316f85",
    "author": "Shinichi Nakagawa <itchyshin@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.9.0\n",
    "time": 1792596239
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "enhancer",
      "role": "Suggests"
    },
    {
      "package": "JuliaCall",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "nadiv",
      "role": "Suggests"
    },
    {
      "package": "pedigreemm",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sommer",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.9.0",
      "date": "2026-10-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "itchyshin",
      "count": 1,
      "uuid": 12078523
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hsquared"
  },
  "_devurl": "https://github.com/itchyshin/hsquared",
  "_pkgdown": "https://itchyshin.github.io/hsquared/",
  "_searchresults": 22,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hsquared.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.9.0",
      "date": "2026-10-21"
    }
  ],
  "_exports": [
    "accuracy",
    "animal",
    "autonomy",
    "autoplot",
    "backend_info",
    "BLUP",
    "breeding_values",
    "common_env",
    "common_env_effects",
    "common_env_proportion",
    "common_env_proportion_interval",
    "conditional_evolvability",
    "covariance_standard_errors",
    "covariance_structure_lrt",
    "cytoplasmic",
    "data_status",
    "direct_heritability",
    "direct_maternal_covariance",
    "direct_variance",
    "dominance",
    "EBV",
    "eigen_G",
    "epistasis",
    "eqtl_table",
    "evolvability",
    "fit_diagnostics",
    "fixef",
    "formula_status",
    "G_matrix",
    "g_max",
    "gamma_matrix",
    "genetic_correlation",
    "genetic_covariance",
    "genetic_loadings",
    "genomic",
    "group",
    "gwas",
    "gwas_table",
    "heritability",
    "heritability_interval",
    "heritability_standard_error",
    "hs_control",
    "hs_data",
    "hs_recovery_forest",
    "hsquared",
    "imprinting",
    "inbreeding",
    "latent_breeding_values",
    "lod_scores",
    "marker_effects",
    "marker_scan",
    "marker_variance_explained",
    "markers",
    "maternal_effects",
    "maternal_env",
    "maternal_genetic",
    "maternal_proportion",
    "maternal_proportion_interval",
    "mean_evolvability",
    "metafounder",
    "metafounder_effects",
    "metafounder_groups",
    "model_spec",
    "partner_variance",
    "paternal_env",
    "paternal_genetic",
    "permanent",
    "permanent_effects",
    "precision",
    "prediction_error_variance",
    "qtl_scan",
    "qtl_table",
    "R_matrix",
    "random_coefficients",
    "ranef",
    "reliability",
    "relmat",
    "repeatability",
    "repeatability_interval",
    "residual_correlation",
    "residual_covariance",
    "respondability",
    "rr_correlation",
    "rr_covariance",
    "rr_eigenfunctions",
    "rr_genetic_variance",
    "rr_heritability",
    "single_step",
    "specific_variance",
    "theme_hsquared",
    "total_heritability",
    "unknown_parent_group",
    "validation_status",
    "variance_along_gradient",
    "variance_component_standard_errors",
    "variance_components"
  ],
  "_help": [
    {
      "page": "animal",
      "title": "Animal-model formula marker",
      "topics": [
        "animal"
      ]
    },
    {
      "page": "backend_info",
      "title": "Inspect planned compute backends",
      "topics": [
        "backend_info"
      ]
    },
    {
      "page": "breeding_values",
      "title": "Extract breeding values",
      "topics": [
        "BLUP",
        "breeding_values",
        "EBV"
      ]
    },
    {
      "page": "common_env_effects",
      "title": "Extract common-environment effects",
      "topics": [
        "common_env_effects"
      ]
    },
    {
      "page": "common_env_proportion",
      "title": "Extract the common-environment variance ratio (c2)",
      "topics": [
        "common_env_proportion"
      ]
    },
    {
      "page": "common_env_proportion_interval",
      "title": "Extract an experimental common-environment / maternal variance-ratio interval",
      "topics": [
        "common_env_proportion_interval",
        "maternal_proportion_interval"
      ]
    },
    {
      "page": "covariance_standard_errors",
      "title": "Extract experimental multivariate covariance standard errors",
      "topics": [
        "covariance_standard_errors"
      ]
    },
    {
      "page": "covariance_structure_lrt",
      "title": "Likelihood-ratio test for genetic covariance structure",
      "topics": [
        "covariance_structure_lrt"
      ]
    },
    {
      "page": "data_status",
      "title": "Inspect hsquared data-container status",
      "topics": [
        "data_status"
      ]
    },
    {
      "page": "direct_maternal_extractors",
      "title": "Direct-maternal correlated model extractors",
      "topics": [
        "direct_heritability",
        "direct_maternal_covariance",
        "direct_maternal_extractors",
        "direct_variance",
        "partner_variance",
        "total_heritability"
      ]
    },
    {
      "page": "factor_g_extractors",
      "title": "Reserved factor-analytic and G-matrix extractors",
      "topics": [
        "factor_g_extractors",
        "genetic_loadings",
        "latent_breeding_values",
        "specific_variance"
      ]
    },
    {
      "page": "fit_diagnostics",
      "title": "Inspect fitted-model diagnostics",
      "topics": [
        "fit_diagnostics"
      ]
    },
    {
      "page": "fixef",
      "title": "Extract fixed effects",
      "topics": [
        "fixef"
      ]
    },
    {
      "page": "formula_status",
      "title": "Inspect formula grammar status",
      "topics": [
        "formula_status"
      ]
    },
    {
      "page": "g_matrix_geometry",
      "title": "G-matrix geometry and evolvability",
      "topics": [
        "autonomy",
        "conditional_evolvability",
        "eigen_G",
        "evolvability",
        "g_matrix_geometry",
        "g_max",
        "mean_evolvability",
        "respondability",
        "variance_along_gradient"
      ]
    },
    {
      "page": "gamma_matrix",
      "title": "Extract a supplied metafounder Gamma matrix",
      "topics": [
        "gamma_matrix"
      ]
    },
    {
      "page": "genomic_markers",
      "title": "Genomic and QTL formula markers",
      "topics": [
        "genomic",
        "genomic_markers",
        "markers",
        "marker_scan",
        "qtl_scan",
        "single_step"
      ]
    },
    {
      "page": "gwas",
      "title": "Post-fit relatedness-corrected marker scan (GWAS)",
      "topics": [
        "gwas"
      ]
    },
    {
      "page": "heritability",
      "title": "Extract heritability estimates",
      "topics": [
        "heritability"
      ]
    },
    {
      "page": "heritability_interval",
      "title": "Extract an experimental heritability confidence interval",
      "topics": [
        "heritability_interval"
      ]
    },
    {
      "page": "hs_control",
      "title": "Create hsquared control options",
      "topics": [
        "hs_control"
      ]
    },
    {
      "page": "hs_data",
      "title": "Create an hsquared data container",
      "topics": [
        "hs_data"
      ]
    },
    {
      "page": "hs_recovery_forest",
      "title": "Forest plot of a known-truth recovery study",
      "topics": [
        "hs_recovery_forest"
      ]
    },
    {
      "page": "hsquared",
      "title": "Fit a quantitative-genetic model",
      "topics": [
        "hsquared"
      ]
    },
    {
      "page": "hsquared-autoplot",
      "title": "ggplot2 visualizations for hsquared results",
      "topics": [
        "autoplot.hsquared_fit",
        "autoplot.hs_gwas",
        "hsquared-autoplot"
      ]
    },
    {
      "page": "inference_blocks",
      "title": "Block unsupported likelihood-inference helpers",
      "topics": [
        "anova.hsquared_fit",
        "confint.hsquared_fit",
        "inference_blocks",
        "profile.hsquared_fit",
        "vcov.hsquared_fit"
      ]
    },
    {
      "page": "marker_extractors",
      "title": "Extract planned marker, QTL, GWAS, and eQTL results",
      "topics": [
        "eqtl_table",
        "gwas_table",
        "lod_scores",
        "marker_effects",
        "marker_extractors",
        "marker_variance_explained",
        "qtl_table"
      ]
    },
    {
      "page": "maternal_effects",
      "title": "Extract maternal genetic effects",
      "topics": [
        "maternal_effects"
      ]
    },
    {
      "page": "maternal_proportion",
      "title": "Extract the maternal variance ratio (m2)",
      "topics": [
        "maternal_proportion"
      ]
    },
    {
      "page": "metafounder_effects",
      "title": "Reserved metafounder effect extractor",
      "topics": [
        "metafounder_effects"
      ]
    },
    {
      "page": "metafounder_groups",
      "title": "Extract supplied metafounder group assignments",
      "topics": [
        "metafounder_groups"
      ]
    },
    {
      "page": "model_spec",
      "title": "Inspect a parsed hsquared model specification",
      "topics": [
        "model_spec"
      ]
    },
    {
      "page": "multivariate_extractors",
      "title": "Extract multivariate covariance and correlation matrices",
      "topics": [
        "genetic_correlation",
        "genetic_covariance",
        "G_matrix",
        "multivariate_extractors",
        "residual_correlation",
        "residual_covariance",
        "R_matrix"
      ]
    },
    {
      "page": "permanent_effects",
      "title": "Extract permanent-environment effects",
      "topics": [
        "permanent_effects"
      ]
    },
    {
      "page": "plot.hsquared_fit",
      "title": "Diagnostic plots for a fitted animal model",
      "topics": [
        "plot.hsquared_fit"
      ]
    },
    {
      "page": "prediction_error_variance",
      "title": "Extract prediction error variances",
      "topics": [
        "prediction_error_variance"
      ]
    },
    {
      "page": "qg_effect_markers",
      "title": "Quantitative-genetic formula markers",
      "topics": [
        "common_env",
        "cytoplasmic",
        "dominance",
        "epistasis",
        "group",
        "imprinting",
        "inbreeding",
        "maternal_env",
        "maternal_genetic",
        "metafounder",
        "paternal_env",
        "paternal_genetic",
        "permanent",
        "precision",
        "qg_effect_markers",
        "relmat",
        "unknown_parent_group"
      ]
    },
    {
      "page": "random_regression_extractors",
      "title": "Random-regression (reaction-norm) extractors",
      "topics": [
        "random_coefficients",
        "random_regression_extractors",
        "rr_correlation",
        "rr_covariance",
        "rr_eigenfunctions",
        "rr_genetic_variance",
        "rr_heritability"
      ]
    },
    {
      "page": "ranef",
      "title": "Extract random effects",
      "topics": [
        "ranef"
      ]
    },
    {
      "page": "reliability",
      "title": "Extract reliability and accuracy estimates",
      "topics": [
        "accuracy",
        "reliability"
      ]
    },
    {
      "page": "repeatability",
      "title": "Extract repeatability estimates",
      "topics": [
        "repeatability"
      ]
    },
    {
      "page": "repeatability_interval",
      "title": "Extract an experimental repeatability confidence interval",
      "topics": [
        "repeatability_interval"
      ]
    },
    {
      "page": "response_scale_methods",
      "title": "Response-scale prediction helpers",
      "topics": [
        "fitted.hsquared_fit",
        "predict.hsquared_fit",
        "residuals.hsquared_fit",
        "response_scale_methods"
      ]
    },
    {
      "page": "theme_hsquared",
      "title": "hsquared ggplot2 theme",
      "topics": [
        "theme_hsquared"
      ]
    },
    {
      "page": "validation_status",
      "title": "Inspect validation evidence status",
      "topics": [
        "validation_status"
      ]
    },
    {
      "page": "variance_component_standard_errors",
      "title": "Extract experimental variance-component and heritability standard errors",
      "topics": [
        "heritability_standard_error",
        "variance_component_standard_errors"
      ]
    },
    {
      "page": "variance_components",
      "title": "Extract variance components",
      "topics": [
        "variance_components"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/hsquared/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/cran/hsquared/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "hsquared.Rmd",
      "filename": "hsquared.html",
      "title": "Getting started with hsquared",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Check the model (no Julia)",
        "Fit (needs the Julia engine)",
        "After this works",
        "Twin-package flow"
      ],
      "created": "2026-10-21 15:23:59",
      "modified": "2026-10-21 15:23:59",
      "commits": 1
    }
  ],
  "_score": 3.041392685158225,
  "_indexed": true,
  "_nocasepkg": "hsquared",
  "_universes": [
    "cran",
    "itchyshin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-10-21T17:49:41.000Z",
      "distro": "resolute",
      "commit": "0b9138d212f0237c5c9248016665ca24cc316f85",
      "fileid": "https://r2.ropensci.org/5a66cd546becd470d463f79751f1a90e2c98cfa1f56afbfe19df3497dcefbc34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39646323623"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-10-21T17:48:48.000Z",
      "distro": "resolute",
      "commit": "0b9138d212f0237c5c9248016665ca24cc316f85",
      "fileid": "https://r2.ropensci.org/59883d0b4d4e11c10e65ade6d795e8287b02ce3dff8207bcba92fdc6383db2b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39646323623"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.0",
      "date": "2026-10-21T17:48:48.000Z",
      "commit": "0b9138d212f0237c5c9248016665ca24cc316f85",
      "fileid": "https://r2.ropensci.org/45c3d196a3a0fe01e9eea7ef69296ade3cb1bcbb7a3e083f8890a90d1313adef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39646323623"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-10-21T17:48:14.000Z",
      "commit": "0b9138d212f0237c5c9248016665ca24cc316f85",
      "fileid": "https://r2.ropensci.org/b9bba22f57804768766f474cfda2e36db506ff17bf8dc8fb70907717b44fb81a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39646323623"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-10-21T17:48:02.000Z",
      "commit": "0b9138d212f0237c5c9248016665ca24cc316f85",
      "fileid": "https://r2.ropensci.org/2c51511fbdb240a334947e4b9d861ba0abb6b221dd7e1ca739caa02ca2094859",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39646323623"
    }
  ]
}