tests/testthat.R

# This file is part of the standard setup for testthat.
# It is recommended that you do not modify it.
#
# Where should you do additional test configuration?
# Learn more about the roles of various files in:
# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
# * https://testthat.r-lib.org/articles/special-files.html

library(testthat)
library(xml2)

is_solaris <- tolower(Sys.info()[["sysname"]]) == "sunos"

if (!is_solaris) {
  test_check("xml2")
}
hadley/xml2 documentation built on Jan. 10, 2024, 3:52 p.m.