{
  "_id": "6a17d869acfb0bcc41d9b011",
  "Package": "ShiVa",
  "Type": "Package",
  "Title": "Detection of Evolutionary Shifts in Both Optimal Value and\nVariance",
  "Version": "1.1.1",
  "Authors@R": "c(person(\"Wensha\", \"Zhang\", email = \"wn209685@dal.ca\", role = c(\"aut\", \"cre\")),\nperson(\"Lam Si Tung\", \"Ho\", email = \"Lam.Ho@dal.ca\", role = \"aut\"),\nperson(\"Toby\", \"Kenney\", email = \"tb432381@dal.ca\", role = \"aut\"))",
  "Description": "Implements statistical methods for detecting evolutionary\nshifts in both the optimal trait value (mean) and evolutionary\ndiffusion variance. The method uses an L1-penalized\noptimization framework to identify branches where shifts occur,\nand the shift magnitudes. It also supports the inclusion of\nmeasurement error. For more details, see Zhang, Ho, and Kenney\n(2023) <doi:10.48550/arXiv.2312.17480>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://wenshaz.r-universe.dev",
  "Date/Publication": "2026-04-27 01:07:31 UTC",
  "RemoteUrl": "https://github.com/wenshaz/shiva",
  "RemoteRef": "HEAD",
  "RemoteSha": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 10:48:35 UTC",
    "User": "root"
  },
  "Author": "Wensha Zhang [aut, cre],\nLam Si Tung Ho [aut],\nToby Kenney [aut]",
  "Maintainer": "Wensha Zhang <wn209685@dal.ca>",
  "MD5sum": "af699cc6a5db9a70234f2318e81b7cb2",
  "_user": "wenshaz",
  "_type": "src",
  "_file": "ShiVa_1.1.1.tar.gz",
  "_fileid": "1a5f6ac88f95d14e45d1527a4c9520ac361b2abd0c3d8320d6c7f793bbb7c4fe",
  "_filesize": 264513,
  "_sha256": "1a5f6ac88f95d14e45d1527a4c9520ac361b2abd0c3d8320d6c7f793bbb7c4fe",
  "_created": "2026-05-27T10:48:35.000Z",
  "_published": "2026-05-28T05:53:45.154Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78231982995,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7238467409"
    },
    {
      "job": 78231983020,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7238462386"
    },
    {
      "job": 78231982956,
      "time": 139,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7238457533"
    },
    {
      "job": 78231982919,
      "time": 169,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7238465507"
    },
    {
      "job": 78231982890,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238419870"
    },
    {
      "job": 78231983005,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7238456169"
    },
    {
      "job": 78231983088,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7238450390"
    },
    {
      "job": 78231982776,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7258667464"
    },
    {
      "job": 78231983117,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7238449900"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wenshaz/actions/runs/26506442328",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/wenshaz/shiva",
  "_commit": {
    "id": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
    "author": "WenshaZ <wn209685@dal.ca>",
    "committer": "WenshaZ <wn209685@dal.ca>",
    "message": "Restore docs/ShiVa-example.html for GitHub Pages\n\nThe Pages build deploys from /docs; the vignette HTML was lost in v1.1.0.\nRegenerated against v1.1.1 from vignettes/ShiVa-example.Rmd.\n\nCo-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>\n",
    "time": 1777252051
  },
  "_maintainer": {
    "name": "Wensha Zhang",
    "email": "wn209685@dal.ca",
    "login": "wenshaz",
    "description": "",
    "uuid": 99712726
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "ape",
      "role": "Imports"
    },
    {
      "package": "phylolm",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "wenshaz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 7
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.2",
      "date": "2025-08-21"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "wenshaz",
      "count": 30,
      "uuid": 99712726
    }
  ],
  "_userbio": {
    "uuid": 99712726,
    "type": "user",
    "name": "WenshaZ"
  },
  "_downloads": {
    "count": 461,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ShiVa"
  },
  "_devurl": "https://github.com/wenshaz/shiva",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/ShiVa.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/wenshaz/shiva",
  "_realowner": "wenshaz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2025-07-22"
    },
    {
      "version": "1.0.2",
      "date": "2025-08-22"
    }
  ],
  "_exports": [
    "backward_correction",
    "fit_OU_mean_var",
    "generate_design_matrix",
    "get_mean_var_shifts",
    "get_mean_var_shifts_model_selection",
    "ShiVa",
    "soft_thresholding",
    "update_step_gamma"
  ],
  "_help": [
    {
      "page": "backward_correction",
      "title": "Backward Selection for Shift Correction",
      "topics": [
        "backward_correction"
      ]
    },
    {
      "page": "fit_OU_mean_var",
      "title": "Fit OU Model with Shifts in Mean and Variance",
      "topics": [
        "fit_OU_mean_var"
      ]
    },
    {
      "page": "generate_design_matrix",
      "title": "Generate Design Matrix",
      "topics": [
        "generate_design_matrix"
      ]
    },
    {
      "page": "get_mean_var_shifts",
      "title": "Estimate Shifts in Mean and Variance (LASSO)",
      "topics": [
        "get_mean_var_shifts"
      ]
    },
    {
      "page": "get_mean_var_shifts_model_selection",
      "title": "Model Selection for Shifts in Mean and Variance",
      "topics": [
        "get_mean_var_shifts_model_selection"
      ]
    },
    {
      "page": "OU.vcv",
      "title": "OU.vcv",
      "topics": [
        "OU.vcv"
      ]
    },
    {
      "page": "plot.ShiftModel",
      "title": "Plot Method for ShiftModel Objects",
      "topics": [
        "plot.ShiftModel"
      ]
    },
    {
      "page": "print.summary.ShiftModel",
      "title": "Print Method for Summary of ShiftModel",
      "topics": [
        "print.summary.ShiftModel"
      ]
    },
    {
      "page": "ShiVa",
      "title": "ShiVa: Automatic Shift Detection in Mean and Variance",
      "topics": [
        "ShiVa"
      ]
    },
    {
      "page": "soft_thresholding",
      "title": "Soft Thresholding",
      "topics": [
        "soft_thresholding"
      ]
    },
    {
      "page": "summary.ShiftModel",
      "title": "Summary of a ShiVa Shift Model",
      "topics": [
        "summary.ShiftModel"
      ]
    },
    {
      "page": "update_step_gamma",
      "title": "Update Step for Gamma",
      "topics": [
        "update_step_gamma"
      ]
    }
  ],
  "_readme": "https://github.com/wenshaz/shiva/raw/HEAD/README.md",
  "_rundeps": [
    "ape",
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "foreach",
    "future",
    "future.apply",
    "glmnet",
    "globals",
    "glue",
    "GPArotation",
    "igraph",
    "iterators",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "Matrix",
    "mnormt",
    "nlme",
    "parallelly",
    "phylolm",
    "pkgconfig",
    "psych",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "shape",
    "survival",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "ShiVa-example.Rmd",
      "filename": "ShiVa-example.html",
      "title": "ShiVa Example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Setup",
        "Load example data",
        "Run ShiVa",
        "Visualize Detected Shifts",
        "Summarize Shifts"
      ],
      "created": "2025-07-16 08:59:42",
      "modified": "2026-04-26 21:15:57",
      "commits": 4
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "shiva",
  "_universes": [
    "wenshaz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-05-27T10:50:47.000Z",
      "distro": "noble",
      "commit": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
      "fileid": "78d55080d3352f1cdd5a2168028b8bec7091cc81d0d347184f0db5d21d86504b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/wenshaz/actions/runs/26506442328"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-05-27T10:50:33.000Z",
      "distro": "noble",
      "commit": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
      "fileid": "abd12631dd416a6ea54cd47e9ee4a30c9ce1049dec8ded4b530d6b88664a4317",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/wenshaz/actions/runs/26506442328"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-05-27T10:50:31.000Z",
      "commit": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
      "fileid": "a67bba6128b943d708a731a55a63be79087d0502c0d55ca2b124c92f56edf962",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/wenshaz/actions/runs/26506442328"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-05-27T10:50:47.000Z",
      "commit": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
      "fileid": "45d1a77882feb0048ce193b3ac8883991acba173d8629d44630490f77dd3ff74",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/wenshaz/actions/runs/26506442328"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-05-27T10:50:44.000Z",
      "commit": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
      "fileid": "701f2667d49a7bf55e623a48d585cd4f0d4b3810328377466d8c8b8a2b9a5633",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wenshaz/actions/runs/26506442328"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-27T10:49:51.000Z",
      "commit": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
      "fileid": "9a056bee2c1d0d923286ba34fb70e2b4931352aac9850e1efa4c93214cc6a3e7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/wenshaz/actions/runs/26506442328"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-28T05:52:49.000Z",
      "commit": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
      "fileid": "2e28576a08328b017f486b648b53593673ba5b34d148928c92e2f1052033256e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/wenshaz/actions/runs/26506442328"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-27T10:49:49.000Z",
      "commit": "491589cd3c1d59b25a049fa647568c4f650dcc6f",
      "fileid": "778f4ef5abe346d837081771642ee3b8b090b64b33f8d243dcf55935157d8cfc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/wenshaz/actions/runs/26506442328"
    }
  ]
}