{
  "_id": "6a5cd74d9baadeef8ab525b2",
  "Package": "TreeMineR",
  "Type": "Package",
  "Title": "Tree-Based Scan Statistics",
  "Version": "1.0.4.9000",
  "Authors@R": "c(person(given = \"Joshua P.\",\nfamily = \"Entrop\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"joshuaentrop@posteo.de\",\ncomment = c(ORCID = \"0000-0003-1614-8096\")),\nperson(given = \"Viktor\",\nfamily = \"Wintzell\",\nrole = \"aut\",\nemail = \"viktor.wintzell@ki.se\"))",
  "Description": "Implementation of unconditional Bernoulli Scan Statistic\ndeveloped by Kulldorff et al. (2003)\n<doi:10.1111/1541-0420.00039> for hierarchical tree structures.\nTree-based Scan Statistics are an exploratory method to\nidentify event clusters across the space of a hierarchical\ntree.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "URL": "https://entjos.github.io/TreeMineR/,\nhttps://github.com/entjos/TreeMineR",
  "BugReports": "https://github.com/entjos/TreeMineR/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://entjos.r-universe.dev",
  "Date/Publication": "2026-07-19 12:22:19 UTC",
  "RemoteUrl": "https://github.com/entjos/treeminer",
  "RemoteRef": "HEAD",
  "RemoteSha": "b4970be66b8174ed5151f0421e3268370a550311",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-19 13:51:49 UTC",
    "User": "root"
  },
  "Author": "Joshua P. Entrop [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-1614-8096>),\nViktor Wintzell [aut]",
  "Maintainer": "Joshua P. Entrop <joshuaentrop@posteo.de>",
  "_user": "entjos",
  "_type": "src",
  "_file": "TreeMineR_1.0.4.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/fb22a2cfe4d5404799122fe0fe55c2d13cca2a280903d8f78b35b3847896870f",
  "_filesize": 645063,
  "_sha256": "fb22a2cfe4d5404799122fe0fe55c2d13cca2a280903d8f78b35b3847896870f",
  "_expires": "2026-10-27T13:55:23.000Z",
  "_created": "2026-07-19T13:51:49.000Z",
  "_published": "2026-07-19T13:55:25.479Z",
  "_jobs": [
    {
      "job": 88200139520,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8443207072"
    },
    {
      "job": 88200139529,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8443205759"
    },
    {
      "job": 88200139519,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8443192543"
    },
    {
      "job": 88200139543,
      "time": 82,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8443191658"
    },
    {
      "job": 88199863294,
      "time": 191,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8443177935"
    },
    {
      "job": 88200139514,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8443196628"
    },
    {
      "job": 88200139561,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8443194966"
    },
    {
      "job": 88200139569,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8443194852"
    },
    {
      "job": 88200139552,
      "time": 113,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8443198136"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/entjos/actions/runs/29689586857",
  "_status": "success",
  "_upstream": "https://github.com/entjos/treeminer",
  "_commit": {
    "id": "b4970be66b8174ed5151f0421e3268370a550311",
    "author": "entjos <joshuaentrop@posteo.de>",
    "committer": "entjos <joshuaentrop@posteo.de>",
    "message": "Fix Monte Carlo P-value calculation and undefined LLR at exposure boundaries\n\nSimulated maximum LLRs equal to the observed value are now counted as at\nleast as extreme as the observed value, as required for a valid Monte\nCarlo P-value; excluding ties inflated the family-wise type-I error rate,\nespecially for sparse count data. Nodes in which every individual is\nexposed or unexposed no longer get an undefined (NaN) log-likelihood\nratio and are no longer silently dropped from the simulated reference\ndistribution and reported results. Also add input validation rejecting\np <= 0 or p >= 1, which made the log-likelihood ratio degenerate.\n\nReported in #9.\n\nCo-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>\n",
    "time": 1784463739
  },
  "_maintainer": {
    "name": "Joshua P. Entrop",
    "email": "joshuaentrop@posteo.de",
    "login": "entjos",
    "linkedin": "in/joshua-entrop",
    "orcid": "0000-0003-1614-8096",
    "description": "I am a biostatistician at Red Door Analytics AB, who mostly works with survival analysis & cancer epidemiology.",
    "uuid": 33284526
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.1",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Suggests"
    },
    {
      "package": "comorbidity",
      "version": ">= 1.0.7",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "entjos",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 6
    },
    {
      "week": "2026-29",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.4",
      "date": "2026-02-27"
    }
  ],
  "_topics": [
    "tree-based-scan-statistics"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "entjos",
      "count": 111,
      "uuid": 33284526
    },
    {
      "user": "michaelchirico",
      "count": 1,
      "uuid": 7606389
    }
  ],
  "_userbio": {
    "uuid": 33284526,
    "type": "user",
    "name": "Joshua Philipp Entrop",
    "followers": 22,
    "description": "I am a biostatistician at Red Door Analytics AB, who mostly works with survival analysis & cancer epidemiology."
  },
  "_downloads": {
    "count": 236,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TreeMineR"
  },
  "_devurl": "https://github.com/entjos/treeminer",
  "_pkgdown": "https://entjos.github.io/TreeMineR/",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/TreeMineR.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/entjos/treeminer",
  "_realowner": "entjos",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-03-22"
    },
    {
      "version": "1.0.1",
      "date": "2024-04-02"
    },
    {
      "version": "1.0.2",
      "date": "2024-08-27"
    },
    {
      "version": "1.0.3",
      "date": "2025-04-05"
    },
    {
      "version": "1.0.4",
      "date": "2026-02-27"
    }
  ],
  "_exports": [
    "create_tree",
    "drop_cuts",
    "TreeMineR"
  ],
  "_datasets": [
    {
      "name": "atc_codes",
      "title": "Hierarchical tree of the ATC system for classifying drugs",
      "object": "atc_codes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "pathString"
      ],
      "rows": 6797,
      "table": true,
      "tojson": true
    },
    {
      "name": "diagnoses",
      "title": "Test dataset of ICD diagnoses",
      "object": "diagnoses",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "id",
        "leaf",
        "exposed"
      ],
      "rows": 22989,
      "table": true,
      "tojson": true
    },
    {
      "name": "icd_10_se",
      "title": "Swedish version of the ICD-10 diagnoses code tree",
      "object": "icd_10_se",
      "class": [
        "data.frame"
      ],
      "fields": [
        "pathString"
      ],
      "rows": 38925,
      "table": true,
      "tojson": true
    },
    {
      "name": "icd_10_se_dict",
      "title": "Dictionary for the Swedish version of the ICD-10 diagnoses code tree",
      "object": "icd_10_se_dict",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "title",
        "node"
      ],
      "rows": 38925,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "atc_codes",
      "title": "Hierarchical tree of the ATC system for classifying drugs",
      "topics": [
        "atc_codes"
      ]
    },
    {
      "page": "create_tree",
      "title": "Creating a tree file for further use in 'TreeMineR()'.",
      "topics": [
        "create_tree"
      ]
    },
    {
      "page": "diagnoses",
      "title": "Test dataset of ICD diagnoses",
      "topics": [
        "diagnoses"
      ]
    },
    {
      "page": "drop_cuts",
      "title": "Remove cuts from your tree. This is, e.g., useful if you would like to remove certain chapters from the ICD-10 tree used for the analysis as some chapters might be a prior deemed irrelevant for the exposure of interest, e.g., chapter 20 (external causes of death) might not be of interest when comparing two drug exposures.",
      "topics": [
        "drop_cuts"
      ]
    },
    {
      "page": "icd_10_se",
      "title": "Swedish version of the ICD-10 diagnoses code tree",
      "topics": [
        "icd_10_se"
      ]
    },
    {
      "page": "icd_10_se_dict",
      "title": "Dictionary for the Swedish version of the ICD-10 diagnoses code tree",
      "topics": [
        "icd_10_se_dict"
      ]
    },
    {
      "page": "TreeMineR",
      "title": "Unconditional Bernoulli Tree-Based Scan Statistics for R",
      "topics": [
        "TreeMineR"
      ]
    }
  ],
  "_readme": "https://github.com/entjos/treeminer/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "data.table",
    "digest",
    "future",
    "future.apply",
    "globals",
    "listenv",
    "parallelly"
  ],
  "_vignettes": [
    {
      "source": "Tree-based-scan-statistics.Rmd",
      "filename": "Tree-based-scan-statistics.html",
      "title": "Tree Based Scan Statistics",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-04-05 12:17:53",
      "modified": "2025-04-05 12:17:53",
      "commits": 1
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "treeminer",
  "_universes": [
    "entjos"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-07-19T13:54:31.000Z",
      "distro": "resolute",
      "commit": "b4970be66b8174ed5151f0421e3268370a550311",
      "fileid": "https://r2.ropensci.org/073b0b83e36ea279c93e5fe911e00692c34f896853806a6d88804cbd5c917f8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/entjos/actions/runs/29689586857"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-07-19T13:54:28.000Z",
      "distro": "resolute",
      "commit": "b4970be66b8174ed5151f0421e3268370a550311",
      "fileid": "https://r2.ropensci.org/c8cf5a6ca7702e975712ff3f5b71018dec1e5c386ac516d8e4860768882d4352",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/entjos/actions/runs/29689586857"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-07-19T13:53:14.000Z",
      "commit": "b4970be66b8174ed5151f0421e3268370a550311",
      "fileid": "https://r2.ropensci.org/70f9a9d10f90f1caecc9b7e591c8e11715d44615e0bce9b6bef72a812f71f7df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/entjos/actions/runs/29689586857"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-07-19T13:53:07.000Z",
      "commit": "b4970be66b8174ed5151f0421e3268370a550311",
      "fileid": "https://r2.ropensci.org/24ad0abdeeea2d81b38aad13099dca3ac4c10f925502dac3f453990914b60125",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/entjos/actions/runs/29689586857"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4.9000",
      "date": "2026-07-19T13:53:54.000Z",
      "commit": "b4970be66b8174ed5151f0421e3268370a550311",
      "fileid": "https://r2.ropensci.org/2f3b9af353b0dbfea3f2fbbe6d0aafcebb2786b9a3505ca60cb5e818b88f64d5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/entjos/actions/runs/29689586857"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-07-19T13:53:10.000Z",
      "commit": "b4970be66b8174ed5151f0421e3268370a550311",
      "fileid": "https://r2.ropensci.org/d8b1b043ddffb917aea2912ea8471ffe225bc2baf06f217cc3a34d44da775f3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/entjos/actions/runs/29689586857"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-07-19T13:53:12.000Z",
      "commit": "b4970be66b8174ed5151f0421e3268370a550311",
      "fileid": "https://r2.ropensci.org/b0f4875cee02d7771aea71dd4663ba256521e926eec36fa3553f59b5913848ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/entjos/actions/runs/29689586857"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-07-19T13:53:31.000Z",
      "commit": "b4970be66b8174ed5151f0421e3268370a550311",
      "fileid": "https://r2.ropensci.org/f7129b702d50746436377f2d61092d90933c9e68cbfdd3f0995fd8c326479bfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/entjos/actions/runs/29689586857"
    }
  ]
}