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

if (identical(tolower(Sys.getenv("NOT_CRAN")), "true")) {
  options(java.parameters = '-Xmx2G')

  library(testthat)
  library(r5rgui)

  test_check("r5rgui")
}

Try the r5rgui package in your browser

Any scripts or data that you put into this service are public.

r5rgui documentation built on Nov. 25, 2025, 9:07 a.m.