Closed Olisidecar closed 3 years ago
Check that you still get this error in a new session. It looks like you have functions in the global environment that are masking the package.
I get the same error
it looks like this function isnt set as @export
. https://github.com/Azure/Microsoft365R/blob/4b9909aee30a888f336fed13f55691aa8fe72cd7/R/Microsoft365R.R#L80
if i put it in my global env it then the parent functions work
I'm running into this when trying to use Microsoft365R in a package.
I've imported the whole Microsoft365R package (ie. #' @import Microsoft365R
), but still get could not find function "make_basic_list"
when using get_team
in my package.
I'm encountering a function error when trying to use any of the
list_
functions or theget_sharepoint_site()
function in Microsoft365R.I receive the console error:
Error in make_basic_list(self, "joinedTeams", filter, n) : could not find function "make_basic_list"
The
get_business_onedrive()
function appears to be working.This error began following a fresh package install and re-authorisation, as I had been granted access to an external organisation's sharepoint site. I cannot find any reference to the
make_basic_list()
function in any documentation so cannot determine if I have missing package dependencies.Any help is welcome!
System spec: R-4.0.5 Windows 10