The behaviour of using ENCODExplorer::encode_df by default when the df parameter is NULL in queryEncode and downloadEncode fails if those functions are called from within a package rahter than the global environment whre library(ENCODExplorer) has been called.
The behaviour of using ENCODExplorer::encode_df by default when the df parameter is NULL in queryEncode and downloadEncode fails if those functions are called from within a package rahter than the global environment whre library(ENCODExplorer) has been called.