{
  "_id": "6ab37fb33d719c1f84090221",
  "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-09-23 07:10:52 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/c7c027c611e3024486c01ec5c523c4dc357ffc5c9dcb0a6a071de348f9032c25",
  "_filesize": 1107709,
  "_sha256": "c7c027c611e3024486c01ec5c523c4dc357ffc5c9dcb0a6a071de348f9032c25",
  "_expires": "2027-01-01T07:28:48.000Z",
  "_created": "2026-09-23T07:10:52.000Z",
  "_published": "2026-09-23T07:28:50.964Z",
  "_jobs": [
    {
      "job": 107081574436,
      "time": 157,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10736154749"
    },
    {
      "job": 107081574522,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10736348517"
    },
    {
      "job": 107081574475,
      "time": 149,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10736333702"
    },
    {
      "job": 107081574566,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10737270281"
    },
    {
      "job": 107081574582,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10737881272"
    },
    {
      "job": 107081574541,
      "time": 309,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10737627158"
    },
    {
      "job": 107081574447,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10736474895"
    },
    {
      "job": 107081574622,
      "time": 277,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10737765520"
    },
    {
      "job": 107080456975,
      "time": 243,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735959958"
    },
    {
      "job": 107081574419,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10737215286"
    },
    {
      "job": 107081574469,
      "time": 367,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10737150787"
    },
    {
      "job": 107081574570,
      "time": 197,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10737405761"
    },
    {
      "job": 107081574608,
      "time": 146,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10737235795"
    },
    {
      "job": 107081574488,
      "time": 372,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10737575327"
    },
    {
      "job": 107081574464,
      "time": 157,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10737050829"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851",
  "_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": 16,
  "_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": 330,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/RcppDynProg.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.635483746814912,
  "_indexed": true,
  "_nocasepkg": "rcppdynprog",
  "_universes": [
    "winvector",
    "johnmount"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-09-23T07:13:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/70a9af896646d21da323d6da8bcffc2d4a3ae6e4cbc4fee3c974d122293d347c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-09-23T07:13:32.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/5ca43e1edf1dfbe9aaab8218dc882e93c29ee56bf1a3eeb7a4406e317c5d2809",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-09-23T07:13:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/f4b87a186a9bcb7ce7daabd334d3d48b1fb09d1e255b87751c7eb50bc211843c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-09-23T07:13:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/540df941543c1a5905a3097fada7ea0685e249b9a127e68641701065ca225ec1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-09-23T07:27:39.000Z",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/af87593599439378adac9cae3297b1d640769a9140f378796e0f9d878e017a7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-09-23T07:23:59.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/ee2df17d3aabc54733921d12547773a18a0f860aaf12135f40aab32949ff98cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-09-23T07:27:32.000Z",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/8736e53fe730b11b09fb583bd4e5f398db34db8216e95fb717317dd559f89022",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-09-23T07:23:57.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/f756a0e7d89c16dec22aefb87e56a6a2158bdfedc19b2dd83716965f0b3b3d4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-09-23T07:13:27.000Z",
      "arch": "emscripten",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/e31637752b4163e7cb614f93d47511b18c988556838f122141e9b43cb3ceb6d4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-09-23T07:16:04.000Z",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/ba396f91f20a2e74bd8e7d53d6d54bd6353b28f22914ca9820967f1ba27e8efe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-09-23T07:12:40.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/79f36ebb17aa1d2e443510e246e96ba4517961078f52ea768e7356a116b965b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-09-23T07:12:35.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/85807ec66d7bd85ec677466f4aaffc7537586e8806a7a919cbc171cd60a971a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-09-23T07:16:07.000Z",
      "arch": "aarch64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/c37e8ef18c04a1c81de5d89ace608abdd67b4072973fd32284913e5c42789de2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-09-23T07:12:40.000Z",
      "arch": "x86_64",
      "commit": "72168a19a3cda9f5945c9305107744d7312c6cf5",
      "fileid": "https://r2.ropensci.org/33ec7c0322016307cd7853cdc40309271cfc610914c879f17cfb06a2732bdea3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/winvector/actions/runs/35830068851"
    }
  ]
}