uptake / pkgnet

R package for analyzing other R packages via graph representations of their dependencies
https://uptake.github.io/pkgnet/
Other
155 stars 37 forks source link

FIX : rare multiple values in deparse #331

Open bthieurmel opened 4 months ago

bthieurmel commented 4 months ago

Hi,

Working on client R package, pkgnet shows errors on Function Network page :

image

It's seems to due to (rare) case of multiple expression in deparse object. One simple fix is to check only first value (or perhaps used %in% ?)

bthieurmel commented 4 months ago

Complement : our case with multiple values in deparse(x[[1]]) :

image