tests/perl.R

if (!require("WriteXLS")) stop("Package WriteXLS is not available.")

z <- Sys.getenv("_R_CHECK_HAVE_PERLCSVXS_")

Sys.info()

if(identical(as.logical(z), TRUE)) { 
  if (!testPerl(verbose=FALSE)) 
     stop("Perl or required modules used by WriteXLS are not functional.") 
  } else {
     message("PERL or modules not available. Skipping tests.\n")
     message("_R_CHECK_HAVE_PERLCSVXS_ setting ", z, "\n")
     }

Try the tframePlus package in your browser

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

tframePlus documentation built on March 18, 2024, 3:01 p.m.