Error when querying R API created with Plumber

Asked

Viewed 31 times

1

Friends, I created an api in Plumber , when I query this api directly in the browser I can see the data , but when I use the GET() function I have the following error :

Error in prettyNum(. Internal(format(x, Trim, digits, nsmall, width, 3L, : invalid 'Trim' argument

Would you have any solution to my problem? Thank you.

  • Could provide the code of the plumber and how you are doing the request with the GET()?

  • Resolved like this: r <- GET("url", Encode = 'json') R1 <- httr::content(r, 'text'). Thanks

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.