Learn R Programming

labelmachine (version 1.0.0)

validate_translation: Check if an object has a valid translation structure

Description

This function checks if the object structure is that of a translation (named character vector).

Usage

validate_translation(obj,
  err_handler = composerr("The object has not a valid translation structure"))

Arguments

obj

An object that should be tested

err_handler

An error handling function