{
  "_id": "6a12aa8eacfb0bcc41d16d9a",
  "Package": "assertHE",
  "Title": "Visualisation and Verification of Health Economic Decision\nModels",
  "Version": "1.0.1.9000",
  "Authors@R": "c(\nperson(\"Robert\", \"Smith\", , \"rsmith@darkpeakanalytics.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-0245-3217\")),\nperson(\"Wael\", \"Mohammed\", , \"wmohammed@darkpeakanalytics.com\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0003-0370-4903\")),\nperson(\"Jack\", \"Smith\", , \"\", role = c(\"aut\")),\nperson(\"Oliver\", \"Dolin\", , \"odolin@darkpeakanalytics.com\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0003-0766-1277\")),\nperson(\"Dark Peak Analytics Ltd\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Designed to help health economic modellers when building\nand reviewing models. The visualisation functions allow users\nto more easily review the network of functions in a project,\nand get lay summaries of them. The asserts included are\nintended to check for common errors, thereby freeing up time\nfor modellers to focus on tests specific to the individual\nmodel in development or review. For more details see Smith and\ncolleagues (2024)<doi:10.12688/wellcomeopenres.23180.1>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://dark-peak-analytics.github.io/assertHE/,\nhttps://github.com/dark-peak-analytics/assertHE",
  "BugReports": "https://github.com/dark-peak-analytics/assertHE/issues",
  "Config/pak/sysreqs": "libcairo2-dev cmake libfontconfig1-dev\nlibfreetype6-dev libfribidi-dev libglpk-dev make\nlibharfbuzz-dev libicu-dev libjpeg-dev libpng-dev libtiff-dev\nlibuv1-dev libwebp-dev libxml2-dev libssl-dev zlib1g-dev",
  "Repository": "https://dark-peak-analytics.r-universe.dev",
  "Date/Publication": "2026-02-23 09:36:00 UTC",
  "RemoteUrl": "https://github.com/dark-peak-analytics/asserthe",
  "RemoteRef": "HEAD",
  "RemoteSha": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 07:31:16 UTC",
    "User": "root"
  },
  "Author": "Robert Smith [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-0245-3217>),\nWael Mohammed [aut] (ORCID: <https://orcid.org/0000-0003-0370-4903>),\nJack Smith [aut],\nOliver Dolin [aut] (ORCID: <https://orcid.org/0000-0003-0766-1277>),\nDark Peak Analytics Ltd [cph, fnd]",
  "Maintainer": "Robert Smith <rsmith@darkpeakanalytics.com>",
  "MD5sum": "399921eea586d76138ce1b6e5cbfe053",
  "_user": "dark-peak-analytics",
  "_type": "src",
  "_file": "assertHE_1.0.1.9000.tar.gz",
  "_fileid": "6644409ae3b388a0b9b1a6af1190c4164239867260d04cea44c66368c9e1419d",
  "_filesize": 250818,
  "_sha256": "6644409ae3b388a0b9b1a6af1190c4164239867260d04cea44c66368c9e1419d",
  "_created": "2026-05-24T07:31:16.000Z",
  "_published": "2026-05-24T07:36:46.130Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77580626408,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183299868"
    },
    {
      "job": 77580626414,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183301535"
    },
    {
      "job": 77580626411,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183309867"
    },
    {
      "job": 77580626412,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183311541"
    },
    {
      "job": 77580430217,
      "time": 212,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183281435"
    },
    {
      "job": 77580626406,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183295884"
    },
    {
      "job": 77580626413,
      "time": 116,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183293861"
    },
    {
      "job": 77580626415,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183293891"
    },
    {
      "job": 77580626416,
      "time": 108,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183292913"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dark-peak-analytics/actions/runs/26355145446",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dark-peak-analytics/asserthe",
  "_commit": {
    "id": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
    "author": "Wael Mohammed <wmamohammed1@sheffield.ac.uk>",
    "committer": "Wael Mohammed <wmamohammed1@sheffield.ac.uk>",
    "message": "Increment version number to 1.0.1.9000\n",
    "time": 1771839360
  },
  "_maintainer": {
    "name": "Robert Smith",
    "email": "rsmith@darkpeakanalytics.com",
    "login": "robertasmith",
    "linkedin": "in/robert-smith-53b28438",
    "orcid": "0000-0003-0245-3217",
    "twitter": "@R06ertSm1th",
    "description": "Health Economist @dark-peak-analytics ",
    "uuid": 41961614
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "visNetwork",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "officer",
      "role": "Imports"
    },
    {
      "package": "flextable",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "shinyjs",
      "role": "Imports"
    },
    {
      "package": "rstudioapi",
      "role": "Imports"
    },
    {
      "package": "roxygen2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "waiter",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "colourpicker",
      "role": "Suggests"
    },
    {
      "package": "clipr",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    }
  ],
  "_owner": "dark-peak-analytics",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.1",
      "date": "2026-02-19"
    }
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "robertasmith",
      "count": 205,
      "uuid": 41961614
    },
    {
      "user": "w-mohammed",
      "count": 55,
      "uuid": 58259938
    },
    {
      "user": "smit-tay",
      "count": 38,
      "uuid": 3866606
    },
    {
      "user": "oliverodolin",
      "count": 19,
      "uuid": 109159966
    },
    {
      "user": "nialldavison",
      "count": 3,
      "uuid": 119408531
    }
  ],
  "_userbio": {
    "uuid": 102600772,
    "type": "organization",
    "name": "Dark Peak Analytics",
    "description": "Consulting at the intersection of health economics and data science."
  },
  "_downloads": {
    "count": 244,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/assertHE"
  },
  "_devurl": "https://github.com/dark-peak-analytics/asserthe",
  "_pkgdown": "https://dark-peak-analytics.github.io/assertHE/",
  "_searchresults": 11,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/assertHE.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dark-peak-analytics/asserthe",
  "_realowner": "dark-peak-analytics",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-04-24"
    },
    {
      "version": "1.0.1",
      "date": "2026-02-20"
    }
  ],
  "_exports": [
    "assertHE_example",
    "check_init",
    "check_markov_trace",
    "check_trans_prob_array",
    "check_trans_prob_mat",
    "create_prompt",
    "extract_function_name",
    "find_files",
    "find_folder_function_definitions",
    "find_function_calls_in_file",
    "find_function_calls_in_folder",
    "find_function_definitions",
    "find_next_vector_element",
    "find_previous_vector_element",
    "get_active_functions",
    "get_file_cheers_classifications",
    "get_folder_cheers_classifications",
    "get_foo_coverage",
    "get_function_data",
    "get_roxygen_description",
    "identify_dependencies",
    "locate_funcs",
    "plot_PSA_stability",
    "plotNetwork",
    "source_funcs",
    "source_lines",
    "summarise_function_from_arguments_and_body",
    "summarise_function_with_LLM",
    "summarise_model",
    "visualise_project",
    "wrap_string"
  ],
  "_help": [
    {
      "page": "dot-called_by",
      "title": "Called By",
      "topics": [
        ".called_by"
      ]
    },
    {
      "page": "dot-parse_function",
      "title": "Parse Function",
      "topics": [
        ".parse_function"
      ]
    },
    {
      "page": "assertHE_example",
      "title": "Get path to assertHE example",
      "topics": [
        "assertHE_example"
      ]
    },
    {
      "page": "check_init",
      "title": "Check and initialize a vector",
      "topics": [
        "check_init"
      ]
    },
    {
      "page": "check_markov_trace",
      "title": "Check Markov Trace",
      "topics": [
        "check_markov_trace"
      ]
    },
    {
      "page": "check_trans_prob_array",
      "title": "Check Transition Probability Array",
      "topics": [
        "check_trans_prob_array"
      ]
    },
    {
      "page": "check_trans_prob_mat",
      "title": "Check Transition Probability Matrix",
      "topics": [
        "check_trans_prob_mat"
      ]
    },
    {
      "page": "create_prompt",
      "title": "Create a prompt for a LLM",
      "topics": [
        "create_prompt"
      ]
    },
    {
      "page": "define_app_server",
      "title": "Create Shiny app server logic",
      "topics": [
        "define_app_server"
      ]
    },
    {
      "page": "define_app_ui",
      "title": "Create Shiny app UI",
      "topics": [
        "define_app_ui"
      ]
    },
    {
      "page": "extract_function_name",
      "title": "Extract function name from a string",
      "topics": [
        "extract_function_name"
      ]
    },
    {
      "page": "find_files",
      "title": "find_files",
      "topics": [
        "find_files"
      ]
    },
    {
      "page": "find_folder_function_definitions",
      "title": "Creates summary of R files in folder with functions defined within and locations.",
      "topics": [
        "find_folder_function_definitions"
      ]
    },
    {
      "page": "find_function_calls_in_file",
      "title": "Find all function calls in file",
      "topics": [
        "find_function_calls_in_file"
      ]
    },
    {
      "page": "find_function_calls_in_folder",
      "title": "Find specific function calls in a folder",
      "topics": [
        "find_function_calls_in_folder"
      ]
    },
    {
      "page": "find_function_definitions",
      "title": "Parses an R source file, returns function names defined within.",
      "topics": [
        "find_function_definitions"
      ]
    },
    {
      "page": "find_next_vector_element",
      "title": "Find the next element of the vector after a value",
      "topics": [
        "find_next_vector_element"
      ]
    },
    {
      "page": "find_previous_vector_element",
      "title": "Find the previous element of the vector before a value",
      "topics": [
        "find_previous_vector_element"
      ]
    },
    {
      "page": "get_active_functions",
      "title": "get all active functions that exist in the global environment",
      "topics": [
        "get_active_functions"
      ]
    },
    {
      "page": "get_file_cheers_classifications",
      "title": "Get cheers classification tags from a given file",
      "concept": [
        "cheers"
      ],
      "topics": [
        "get_file_cheers_classifications"
      ]
    },
    {
      "page": "get_folder_cheers_classifications",
      "title": "Get cheers classification tags from a given folder",
      "concept": [
        "cheers"
      ],
      "topics": [
        "get_folder_cheers_classifications"
      ]
    },
    {
      "page": "get_foo_coverage",
      "title": "Get coverage by function",
      "topics": [
        "get_foo_coverage"
      ]
    },
    {
      "page": "get_function_data",
      "title": "Retrieve Function data to a list",
      "topics": [
        "get_function_data"
      ]
    },
    {
      "page": "get_function_line",
      "title": "Extract function line in file path",
      "topics": [
        "get_function_line"
      ]
    },
    {
      "page": "get_function_path",
      "title": "Remove artefacts from file path",
      "topics": [
        "get_function_path"
      ]
    },
    {
      "page": "get_isolated_foo",
      "title": "Get Isolated Functions",
      "topics": [
        "get_isolated_foo"
      ]
    },
    {
      "page": "get_roxygen_description",
      "title": "Get Title and Description from Parsed List",
      "topics": [
        "get_roxygen_description"
      ]
    },
    {
      "page": "get_roxygen_description_from_foo",
      "title": "Get roxygen title and description from function",
      "topics": [
        "get_roxygen_description_from_foo"
      ]
    },
    {
      "page": "identify_dependencies",
      "title": "Identify Dependencies",
      "topics": [
        "identify_dependencies"
      ]
    },
    {
      "page": "locate_funcs",
      "title": "locate_funcs",
      "topics": [
        "locate_funcs"
      ]
    },
    {
      "page": "make_closable_tab",
      "title": "Create closable shiny tab",
      "topics": [
        "make_closable_tab"
      ]
    },
    {
      "page": "plot_PSA_stability",
      "title": "Plot cumulative mean Probabilistic Sensitivity Analysis results",
      "topics": [
        "plot_PSA_stability"
      ]
    },
    {
      "page": "plotNetwork",
      "title": "Plot Network",
      "topics": [
        "plotNetwork"
      ]
    },
    {
      "page": "processNodes",
      "title": "Process Nodes",
      "topics": [
        "processNodes"
      ]
    },
    {
      "page": "return_message",
      "title": "Extract the content from the output of the LLM",
      "topics": [
        "return_message"
      ]
    },
    {
      "page": "run_shiny_app",
      "title": "Run a Shiny app to host a network visualization",
      "topics": [
        "run_shiny_app"
      ]
    },
    {
      "page": "source_funcs",
      "title": "source_funcs",
      "topics": [
        "source_funcs"
      ]
    },
    {
      "page": "source_lines",
      "title": "source_lines",
      "topics": [
        "source_lines"
      ]
    },
    {
      "page": "summarise_function_from_arguments_and_body",
      "title": "Summarise a function from its arguments and body",
      "topics": [
        "summarise_function_from_arguments_and_body"
      ]
    },
    {
      "page": "summarise_function_with_LLM",
      "title": "Summarize a function using a Large Language Model",
      "topics": [
        "summarise_function_with_LLM"
      ]
    },
    {
      "page": "summarise_model",
      "title": "Summarise the model functions in a single folder.",
      "topics": [
        "summarise_model"
      ]
    },
    {
      "page": "visualise_project",
      "title": "Visualize Project",
      "topics": [
        "visualise_project"
      ]
    },
    {
      "page": "wrap_string",
      "title": "Wrap a string to lines of a specified width",
      "topics": [
        "wrap_string"
      ]
    }
  ],
  "_readme": "https://github.com/dark-peak-analytics/asserthe/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "assertthat",
    "base64enc",
    "brew",
    "bslib",
    "cachem",
    "callr",
    "cli",
    "commonmark",
    "covr",
    "cpp11",
    "curl",
    "data.table",
    "desc",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "flextable",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "fs",
    "gdtools",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "httr",
    "igraph",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "officer",
    "openssl",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "processx",
    "promises",
    "ps",
    "purrr",
    "R6",
    "ragg",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rex",
    "rlang",
    "rmarkdown",
    "roxygen2",
    "rprojroot",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "shiny",
    "shinyjs",
    "sourcetools",
    "stringi",
    "stringr",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "visNetwork",
    "waiter",
    "withr",
    "xfun",
    "xml2",
    "xtable",
    "yaml",
    "zip"
  ],
  "_score": 4.684845361644412,
  "_indexed": true,
  "_nocasepkg": "asserthe",
  "_universes": [
    "dark-peak-analytics",
    "robertasmith"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-05-24T07:33:47.000Z",
      "distro": "noble",
      "commit": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
      "fileid": "a4b7ca09d4002349fab8a45717e0b8a652158c343fba458ba6fac0a336c01aef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dark-peak-analytics/actions/runs/26355145446"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-05-24T07:34:02.000Z",
      "distro": "noble",
      "commit": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
      "fileid": "d10e3928d2ef4ea4dc0f8e0fedef60593e80ce78faea8b9ec4a2225f727e19b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dark-peak-analytics/actions/runs/26355145446"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-24T07:35:36.000Z",
      "commit": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
      "fileid": "3e5f45e5916b4958ee2cc0a3c2aa39176d17cdedbf325552b0d7733bf1b8c163",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dark-peak-analytics/actions/runs/26355145446"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-24T07:35:50.000Z",
      "commit": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
      "fileid": "2ab1d44121d666102fa2559b8f73ed69577cdb8337bae3976dff3de9770a576f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dark-peak-analytics/actions/runs/26355145446"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-05-24T07:33:49.000Z",
      "commit": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
      "fileid": "9304db46d0610118124e501619a6b229dbf65ef675adec3fd1ddd4b1bba1989a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dark-peak-analytics/actions/runs/26355145446"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-24T07:32:37.000Z",
      "commit": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
      "fileid": "dec8315d45556b2bc1f1dc301ec9b653d549700077a768a240ffffec4d9dec53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dark-peak-analytics/actions/runs/26355145446"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-24T07:32:37.000Z",
      "commit": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
      "fileid": "a4d1c1b01899db41b4609baaf41811a6b12dc8994dcf7ea24d58e1718fca641c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dark-peak-analytics/actions/runs/26355145446"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-24T07:32:34.000Z",
      "commit": "e3f7ad1396a6fe3daee5eee477fca73491befda8",
      "fileid": "3c3e9bdd124fd9bcae36a5002b98b8b4c6be8f63403d42157cc5fee4b6a23653",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dark-peak-analytics/actions/runs/26355145446"
    }
  ]
}