validate_translation: Check if an object has a valid translation structure

Description Usage Arguments

View source: R/lama_dictionary.R

Description

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

Usage

1
2
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


a-maldet/labelmachine documentation built on Nov. 10, 2019, 6:18 p.m.