Closed drnickisaac closed 3 years ago
We need to right a print method for this object class
I have fixed this:
session.info <- sessionInfo()
packages <- c(sapply(session.info[7][[1]], function(x) x$Version), sapply(session.info[8][[1]], function(x) x$Version))
then
session_info = list(session.info[-c(7:8)], packages)
I just ran the code in the help section of
occDetFunc()
. I then tried to look at the output and found there is too much information to actually look at properly.attr(results, "metadata")
looks fine. However, the screenshot below shows the problem evident using the two different ways of looking at the structure of the output.The bottom left of the screen shows that 1281 lines of information have been omitted from the information provided in the Environment pane. The right hand side shows you what I see after typing
str(results)
then scrolling up to the top of the screen. Neither of them gives a complete picture, because there is too much unnecessary information about the packages that have been loaded. Should be easy to fix, I think.