{
  "_id": "6ad266f63c1b78c68c07b466",
  "Package": "treehunt",
  "Type": "Package",
  "Title": "Evolutionary Search for Optimal Node Combinations in Trees",
  "Version": "0.0.2",
  "Authors@R": "person(\"Jules\", \"Bangard\", role = c(\"aut\", \"cre\"), email = \"jules.bangard@etu.unistra.fr\")",
  "Author": "Jules Bangard [aut, cre]",
  "Maintainer": "Jules Bangard <jules.bangard@etu.unistra.fr>",
  "Description": "Provides Markov chain Monte Carlo (MCMC) sampling and\ngenetic algorithms for searching combinations of nodes in\nhierarchical trees. Includes scores for binary outcomes,\ncontinuous outcomes, and recurrent events, with applications to\npharmacovigilance and hospital data. Importance weighting\nestimates uniform combination score references from tempered\nMCMC samples and reports weight-based effective sample sizes.\nComputational routines are implemented in C++ via 'Rcpp'.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://github.com/JulesBa-Git/treehunt",
  "BugReports": "https://github.com/JulesBa-Git/treehunt/issues",
  "Config/testthat/edition": "3",
  "SystemRequirements": "C++17",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-16 17:58:44 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-16 13:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/treehunt",
  "RemoteRef": "HEAD",
  "RemoteSha": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
  "_user": "cran",
  "_type": "src",
  "_file": "treehunt_0.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/73923162ce2f6e13f068e9a14ce984ce32e0d5efb5f489647107b1849f08cdab",
  "_filesize": 333205,
  "_sha256": "73923162ce2f6e13f068e9a14ce984ce32e0d5efb5f489647107b1849f08cdab",
  "_expires": "2027-01-24T18:03:33.000Z",
  "_created": "2026-10-16T17:58:44.000Z",
  "_published": "2026-10-16T18:03:34.879Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117118031933,
      "time": 127,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12065350195"
    },
    {
      "job": 117118032064,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12063879768"
    },
    {
      "job": 117118031899,
      "time": 124,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12064073797"
    },
    {
      "job": 117118031817,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12064331699"
    },
    {
      "job": 117116743500,
      "time": 187,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12064586271"
    },
    {
      "job": 117118031932,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12063469732"
    },
    {
      "job": 117118031864,
      "time": 228,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12065250681"
    },
    {
      "job": 117118031806,
      "time": 162,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12063869255"
    },
    {
      "job": 117118031842,
      "time": 223,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12064646163"
    },
    {
      "job": 117118032598,
      "time": 173,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12064646058"
    }
  ],
  "_upstream": "https://github.com/cran/treehunt",
  "_commit": {
    "id": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
    "author": "Jules Bangard <jules.bangard@etu.unistra.fr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.0.2\n",
    "time": 1792158002
  },
  "_maintainer": {
    "name": "Jules Bangard",
    "email": "jules.bangard@etu.unistra.fr"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "umap",
      "role": "Suggests"
    },
    {
      "package": "dbscan",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.0.2",
      "date": "2026-10-16"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 631,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/treehunt"
  },
  "_devurl": "https://github.com/julesba-git/treehunt",
  "_searchresults": 0,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/treehunt.html"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2026-10-16"
    }
  ],
  "_exports": [
    "aggregate_ga_results",
    "clustering_genetic_algorithm",
    "compute_score",
    "decode_treehunt_solutions",
    "filter_out_cocktails",
    "fit_pwp_rao_context",
    "get_dissimilarity_of_list",
    "get_taker",
    "map_cocktail_names",
    "mcmc_size_2_true_score_distribution",
    "plot_ga_clusters",
    "process_ga_scores",
    "refit_pwp_combinations",
    "run_ga_batch",
    "run_genetic_algorithm",
    "run_genetic_algorithm_df_tree",
    "run_mcmc",
    "run_mcmc_df_tree",
    "run_pwp_genetic_algorithm",
    "run_pwp_mcmc",
    "score_pwp_combinations",
    "summarize_ga_pipeline",
    "uniform_score_reference",
    "weight_ess"
  ],
  "_help": [
    {
      "page": "aggregate_ga_results",
      "title": "Aggregate GA Results from Multiple JSON Files returned by run_ga_batch",
      "topics": [
        "aggregate_ga_results"
      ]
    },
    {
      "page": "clustering_genetic_algorithm",
      "title": "Clustering of a Cocktail List using DBSCAN on UMAP Projection",
      "topics": [
        "clustering_genetic_algorithm"
      ]
    },
    {
      "page": "compute_score",
      "title": "Compute scores for supplied node combinations",
      "topics": [
        "compute_score"
      ]
    },
    {
      "page": "decode_treehunt_solutions",
      "title": "Decode treehunt node indexes",
      "topics": [
        "decode_treehunt_solutions"
      ]
    },
    {
      "page": "filter_out_cocktails",
      "title": "Filter a list of cocktails accoring to the mean depth of nodes inside each cocktail. A cocktail is kept if the mean depth of his nodes is greater than 'mean_depth_cocktail' (default = 3). This function aim is to provide more interpretable cocktail to the user.",
      "topics": [
        "filter_out_cocktails"
      ]
    },
    {
      "page": "fit_pwp_rao_context",
      "title": "Fit the reduced PWP model and prepare a Rao-score context",
      "topics": [
        "fit_pwp_rao_context",
        "print.pwp_rao_context"
      ]
    },
    {
      "page": "get_dissimilarity_of_list",
      "title": "Compute the dissimilarity matrix on a list of cocktails",
      "topics": [
        "get_dissimilarity_of_list"
      ]
    },
    {
      "page": "get_taker",
      "title": "Identify observations covered by hierarchical combinations",
      "topics": [
        "get_taker"
      ]
    },
    {
      "page": "map_cocktail_names",
      "title": "Map Cocktail Indices to Names Saved GA combinations use zero-based node indices; tree rows use one-based indices.",
      "topics": [
        "map_cocktail_names"
      ]
    },
    {
      "page": "mcmc_size_2_true_score_distribution",
      "title": "Run MCMC Algorithm to Compute the Score Distribution Among Node Combinations of Size 2",
      "topics": [
        "mcmc_size_2_true_score_distribution"
      ]
    },
    {
      "page": "plot_ga_clusters",
      "title": "Plot GA Clustering Results",
      "topics": [
        "plot_ga_clusters"
      ]
    },
    {
      "page": "process_ga_scores",
      "title": "Process and Attach GA Scores and Statistics (Generic)",
      "topics": [
        "process_ga_scores"
      ]
    },
    {
      "page": "refit_pwp_combinations",
      "title": "Refit selected combinations with patient-clustered Cox models",
      "topics": [
        "refit_pwp_combinations"
      ]
    },
    {
      "page": "run_ga_batch",
      "title": "Run Multiple Genetic Algorithm Replicates from Configuration",
      "topics": [
        "run_ga_batch"
      ]
    },
    {
      "page": "run_genetic_algorithm",
      "title": "Run Genetic Algorithm for High Score Nodes Combination Search",
      "topics": [
        "run_genetic_algorithm"
      ]
    },
    {
      "page": "run_genetic_algorithm_df_tree",
      "title": "Run Genetic Algorithm for High Score Nodes Combination Search",
      "topics": [
        "run_genetic_algorithm_df_tree"
      ]
    },
    {
      "page": "run_mcmc",
      "title": "Run MCMC Algorithm for Estimation of Score Distribution Among Nodes of The Tree",
      "topics": [
        "run_mcmc"
      ]
    },
    {
      "page": "run_mcmc_df_tree",
      "title": "Run MCMC Algorithm for Estimation of Score Distribution Among Nodes of The Tree",
      "topics": [
        "run_mcmc_df_tree"
      ]
    },
    {
      "page": "run_pwp_genetic_algorithm",
      "title": "Run the genetic algorithm with the PWP Rao fitness",
      "topics": [
        "run_pwp_genetic_algorithm"
      ]
    },
    {
      "page": "run_pwp_mcmc",
      "title": "Run MCMC with the PWP Rao fitness",
      "topics": [
        "run_pwp_mcmc"
      ]
    },
    {
      "page": "score_pwp_combinations",
      "title": "Evaluate full Rao statistics for combinations",
      "topics": [
        "score_pwp_combinations"
      ]
    },
    {
      "page": "summarize_ga_pipeline",
      "title": "Complete GA Results Analysis Pipeline (Generic)",
      "topics": [
        "summarize_ga_pipeline"
      ]
    },
    {
      "page": "uniform_score_reference",
      "title": "Recover the uniform score reference from a tempered MCMC trajectory",
      "topics": [
        "uniform_score_reference"
      ]
    },
    {
      "page": "weight_ess",
      "title": "Effective sample size based on importance weights",
      "topics": [
        "weight_ess"
      ]
    }
  ],
  "_readme": "https://github.com/cran/treehunt/raw/HEAD/README.md",
  "_rundeps": [
    "jsonlite",
    "lattice",
    "Matrix",
    "Rcpp",
    "survival"
  ],
  "_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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 1.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "treehunt",
  "_universes": [
    "cran",
    "julesba-git"
  ],
  "_indexurl": "https://julesba-git.r-universe.dev/treehunt",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-10-16T18:00:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
      "fileid": "https://r2.ropensci.org/5db12079687ef44735c4ed413ee30d9ee23fde43061ff68d8f3d0b19acd9eddc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-10-16T18:01:01.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
      "fileid": "https://r2.ropensci.org/9e0bbf0fe1b0adbe61d00f37a9b92b090e3b9cbf65f42ffa8f5253f1873a4418",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-10-16T18:00:54.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
      "fileid": "https://r2.ropensci.org/a4e664a0b1df9ada36733fcf11457ba991f7a893d69eff29dc816297c987c1a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-10-16T18:01:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
      "fileid": "https://r2.ropensci.org/d78a5dcbb5cee1694a261713eb104da8fb8651ff43892bd86ffd9f27884dbec0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-10-16T18:01:17.000Z",
      "arch": "emscripten",
      "commit": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
      "fileid": "https://r2.ropensci.org/e18674f459bb841db62fc436fe4e064fc9004764fae2ec3a02198092b503da22",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-10-16T18:02:05.000Z",
      "arch": "aarch64",
      "commit": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
      "fileid": "https://r2.ropensci.org/a85ca1ca50b676c1ec9b1bfc00729dd08370fd9ffd649899d06107d72d679b98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-10-16T18:00:30.000Z",
      "arch": "x86_64",
      "commit": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
      "fileid": "https://r2.ropensci.org/5cdae3383fb635808031e4dda2b207a864b528661da294a10ecb8ccad10643c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-10-16T18:01:56.000Z",
      "arch": "aarch64",
      "commit": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
      "fileid": "https://r2.ropensci.org/726da34151548affa07af783824b4ea8ed0e2ce63c27b101f6a0338ebeee2c2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-10-16T18:00:42.000Z",
      "arch": "x86_64",
      "commit": "3e9eca9460622b80403fcaacf7b571a3de4ed480",
      "fileid": "https://r2.ropensci.org/2e4335c9c1875d6812cf7d3c232c9fcf2eef965481de9c9f6301e2cc0be9729d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38943455343"
    }
  ]
}