From f528795bd4f02bd32b0242686034a432395ba52f Mon Sep 17 00:00:00 2001 From: Matthew Fidler Date: Tue, 29 Oct 2024 17:31:32 -0500 Subject: [PATCH 1/3] Fix api ptr --- src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.c b/src/init.c index e209c8415..c73dc2c3f 100644 --- a/src/init.c +++ b/src/init.c @@ -402,7 +402,7 @@ SEXP _rxode2_rxode2Ptr(void) { SEXP rxode2getIndDv = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndDv, R_NilValue, R_NilValue)); pro++; SEXP rxode2getIndYj = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndYj, R_NilValue, R_NilValue)); pro++; SEXP rxode2getIndLimit = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndLimit, R_NilValue, R_NilValue)); pro++; - SEXP rxode2getIndCens = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndLimit, R_NilValue, R_NilValue)); pro++; + SEXP rxode2getIndCens = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndCens, R_NilValue, R_NilValue)); pro++; SEXP rxode2getIndIdx = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndIdx, R_NilValue, R_NilValue)); pro++; SEXP rxode2getOpNeq = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getOpNeq, R_NilValue, R_NilValue)); pro++; SEXP rxode2setOpNeq = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&setOpNeq, R_NilValue, R_NilValue)); pro++; From 119e7db8dc457037faac4c87eee18a1ff446908b Mon Sep 17 00:00:00 2001 From: Matthew Fidler Date: Tue, 29 Oct 2024 18:56:54 -0500 Subject: [PATCH 2/3] Add to news --- NEWS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NEWS.md b/NEWS.md index db4e73ff9..ecbbe6f43 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,8 @@ # rxode2 (development version) +- Bug fix for `api`, the censoring function pointer has been updated + (#801). + - Query `rxode2.verbose.pipe` at run time instead of requiring it to be set before loading `rxode2`. From 61fa873f979b9d5c762bb3c5b5580f0756d7497f Mon Sep 17 00:00:00 2001 From: Matthew Fidler Date: Tue, 29 Oct 2024 18:58:58 -0500 Subject: [PATCH 3/3] Bump rxode2 version --- DESCRIPTION | 2 +- NEWS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index fccf83183..5b68bcffc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: rxode2 -Version: 3.0.1.9000 +Version: 3.0.2 Title: Facilities for Simulating from ODE-Based Models Authors@R: c( person("Matthew L.","Fidler", role = c("aut", "cre"), email = "matthew.fidler@gmail.com", comment=c(ORCID="0000-0001-8538-6691")), diff --git a/NEWS.md b/NEWS.md index ecbbe6f43..faddb7c0a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# rxode2 (development version) +# rxode2 3.0.2 - Bug fix for `api`, the censoring function pointer has been updated (#801).