Closed mpadge closed 2 years ago
Also this:
library (pkgstats)
packageVersion ("pkgstats")
#> [1] '0.0.3.51'
u <- "https://cran.r-project.org/src/contrib/yuima_1.9.6.tar.gz"
tarball <- tail (strsplit (u, "\\/") [[1]], 1L)
f <- file.path (tempdir (), tarball)
download.file (u, f)
s <- pkgstats (f)
ss <- pkgstats_summary (s)
ss [["external_calls"]]
#> [1] ":1:1,base:6029:153,glassoFast:1:1,graphics:95:6,lattice:18:2,MASS:2:1,Matrix:3:1,methods:230:7,stats:453:50,utils:125:5,yuima:990:434"
ex <- s$external_calls
table (ex$package)
#>
#> base glassoFast graphics lattice MASS Matrix
#> 1 6029 1 95 18 2 3
#> methods stats utils yuima
#> 230 453 125 990
Created on 2021-12-03 by the reprex package (v2.0.1.9000)
package name is missing for that first entry.
Created on 2021-12-03 by the reprex package (v2.0.1.9000)
!rlang
should berlang
.