I have plumber
version 1.0.0 installed and I also installed jsonlite
1.7.1 when I try to load library(jsonlite)
I get back:
Error in value[[3L]](cond) :
Package ‘jsonlite’ version 1.6 cannot be unloaded:
Error in unloadNamespace(package) : namespace ‘jsonlite’ is imported by ‘webutils’, ‘plumber’ so cannot be unloaded
In addition: Warning message:
package ‘jsonlite’ was built under R version 3.6.3
So I thought that some of jsonlite
functions are already available through plumber
, but toJSON(some_df, pretty = T)
generates error:
Error in toJSON(some_df, pretty = T) : could not find function "toJSON"
Any thoughts?