{
  "_id": "6a48b869e06c18f0a6548889",
  "Package": "RcppDynProg",
  "Type": "Package",
  "Title": "'Rcpp' Dynamic Programming",
  "Version": "0.2.1",
  "Date": "2023-08-19",
  "Authors@R": "c(\nperson(\"John\", \"Mount\", email = \"jmount@win-vector.com\", role = c(\"aut\", \"cre\")),\nperson(\"Nina\", \"Zumel\", email = \"nzumel@win-vector.com\", role = c(\"aut\")),\nperson(family = \"Win-Vector LLC\", role = c(\"cph\"))\n)",
  "URL": "https://github.com/WinVector/RcppDynProg/,\nhttps://winvector.github.io/RcppDynProg/",
  "BugReports": "https://github.com/WinVector/RcppDynProg/issues",
  "Maintainer": "John Mount <jmount@win-vector.com>",
  "Description": "Dynamic Programming implemented in 'Rcpp'.  Includes\nexample partition and out of sample fitting applications.  Also\nsupplies additional custom coders for the 'vtreat' package.",
  "License": "GPL-2 | GPL-3",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Repository": "https://winvector.r-universe.dev",
  "Date/Publication": "2023-08-20 00:29:10 UTC",
  "RemoteUrl": "https://github.com/winvector/rcppdynprog",
  "RemoteRef": "HEAD",
  "RemoteSha": "72168a19a3cda9f5945c9305107744d7312c6cf5",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-04 06:53:32 UTC",
    "User": "root"
  },
  "Author": "John Mount [aut, cre],\nNina Zumel [aut],\nWin-Vector LLC [cph]",
  "_user": "winvector",
  "_type": "src",
  "_file": "RcppDynProg_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/637441da0d32af3bd18abbda4de3693d347071ddd73dad829607092267d76ad9",
  "_filesize": 1111399,
  "_sha256": "637441da0d32af3bd18abbda4de3693d347071ddd73dad829607092267d76ad9",
  "_expires": "2026-10-12T07:38:15.000Z",
  "_created": "2026-07-04T06:53:32.000Z",
  "_published": "2026-07-04T07:38:17.636Z",
  "_jobs": [
    {
      "job": 85111842708,
      "time": 167,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079340748"
    },
    {
      "job": 85111842725,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079339284"
    },
    {
      "job": 85111842722,
      "time": 161,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079340074"
    },
    {
      "job": 85111842734,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079339050"
    },
    {
      "job": 85111842742,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079654036"
    },
    {
      "job": 85111842738,
      "time": 263,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079355655"
    },
    {
      "job": 85111842735,
      "time": 152,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079669741"
    },
    {
      "job": 85111842716,
      "time": 300,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079361950"
    },
    {
      "job": 85111619087,
      "time": 227,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079321273"
    },
    {
      "job": 85111842662,
      "time": 166,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8079340503"
    },
    {
      "job": 85111842672,
      "time": 157,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079339245"
    },
    {
      "job": 85111842674,
      "time": 148,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079338013"
    },
    {
      "job": 85111842669,
      "time": 168,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079340769"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311",
  "_status": "success",
  "_upstream": "https://github.com/winvector/rcppdynprog",
  "_commit": {
    "id": "72168a19a3cda9f5945c9305107744d7312c6cf5",
    "author": "John Mount <jmount@win-vector.com>",
    "committer": "John Mount <jmount@win-vector.com>",
    "message": "ignore more\n",
    "time": 1692491350
  },
  "_maintainer": {
    "name": "John Mount",
    "email": "jmount@win-vector.com",
    "login": "johnmount",
    "description": "",
    "uuid": 4275344
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "wrapr",
      "version": ">= 2.0.4",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "winvector",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "datascience",
    "machinelearning",
    "cpp"
  ],
  "_stars": 15,
  "_contributors": [
    {
      "user": "johnmount",
      "count": 145,
      "uuid": 4275344
    }
  ],
  "_userbio": {
    "uuid": 1242554,
    "type": "organization",
    "name": "Win Vector LLC",
    "followers": 53,
    "description": "Expert data science training and consulting."
  },
  "_downloads": {
    "count": 378,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RcppDynProg"
  },
  "_devurl": "https://github.com/winvector/rcppdynprog",
  "_pkgdown": "https://winvector.github.io/RcppDynProg/",
  "_searchresults": 18,
  "_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/RcppDynProg.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/winvector/rcppdynprog",
  "_realowner": "winvector",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-01-04"
    },
    {
      "version": "0.1.1",
      "date": "2019-02-03"
    },
    {
      "version": "0.1.2",
      "date": "2019-03-31"
    },
    {
      "version": "0.1.3",
      "date": "2019-07-24"
    },
    {
      "version": "0.1.4",
      "date": "2020-08-12"
    },
    {
      "version": "0.1.5",
      "date": "2020-10-17"
    },
    {
      "version": "0.1.6",
      "date": "2020-11-13"
    },
    {
      "version": "0.2.0",
      "date": "2020-12-15"
    },
    {
      "version": "0.2.1",
      "date": "2023-08-20"
    }
  ],
  "_exports": [
    "all_partitions",
    "const_cost",
    "const_cost_logistic",
    "const_costs",
    "const_costs_logistic",
    "lin_cost",
    "lin_cost_logistic",
    "lin_costs",
    "lin_costs_logistic",
    "logistic_fits",
    "logistic_solve1",
    "piecewise_constant",
    "piecewise_constant_coder",
    "piecewise_linear",
    "piecewise_linear_coder",
    "score_solution",
    "solve_for_partition",
    "solve_for_partitionc",
    "solve_interval_partition",
    "solve_interval_partition_k",
    "solve_interval_partition_no_k",
    "solve_interval_partition_R",
    "summarize_input",
    "xlin_fits",
    "xlin_fits_lm",
    "xlin_fits_R",
    "xlin_fits_V",
    "xlin_pfits",
    "xlogistic_fits"
  ],
  "_help": [
    {
      "page": "RcppDynProg-package",
      "title": "RcppDynProg",
      "topics": [
        "RcppDynProg-package",
        "RcppDynProg"
      ]
    },
    {
      "page": "const_costs",
      "title": "const_costs",
      "topics": [
        "const_costs"
      ]
    },
    {
      "page": "const_costs_logistic",
      "title": "const_costs_logistic",
      "topics": [
        "const_costs_logistic"
      ]
    },
    {
      "page": "lin_costs",
      "title": "lin_costs",
      "topics": [
        "lin_costs"
      ]
    },
    {
      "page": "lin_costs_logistic",
      "title": "lin_costs_logistic deviance costs.",
      "topics": [
        "lin_costs_logistic"
      ]
    },
    {
      "page": "piecewise_constant",
      "title": "Piecewise constant fit.",
      "topics": [
        "piecewise_constant"
      ]
    },
    {
      "page": "piecewise_constant_coder",
      "title": "Piecewise constant fit coder factory.",
      "topics": [
        "piecewise_constant_coder"
      ]
    },
    {
      "page": "piecewise_linear",
      "title": "Piecewise linear fit.",
      "topics": [
        "piecewise_linear"
      ]
    },
    {
      "page": "piecewise_linear_coder",
      "title": "Piecewise linear fit coder factory.",
      "topics": [
        "piecewise_linear_coder"
      ]
    },
    {
      "page": "score_solution",
      "title": "compute the price of a partition solution (and check is valid).",
      "topics": [
        "score_solution"
      ]
    },
    {
      "page": "solve_for_partition",
      "title": "Solve for a piecewise linear partiton.",
      "topics": [
        "solve_for_partition"
      ]
    },
    {
      "page": "solve_for_partitionc",
      "title": "Solve for a piecewise constant partiton.",
      "topics": [
        "solve_for_partitionc"
      ]
    },
    {
      "page": "solve_interval_partition",
      "title": "solve_interval_partition interval partition problem.",
      "topics": [
        "solve_interval_partition"
      ]
    },
    {
      "page": "solve_interval_partition_k",
      "title": "solve_interval_partition interval partition problem with a bound on number of steps.",
      "topics": [
        "solve_interval_partition_k"
      ]
    },
    {
      "page": "solve_interval_partition_no_k",
      "title": "solve_interval_partition interval partition problem, no boun on the number of steps.",
      "topics": [
        "solve_interval_partition_no_k"
      ]
    }
  ],
  "_readme": "https://github.com/winvector/rcppdynprog/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo",
    "wrapr"
  ],
  "_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": "SegmentationL.Rmd",
      "filename": "SegmentationL.html",
      "title": "Linear Segmentation",
      "author": "John Mount",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2018-12-28 17:52:26",
      "modified": "2019-03-31 18:38:21",
      "commits": 7
    },
    {
      "source": "RcppDynProg.Rmd",
      "filename": "RcppDynProg.html",
      "title": "RcppDynProg package",
      "author": "John Mount",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2018-12-29 18:30:13",
      "modified": "2019-03-31 18:44:39",
      "commits": 8
    },
    {
      "source": "Segmentation.Rmd",
      "filename": "Segmentation.html",
      "title": "Segmentation",
      "author": "John Mount",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2018-12-28 17:52:26",
      "modified": "2019-03-31 18:38:21",
      "commits": 7
    }
  ],
  "_score": 5.607455023214668,
  "_indexed": true,
  "_nocasepkg": "rcppdynprog",
  "_universes": [
    "winvector",
    "johnmount"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-04T06:56:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/43c7bf78ef5efbd9f68b424efec0703f70453c085b640bb4a91a30492eaa61bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-04T06:56:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/6132fd993a77174ae99a6366431b90412dbfb8247f0ecdb8f49d089444526487",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-04T06:56:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/1802a32992af5566677d6b11a90300e310b1ae4d9e3bc95fca04ceaa634a5445",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-04T06:55:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/2bfb3b3ba3bbce83011346c2b8816cbe435e88ad0e20754df3191e61b480b51f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-04T07:35:16.000Z",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/c266cb43e73699860fe5ae974ed4b4d2a7db3c5576ed009cf88d8a3f914b6e1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-04T06:57:41.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/e5b5b0dd9c6b317da87c5c5794ea5d86a4f8b0dab08298aeaafc8239bb45c5de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-04T07:36:44.000Z",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/8023173a4939f8f8494bf775ddcc525ec1f3a74ea60353df3f5d76118263e046",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-04T06:57:47.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/652439c62d8f39bc1678442aa505b4336fab27a517987a8f60a959da5cfdef4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-07-04T06:56:21.000Z",
      "arch": "emscripten",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/6d798afce159d8a113f5534d60a84ac706716bce8d4310a6c85ebd153f599837",
      "status": "success",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-04T06:55:17.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/51945b648528ed99089e1580021d83fbdde82aefc442968dc91a3ebf08581e9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-04T06:55:27.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/c945f5a09ab43487dccf416228a8ab6188dc0d473a2a7338a7c3493a06c00972",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-04T06:55:19.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/d29a38a2fd6e02537bb9010c72c788a416300efb51f563d97dfe4e6de52a3805",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/28698233311"
    }
  ]
}