diff --git a/DESCRIPTION b/DESCRIPTION index 1a00bd1..42b1d0a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: V8 Type: Package Title: Embedded JavaScript and WebAssembly Engine for R -Version: 4.4.0 +Version: 4.4.1 Authors@R: c( person("Jeroen", "Ooms", role = c("aut", "cre"), email = "jeroen@berkeley.edu", comment = c(ORCID = "0000-0002-4035-0289")), diff --git a/NEWS b/NEWS index b754830..8d6ac8a 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +4.4.1 + - Fix a printf warning for CRAN + 4.4.0 - Windows (R-4.3 and up): update libv8 to 11.8.172.13 + arm64 support. diff --git a/src/bindings.cpp b/src/bindings.cpp index 047e6c1..51ec1cc 100644 --- a/src/bindings.cpp +++ b/src/bindings.cpp @@ -144,7 +144,7 @@ static void ConsoleWarn(const v8::FunctionCallbackInfo& args) { for (int i=0; i < args.Length(); i++) { v8::HandleScope handle_scope(args.GetIsolate()); v8::String::Utf8Value str(args.GetIsolate(), args[i]); - Rf_warningcall_immediate(R_NilValue, ToCString(str)); + Rf_warningcall_immediate(R_NilValue, "%s", ToCString(str)); } //args.GetReturnValue().Set(v8::Undefined(args.GetIsolate())); }