r-script icon indicating copy to clipboard operation
r-script copied to clipboard

R error while running async example

Open chintanp opened this issue 7 years ago • 0 comments

I am getting the error while running the async example: C:\temp\nodeapps\rtest\example.js:9 if (err) throw err; ^ summarise_each()is deprecated. Usesummarise_all(), summarise_at()orsummarise_if()instead. To mapfunsover all variables, usesummarise_all()

This seems to be an R error, see here. Apparently, summarise_each() is deprecated.

Changing to summarise_all() gets rid of the error and gives the expected output:

[ { group: '(40,55]', rating: 46.7143, advance: 41.1429 }, { group: '(55,70]', rating: 64.6154, advance: 41.9231 }, { group: '(70,85]', rating: 77.2, advance: 45.5 } ]

chintanp avatar Jun 27 '18 01:06 chintanp