
Last chance! 50% off unlimited learning
Sale ends in
check indexes. Mainly for internal usage in createIndex()
.
Not exported, so call it as rdwd:::checkIndex() if you want to
run tests yourself. Further test suggestions are welcome!
checkIndex(
findex = NULL,
mindex = NULL,
gindex = NULL,
excludefp = TRUE,
fast = FALSE,
warn = !quiet,
logfile = berryFunctions::packagePath(file = "misc/ExampleTests/warnings.txt"),
quiet = rdwdquiet()
)
Charstring with issues (if any) to be printed with cat()
.
fileIndex
. DEFAULT: NULL
metaIndex
. DEFAULT: NULL
geoIndex
. DEFAULT: NULL
Exclude false positives from geoIndex coordinate check results? DEFAULT: TRUE
Exclude the 3-minute location per ID check? DEFAULT: FALSE
Warn about issues? DEFAULT: !quiet
(TRUE)
File to copy log to, appended to existing content. NULL to suppress. DEFAULT: "misc/ExampleTests/warnings.txt"
Logical: Suppress progress messages?
DEFAULT: FALSE through rdwdquiet()
Berry Boessenkool, berry-b@gmx.de, May 2019
createIndex
data(fileIndex) ; data(metaIndex) ; data(geoIndex)
# ci <- rdwd:::checkIndex(findex=fileIndex, mindex=metaIndex, gindex=geoIndex)
# cat(ci)
Run the code above in your browser using DataLab