Skip to content

Commit

Permalink
removed cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Byrne committed Sep 23, 2024
1 parent fed6973 commit f194f82
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions R/build_metadata_shell.R
Original file line number Diff line number Diff line change
Expand Up @@ -405,24 +405,5 @@ extract_sessionInfo <- function(

}

# pkg_list <- si$loadedOnly
#
# pkg_extract <- lapply(pkg_list, function(pkg){
#
# pkg_fields <- lapply(seq_along(fields), function(idx) {
# if(fields[idx] %in% names(pkg)) {
# field_info <- pkg[[fields[idx]]]
# } else {
# field_info <- NA_character_
# }
# return(field_info)
# })
#
# names(pkg_fields) <- fields
# return(pkg_fields)
# })
#
# si$loadedOnly <- pkg_extract

return(si)
}

0 comments on commit f194f82

Please sign in to comment.