Package check result: OK Changes to worse in reverse depends: Package: readmoRe Check: examples New result: ERROR Running examples in ‘readmoRe-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: read.to.list > ### Title: Read various input file formats into a list of data frames. > ### Wrapper function for 'read2list' to automate reading further and > ### avoid errors due to missing folders or files. > ### Aliases: read.to.list > ### Keywords: utilities > > ### ** Examples > > # The function readxl::read_excel is used internally to read Excel files. > # The example used their example data. > readxl_datasets <- readxl::readxl_example("datasets.xlsx") > # A randomly generated data frame was saved to a tab-separated text file > # and two different R object files. > tsv_datasets <- dir(system.file("extdata", package = "readmoRe"), full.names = TRUE) > # All example data are read into a list. From the Excel file, the first > # sheet is read. > dat <- read.to.list(c(readxl_datasets, tsv_datasets)) @ MULTI DATA LOADER @ VERSATILE FILE READER v.0.2.12 Reading Excel file datasets.xlsx... Reading 1 sheet(s)... Sheet 1... done Reading object image file tsv_dataset.rds...done Reading text file tsv_dataset.tsv...done Reading object image file tsv_dataset.xdr...done > # All example data are read into a list. From the Excel file, the first > # 3 sheets are read. > dat <- read.to.list(c(readxl_datasets, tsv_datasets), nsheets=3) @ MULTI DATA LOADER @ VERSATILE FILE READER v.0.2.12 Reading Excel file datasets.xlsx... Reading 3 sheet(s)... Sheet 1... done Sheet 2... done Sheet 3... done Reading object image file tsv_dataset.rds...done Reading text file tsv_dataset.tsv...done Reading object image file tsv_dataset.xdr...done > # All example data are read into a list. From the Excel file, sheets 1 and > # 4 are read. > dat <- read.to.list(c(readxl_datasets, tsv_datasets), sheet=c(1, 4)) @ MULTI DATA LOADER @ VERSATILE FILE READER v.0.2.12 Reading Excel file datasets.xlsx... Reading sheet(s) number 1,4... Sheet 1 read Error: Can't retrieve sheet in position 4, only 3 sheet(s) found. Execution halted