Something was going wrong with the gsub replacing the cbind call. This PR fixes that by instead just directly replacing the second element of the formula (which corresponds to the LHS), with the correct symbol. It works for the example bug that prompted issue #73 . And I think it should work in general, but please give it a look over @daijiang. Thanks!
Something was going wrong with the
gsub
replacing thecbind
call. This PR fixes that by instead just directly replacing the second element of the formula (which corresponds to the LHS), with the correct symbol. It works for the example bug that prompted issue #73 . And I think it should work in general, but please give it a look over @daijiang. Thanks!