{
  "_id": "6a4a1d9a0b5cb829d3708d6f",
  "Package": "DIZtools",
  "Title": "Lightweight Utilities for 'DIZ' R Package Development",
  "Version": "1.0.3",
  "Date": "2025-09-22",
  "Authors@R": "c(\nperson(\"Jonathan M.\", \"Mang\", , \"jonathan.mang@uk-erlangen.de\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0518-4710\")),\nperson(\"Lorenz A.\", \"Kapsner\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-1866-860X\")),\nperson(\"MIRACUM - Medical Informatics in Research and Care in University Medicine\", role = \"fnd\"),\nperson(\"Universitätsklinikum Erlangen, Germany\", role = \"cph\")\n)",
  "Description": "Lightweight utility functions used for the R package\ndevelopment infrastructure inside the data integration centers\n('DIZ') to standardize and facilitate repetitive tasks such as\nsetting up a database connection or issuing notification\nmessages and to avoid redundancy.",
  "License": "GPL-3",
  "URL": "https://github.com/miracum/misc-diztools",
  "BugReports": "https://github.com/miracum/misc-diztools/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "RoxygenNote": "7.3.2",
  "Repository": "https://miracum.r-universe.dev",
  "Date/Publication": "2025-09-23 07:29:49 UTC",
  "RemoteUrl": "https://github.com/miracum/misc-diztools",
  "RemoteRef": "HEAD",
  "RemoteSha": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 07:49:35 UTC",
    "User": "root"
  },
  "Author": "Jonathan M. Mang [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0518-4710>),\nLorenz A. Kapsner [aut] (ORCID:\n<https://orcid.org/0000-0003-1866-860X>),\nMIRACUM - Medical Informatics in Research and Care in University\nMedicine [fnd],\nUniversitätsklinikum Erlangen, Germany [cph]",
  "Maintainer": "Jonathan M. Mang <jonathan.mang@uk-erlangen.de>",
  "_user": "miracum",
  "_type": "src",
  "_file": "DIZtools_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/38a3e9be98437d97079c03beb88cc30403951682eb247d350a1d20ee4b14fd13",
  "_filesize": 232188,
  "_sha256": "38a3e9be98437d97079c03beb88cc30403951682eb247d350a1d20ee4b14fd13",
  "_expires": "2026-10-13T09:02:16.000Z",
  "_created": "2026-06-09T07:49:35.000Z",
  "_published": "2026-07-05T09:02:18.591Z",
  "_jobs": [
    {
      "job": 85209087567,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501637131"
    },
    {
      "job": 85209087585,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501639049"
    },
    {
      "job": 85209087566,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501922695"
    },
    {
      "job": 85209087437,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501890840"
    },
    {
      "job": 85209087394,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501591625"
    },
    {
      "job": 85209087477,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501628922"
    },
    {
      "job": 85209087430,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501628684"
    },
    {
      "job": 85209087459,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501622704"
    },
    {
      "job": 85209087451,
      "time": 63,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501614879"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/miracum/actions/runs/27191677905",
  "_status": "success",
  "_upstream": "https://github.com/miracum/misc-diztools",
  "_commit": {
    "id": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
    "author": "Jonathan Mang <jonathan.mang@uk-erlangen.de>",
    "committer": "Jonathan Mang <jonathan.mang@uk-erlangen.de>",
    "message": "chore: deactivated example for `get_package_names`\n",
    "time": 1758612589
  },
  "_maintainer": {
    "name": "Jonathan M. Mang",
    "email": "jonathan.mang@uk-erlangen.de",
    "login": "joundso",
    "linkedin": "in/jonathan-mang",
    "orcid": "0000-0003-0518-4710",
    "description": "Medical Data Scientist",
    "uuid": 56686638
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cleaR",
      "role": "Imports"
    },
    {
      "package": "config",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "logger",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "parsedate",
      "role": "Imports"
    },
    {
      "package": "R.utils",
      "role": "Imports"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinyjs",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "miracum",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-39",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "1.0.3",
      "date": "2025-09-23"
    }
  ],
  "_topics": [
    "snippets",
    "tools"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "joundso",
      "count": 94,
      "uuid": 56686638
    },
    {
      "user": "kapsner",
      "count": 42,
      "uuid": 44973495
    }
  ],
  "_userbio": {
    "uuid": 25475545,
    "type": "organization",
    "name": "MIRACUM",
    "description": "MIRACUM–this is ten universities with ten university hospitals, two universities of applied sciences and one industrial partner spread over seven German states."
  },
  "_downloads": {
    "count": 216,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DIZtools"
  },
  "_devurl": "https://github.com/miracum/misc-diztools",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DIZtools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/miracum/misc-diztools",
  "_realowner": "miracum",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2022-02-08"
    },
    {
      "version": "0.0.3",
      "date": "2022-02-24"
    },
    {
      "version": "0.0.4",
      "date": "2022-03-03"
    },
    {
      "version": "0.0.5",
      "date": "2022-05-18"
    },
    {
      "version": "0.0.6",
      "date": "2022-11-21"
    },
    {
      "version": "0.0.7",
      "date": "2023-01-23"
    },
    {
      "version": "0.0.8",
      "date": "2023-03-16"
    },
    {
      "version": "1.0.0",
      "date": "2023-08-29"
    },
    {
      "version": "1.0.1",
      "date": "2023-09-18"
    },
    {
      "version": "1.0.2",
      "date": "2025-03-17"
    },
    {
      "version": "1.0.3",
      "date": "2025-09-23"
    }
  ],
  "_exports": [
    "%notin%",
    "assign_to_R_env",
    "calculate_check_digit",
    "check_if_unique_rows",
    "clean_path_name",
    "cleanup_old_logfile",
    "clear",
    "close_all_connections",
    "dt_row_to_string",
    "equals2",
    "feedback",
    "file_lines_to_list",
    "firstup",
    "format_posixct",
    "get_config",
    "get_current_timestamp",
    "get_package_names",
    "is_date_format",
    "is.empty",
    "log_get_current_options",
    "log_get_default_options",
    "log_remove_options",
    "log_set_defaults",
    "number_to_position",
    "paste_pct_sum",
    "paste2",
    "pretty_timestamp",
    "rep2",
    "robust_round",
    "setdiff_all",
    "setenv_file",
    "setenv2",
    "string_replacements",
    "test_check_digit",
    "time_diff_print",
    "trim.space",
    "vgsub"
  ],
  "_help": [
    {
      "page": "grapes-notin-grapes",
      "title": "notin helper function. Opposite of `in` function.",
      "topics": [
        "%notin%"
      ]
    },
    {
      "page": "assign_to_R_env",
      "title": "Add variable to R environment (in contrast to system environment).",
      "topics": [
        "assign_to_R_env"
      ]
    },
    {
      "page": "calculate_check_digit",
      "title": "Calculate Check Digit Using DIN/ISO 7064, Mod 11,10",
      "topics": [
        "calculate_check_digit"
      ]
    },
    {
      "page": "check_if_unique_rows",
      "title": "Takes a data.table dataset and checks if for each unique element in a specified column there is exaclty one row.",
      "topics": [
        "check_if_unique_rows"
      ]
    },
    {
      "page": "clean_path_name",
      "title": "Clean paths to surely have a tailing slash or not.",
      "topics": [
        "clean_path_name"
      ]
    },
    {
      "page": "cleanup_old_logfile",
      "title": "Archives the current logfile and creates a new blank one.",
      "topics": [
        "cleanup_old_logfile"
      ]
    },
    {
      "page": "clear",
      "title": "Clean the console and environment-variables.",
      "topics": [
        "clear"
      ]
    },
    {
      "page": "close_all_connections",
      "title": "Unset/close all open connections.",
      "topics": [
        "close_all_connections"
      ]
    },
    {
      "page": "dt_row_to_string",
      "title": "Get the content of a data.table row in print-ready format.",
      "topics": [
        "dt_row_to_string"
      ]
    },
    {
      "page": "equals2",
      "title": "Robust compare two elements and return true if both elements are the same. False otherwise. No `NA` or `NULL`.",
      "topics": [
        "equals2"
      ]
    },
    {
      "page": "feedback",
      "title": "Function to feedback messages either to the user and/or to the console and to the logfile.",
      "topics": [
        "feedback"
      ]
    },
    {
      "page": "feedback_get_formatted_string",
      "title": "Format the feedback string",
      "topics": [
        "feedback_get_formatted_string"
      ]
    },
    {
      "page": "feedback_to_console",
      "title": "Print to the console. Internal use only.",
      "topics": [
        "feedback_to_console"
      ]
    },
    {
      "page": "feedback_to_logfile",
      "title": "Add to the logfile. Internal use.",
      "topics": [
        "feedback_to_logfile"
      ]
    },
    {
      "page": "feedback_to_logjs",
      "title": "Feedback to the gui/browser-console with logjs. Internal use.",
      "topics": [
        "feedback_to_logjs"
      ]
    },
    {
      "page": "feedback_to_ui",
      "title": "Feedback to the user with a modal. Internal use.",
      "topics": [
        "feedback_to_ui"
      ]
    },
    {
      "page": "file_lines_to_list",
      "title": "Read in lines from a file and store it in a list.",
      "topics": [
        "file_lines_to_list"
      ]
    },
    {
      "page": "firstup",
      "title": "Converts the first letter of the input string to uppercase.",
      "topics": [
        "firstup"
      ]
    },
    {
      "page": "format_posixct",
      "title": "Formats a given POSIXct timestamp without the need of manually specifing format parameters.",
      "topics": [
        "format_posixct"
      ]
    },
    {
      "page": "get_config",
      "title": "Reads a config yaml file and return the value for a given key.",
      "topics": [
        "get_config"
      ]
    },
    {
      "page": "get_current_timestamp",
      "title": "Quickly get the current time stamp without the need to handle format-options etc.",
      "topics": [
        "get_current_timestamp"
      ]
    },
    {
      "page": "get_package_names",
      "title": "Get used package names from R/qmd-files.",
      "topics": [
        "get_package_names"
      ]
    },
    {
      "page": "is_date_format",
      "title": "Checks if a string matches a given date format.",
      "topics": [
        "is_date_format"
      ]
    },
    {
      "page": "is.empty",
      "title": "Check for empty/`NA`/`NULL`/`NaN`/etc. values.",
      "topics": [
        "is.empty"
      ]
    },
    {
      "page": "log_get_current_options",
      "title": "Get the current settings for the logging function as list.",
      "topics": [
        "log_get_current_options"
      ]
    },
    {
      "page": "log_get_default_options",
      "title": "Get the default settings for the logging function as list.",
      "topics": [
        "log_get_default_options"
      ]
    },
    {
      "page": "log_internal_test",
      "title": "Internal function for debugging only.",
      "topics": [
        "log_internal_test"
      ]
    },
    {
      "page": "log_map_type_to_loggertype",
      "title": "Get the logger type from the type string (the argument of the `feedback()` function)",
      "topics": [
        "log_map_type_to_loggertype"
      ]
    },
    {
      "page": "log_remove_options",
      "title": "Remove all log-related options from `options()`.",
      "topics": [
        "log_remove_options"
      ]
    },
    {
      "page": "log_set_defaults",
      "title": "Set default options for all log-functions",
      "topics": [
        "log_set_defaults"
      ]
    },
    {
      "page": "number_to_position",
      "title": "Converts an integer number to its \"verbal position\".  1 -> \"1st\", 2 -> \"2nd\", 3 -> \"3rd\", 4 -> \"4th\", ...",
      "topics": [
        "number_to_position"
      ]
    },
    {
      "page": "paste_pct_sum",
      "title": "Get the percentage of two values pretty formatted.",
      "topics": [
        "paste_pct_sum"
      ]
    },
    {
      "page": "paste2",
      "title": "Normal `paste` function with additional `collapse_last` argument.",
      "topics": [
        "paste2"
      ]
    },
    {
      "page": "pretty_timestamp",
      "title": "Quickly get a pretty timestamp without need to handle format-options etc.",
      "topics": [
        "pretty_timestamp"
      ]
    },
    {
      "page": "rep2",
      "title": "Repeat something with the ability to also collapse the output.",
      "topics": [
        "rep2"
      ]
    },
    {
      "page": "robust_round",
      "title": "Round numbers without problems.",
      "topics": [
        "robust_round"
      ]
    },
    {
      "page": "setdiff_all",
      "title": "Get the difference of two vectors in both directions.",
      "topics": [
        "setdiff_all"
      ]
    },
    {
      "page": "setenv_file",
      "title": "Set all variables of a `.env` file to the system environment.",
      "topics": [
        "setenv_file"
      ]
    },
    {
      "page": "setenv2",
      "title": "Assign variables to the system environment.",
      "topics": [
        "setenv2"
      ]
    },
    {
      "page": "string_replacements",
      "title": "Clean string with a given set of replacements.",
      "topics": [
        "string_replacements"
      ]
    },
    {
      "page": "test_check_digit",
      "title": "Validate an ID Using the Check Digit (DIN ISO 7064, Mod 11,10)",
      "topics": [
        "test_check_digit"
      ]
    },
    {
      "page": "time_diff_print",
      "title": "Calculate time difference of two timestamps, round the value and return a string with suiting unit.",
      "topics": [
        "time_diff_print"
      ]
    },
    {
      "page": "trim.space",
      "title": "Trim Spaces of a string.",
      "topics": [
        "trim.space"
      ]
    },
    {
      "page": "vgsub",
      "title": "Vectorised string replacement.",
      "topics": [
        "vgsub"
      ]
    }
  ],
  "_pkglogo": "https://github.com/miracum/misc-diztools/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/miracum/misc-diztools/raw/HEAD/README.md",
  "_rundeps": [
    "cleaR",
    "config",
    "data.table",
    "logger",
    "magrittr",
    "parsedate",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "yaml"
  ],
  "_score": 4.1303337684950066,
  "_indexed": true,
  "_nocasepkg": "diztools",
  "_universes": [
    "miracum",
    "joundso"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-09T07:51:55.000Z",
      "distro": "noble",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/2968e53b5d890d38f8d57fb0841306f3a7a08ffcdf28e9d2811c53aaaf507ad2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27191677905"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-09T07:51:58.000Z",
      "distro": "noble",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/91ebf7031e7871c4bafcb4a4ce97dc84cc0981809d9c1873874d3076021dade3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27191677905"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-09T08:06:15.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/9e5bb6e914e5478d857351da7b2da272026f2b57925bc158f4416bf4f00f7834",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27191677905"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-09T08:03:40.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/cd422db0916eb06e813d5fa0d817f98c755d14650a26095c2861ff1dfc88d3d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27191677905"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-09T07:51:40.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/c37c03fe1419cc41bdf5f2f9d612792f884abda966ba33096dad6ca27a073ba2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27191677905"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-09T07:51:18.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/fae6c77380d7720345f7429bd79696b2770c6b058925045f84a91e1d3ccb8324",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27191677905"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-09T07:51:03.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/727129c3cf9a34ba6816c00db3b39f03be1f936291454fd6647c50855a701199",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27191677905"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-09T07:50:43.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/91bd74f899cd0e640a4d0cd1de23c5a14344b1b8a9cf9421b1084f20166016a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/27191677905"
    }
  ]
}