check_malicious_chars: Check for malicious characters in node names

View source: R/validate-deep.R

check_malicious_charsR Documentation

Check for malicious characters in node names

Description

Detects control characters and Unicode bidirectional text markers that could be used for display spoofing.

Usage

check_malicious_chars(names, filepath = "<unknown>")

Arguments

names

Character vector of node names to check.

filepath

Character. Source file for error messages.

Value

Invisibly returns TRUE if clean. Stops on detection.


Rclade documentation built on Sept. 26, 2026, 5:07 p.m.