check_myfun: Checks myfun object before it is passed to applyExtfunction

View source: R/check_myfun.R

check_myfunR Documentation

Checks myfun object before it is passed to applyExtfunction

Description

Checks that object myfun is a list and check the elements of the list for: that element names are as expected, that value of each element is of the expected type and length.

Usage

  check_myfun(myfun, windowsizes)
  

Arguments

myfun

See applyExtFunction

windowsizes

See g.getmeta).

Value

0 if all checkes passed, 1 if one or more checks did not pass. Error message are printed to the console with feedback on which checks did not pass.

Author(s)

Vincent T van Hees <v.vanhees@accelting.com>


GGIR documentation built on Oct. 17, 2023, 1:12 a.m.