{
  "_id": "6abcd69f99f7aa8c6aa4ca1c",
  "Package": "stateR",
  "Type": "Package",
  "Title": "Brain State Metrics for Functional Connectivity Studies",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Lucas\", \"França\", , \"lucas.franca@kcl.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0853-1319\")),\nperson(\"Dafnis\", \"Batallé\", , \"dafnis.batalle@kcl.ac.uk\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0003-2097-979X\")))",
  "Maintainer": "Lucas França <lucas.franca@kcl.ac.uk>",
  "Description": "Provides tidy tools for quantifying brain state dynamics\nfrom functional connectivity time series. Computes fractional\noccupancy, mean dwell time, and Markov-chain transition\nprobabilities across discrete brain states derived from\nclustering methods such as k-means or hidden Markov models.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "URL": "https://CoDe-Neuro.github.io/stateR,\nhttps://github.com/CoDe-Neuro/stateR",
  "BugReports": "https://github.com/CoDe-Neuro/stateR/issues",
  "Repository": "https://code-neuro.r-universe.dev",
  "Date/Publication": "2026-05-31 14:32:30 UTC",
  "RemoteUrl": "https://github.com/CoDe-Neuro/stateR",
  "RemoteRef": "v0.1.0",
  "RemoteSha": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-30 09:06:56 UTC",
    "User": "root"
  },
  "Author": "Lucas França [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0853-1319>),\nDafnis Batallé [aut] (ORCID: <https://orcid.org/0000-0003-2097-979X>)",
  "_user": "code-neuro",
  "_type": "src",
  "_file": "stateR_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/04b2c70440c46cd243186a3bb73c2f7e1cf1d96443ffd425bfdff4f22cf1e8bd",
  "_filesize": 117114,
  "_sha256": "04b2c70440c46cd243186a3bb73c2f7e1cf1d96443ffd425bfdff4f22cf1e8bd",
  "_expires": "2027-01-08T09:30:05.000Z",
  "_created": "2026-09-30T09:06:56.000Z",
  "_published": "2026-09-30T09:30:06.948Z",
  "_jobs": [
    {
      "job": 109817671869,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11086684407"
    },
    {
      "job": 109817672028,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11086664478"
    },
    {
      "job": 109817671812,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11088316480"
    },
    {
      "job": 109817671962,
      "time": 164,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11087693721"
    },
    {
      "job": 109816482851,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11086554657"
    },
    {
      "job": 109817671763,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11087220374"
    },
    {
      "job": 109817671995,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11087070796"
    },
    {
      "job": 109817671899,
      "time": 74,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11087200307"
    },
    {
      "job": 109817671934,
      "time": 83,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11086988297"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/code-neuro/actions/runs/36693640570",
  "_status": "success",
  "_upstream": "https://github.com/CoDe-Neuro/stateR",
  "_commit": {
    "id": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
    "author": "lucasfr <lucas.franca@northumbria.ac.uk>",
    "committer": "lucasfr <lucas.franca@northumbria.ac.uk>",
    "message": "🎨 style: revert to option A — teal nodes on cream palette\n",
    "time": 1780237950
  },
  "_maintainer": {
    "name": "Lucas França",
    "email": "lucas.franca@kcl.ac.uk",
    "login": "lucasfr",
    "description": "Immigrant, physicist, neuroscientist, open source and data science enthusiast.",
    "uuid": 502265,
    "orcid": "0000-0003-0853-1319"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "broom",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "code-neuro",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 17
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-05-31"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lucasfr",
      "count": 27,
      "uuid": 502265
    }
  ],
  "_userbio": {
    "uuid": 65711167,
    "type": "organization",
    "name": "CoDe-Neuro",
    "followers": 7
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stateR"
  },
  "_devurl": "https://github.com/code-neuro/stater",
  "_pkgdown": "https://CoDe-Neuro.github.io/stateR",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stateR.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "clusters_markov",
    "nest_dwell",
    "nest_fo"
  ],
  "_help": [
    {
      "page": "clusters_markov",
      "title": "This function reports the likelihood of transition between different states. The analysis is performed in a Markovian manner, i.e., without memory and all states have the same relevance.'",
      "topics": [
        "clusters_markov"
      ]
    },
    {
      "page": "dwellCount",
      "title": "This function obtains dwelling times for states from a list.",
      "topics": [
        "dwellCount"
      ]
    },
    {
      "page": "nest_dwell",
      "title": "This function estimates the dwelling time or continuous occupancy of a series of states.'",
      "topics": [
        "nest_dwell"
      ]
    },
    {
      "page": "nest_fo",
      "title": "This function estimates the fractional occupancy or probability of a series of states.'",
      "topics": [
        "nest_fo"
      ]
    }
  ],
  "_pkglogo": "https://github.com/CoDe-Neuro/stateR/raw/v0.1.0/man/figures/logo.svg",
  "_readme": "https://github.com/CoDe-Neuro/stateR/raw/v0.1.0/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "janitor",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "snakecase",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with stateR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is a brain state?",
        "Input format",
        "Simulated data",
        "Fractional occupancy with nest_fo()",
        "Dwell time with nest_dwell()",
        "Markov transitions with clusters_markov()",
        "Output structure at a glance",
        "Further reading"
      ],
      "created": "2026-05-31 13:51:02",
      "modified": "2026-05-31 13:51:02",
      "commits": 1
    },
    {
      "source": "grouped-pipeline.Rmd",
      "filename": "grouped-pipeline.html",
      "title": "Grouped pipeline: testing across states",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Simulated data",
        "Step 1 — Compute fractional occupancy",
        "Step 2 — Test each state",
        "Step 3 — Dwell time pipeline",
        "Step 4 — Markov transition pipeline",
        "Using ptestR for permutation tests",
        "Notes on vars and covariate carriage",
        "Further reading"
      ],
      "created": "2026-05-31 13:51:02",
      "modified": "2026-05-31 14:11:40",
      "commits": 3
    },
    {
      "source": "markov-transitions.Rmd",
      "filename": "markov-transitions.html",
      "title": "Markov transition probabilities",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is a Markov transition?",
        "Simulated data",
        "Computing transitions",
        "The transition matrix",
        "Removing self-transitions",
        "The tag convention",
        "vars vs groupBy",
        "Further reading"
      ],
      "created": "2026-05-31 13:51:02",
      "modified": "2026-05-31 14:11:40",
      "commits": 3
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "stater",
  "_universes": [
    "code-neuro",
    "lucasfr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-30T09:09:16.000Z",
      "distro": "resolute",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "https://r2.ropensci.org/c77c7c3d5c515c1900fd41070ad8738ed9c4dad0357ecee39a993845d83fb2fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/36693640570"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-30T09:09:09.000Z",
      "distro": "resolute",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "https://r2.ropensci.org/0311a68c491d1a5447d587d6a292711778667fe4277e5166b2442d81dee02fc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/36693640570"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-30T09:28:40.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "https://r2.ropensci.org/b15ac1b356f3a54157f7ca77dcc8552ebfcc6d62e96c385e9151bd7a43fbfcdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/36693640570"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-30T09:28:49.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "https://r2.ropensci.org/95adde2c265d60b65b715e2cdafc3ae72f5e330c7872a57f4d21111309befd8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/36693640570"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-09-30T09:09:13.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "https://r2.ropensci.org/5908c4e18c8f66e5cc92c03ff3a4a6a8bdd39f70e7ebb529873e3e5d79aaa0e2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/36693640570"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-30T09:08:10.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "https://r2.ropensci.org/0a9a007f6e9897f39fb79db6bb58b93aa46e043843207d74cb3868664bd9b0fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/36693640570"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-30T09:08:09.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "https://r2.ropensci.org/44ef1dfc38d6b680e028934f3050fc7847619271233016cd6c612d7607d38274",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/36693640570"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-30T09:08:16.000Z",
      "commit": "5e708ad6947ea0cbb3bb757d0a4427f815c5693f",
      "fileid": "https://r2.ropensci.org/ecbb14db3d44e66e448b067caccaffc5e2530f1b9d87572c03864dd1671a1a6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/code-neuro/actions/runs/36693640570"
    }
  ]
}