aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat
AgeCommit message (Collapse)AuthorFilesLines
2022-02-28Add test for summary.nlmixr.mmkinJohannes Ranke3-0/+118
2022-02-28Relax a test for travisJohannes Ranke2-27/+27
2022-02-28Improve tests, skip some on TravisJohannes Ranke3-13/+60
Respect digits argument when printing correlations in summaries
2022-02-28Add nlmixr tests, reorganize, test intervals()Johannes Ranke5-157/+214
2022-02-28With saemix 3.0 on CRAN there's no need to check for it in testsJohannes Ranke5-126/+79
2022-02-09Adapt saemix interface to saemix 3.0 on CRANJohannes Ranke6-1481/+1471
2021-11-17Update required saemix version, update testsJohannes Ranke5-1463/+1463
2021-09-16Merge branch 'master' into nlmixrJohannes Ranke1-1/+1
2021-09-15Update test result to corrected data, version bumpJohannes Ranke1-1/+1
2021-07-23Merge branch 'master' into nlmixrJohannes Ranke20-10/+8461
After the merge, run make test and accept the new snapshot for the mixed model fit for an nlme object
2021-07-23Update vdiffr tests for version 1.0Johannes Ranke18-10/+5248
2021-06-17Let backtransform_odeparms handle nlmixr formation fractionsJohannes Ranke1-97/+97
Also adapt summary.nlmixr.mmkin to correctly handle the way formation fractions are translated to nlmixr
2021-06-16Translate formation fractions to nlmixr languageJohannes Ranke1-0/+99
Works for the dimethenamid data, at least for FOCEI. Very little testing yet. The summary function does not yet handle the new transformations of formation fractions (that are in fact very old, as they were used in the very first version of mkin). The test file has no tests yet, just some code that may be used for testing.
2021-06-12Small cosmeticsJohannes Ranke1-1/+1
2021-03-09Some improvements for borderline casesJohannes Ranke8-73/+98
- fit_with_errors for saem() - test_log_parms for mean_degparms() and saem()
2021-02-06Reintroduce interface to saemixJohannes Ranke4-1/+240
Also after the upgrade from buster to bullseye of my local system, some test results for saemix have changed.
2021-02-06Increase test tolerance for parameter comparisonsv1.0.1Johannes Ranke1-4/+4
Platform dependence also revealed after upgrade to bullseye
2021-02-06Address issue revealed by additional tests on CRANJohannes Ranke3-17/+6
Remove tests relying on non-convergence of the FOMC fit to the FOCUS A dataset, as this is platform dependent. After the upgrade, the fit converges on this system as well, although neither ATLAS is used, nor R was configured disabling long doubles (these were the conditions under which the tests failed on CRAN).
2021-02-03Prepare for v1.0.0v1.0.0Johannes Ranke4-237/+0
- Improve authorship and copyright information - Prepare pkgdown config - Remove dependence on saemix as we need the development version which is not ready for CRAN - Temporarily remove saemix interface to check code coverage of the rest
2021-01-06Make saemix and corresponding tests optionalJohannes Ranke7-50/+71
Address release critical check and test issues
2020-12-19Dimethenamid data, normalisation optionsJohannes Ranke3-2/+11
2020-12-17Remove two skipped (on Travis) tests to reduce noiseJohannes Ranke3-217/+1
2020-12-10Tried to find a fast test for deSolve in saemixJohannes Ranke2-2/+7
But could not find one.
2020-12-10Add a test for saemix with deSolveJohannes Ranke2-8/+16
But skip the test as it takes too long to always run
2020-12-09Some test fixesJohannes Ranke3-6/+4
2020-12-09Add more tests and fix HS in saemJohannes Ranke3-10/+77
2020-12-09Fix a test I accidentally brokeJohannes Ranke1-1/+1
2020-12-09And moreJohannes Ranke3-1/+16
2020-12-09Any yet more testsJohannes Ranke4-3/+17
2020-12-09Update test output and reduce precision for travisJohannes Ranke4-27/+27
2020-12-09More testsJohannes Ranke7-172/+219
2020-12-09Try other mixed fits for vdiffr on travisJohannes Ranke2-4/+22
2020-12-09Test print method for mixed.mmkinJohannes Ranke3-2/+32
2020-12-09Make tests more robust, remove two redundant onesJohannes Ranke4-44/+22
2020-12-09Fix tests and rerunJohannes Ranke4-83/+88
2020-12-09Some more tests that may work on travis nowJohannes Ranke2-27/+28
2020-12-09Some more testsJohannes Ranke5-67/+194
2020-12-09Don't test on devel, skip failing vdiffr testsJohannes Ranke1-1/+1
I can test on R-devel locally for preparing releases
2020-12-08Test plots on R-release and cache packages againJohannes Ranke2-3/+3
2020-12-08mixed.mmkin and test coverageJohannes Ranke7-5/+242
2020-12-02Possibility to specify random effects structuresJohannes Ranke1-6/+6
The default is pdDiag again, as we often have a small number of datasets in degradation kinetics.
2020-11-30Log-Cholesky parameterisation as default in nlme.mmkinJohannes Ranke1-9/+11
2020-11-19Update tests, improve CAKE_export testJohannes Ranke2-4/+3
2020-11-12Update test outputJohannes Ranke1-1/+2
2020-11-11Skip vdiffr tests on travis as they are not robustJohannes Ranke3-1/+4
As can be seen in the miniscule change seen on R-devel in the reference plot updated with this commit
2020-11-08Improve saem method, add summaryJohannes Ranke1-1/+1
Also make the endpoints function work for saem objects.
2020-11-07Create saem generic for fitting saemix modelsJohannes Ranke1-1/+1
The reasons for this decision were - Creating an saemix generic in the saemix package caused problems with roxygen, because functions like saemix.plot.xy were documented in their help files as S3 methods, although explicitly exported with @export - Creating an saemix generic in this package is possible, but would make it necessary to load samix with exclude = "saemix" in order to avoid overwriting the generic when loading saemix. - The return object of such an saemix generic in this package cannot be an S3 class with class attribute c("saemix.mmkin", "SaemixObject") similar to nlme.mmkin, as saemix returns an S4 class. - Extending the S4 class SaemixObject using simple inheritance to a class SaemixMmkinObject with additional slots did not work as expected. When the initialize method was left untouched, it prevented creation of an SaemixMmkinObject even if it was based on an initialised SaemixObject, as the initialize method seems to always be called by new(). This could potentially be circumvented by a coerce method. If an alternative initialize method was used, an SaemixMmkinObject could be created. However, the methods written for SaemixObjects only worked in some instances, either because they checked for the class, and not for class inheritance (like compare.saemix), or because the initialize method was called for some reason. Therefore, the idea of creating a derived S4 class was abandoned. - A side effect of this decision is that the introduction of the saem generic opens the possibility to use the same generic also for other backends like nlmixr with the SAEM algorithm.
2020-11-06Fast analytical solutions for saemix, update.mmkinJohannes Ranke4-162/+197
Also, use logit transformation for g and for solitary formation fractions, addressing #10.
2020-11-04Revert to use starting values for random effects in nlme.mmkinJohannes Ranke5-14/+4
2020-10-27Add summary method for nlme.mmkin objectsJohannes Ranke1-1/+1
Improve and update docs

Contact - Imprint