In tools/make_cpp.R, you need to change line 36 from
constructors = list(c("SEXP", "SEXP")), fields = character(),
to
constructors = list(c("SEXP", "SEXP", "SEXP")), fields = character(),
In tools/make_cpp.R, you need to change line 36 from
constructors = list(c("SEXP", "SEXP")), fields = character(),
to
constructors = list(c("SEXP", "SEXP", "SEXP")), fields = character(),