Update global reference from ramda to R