Skip to content

Commit

Permalink
Get packages() call working for library
Browse files Browse the repository at this point in the history
  • Loading branch information
katieb1 committed Dec 2, 2023
1 parent d5d2382 commit 93cd93b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions R/packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ setMethod("packages", signature(ssimObject = "SsimLibrary"), function(ssimObject

browser()
# Retrieve list of packages in library
args <- list(list = NULL, pkgvers = NULL, lib = filepath(ssimObject))
tt <- command(args, program = "SyncroSim.Console.exe")
out <- .dataframeFromSSim(tt, csv = F)
#TODO: change to --packages when update to next version of SyncroSim v3
args <- list(list = NULL, pkgvers = NULL, lib = filepath(ssimObject), csv = NULL)
tt <- command(args, program = "SyncroSim.Console.exe",
progName=filepath(session(ssimObject)))
out <- .dataframeFromSSim(tt, csv = T)

return(out)
})

0 comments on commit 93cd93b

Please sign in to comment.