Skip to content

Commit

Permalink
Allow spaces in Windows paths for RxODE models
Browse files Browse the repository at this point in the history
See Issue #29
  • Loading branch information
mattfidler committed Feb 6, 2018
1 parent b4babed commit cc4ad36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/saem_fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ gen_saem_user_fn = function(model, PKpars=attr(model, "default.pars"), pred=NULL
## if(is.win) x = gsub("\\\\", "/", utils::shortPathName(x))
## x = sub("/nlmixr", "", x)
.lib= if(is.ode) model$cmpMgr$dllfile else ""
if (is.ode && .Platform$OS.type=="windows") .lib <- gsub("\\\\", "/", utils::shortPathName(.lib));

make_str = 'PKG_CXXFLAGS=%s\nPKG_LIBS=%s $(BLAS_LIBS) $(LAPACK_LIBS) $(FLIBS)\n'
make_str = sprintf(make_str, nmxInclude(c("nlmixr","StanHeaders","Rcpp","RcppArmadillo","RcppEigen","BH")), .lib)
Expand Down

0 comments on commit cc4ad36

Please sign in to comment.