nexml_validate: validate nexml using the online validator tool

Description Usage Arguments Details Value Examples

View source: R/nexml_validate.R

Description

validate nexml using the online validator tool

Usage

1
nexml_validate(file, schema = CANONICAL_SCHEMA)

Arguments

file

path to the nexml file to validate

schema

URL of schema (for fallback method only, set by default).

Details

Requires an internet connection. see http://www.nexml.org/nexml/phylows/validator for more information in debugging invalid files

Value

TRUE if the file is valid, FALSE or error message otherwise

Examples

1
2
3
4
5
## Not run: 
f <- system.file("extdata/example.xml", package="nexld")
nexml_validate("birds_orders.xml")

## End(Not run)

cboettig/nexld documentation built on Sept. 18, 2019, 7:11 a.m.