Skip to content

Commit

Permalink
Fix a printf warning for cran
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 4, 2023
1 parent 33ddfb5 commit 18ceaa1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: Client for 'jq', a 'JSON' processor (<https://jqlang.github.io/jq/>
written in C. 'jq' allows the following with 'JSON' data: index into, parse,
do calculations, cut up and filter, change key names and values, perform
conditionals and comparisons, and more.
Version: 1.3.2
Version: 1.3.3
Depends:
R (>= 3.1.2)
License: MIT + file LICENSE
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
jqr 1.3.3
=========

* Fix printf warning for cran

jqr 1.3.2
=========

Expand Down
2 changes: 1 addition & 1 deletion src/jqr.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static void error_cb(void * data, jv x) {
char buf[1000];
strncpy(buf, jv_string_value(x), 999);
jv_free(x);
Rf_errorcall(R_NilValue, buf);
Rf_errorcall(R_NilValue, "%s", buf);
}

static SEXP make_string(const char * str){
Expand Down

0 comments on commit 18ceaa1

Please sign in to comment.