Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #72 from nlmixr2/71-feature-request-r-based-user-d…
Browse files Browse the repository at this point in the history
…efined-functions

71 feature request r based user defined functions
  • Loading branch information
mattfidler authored Nov 5, 2023
2 parents 36dd96c + be7213c commit 73114bb
Show file tree
Hide file tree
Showing 32 changed files with 978 additions and 51 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Imports:
utils,
digest,
rex,
symengine,
data.table (>= 1.12.4)
Suggests:
testthat (>= 3.0.0),
Expand Down
13 changes: 13 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,29 @@
S3method(as.data.frame,rxEtTran)
S3method(print,rxModelVars)
export(.convertId)
export(.extraC)
export(.extraCnow)
export(.getLastIdLvl)
export(.getWh)
export(.rxC)
export(.rxSEeqUsr)
export(.rxTransInfo)
export(.rxode2parseFunPtrs)
export(.symengineFs)
export(.toClassicEvid)
export(.udfCallFunArg)
export(.udfEnvReset)
export(.udfEnvSet)
export(.udfEnvSetUdf)
export(.udfExists)
export(.udfMd5Info)
export(etTransParse)
export(forderForceBase)
export(rxDerived)
export(rxFunParse)
export(rxParseSetSilentErr)
export(rxParseSuppressMsg)
export(rxRmFunParse)
export(rxSetIni0)
export(rxode2parse)
export(rxode2parseAssignPackagesToLoad)
Expand Down
8 changes: 7 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# rxode2parse (development version)

* Added ability to query R user functions in a rxode2 model (will
force single threaded solve)

* Moved core `rxFunParse` and `rxRmFunParse` here so that C and R user
function clashes can be handled

* Model variables now tracks which compartments have a lag-time defined

* For compartment with steady state doses (NONMEM equivalent SS=1,
Expand All @@ -18,7 +24,7 @@

* Steady state bolus doses with `addl` are treated as non steady state
events (like what is observed in `NONMEM`)

* Timsort was upgraded; drop radix support in rxode2 struct

# rxode2parse 2.0.16
Expand Down
2 changes: 1 addition & 1 deletion R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ etTransEvidIsObs <- function(isObsSexp) {
#' @param ssAtDoseTime Boolean that when `TRUE` back calculates the
#' steady concentration at the actual time of dose, otherwise when
#' `FALSE` the doses are shifted
#'
#'
#' @return Object for solving in rxode2
#'
#' @keywords internal
Expand Down
Loading

0 comments on commit 73114bb

Please sign in to comment.