https://github.com/ramnathv/htmlwidgets/blob/7b9c1ea3d9fbf4736d84f1fd1178fce0af29f8e3/R/scaffold.R#L121 IINM this could be subject to shell injection if `pkg` can be passed as an arbitrary input. system2() should have roughly the same level of code complexity & avoids this issue
htmlwidgets/R/scaffold.R
Line 121 in 7b9c1ea
IINM this could be subject to shell injection if
pkgcan be passed as an arbitrary input.system2() should have roughly the same level of code complexity & avoids this issue