inst/testWithInternet/0serviceCheck-TSxls.R

service <- Sys.getenv("_R_CHECK_HAVE_PERLCSVXS_")

Sys.info()

if(identical(as.logical(service), TRUE)) {
   require("TSmisc") 
   if( ! any(c("XLS","XLSX") %in% gdata::xlsFormats())) stop("Perl libraries are not available." )
 }else {
   cat("Perl libraries not available. Skipping tests.\n")
   cat("_R_CHECK_HAVE_PERLCSVXS_ setting ", service, "\n")
   }

Try the TSmisc package in your browser

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

TSmisc documentation built on May 2, 2019, 5:47 p.m.