I am working on a golem shiny app package and am having trouble with one of the functions in the PREDA package within one of the modules. The function that I am calling is PREDA::statisticsForPREDAfromEset, the error is in the code block below. I know that the function that the call is within works because it will run in a script when I load the package "PREDAsampledata." I believe the function that is called within "statisticsForPREDAfromEset" is in the Biobase package but I am not sure as I cannot find the source code. I have tried using a roxygen tag to import the function (#' @importFrom Biobase sampleNames) but that still does not work when I run the app. I do not want to load and attach any package within the app, so I am hoping to find a different solution.
Any help is appreciated!
# The error that is returned
Warning: Error in sampleNames: could not find function "sampleNames"
[No stack trace available]