{
  "_id": "6a1fe1bfb401979e7343a001",
  "Package": "dynamicpv",
  "Title": "Evaluates Present Values and Health Economic Models with Dynamic\nPricing and Uptake",
  "Version": "0.4.2",
  "Authors@R": "c(\nperson(\"Dominic\", \"Muston\", , \"dom.muston@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-4876-7940\")),\nperson(\"John\", \"Blischak\", role = c(\"ctb\"),\ncomment = c(ORCID = \"0000-0003-2634-9879\")),\nperson(\"Merck & Co., Inc., Rahway, NJ, USA and its affiliates\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "The goal of 'dynamicpv' is to provide a simple way to\ncalculate (net) present values and outputs from health economic\nmodels (especially cost-effectiveness and budget impact) in\ndiscrete time that reflect dynamic pricing and dynamic uptake.\nDynamic pricing is also known as life cycle pricing; dynamic\nuptake is also known as multiple or stacked cohorts, or dynamic\ndisease prevalence. Shafrin (2024) <doi:10.1515/fhep-2024-0014>\nprovides an explanation of dynamic value elements, in the\ncontext of Generalized Cost Effectiveness Analysis, and Puls\n(2024) <doi:10.1016/j.jval.2024.03.006> reviews challenges of\nincorporating such dynamic value elements. This package aims to\nreduce those challenges.",
  "License": "GPL (>= 3)",
  "URL": "https://MSDLLCpapers.github.io/dynamicpv/,\nhttps://github.com/MSDLLCpapers/dynamicpv",
  "BugReports": "https://github.com/MSDLLCpapers/dynamicpv/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libx11-dev",
  "Repository": "https://msdllcpapers.r-universe.dev",
  "Date/Publication": "2026-04-29 21:55:37 UTC",
  "RemoteUrl": "https://github.com/msdllcpapers/dynamicpv",
  "RemoteRef": "HEAD",
  "RemoteSha": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 08:07:14 UTC",
    "User": "root"
  },
  "Author": "Dominic Muston [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-4876-7940>),\nJohn Blischak [ctb] (ORCID: <https://orcid.org/0000-0003-2634-9879>),\nMerck & Co., Inc., Rahway, NJ, USA and its affiliates [cph, fnd]",
  "Maintainer": "Dominic Muston <dom.muston@gmail.com>",
  "MD5sum": "87012c1f9330574079c667e6d13788ee",
  "_user": "msdllcpapers",
  "_type": "src",
  "_file": "dynamicpv_0.4.2.tar.gz",
  "_fileid": "8a03dbdd56a1f38aa89960bb751c9183ef388f662a871e01f601ecb2fbde818d",
  "_filesize": 809988,
  "_sha256": "8a03dbdd56a1f38aa89960bb751c9183ef388f662a871e01f601ecb2fbde818d",
  "_created": "2026-06-03T08:07:14.000Z",
  "_published": "2026-06-03T08:11:43.908Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79249520603,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7379085530"
    },
    {
      "job": 79249520770,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7379084014"
    },
    {
      "job": 79249520701,
      "time": 229,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7379090035"
    },
    {
      "job": 79249520642,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7379073930"
    },
    {
      "job": 79248836970,
      "time": 259,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379030061"
    },
    {
      "job": 79249520560,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379083454"
    },
    {
      "job": 79249520684,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7379074876"
    },
    {
      "job": 79249520610,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7379064247"
    },
    {
      "job": 79249520531,
      "time": 106,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7379066177"
    }
  ],
  "_buildurl": "https://github.com/r-universe/msdllcpapers/actions/runs/26871790617",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/msdllcpapers/dynamicpv",
  "_commit": {
    "id": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
    "author": "Dominic Muston <127244690+dom-muston@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #32 from dom-muston/main\n\nCran submission confirmation",
    "time": 1777499737
  },
  "_maintainer": {
    "name": "Dominic Muston",
    "email": "dom.muston@gmail.com",
    "login": "dom-muston",
    "linkedin": "in/dominic-muston-a897517",
    "orcid": "0000-0003-4876-7940",
    "description": "",
    "uuid": 127244690
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "heemod",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "flexsurv",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    }
  ],
  "_owner": "msdllcpapers",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 4
    },
    {
      "week": "2025-32",
      "n": 19
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-39",
      "n": 2
    },
    {
      "week": "2025-40",
      "n": 4
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 6
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 4
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.4.1",
      "date": "2026-01-10"
    },
    {
      "name": "v0.4.2",
      "date": "2026-04-29"
    }
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "dom-muston",
      "count": 98,
      "uuid": 127244690
    },
    {
      "user": "jdblischak",
      "count": 11,
      "uuid": 1608317
    },
    {
      "user": "michaelturnbach",
      "count": 1,
      "uuid": 74424051
    }
  ],
  "_userbio": {
    "uuid": 137432561,
    "type": "organization",
    "name": "MSD  Inventing for Life",
    "description": "This GitHub's main purpose is to house open source code repositories published by MSD for public use ,research, and for publications outside the United States"
  },
  "_downloads": {
    "count": 528,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dynamicpv"
  },
  "_devurl": "https://github.com/msdllcpapers/dynamicpv",
  "_pkgdown": "https://MSDLLCpapers.github.io/dynamicpv/",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dynamicpv.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/msdllcpapers/dynamicpv",
  "_realowner": "msdllcpapers",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.1",
      "date": "2026-01-15"
    },
    {
      "version": "0.4.2",
      "date": "2026-04-30"
    }
  ],
  "_exports": [
    "addprod",
    "dynpv",
    "futurepv",
    "get_dynfields",
    "get_param_value",
    "ncoh",
    "ntimes",
    "sum_by_coh",
    "total",
    "trim_vec",
    "uptake"
  ],
  "_datasets": [
    {
      "name": "oncpsm",
      "title": "Heemod cost-effectiveness model example",
      "object": "oncpsm",
      "class": [
        "run_model",
        "data.frame"
      ],
      "fields": [
        "run_model",
        "eval_strategy_list",
        "uneval_strategy_list",
        "parameters",
        "init",
        "inflow",
        "cycles",
        "method",
        "ce",
        "root_strategy",
        "central_strategy",
        "noncomparable_strategy",
        "state_time_limit",
        "frontier"
      ],
      "rows": 0,
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "dot-dynpv",
      "title": "Method to subtract one dynpv object from another",
      "topics": [
        "-.dynpv"
      ]
    },
    {
      "page": "plus-.dynpv",
      "title": "Method to add two dynpv objects together",
      "topics": [
        "+.dynpv"
      ]
    },
    {
      "page": "addprod",
      "title": "Method to add two dynpv objects together",
      "topics": [
        "addprod"
      ]
    },
    {
      "page": "dynpv",
      "title": "Present values with dynamic pricing and dynamic uptake",
      "topics": [
        "dynpv"
      ]
    },
    {
      "page": "futurepv",
      "title": "Calculate present value for a payoff in a single cohort with dynamic pricing across multiple timepoints",
      "topics": [
        "futurepv"
      ]
    },
    {
      "page": "get_dynfields",
      "title": "Helper function to get a tibble of the relevant fields from heemod output",
      "topics": [
        "get_dynfields"
      ]
    },
    {
      "page": "get_param_value",
      "title": "Obtain parameter value(s) from a heemod output",
      "topics": [
        "get_param_value"
      ]
    },
    {
      "page": "mean.dynpv",
      "title": "Mean present value per uptaking patient",
      "topics": [
        "mean.dynpv"
      ]
    },
    {
      "page": "ncoh",
      "title": "Number of cohorts of uptaking patients",
      "topics": [
        "ncoh"
      ]
    },
    {
      "page": "ntimes",
      "title": "Number of times at which present value calculations are performed",
      "topics": [
        "ntimes"
      ]
    },
    {
      "page": "oncpsm",
      "title": "Heemod cost-effectiveness model example",
      "topics": [
        "oncpsm"
      ]
    },
    {
      "page": "sum_by_coh",
      "title": "Present value for each uptake cohort and calculation time",
      "topics": [
        "sum_by_coh"
      ]
    },
    {
      "page": "summary.dynpv",
      "title": "Summarize a dynpv object",
      "topics": [
        "summary.dynpv"
      ]
    },
    {
      "page": "total",
      "title": "Total present value",
      "topics": [
        "total"
      ]
    },
    {
      "page": "trim_vec",
      "title": "Trim the tailing zeroes from a long vector",
      "topics": [
        "trim_vec"
      ]
    },
    {
      "page": "uptake",
      "title": "Total number of uptaking patients",
      "topics": [
        "uptake"
      ]
    }
  ],
  "_pkglogo": "https://github.com/msdllcpapers/dynamicpv/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/msdllcpapers/dynamicpv/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "heemod",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "mvnfast",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "readr",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "budget-impact-applications.Rmd",
      "filename": "budget-impact-applications.html",
      "title": "Budget Impact Applications",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Methods and Assumptions",
        "General assumptions",
        "Dynamic pricing",
        "Dynamic uptake",
        "Implementation",
        "Set-up",
        "Results",
        "Scenario 1: No dynamic uptake or pricing",
        "Scenario 2: Dynamic pricing, no dynamic uptake",
        "Scenario 3: Dynamic uptake, not dynamic pricing",
        "Scenario 4: Dynamic pricing and uptake",
        "Summary",
        "Discussion"
      ],
      "created": "2025-10-07 16:53:16",
      "modified": "2026-03-11 21:28:27",
      "commits": 9
    },
    {
      "source": "cost-effectiveness-applications.Rmd",
      "filename": "cost-effectiveness-applications.html",
      "title": "Cost-Effectiveness Applications",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Methods and Assumptions",
        "General assumptions",
        "Dynamic pricing",
        "Dynamic uptake",
        "Implementation",
        "Set-up",
        "Cost-effectiveness model",
        "Results",
        "Without dynamic pricing or dynamic uptake",
        "Scenario 1: No dynamic uptake or pricing",
        "Scenario 2: Dynamic pricing, no dynamic uptake",
        "Scenario 3: Dynamic uptake, not dynamic pricing",
        "Scenario 4: Dynamic pricing and uptake",
        "Summary of results",
        "Future single cohort ICER",
        "Discussion"
      ],
      "created": "2025-09-28 18:00:43",
      "modified": "2026-01-10 22:20:06",
      "commits": 12
    },
    {
      "source": "math-framework.Rmd",
      "filename": "math-framework.html",
      "title": "Mathematical Framework",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction and Motivation",
        "What are dynamic pricing and dynamic uptake?",
        "Framework",
        "Overview of package",
        "References"
      ],
      "created": "2026-01-10 22:20:06",
      "modified": "2026-01-10 22:20:06",
      "commits": 1
    },
    {
      "source": "net-present-value.Rmd",
      "filename": "net-present-value.html",
      "title": "Net Present Value",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "NPV with static pricing and static uptake",
        "NPV with dynamic pricing and static uptake",
        "Prices that increase regularly",
        "Prices that increase irregularly",
        "NPV with static pricing and dynamic uptake",
        "Uptake is constant over time",
        "Uptake varies over time",
        "NPV with dynamic pricing and dynamic uptake"
      ],
      "created": "2026-01-10 22:20:06",
      "modified": "2026-01-10 22:20:06",
      "commits": 1
    }
  ],
  "_score": 6.593286067020458,
  "_indexed": true,
  "_nocasepkg": "dynamicpv",
  "_universes": [
    "msdllcpapers",
    "dom-muston"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-03T08:09:48.000Z",
      "distro": "noble",
      "commit": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
      "fileid": "2e031c828fcd885dc23c0ea7fb5999f794e15d7d94067202830bb22897872454",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/msdllcpapers/actions/runs/26871790617"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-03T08:09:47.000Z",
      "distro": "noble",
      "commit": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
      "fileid": "4dd10a8fa98935716b86d3050f6aecd238ea2b82ae9ab57df854a0c51b213213",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/msdllcpapers/actions/runs/26871790617"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-03T08:10:05.000Z",
      "commit": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
      "fileid": "e51f7351ab1c5a70483f30c14c5268742b7ae6a5ba3781cb54f582d485776eaa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/msdllcpapers/actions/runs/26871790617"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-03T08:09:17.000Z",
      "commit": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
      "fileid": "4eb5615567a761aad9d710b2a2379545c5349e2c4469a5f32a6183d58d92c838",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/msdllcpapers/actions/runs/26871790617"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-06-03T08:10:09.000Z",
      "commit": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
      "fileid": "0ea0781e044eabab9378c514791ce36be24435ee55fe2241849e455696c2a3e9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/msdllcpapers/actions/runs/26871790617"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-03T08:09:08.000Z",
      "commit": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
      "fileid": "0a6b818324279dd348bb94476672b7808d19b1180b775fcfcc1c1e92065553a9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/msdllcpapers/actions/runs/26871790617"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-03T08:08:39.000Z",
      "commit": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
      "fileid": "cb8f28eef99b4f1776f3d6bd0a00d1b79cf9c5a20732c3a3aee20dd161b15cb4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/msdllcpapers/actions/runs/26871790617"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-03T08:08:45.000Z",
      "commit": "2b5aa7d3191af9322a545ad1c3724033ab0b0310",
      "fileid": "c368514c4a1c3167da5c1f7f5988f65a41d739b6b89d9a1f8d993d8bcd6ad144",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/msdllcpapers/actions/runs/26871790617"
    }
  ]
}