{
  "_id": "6a102e83acfb0bcc41c944a8",
  "Package": "bacontrees",
  "Title": "Bayesian Context Trees for Discrete Sequence Data",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Victor\", \"Freguglia\", email = \"victorfreguglia@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6189-4453\")),\nperson(\"Thiago\", \"Paulichen\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0009-0002-5505-2409\")))",
  "Description": "Models discrete sequential data using Bayesian Context\nTrees. Context trees, also known as Variable Length Markov\nChains (VLMCs), are parsimonious Markov models where the order\nof dependence can vary with the observed past. Provides a\ngeneric 'R6' class structure that exposes the full tree for\nbuilding custom algorithms, exact Bayesian inference via a\nbottom-up recursive algorithm (closed-form marginal likelihood,\nMaximum A Posteriori (MAP) tree, exact posterior probabilities,\nand exact sampling from the posterior), a frequentist estimator\nvia the context algorithm with likelihood-ratio pruning,\nsimulation utilities, and a Metropolis-Hastings sampler. See\nPaulichen and Freguglia (2026) <doi:10.48550/arXiv.2603.25806>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-12 23:03:53 UTC",
    "User": "root"
  },
  "Author": "Victor Freguglia [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6189-4453>), Thiago Paulichen\n[ctb] (ORCID: <https://orcid.org/0009-0002-5505-2409>)",
  "Maintainer": "Victor Freguglia <victorfreguglia@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-12 21:44:59 UTC",
  "RemoteUrl": "https://github.com/cran/bacontrees",
  "RemoteRef": "HEAD",
  "RemoteSha": "48a8c0f263b966b11796735a755bbc41705813cc",
  "MD5sum": "583fb4ae70dbea57154fa907f72c96ac",
  "_user": "cran",
  "_type": "src",
  "_file": "bacontrees_1.0.0.tar.gz",
  "_fileid": "78c3d33584698e8004e1878a502db184ae69eebc1758805b47174aaed99a30ee",
  "_filesize": 193961,
  "_sha256": "78c3d33584698e8004e1878a502db184ae69eebc1758805b47174aaed99a30ee",
  "_created": "2026-05-12T23:03:53.000Z",
  "_published": "2026-05-22T10:22:59.225Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77360946150,
      "time": 179,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6957885050"
    },
    {
      "job": 77360945939,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6957879429"
    },
    {
      "job": 77360946244,
      "time": 169,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6957882718"
    },
    {
      "job": 77360946198,
      "time": 183,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6957887571"
    },
    {
      "job": 77360945670,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6957843813"
    },
    {
      "job": 77360945285,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158251576"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25767249674",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/bacontrees",
  "_commit": {
    "id": "48a8c0f263b966b11796735a755bbc41705813cc",
    "author": "Victor Freguglia <victorfreguglia@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1778622299
  },
  "_maintainer": {
    "name": "Victor Freguglia",
    "email": "victorfreguglia@gmail.com",
    "login": "freguglia",
    "linkedin": "in/victor-freguglia-aa0335160",
    "uuid": 26393042,
    "orcid": "0000-0002-6189-4453"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "ggraph",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Brobdingnag",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2026-05-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "freguglia",
      "count": 1,
      "uuid": 26393042
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bacontrees"
  },
  "_searchresults": 3,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bacontrees.html",
    "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",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-05-12"
    }
  ],
  "_exports": [
    "baConTree",
    "ContextTree",
    "fit_vlmc",
    "metropolis_vlmc",
    "rvlmc",
    "Sequence"
  ],
  "_datasets": [
    {
      "name": "abc_list",
      "title": "Simulated Sequence Data from a Variable Length Markov Chain (VLMC)",
      "object": "abc_list",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "abc_vec",
      "title": "Simulated Sequence Data from a Variable Length Markov Chain (VLMC)",
      "object": "abc_vec",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "abc_data",
      "title": "Simulated Sequence Data from a Variable Length Markov Chain (VLMC)",
      "topics": [
        "abc_data",
        "abc_list",
        "abc_vec"
      ]
    },
    {
      "page": "baConTree",
      "title": "Bayesian Context Tree R6 Class",
      "topics": [
        "baConTree"
      ]
    },
    {
      "page": "ContextTree",
      "title": "ContextTree R6 Class",
      "topics": [
        "ContextTree"
      ]
    },
    {
      "page": "fit_vlmc",
      "title": "Fit a Variable Length Markov Chain (VLMC) via Context Algorithm",
      "topics": [
        "fit_vlmc"
      ]
    },
    {
      "page": "metropolis_vlmc",
      "title": "Metropolis-Hastings Posterior Sampling for Context Trees",
      "topics": [
        "metropolis_vlmc"
      ]
    },
    {
      "page": "plot.baConTree",
      "title": "Plot method for baConTree class",
      "topics": [
        "plot.baConTree"
      ]
    },
    {
      "page": "plot.ContextTree",
      "title": "Plot method for ContextTree class",
      "topics": [
        "plot.ContextTree"
      ]
    },
    {
      "page": "rvlmc",
      "title": "Generate a sequence based on a Variable Length Markov Chain (VLMC)",
      "topics": [
        "rvlmc"
      ]
    },
    {
      "page": "Sequence",
      "title": "Sequence Class",
      "topics": [
        "Sequence"
      ]
    },
    {
      "page": "TreeNode",
      "title": "TreeNode Class",
      "topics": [
        "TreeNode"
      ]
    }
  ],
  "_readme": "https://github.com/cran/bacontrees/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "Brobdingnag",
    "cachem",
    "cli",
    "cpp11",
    "digest",
    "dplyr",
    "farver",
    "fastmap",
    "generics",
    "ggforce",
    "ggplot2",
    "ggraph",
    "ggrepel",
    "glue",
    "graphlayouts",
    "gridExtra",
    "gtable",
    "igraph",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "pillar",
    "pkgconfig",
    "polyclip",
    "progressr",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "systemfonts",
    "tibble",
    "tidygraph",
    "tidyr",
    "tidyselect",
    "tweenr",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "bacontrees",
  "_universes": [
    "cran",
    "freguglia"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-12T23:06:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "48a8c0f263b966b11796735a755bbc41705813cc",
      "fileid": "64a2d2a76f96a5d23e89be1ab80c6706e049d7a31b0bae85614c6e73596a97d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25767249674"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-12T23:05:57.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "48a8c0f263b966b11796735a755bbc41705813cc",
      "fileid": "ed9ec98410b3b16e80b784f6da3addb9d894d2c590ed0787cdb5633f39e81149",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25767249674"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-12T23:06:15.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "48a8c0f263b966b11796735a755bbc41705813cc",
      "fileid": "9ec47127db37ea32dac8c975af5110e51488d30674a04e8d35d5da8b95fa750a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25767249674"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-12T23:06:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "48a8c0f263b966b11796735a755bbc41705813cc",
      "fileid": "950b290281aad779e98f677232b513d51216c8ce2a84807d8cab361794e24205",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25767249674"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-22T10:22:38.000Z",
      "arch": "emscripten",
      "commit": "48a8c0f263b966b11796735a755bbc41705813cc",
      "fileid": "22dd6b8b1ef5a1d82ccf531daa55bf84d4293232577cef57f9df09a76011e74d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25767249674"
    }
  ]
}