Description
When calling the function getPlayerIterationAverages() function for an iteration where at least one team does not have any taggings yet, but a match is scheduled/played, the function throws an error.
Steps to Reproduce
Run the following code:
library(impectR)
username <- ""
password <- ""
token <- getAccessToken(username, password)
getPlayerIterationAverages(iteration = 1198, token = token)
Expected Behavior
The function should return player averages for all squads that participate in this iteration.
Actual Behavior
An error is raised:
Error in `map()`:
ℹ In index: 44.
Caused by error in `UseMethod()`:
! no applicable method for 'mutate' applied to an object of class "list"
Run `rlang::last_trace()` to see where the error occurred.
Environment
No response
Additional Context
No response
Description
When calling the function
getPlayerIterationAverages()function for an iteration where at least one team does not have any taggings yet, but a match is scheduled/played, the function throws an error.Steps to Reproduce
Run the following code:
Expected Behavior
The function should return player averages for all squads that participate in this iteration.
Actual Behavior
An error is raised:
Environment
No response
Additional Context
No response