hashNlStatBody: Return the hash of an nlStat function body

Description Usage Arguments Value Examples

View source: R/stats.R

Description

Return the hash of an nlStat function body with whitespace removed. This is to help uniquely identify a function

Usage

1
hashNlStatBody(nlStatBody)

Arguments

nlStatBody

The function body of the nlStat

Value

a character vector

Examples

1
2
Rnightlights:::hashNlStatBody(nlStatBody = 'function (..., na.rm = FALSE)  .Primitive("sum")')
#returns "f0fbe35d81578311ba8f362137832e779b7b4f39"

chrisvwn/Rnightlights documentation built on Sept. 7, 2021, 1:44 a.m.