Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
philipdelff committed Aug 12, 2024
1 parent 3e56e9a commit 1dda219
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Binary file removed tests/testthat/testReference/NMdataConf_02.rds
Binary file not shown.
8 changes: 5 additions & 3 deletions tests/testthat/test_NMdataConf.R
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,19 @@ test_that("deprecated use.rds",{
## NMdataConf(use.rds=TRUE)
NMdataConf(formats.read=c("csv"))
new <- NMdataConf()


## can't compare functions
new$as.fun <- NULL
new$file.cov <- NULL
new$file.mod <- NULL
new$file.ext <- NULL
new$file.mod <- NULL
new$file.phi <- NULL
new$file.shk <- NULL
new$modelname <- NULL


expect_equal_to_reference(new,fileRef)
## compareCols(readRDS(fileRef),defaults)
compareCols(readRDS(fileRef),new)
})

test_that("reset removes unknown",{
Expand Down
8 changes: 3 additions & 5 deletions vignettes/ParameterTables.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ header-includes:
---

```{r,include = FALSE}
## library(NMdata)
library(devtools)
load_all("~/wdirs/NMdata")
library(NMdata)
## library(devtools)
## load_all("~/wdirs/NMdata")
NMdataConf(as.fun="data.table")
##knitr::opts_chunk$set(dev = "cairo_pdf")
Expand Down Expand Up @@ -228,8 +228,6 @@ mergeCheck(labs.auto[,.(par.name,symbol)],tab.offline,by="symbol",all.x=T)

<!-- off-diags missing. Merge info from ext? -->
```{r}
load_all("~/wdirs/NMdata")
NMdataConf(as.fun="data.table")
file2.mod <- system.file("examples/nonmem/xgxr133.mod",package="NMdata")
Expand Down

0 comments on commit 1dda219

Please sign in to comment.