{
  "_id": "6a3b40e75cdecea1d68142b7",
  "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-06-24 02:25:01 UTC",
    "User": "root"
  },
  "Author": "Toby Dylan Hocking [aut, cre]",
  "MD5sum": "4ef0c279efb0e9c39c7c21a47bc0b30c",
  "_user": "tdhock",
  "_type": "src",
  "_file": "binsegRcpp_2025.5.13.tar.gz",
  "_fileid": "cb3a1d50cdf54a040463dd803aac232d329848d7d1e970f2fdddfa2f950478b8",
  "_filesize": 294538,
  "_sha256": "cb3a1d50cdf54a040463dd803aac232d329848d7d1e970f2fdddfa2f950478b8",
  "_created": "2026-06-24T02:25:01.000Z",
  "_published": "2026-06-24T02:28:55.891Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83104935974,
      "time": 155,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7838648874"
    },
    {
      "job": 83104935968,
      "time": 187,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7838654697"
    },
    {
      "job": 83104935973,
      "time": 155,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838648755"
    },
    {
      "job": 83104935975,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838644971"
    },
    {
      "job": 83104935953,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7838638784"
    },
    {
      "job": 83104935972,
      "time": 177,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7838652499"
    },
    {
      "job": 83104936092,
      "time": 152,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838647480"
    },
    {
      "job": 83104935955,
      "time": 193,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838655883"
    },
    {
      "job": 83104502626,
      "time": 248,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838616875"
    },
    {
      "job": 83104935934,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838644535"
    },
    {
      "job": 83104935942,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7838638057"
    },
    {
      "job": 83104935956,
      "time": 103,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7838637682"
    },
    {
      "job": 83104935936,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7838638793"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tdhock/binsegrcpp",
  "_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
  },
  "_maintainer": {
    "name": "Toby Dylan Hocking",
    "email": "toby.hocking@r-project.org",
    "login": "tdhock",
    "description": "",
    "uuid": 932850
  },
  "_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": 418
  },
  "_downloads": {
    "count": 1007,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/binsegRcpp"
  },
  "_devurl": "https://github.com/tdhock/binsegrcpp",
  "_searchresults": 14,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/binsegRcpp.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_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.295285541910094,
  "_indexed": true,
  "_nocasepkg": "binsegrcpp",
  "_universes": [
    "tdhock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2025.5.13",
      "date": "2026-06-24T02:27:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "efe69ab2a575a01070e85b2a84b8015643b27536aba487c1bb67a1873d7f7085",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2025.5.13",
      "date": "2026-06-24T02:28:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "2e48d51af564e751ec4fd36fafaee78542401a408222e2a4120422e4837345ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2025.5.13",
      "date": "2026-06-24T02:27:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "86e066f67bb78abb51b74eb0e28c67d6bab4adf11ffef97294d9994fcc9c71ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2025.5.13",
      "date": "2026-06-24T02:27:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "6ea3be07c267c1d6922fcf4f33f7430b80deb8f198d11b9a89dab49ecf70d24f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2025.5.13",
      "date": "2026-06-24T02:26:50.000Z",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "04935600450aa4b1f98ec4bedbde87bd24ad6ebfdd90dbe1c696125ae5f6de2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2025.5.13",
      "date": "2026-06-24T02:27:35.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "9c9f152ec053acab0db3e936d9eb51db3b4f7de1ec84c23ec747b7bfa9d4f469",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2025.5.13",
      "date": "2026-06-24T02:27:18.000Z",
      "arch": "aarch64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "182626945b58ebd8daf8d492aa92b62049fe766088f19b4310f0493df8940c84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2025.5.13",
      "date": "2026-06-24T02:27:49.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "cd37264c922c9708577b13ad5c5042fa96475f0999344aa94c282b6d9efd163e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2025.5.13",
      "date": "2026-06-24T02:27:40.000Z",
      "arch": "emscripten",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "72fe60883a40b5b2d7e48ef588db7e0e6d3539e5fc68062cd81da42ff8aa465b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2025.5.13",
      "date": "2026-06-24T02:26:20.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "f0f30fb54bf2499f05b83a40366153ef9de6a3342f19d5ab19ff16c77ebb65d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2025.5.13",
      "date": "2026-06-24T02:26:16.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "c89d9dec3551bd78a581e300a4fcaa39ede5ae093bd50026537a51abdfed7549",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2025.5.13",
      "date": "2026-06-24T02:26:17.000Z",
      "arch": "x86_64",
      "commit": "9b0047197474c5224fa4de838044a8d9020d1a66",
      "fileid": "238f6a16a4ef4a2663b6bcec0eca7a256f6956a00b65d28605b6c15d387106a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tdhock/actions/runs/28070707358"
    }
  ]
}