{
  "_id": "6abba66799f7aa8c6aa47839",
  "Package": "MSCA",
  "Title": "Unsupervised Clustering of Multiple Censored Time-to-Event\nEndpoints",
  "Version": "1.4.0",
  "Authors@R": "person(\"Marc\", \"Delord\", email = \"mdelord@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-0455-6749\"))",
  "Description": "Provides basic tools and wrapper functions for computing\nclusters of instances described by multiple time-to-event\ncensored endpoints. From long-format datasets, where one\ninstance is described by one or more dated records, the main\nfunction, `make_state_matrices()`, creates state matrices.\nBased on these matrices, optimised procedures using the Jaccard\ndistance between instances enable the construction of\nlongitudinal typologies. The package is under active\ndevelopment, with additional tools for graphical representation\nof typologies planned. For methodological details, see our\naccompanying paper: `Delord M, Douiri A (2025)\n<doi:10.1186/s12874-025-02476-7>`.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "SystemRequirements": "GNU make",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://marc-75.r-universe.dev",
  "Date/Publication": "2026-09-27 15:27:28 UTC",
  "RemoteUrl": "https://github.com/marc-75/msca",
  "RemoteRef": "HEAD",
  "RemoteSha": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-29 10:39:50 UTC",
    "User": "root"
  },
  "Author": "Marc Delord [aut, cre] (ORCID: <https://orcid.org/0000-0002-0455-6749>)",
  "Maintainer": "Marc Delord <mdelord@gmail.com>",
  "_user": "marc-75",
  "_type": "src",
  "_file": "MSCA_1.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d476855059a4f19300c0a8cc392cdcc83d8f2bd11412099b92b5a5c2a1f68fa8",
  "_filesize": 1564241,
  "_sha256": "d476855059a4f19300c0a8cc392cdcc83d8f2bd11412099b92b5a5c2a1f68fa8",
  "_expires": "2027-01-07T11:52:05.000Z",
  "_created": "2026-09-29T10:39:50.000Z",
  "_published": "2026-09-29T11:52:07.317Z",
  "_jobs": [
    {
      "job": 109368493961,
      "time": 145,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11027694338"
    },
    {
      "job": 109368493938,
      "time": 200,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11027149878"
    },
    {
      "job": 109368493853,
      "time": 146,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11027664290"
    },
    {
      "job": 109368493799,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11027804215"
    },
    {
      "job": 109368493969,
      "time": 194,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11031042201"
    },
    {
      "job": 109368493881,
      "time": 311,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11030714409"
    },
    {
      "job": 109368494059,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11031660619"
    },
    {
      "job": 109368493875,
      "time": 327,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11030744203"
    },
    {
      "job": 109366850579,
      "time": 295,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11027979183"
    },
    {
      "job": 109368493689,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11027234668"
    },
    {
      "job": 109368494037,
      "time": 354,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11028830349"
    },
    {
      "job": 109368493960,
      "time": 154,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11026909728"
    },
    {
      "job": 109368494086,
      "time": 160,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11027964312"
    },
    {
      "job": 109368493956,
      "time": 361,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11028740396"
    },
    {
      "job": 109368493959,
      "time": 162,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11028089120"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865",
  "_status": "success",
  "_upstream": "https://github.com/marc-75/msca",
  "_commit": {
    "id": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
    "author": "marc <mdelord@gmail.com>",
    "committer": "marc <mdelord@gmail.com>",
    "message": "Version 1.4.0: fix medoid indexing, CRAN resubmission\n",
    "time": 1790522848
  },
  "_maintainer": {
    "name": "Marc Delord",
    "email": "mdelord@gmail.com",
    "login": "marc-75",
    "description": "",
    "uuid": 6986939,
    "orcid": "0000-0002-0455-6749"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "fastkmedoids",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.1.10",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "cluster",
      "role": "Suggests"
    },
    {
      "package": "fastcluster",
      "role": "Suggests"
    }
  ],
  "_owner": "marc-75",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-39",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "marc-75",
      "count": 12,
      "uuid": 6986939
    }
  ],
  "_userbio": {
    "uuid": 6986939,
    "type": "user",
    "name": "Marc DELORD",
    "followers": 0
  },
  "_downloads": {
    "count": 33,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MSCA"
  },
  "_devurl": "https://github.com/marc-75/msca",
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/MSCA.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/marc-75/msca",
  "_realowner": "marc-75",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2025-02-19"
    },
    {
      "version": "1.1.1",
      "date": "2025-06-02"
    },
    {
      "version": "1.2.1",
      "date": "2025-06-13"
    },
    {
      "version": "1.4.0",
      "date": "2026-09-28"
    }
  ],
  "_exports": [
    "fast_clara_jaccard",
    "fast_jaccard_dist",
    "get_cluster_sequences",
    "make_state_matrices",
    "sequence_stats"
  ],
  "_datasets": [
    {
      "name": "EHR",
      "title": "Description of the EHR dataset",
      "object": "EHR",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "link_id",
        "reg",
        "aos"
      ],
      "rows": 4856,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "EHR",
      "title": "Description of the EHR dataset",
      "topics": [
        "EHR"
      ]
    },
    {
      "page": "fast_clara_jaccard",
      "title": "Fast CLARA-like clustering using Jaccard dissimilarity - beta version - under assessment",
      "topics": [
        "fast_clara_jaccard"
      ]
    },
    {
      "page": "fast_jaccard_dist",
      "title": "Compute upper triangle Jaccard distance",
      "topics": [
        "fast_jaccard_dist"
      ]
    },
    {
      "page": "get_cluster_sequences",
      "title": "Extract sequences of length k within clusters",
      "concept": [
        "Sequence analysis"
      ],
      "topics": [
        "get_cluster_sequences"
      ]
    },
    {
      "page": "make_state_matrices",
      "title": "Construct state matrices from longitudinal EHR Data",
      "concept": [
        "Censored state matrix"
      ],
      "topics": [
        "make_state_matrices"
      ]
    },
    {
      "page": "sequence_stats",
      "title": "Compute sequence statistics",
      "topics": [
        "sequence_stats"
      ]
    }
  ],
  "_readme": "https://github.com/marc-75/msca/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "data.table",
    "dplyr",
    "fastkmedoids",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "MSCA.Rmd",
      "filename": "MSCA.html",
      "title": "MSCA",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "From electronic health records to state matrices",
        "Load data and compute individual patient state matrices",
        "Compute the Jaccard distance between patients",
        "Analyse clusters and get sequences statistics"
      ],
      "created": "2025-06-03 09:43:06",
      "modified": "2026-09-27 15:27:28",
      "commits": 4
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "msca",
  "_universes": [
    "marc-75"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-09-29T10:42:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/3a7546b03e455af0a35738e8553393b43b959acc608adfcbb99a696b136a57f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-09-29T10:42:53.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/9304a8b3906f6a87855d46a8d42cea516646932bb1f3c09b92d7307a5b85a3e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-09-29T10:42:18.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/8f47c632c6f123ee433ec9c428cc4a05f6b4889e83828120c98313b45cbc2107",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-09-29T10:42:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/ecd064efef8955292123f4337c9997f68972d358462048c30a8cbcc322cb572c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-09-29T11:50:34.000Z",
      "arch": "aarch64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/caf7530b2666649b897c0682f0ce4a77b9ab224390b8e906fff4afc02bac21ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-09-29T11:48:30.000Z",
      "arch": "x86_64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/52fd47f13395648f02672b986fb44b156d1bbd31b68a6e630747b85c75e29295",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-09-29T11:49:03.000Z",
      "arch": "aarch64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/ece5f1545ea811d9365c157a195d90719d919c17170bec9045968cdc3e75f13f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-09-29T11:48:04.000Z",
      "arch": "x86_64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/c1f6adaf52e1f39a32ebb5851493fd07956f804784418774bef456a477c5b725",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-09-29T10:42:49.000Z",
      "arch": "emscripten",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/d4173f1f80de3d57742ee345164e97fc628bb740cbe30d1072fcb80c44dceefd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-29T10:44:58.000Z",
      "arch": "aarch64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/f604f572245da57b51280a6755e836216b6c9b3949c7a347e88a14be63290ca6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-29T10:41:21.000Z",
      "arch": "x86_64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/3c88d3bb1f9b9472010f82feb9677628fd77e058bec881e541f3d06606679251",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-29T10:41:31.000Z",
      "arch": "x86_64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/edb9b64ec6333fc2d69669001b4b2415dfba071d64c8c692cd113aba2586a5bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-29T10:44:55.000Z",
      "arch": "aarch64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/081cde255364a89394eea1693cca2bc34dde6a38199ddfe90889f1be535787f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-09-29T10:41:47.000Z",
      "arch": "x86_64",
      "commit": "dc4391b051f0b75de4f09a66220cd69e7b24743f",
      "fileid": "https://r2.ropensci.org/5b0d8787f521c5c47b724379672e5288d381e208908c57f3d4259ecbc173f119",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marc-75/actions/runs/36556477865"
    }
  ]
}