It appears as if the function spot_funsfiles (and likely other spot* functions) are not able to identify the originating package for a function if it has been loaded in a script using library("pkg") function call, even though including the quotes is also a correct form.
When the library call was changed to library(pkg), the pkgs-column in the table produced by the code below was correctly populated, and didn't contain fields with an (unknown) -value
My code to check for depencencies was the following:
It appears as if the function spot_funsfiles (and likely other spot* functions) are not able to identify the originating package for a function if it has been loaded in a script using
library("pkg")
function call, even though including the quotes is also a correct form.When the library call was changed to
library(pkg)
, the pkgs-column in the table produced by the code below was correctly populated, and didn't contain fields with an(unknown)
-valueMy code to check for depencencies was the following: