fix behaviour of R.pipe when given one argument

Related to #216