{
  "_id": "6a104b87acfb0bcc41c9ff43",
  "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-05-10 07:50:44 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>",
  "MD5sum": "ead402a5a477596b34c25aaa17cc6a2f",
  "_user": "miracum",
  "_type": "src",
  "_file": "DIZtools_1.0.3.tar.gz",
  "_fileid": "24cfd71d689669424f9f2f97b78a41512805f846751a82bd426d58cbcbd3949f",
  "_filesize": 233523,
  "_sha256": "24cfd71d689669424f9f2f97b78a41512805f846751a82bd426d58cbcbd3949f",
  "_created": "2026-05-10T07:50:44.000Z",
  "_published": "2026-05-22T12:26:47.246Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77379079361,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902099010"
    },
    {
      "job": 77379079351,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902097670"
    },
    {
      "job": 77379079592,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902096686"
    },
    {
      "job": 77379079268,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902097159"
    },
    {
      "job": 77379078739,
      "time": 159,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902084825"
    },
    {
      "job": 77379078830,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160434295"
    },
    {
      "job": 77379079363,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902094147"
    },
    {
      "job": 77379079381,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902093503"
    },
    {
      "job": 77379079966,
      "time": 125,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902098121"
    }
  ],
  "_buildurl": "https://github.com/r-universe/miracum/actions/runs/25623279650",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 56686638
  },
  "_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": 346,
    "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-05-10T07:53:05.000Z",
      "distro": "noble",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "68ce9916db63ce25c97a37566a19e9898cc2c1ae0cce90218207190ccaf096a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/25623279650"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-10T07:52:51.000Z",
      "distro": "noble",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "52bc64fd4f3ff37042742c8ff2c042359f5ee4a8e03012497e52adc5119b1793",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/25623279650"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-10T07:52:45.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "18b1ee87ffc1a02194125e21395e0c4765b296cc1459c4b5461ca5fe79888ccb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/25623279650"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-10T07:52:46.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "680e12738caecb1b5093f708d526a168a9f8c1e388ad2bea12c827bf1542dedb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/25623279650"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-10T07:52:11.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "9980483ccdd78d25de6cc27d3088f3c8c856a750ff1d7ce4d3ef94c7ccc2f504",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/25623279650"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-10T07:52:07.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "48b9c3a99417686b82725aa1347c4ff92161c0bb6cd452f4b03589abbb83b1f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/25623279650"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-10T07:52:53.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "d31c9beb142dbeac68890cb7f1c5ead720418c65269db8e835a80bb09c839e42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/25623279650"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-22T12:26:28.000Z",
      "commit": "5bfcf3cc5fe4ad7ecddc4f03b598edde544dfb89",
      "fileid": "3e75d203c627856d2fa09f9d1264362c7c6c6cf3fdee45799927879c9d4c821d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/miracum/actions/runs/25623279650"
    }
  ]
}