R version 4.4.0 alpha (2024-04-05 r86350 ucrt) Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(CodeDepends) > library(Rgraphviz) Loading required package: graph Loading required package: BiocGenerics Attaching package: 'BiocGenerics' The following objects are masked from 'package:stats': IQR, mad, sd, var, xtabs The following objects are masked from 'package:base': Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted, lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind, rownames, sapply, setdiff, table, tapply, union, unique, unsplit, which.max, which.min Loading required package: grid > sc = readScript(system.file("samples", "parallel.R", package = "CodeDepends")) > > g = makeVariableGraph(,sc) > plot(g) > > g = makeTaskGraph(,sc) > plot(g) > > > > g2 = makeCallGraph("package:CodeDepends") # package with prefix > g3 = makeCallGraph("getInputs") # single fun > g4 = makeCallGraph(c("package:CodeDepends", "package:Rgraphviz")) #multiple pkgs > g5 = makeCallGraph(c("package:CodeDepends", "edgeData")) #mix pkg and fun > > proc.time() user system elapsed 1.46 0.15 1.60