{
  "_id": "6a6451bb059529545f575d0c",
  "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-25 05:56:58 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/72bc363a398fa57fab839192239a39e397f7e4e580fa5162f9727540a0676e71",
  "_filesize": 1108213,
  "_sha256": "72bc363a398fa57fab839192239a39e397f7e4e580fa5162f9727540a0676e71",
  "_expires": "2026-11-02T06:03:37.000Z",
  "_created": "2026-07-25T05:56:58.000Z",
  "_published": "2026-07-25T06:03:39.311Z",
  "_jobs": [
    {
      "job": 89649810495,
      "time": 138,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8616260414"
    },
    {
      "job": 89649810497,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8616264809"
    },
    {
      "job": 89649810543,
      "time": 150,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8616262235"
    },
    {
      "job": 89649810504,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8616262608"
    },
    {
      "job": 89649810767,
      "time": 103,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8616291598"
    },
    {
      "job": 89649810560,
      "time": 193,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8616277091"
    },
    {
      "job": 89649810591,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8616289169"
    },
    {
      "job": 89649810537,
      "time": 258,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8616284521"
    },
    {
      "job": 89649464163,
      "time": 253,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8616236879"
    },
    {
      "job": 89649810479,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8616263669"
    },
    {
      "job": 89649810519,
      "time": 152,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8616262591"
    },
    {
      "job": 89649810509,
      "time": 137,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8616260184"
    },
    {
      "job": 89649810515,
      "time": 180,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8616267491"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041",
  "_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": 54,
    "description": "Expert data science training and consulting."
  },
  "_downloads": {
    "count": 257,
    "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-25T05:59:27.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/d32bd2736b14e12466f3bbd0132c4339a1fb6abd55afb3165f4f0e3589cea386",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-25T05:59:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/f375d0930183fe60721e415b6ce51ca87c6b4579d371e3d8aa5357b4134cfdd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-25T05:59:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/9a4db9389a17b196f7f705823968984259cfff1ca5df5e12728d80c7cd80e324",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-25T05:59:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/e5b0af5129d62e226801a1d2ae1b2108a4fbcc0bf471ce0f4fab51ccbba9b005",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-25T06:02:42.000Z",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/e139c0e6aedb63e30212798d85e0e315044b64dbfe73dc5404a3e4177b507126",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-25T06:00:38.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/a89105e43a8e2a5f989489af74b9d7e7902dd10c8fccc70d696f0c2b5a06f700",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-25T06:02:27.000Z",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/62f7e39af9b43ab09cf78cd69ee99d0d0d28cb550a17eb9d2fa672c48b77e3c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-07-25T06:01:05.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/ee6e8c72ee475a1aca736ac879f7fe7c74fbcbf1e9709b6a17541b49f8d3354c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-07-25T05:59:46.000Z",
      "arch": "emscripten",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/ab52f1ecb1dccb666dc3398e4b7c80dfbf3f67d8ee8bbe542f6dfa92c61b9283",
      "status": "success",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-25T05:58:43.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/f3b7db9d26d367235e3af7042cdc4d3ad46fc8ab40c885bf124ec9ecf9ae0c2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-25T05:58:42.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/ca56d1d6aea836a77e680ec9ae81f928e6145fcb6d33965a156ba05d3e4a7168",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-07-25T05:58:59.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/a5523db82f2bff62e520a46350f0ad6bbf81eedc140ded654f6acfe666ec8e09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/30146535041"
    }
  ]
}