T or F, and gathers the expression containing these.
This is useful as in R T and F are just variables which
are set to the logicals TRUE and FALSE by default, but
are not reserved words and hence can be overwritten by the user.
Hence, one should always use TRUE and FALSE for the
logicals.checkTnF(package, dir, file, lib.loc = NULL)R (for
R code), and should also contain man (for documentation).
Only used if package is not given. If used, the R code files
and the examples in the documentation files are checked.package nor dir are given.NULL. The default value of NULL corresponds to all
libraries currently known. The specified library trees are used to
search for package."checkTnF" which is a list containing, for
each file where occurrences of T or F were found, a list
with the expressions containing these occurrences. The names of the
list are the corresponding file names. There is a print method for nicely displaying the information
contained in such objects.