{
  "_id": "6ac6433df511ae58c09a90cd",
  "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-10-07 10:27:13 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/dd73adf0f9b3d0c6faacb0fa9c88e00513c5ef4e973f3d213e2d97acc157ed01",
  "_filesize": 230929,
  "_sha256": "dd73adf0f9b3d0c6faacb0fa9c88e00513c5ef4e973f3d213e2d97acc157ed01",
  "_expires": "2027-01-15T13:03:55.000Z",
  "_created": "2026-10-07T10:27:13.000Z",
  "_published": "2026-10-07T13:03:57.728Z",
  "_buildurl": "https://github.com/r-universe/miracum/actions/runs/37607139025",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112746575640,
      "time": 99,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11475750658"
    },
    {
      "job": 112746575562,
      "time": 114,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11474779779"
    },
    {
      "job": 112746575618,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11483508105"
    },
    {
      "job": 112746575719,
      "time": 169,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11483876833"
    },
    {
      "job": 112745494422,
      "time": 170,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11475383294"
    },
    {
      "job": 112746575503,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11476145010"
    },
    {
      "job": 112746575644,
      "time": 71,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11475740647"
    },
    {
      "job": 112746575830,
      "time": 70,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11475463234"
    },
    {
      "job": 112746575767,
      "time": 71,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11475930218"
    }
  ],
  "_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": "resolute",
  "_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": [],
  "_tags": [],
  "_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",
    "followers": 31,
    "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": 441,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DIZtools"
  },
  "_devurl": "https://github.com/miracum/misc-diztools",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DIZtools.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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-10-07T10:29:01.000Z",
      "distro": "resolute",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/b5f6ddc7f314068f04e642753b71a13da53ae581655d44e8298ebabd31a1c712",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/37607139025"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-07T10:29:16.000Z",
      "distro": "resolute",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/08601b6fae750bc344b4b9233cdc2909bd2c713796df0429dbe94528b90e9f02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/37607139025"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-07T13:02:23.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/34d7fd3be49d53cbd1fe16ebd436f48128e45164d1763f4d63869f69bb59dc0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/37607139025"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-07T13:02:38.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/75393f5b925d891afd10a6d6f1cabbe8cfe864aa0b6790eb91654509e7c869ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/37607139025"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-10-07T10:29:04.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/4404c461fcb3a3b22a07f1c8abe62f1630a2d8c7d74dd128b2ef8426fcf1c2bb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/37607139025"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-07T10:28:30.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/58986711a3882d49e56452744dd40143504e37714f5994d84ff66f80e0d8fa36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/37607139025"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-07T10:28:27.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/76f3928f51b4b2fe5341ef962eab7fd5830227d33e0b690aa376c6b86b7a7a76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/37607139025"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-07T10:28:27.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "https://r2.ropensci.org/6babbb26cb2e9edb291c04bdbea497178812027c491f74c24d50b3f4bd47490b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/37607139025"
    }
  ]
}