{
  "_id": "6aeb23389ceaa78f2009f29b",
  "Package": "binsegRcpp",
  "Type": "Package",
  "Title": "Efficient Implementation of Binary Segmentation",
  "Version": "2025.5.13",
  "Authors@R": "person(given = c(\"Toby\", \"Dylan\"),\nfamily = \"Hocking\",\nrole = c(\"aut\", \"cre\"),\nemail = \"toby.hocking@r-project.org\")",
  "Maintainer": "Toby Dylan Hocking <toby.hocking@r-project.org>",
  "Description": "Standard template library containers are used to implement\nan efficient binary segmentation algorithm, which is log-linear\non average and quadratic in the worst case.",
  "License": "GPL-3",
  "URL": "https://github.com/tdhock/binsegRcpp",
  "BugReports": "https://github.com/tdhock/binsegRcpp/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.2",
  "Repository": "https://tdhock.r-universe.dev",
  "Date/Publication": "2025-05-13 21:37:27 UTC",
  "RemoteUrl": "https://github.com/tdhock/binsegrcpp",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b0047197474c5224fa4de838044a8d9020d1a66",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-04 12:15:43 UTC",
    "User": "root"
  },
  "Author": "Toby Dylan Hocking [aut, cre]",
  "_user": "tdhock",
  "_type": "src",
  "_file": "binsegRcpp_2025.5.13.tar.gz",
  "_fileid": "https://r2.ropensci.org/c885bfbc7842b84dbce52895be76aeec9c84d41fcfc8dc0b464b59219f106a04",
  "_filesize": 293302,
  "_sha256": "c885bfbc7842b84dbce52895be76aeec9c84d41fcfc8dc0b464b59219f106a04",
  "_expires": "2027-02-12T12:21:10.000Z",
  "_created": "2026-11-04T12:15:43.000Z",
  "_published": "2026-11-04T12:21:12.525Z",
  "_upstream": "https://github.com/tdhock/binsegrcpp",
  "_status": "success",
  "_maintainer": {
    "name": "Toby Dylan Hocking",
    "email": "toby.hocking@r-project.org",
    "login": "tdhock",
    "description": "",
    "uuid": 932850
  },
  "_jobs": [
    {
      "job": 126566980682,
      "time": 140,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13319454317"
    },
    {
      "job": 126566979749,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13320615951"
    },
    {
      "job": 126566979792,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13319918283"
    },
    {
      "job": 126566979724,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13320840125"
    },
    {
      "job": 126566979803,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13321190914"
    },
    {
      "job": 126566979911,
      "time": 213,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13321560906"
    },
    {
      "job": 126566980016,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13320466320"
    },
    {
      "job": 126566979775,
      "time": 269,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13320830560"
    },
    {
      "job": 126564964340,
      "time": 242,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13321020613"
    },
    {
      "job": 126566979696,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13321220810"
    },
    {
      "job": 126566979991,
      "time": 201,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13320441583"
    },
    {
      "job": 126566979776,
      "time": 164,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13320321860"
    },
    {
      "job": 126566979959,
      "time": 109,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13319114948"
    },
    {
      "job": 126566979800,
      "time": 226,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13321276090"
    },
    {
      "job": 126566979836,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13320610877"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477",
  "_commit": {
    "id": "9b0047197474c5224fa4de838044a8d9020d1a66",
    "author": "Toby Dylan Hocking <tdhock5@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #24 from tdhock/borders\n\nFix subtrain.borders",
    "time": 1747172247
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "penaltyLearning",
      "role": "Suggests"
    },
    {
      "package": "directlabels",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "neuroblastoma",
      "role": "Suggests"
    },
    {
      "package": "changepoint",
      "role": "Suggests"
    },
    {
      "package": "quadprog",
      "role": "Suggests"
    }
  ],
  "_owner": "tdhock",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "tdhock",
      "count": 204,
      "uuid": 932850
    },
    {
      "user": "barracuda156",
      "count": 1,
      "uuid": 92015510
    }
  ],
  "_userbio": {
    "uuid": 932850,
    "type": "user",
    "name": "Toby Dylan Hocking",
    "followers": 434
  },
  "_downloads": {
    "count": 661,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/binsegRcpp"
  },
  "_devurl": "https://github.com/tdhock/binsegrcpp",
  "_searchresults": 14,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/binsegRcpp.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_homeurl": "https://github.com/tdhock/binsegrcpp",
  "_realowner": "tdhock",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2020.9.3",
      "date": "2020-09-14"
    },
    {
      "version": "2021.11.3",
      "date": "2022-01-21"
    },
    {
      "version": "2022.1.24",
      "date": "2022-01-26"
    },
    {
      "version": "2022.7.19",
      "date": "2022-07-20"
    },
    {
      "version": "2022.7.21",
      "date": "2022-08-07"
    },
    {
      "version": "2023.8.31",
      "date": "2023-09-06"
    },
    {
      "version": "2025.5.13",
      "date": "2025-05-27"
    }
  ],
  "_exports": [
    "binseg",
    "binseg_normal",
    "binseg_normal_cv",
    "case.colors",
    "case.sizes",
    "cum_median",
    "depth_first_interface",
    "get_complexity",
    "get_complexity_best_heuristic_equal_breadth_full",
    "get_complexity_best_heuristic_equal_depth_full",
    "get_complexity_best_optimal_cost",
    "get_complexity_best_optimal_tree",
    "get_complexity_empirical",
    "get_complexity_extreme",
    "get_complexity_worst",
    "get_distribution_info",
    "get_tree_empirical",
    "random_set_vec",
    "size_to_splits",
    "tree_layout"
  ],
  "_help": [
    {
      "page": "binseg",
      "title": "Binary segmentation",
      "topics": [
        "binseg",
        "binsegRcpp"
      ]
    },
    {
      "page": "binseg_interface",
      "title": "binseg interface",
      "topics": [
        "binseg_interface"
      ]
    },
    {
      "page": "binseg_normal",
      "title": "Binary segmentation, normal change in mean",
      "topics": [
        "binseg_normal"
      ]
    },
    {
      "page": "binseg_normal_cv",
      "title": "Binary segmentation, normal change in mean, cross-validation for model selection",
      "topics": [
        "binseg_normal_cv"
      ]
    },
    {
      "page": "case.colors",
      "title": "case colors",
      "topics": [
        "case.colors"
      ]
    },
    {
      "page": "case.sizes",
      "title": "case sizes",
      "topics": [
        "case.sizes"
      ]
    },
    {
      "page": "check_sizes",
      "title": "check sizes",
      "topics": [
        "check_sizes"
      ]
    },
    {
      "page": "coef.binseg_normal_cv",
      "title": "coef binseg normal cv",
      "topics": [
        "coef.binseg_normal_cv"
      ]
    },
    {
      "page": "coef.binsegRcpp",
      "title": "coef binsegRcpp",
      "topics": [
        "coef.binsegRcpp"
      ]
    },
    {
      "page": "cum_median",
      "title": "cum median",
      "topics": [
        "cum_median"
      ]
    },
    {
      "page": "cum_median_interface",
      "title": "cum median interface",
      "topics": [
        "cum_median_interface"
      ]
    },
    {
      "page": "depth_first_interface",
      "title": "depth first interface",
      "topics": [
        "depth_first_interface"
      ]
    },
    {
      "page": "get_complexity",
      "title": "get complexity",
      "topics": [
        "get_complexity"
      ]
    },
    {
      "page": "get_complexity_best_heuristic_equal_breadth_full",
      "title": "get complexity best heuristic equal breadth full",
      "topics": [
        "get_complexity_best_heuristic_equal_breadth_full"
      ]
    },
    {
      "page": "get_complexity_best_heuristic_equal_depth_full",
      "title": "get complexity best heuristic equal depth full",
      "topics": [
        "get_complexity_best_heuristic_equal_depth_full"
      ]
    },
    {
      "page": "get_complexity_best_optimal_cost",
      "title": "get complexity best optimal cost",
      "topics": [
        "get_complexity_best_optimal_cost"
      ]
    },
    {
      "page": "get_complexity_best_optimal_splits",
      "title": "get complexity best optimal splits",
      "topics": [
        "get_complexity_best_optimal_splits"
      ]
    },
    {
      "page": "get_complexity_best_optimal_tree",
      "title": "get complexity best optimal tree",
      "topics": [
        "get_complexity_best_optimal_tree"
      ]
    },
    {
      "page": "get_complexity_empirical",
      "title": "get complexity empirical",
      "topics": [
        "get_complexity_empirical"
      ]
    },
    {
      "page": "get_complexity_extreme",
      "title": "get complexity extreme",
      "topics": [
        "get_complexity_extreme"
      ]
    },
    {
      "page": "get_complexity_worst",
      "title": "get complexity worst",
      "topics": [
        "get_complexity_worst"
      ]
    },
    {
      "page": "get_distribution_info",
      "title": "get distribution info",
      "topics": [
        "get_distribution_info"
      ]
    },
    {
      "page": "get_tree_empirical",
      "title": "get tree empirical",
      "topics": [
        "get_tree_empirical"
      ]
    },
    {
      "page": "plot.binseg_normal_cv",
      "title": "plot binseg normal cv",
      "topics": [
        "plot.binseg_normal_cv"
      ]
    },
    {
      "page": "plot.binsegRcpp",
      "title": "plot binsegRcpp",
      "topics": [
        "plot.binsegRcpp"
      ]
    },
    {
      "page": "plot.complexity",
      "title": "plot complexity",
      "topics": [
        "plot.complexity"
      ]
    },
    {
      "page": "print.binseg_normal_cv",
      "title": "print binseg normal cv",
      "topics": [
        "print.binseg_normal_cv"
      ]
    },
    {
      "page": "print.binsegRcpp",
      "title": "print binsegRcpp",
      "topics": [
        "print.binsegRcpp"
      ]
    },
    {
      "page": "qp.x",
      "title": "qp x",
      "topics": [
        "qp.x"
      ]
    },
    {
      "page": "random_set_vec",
      "title": "random set vec",
      "topics": [
        "random_set_vec"
      ]
    },
    {
      "page": "size_to_splits",
      "title": "size to splits",
      "topics": [
        "size_to_splits"
      ]
    },
    {
      "page": "tree_layout",
      "title": "tree layout",
      "topics": [
        "tree_layout"
      ]
    }
  ],
  "_rundeps": [
    "data.table",
    "Rcpp"
  ],
  "_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": "comparisons.Rmd",
      "filename": "comparisons.html",
      "title": "Comparisons with other packages",
      "engine": "knitr::knitr",
      "headings": [
        "Comparisons",
        "Comparing loss/parameters to changepoint",
        "Penalized model selection with binsegRcpp and changepoint"
      ],
      "created": "2022-03-31 05:17:32",
      "modified": "2022-03-31 06:17:47",
      "commits": 3
    },
    {
      "source": "cross-validation.Rmd",
      "filename": "cross-validation.html",
      "title": "Cross-validation",
      "engine": "knitr::knitr",
      "headings": [
        "Cross-validation",
        "Comparing cross-validation methods",
        "How many times is sufficient?"
      ],
      "created": "2022-01-21 18:34:39",
      "modified": "2022-05-12 20:54:08",
      "commits": 2
    }
  ],
  "_score": 4.292256071356476,
  "_indexed": true,
  "_nocasepkg": "binsegrcpp",
  "_universes": [
    "tdhock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2025.5.13",
      "date": "2026-11-04T12:18:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/cd97e6b26bbdf535035a08ced880dc6bca871b367e3f3d398b7ae67474181871",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2025.5.13",
      "date": "2026-11-04T12:17:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/6f48a8c269c6bab96ddb8ad8e5b7c68467eabeeb6212e22f5a8d1213cdb25763",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2025.5.13",
      "date": "2026-11-04T12:18:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/41b70890f0e0d10c4e25f28513338ffc683c06aaa689927b3f6d0c2a9586cd6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2025.5.13",
      "date": "2026-11-04T12:18:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/992bf83190c3c5536af05f2b4234a0805ae74948abcd119260a1f88ccce7bce1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2025.5.13",
      "date": "2026-11-04T12:17:46.000Z",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/8c13448883bc344384ca8549688555b8db96f6515d5f2e226aab07539c7b4515",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2025.5.13",
      "date": "2026-11-04T12:18:49.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/cea1cf6e6d0aa38e5b0f2ec91cf503aa41dd6f9916eff3b7b7972cb29b12b4f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2025.5.13",
      "date": "2026-11-04T12:18:01.000Z",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/1811bf14e731f42b9f5be87321ba0e7b158e03d5fed10da76e05f51f68411e47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2025.5.13",
      "date": "2026-11-04T12:19:25.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/4dc107f49f300389e006a7d31e51e4ab75e7048cc9860e17e5e5fabe14c42161",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2025.5.13",
      "date": "2026-11-04T12:17:42.000Z",
      "arch": "emscripten",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/63acfd7cfaa74d227a31ec59e52182cd97ed7cb5166116fd67b2923bf80bf48d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2025.5.13",
      "date": "2026-11-04T12:18:51.000Z",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/27d8ecc73805da64edd81ae8656413d19d9837e29b3799da3c37673fa6437169",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2025.5.13",
      "date": "2026-11-04T12:17:28.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/a47e450ca75df2474b7ea47a126f2de01e04a4a219852fdb67407972e370cbb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2025.5.13",
      "date": "2026-11-04T12:17:08.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/4444d54a868d1527901abb3ad20e348876dccf9224146d9efa75cb3077bba308",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2025.5.13",
      "date": "2026-11-04T12:19:17.000Z",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/9fa82c729dafc3cb065e8cbf79e6d56ff3c87602da884ba7378e1fbf2925094f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2025.5.13",
      "date": "2026-11-04T12:17:12.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "https://r2.ropensci.org/c61ba10e3194146407a3e1b9b1f7f9ad4dfd2154be2bc6e6e33b8ec25dae7ea8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/41827190477"
    }
  ]
}