Skip to content

Commit

Permalink
Bug fix and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Apr 11, 2019
1 parent 03119f0 commit 55f9bb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Imports: Rcpp (>= 0.12.3), brew, lattice, parallel, lbfgs,
dparser, methods, ggplot2, memoise, rex, minqa, Matrix,
R.utils, n1qn1, fastGHQuad,
crayon, cli, RcppArmadillo (>= 0.5.600.2.0), vpc (>= 1.0.0),
RxODE(>= 0.9.0-1), nlme, magrittr, tidyr, sys
RxODE(>= 0.9.0-2), nlme, magrittr, tidyr, sys
Suggests: knitr, rmarkdown, dplyr, data.table, lbfgsb3c, testthat,
madness, devtools, expm, matrixcalc, reshape2, nloptr, ucminf,
Rvmmin
Version: 1.1.0-2
Version: 1.1.0-3
Authors@R: c(person("Matthew","Fidler",
role = "aut", email = "[email protected]",
comment=c(ORCID="0000-0001-8538-6691")),
Expand Down
8 changes: 5 additions & 3 deletions R/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -1629,9 +1629,11 @@ nlmixrUIModel <- function(fun, ini=NULL, bigmodel=NULL){
misplaced.dists <- character();
}
}
if (misplaced.dists == "f"){
if (!any(regexpr(rex::rex(one_of("Ff"), any_spaces, "(", except_some_of(")\n"), ")", any_spaces, or("<-", "=")), .deparse(rest), perl=TRUE) != -1)){
misplaced.dists <- character();
if (length(misplaced.dists) == 1){
if (misplaced.dists == "f"){
if (!any(regexpr(rex::rex(one_of("Ff"), any_spaces, "(", except_some_of(")\n"), ")", any_spaces, or("<-", "=")), .deparse(rest), perl=TRUE) != -1)){
misplaced.dists <- character();
}
}
}
} else if (length(misplaced.dists)==2){
Expand Down

0 comments on commit 55f9bb9

Please sign in to comment.