R-ArcGIS/arcgislayers

registered S3 Method overwritten by jsonify: print.json

Closed this issue · 2 comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

This occurs when jsonlite is loaded before arcgislayers etc. and arc_select is used.
I wonder if we can prevent the printing method ever being used

I've removed the json class from all instances of jsonify::to_json() in arcgisutils. These are the only places I can think of where the object might get printed as a json class from jsonify. At the end of the day, there is no issue in this warning.

R-ArcGIS/arcgisutils@53680c9