This happens because both `jsonlite` and `purrr` exports a function called `flatten`. We could resolve this by selectively importing from `purrr` and `jsonlite`. At the moment, it's not clear to me where we use `jsonlite` at all.