util_md5sum_str: Get MD5 hash for a character vector

Description Usage Arguments Value Examples

View source: R/nhl_utils.R

Description

Writes x to a temporary file using writeChar() and computes the md5sum() on that file, removing the file afterwards.

Usage

1

Arguments

x

character(), vector to compute the MD5 for.

Value

character(1), MD5 hash of a text file created from x using writeChar().

Examples

1
  nhlapi:::util_md5sum_str("test")

nhlapi documentation built on Feb. 20, 2021, 9:06 a.m.