aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_mixed.R
AgeCommit message (Collapse)AuthorFilesLines
2025-09-12Facilitate centering covariatesJohannes Ranke1-0/+20
The motivation for this is to obtain confidence intervals for covariate dependent parameters that are valid for a median/mean value of the covariate. Implementation by adding an argument to the 'saem' function, and adapting the relevant functions working with 'saem' objects. Vignettes, the template and tests were updated to use the new functionality.
2024-07-28Make sure test work on my desktop, skip more tests on travisJohannes Ranke1-0/+2
2023-04-16Skip another test on CRAN to save CPU cyclesJohannes Ranke1-0/+2
2023-04-16Skip the Eigenvalue based saem testJohannes Ranke1-5/+6
It took too long, and this solution method is not recommended. We are saving 140 seconds here on my system, so more time is saved on travis.
2023-04-15Increase test coverageJohannes Ranke1-0/+51
Also, using mkin analytical solutions for more than one observed variable is not supported (but could be if out_values would be reordered).
2022-11-19Confirm which test fail on R-develv1.2.1Johannes Ranke1-1/+2
2022-11-18Move two saem fits from setup script to skipped testsJohannes Ranke1-5/+3
Save winbuilder/CRAN check time...
2022-11-18Make mixed model test data permanent to ensure reproducibilityJohannes Ranke1-16/+16
To ensure that tests on different platforms work on the same data, the mixed modelling test data previosly generated in tests/testthat/setup_script.R were generated once using the script in inst/dataset/generation/ds_mixed.R, and are now distributed with the package.
2022-11-18Round parameters with signif() before printingJohannes Ranke1-1/+6
This will hopefully make the test pass on all relevant platforms.
2022-10-29Another attempt to make the test robustJohannes Ranke1-1/+1
As the last update failed on travis. Now we should be more robust, as rounding to one digit works better when parameters are log-transformed (mkin transformations) in the output.
2022-10-29Make test independent of saemix error model parameter patchJohannes Ranke1-1/+1
As mentioned in d44c17da6d62568b
2022-10-26Make multistart work with testthat scopesJohannes Ranke1-1/+0
Also skip long-running test with saem using the analytical from mkin
2022-10-25Round also for nlme print method...Johannes Ranke1-5/+6
2022-10-25Increase rounding in test for travisJohannes Ranke1-1/+1
As the "const" error model parameters is stored on log scale in nlme
2022-10-25Explanatory commentJohannes Ranke1-0/+1
2022-10-25Avoid another platform dependenceJohannes Ranke1-0/+5
Caused by the fact that printing error model parameters in nlme summaries do not honor the digits argument.
2022-03-07Remove nlmixr interface for release of mkin 1.1.0Johannes Ranke1-16/+1
I am postponing my attempts to get the nlmixr interface to CRAN, given some problems with nlmixr using R-devel under Windows, see https://github.com/nlmixrdevelopment/nlmixr/issues/596 and https://github.com/r-hub/rhub/issues/512, which is fixed by the removal of nlmixr from the testsuite. For the tests to be more platform independent, the biphasic mixed effects models test dataset was defined in a way that fitting should be more robust (less ill-defined).
2022-03-03More work to try to pass tests on R-devel winbuilderJohannes Ranke1-1/+1
2022-03-02Make tests more platform independent, update docsJohannes Ranke1-13/+13
2022-03-01Some more tests for nlmixr.mmkinJohannes Ranke1-0/+2
2022-02-28Add test for summary.nlmixr.mmkinJohannes Ranke1-0/+14
2022-02-28Relax a test for travisJohannes Ranke1-1/+1
2022-02-28Add nlmixr tests, reorganize, test intervals()Johannes Ranke1-92/+1
2022-02-28With saemix 3.0 on CRAN there's no need to check for it in testsJohannes Ranke1-3/+0
2022-02-09Adapt saemix interface to saemix 3.0 on CRANJohannes Ranke1-2/+2
2021-06-12Small cosmeticsJohannes Ranke1-1/+1
2021-03-09Some improvements for borderline casesJohannes Ranke1-7/+17
- fit_with_errors for saem() - test_log_parms for mean_degparms() and saem()
2021-02-06Reintroduce interface to saemixJohannes Ranke1-1/+134
Also after the upgrade from buster to bullseye of my local system, some test results for saemix have changed.
2021-02-06Address issue revealed by additional tests on CRANJohannes Ranke1-1/+1
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 Ranke1-131/+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 Ranke1-4/+9
Address release critical check and test issues
2020-12-19Dimethenamid data, normalisation optionsJohannes Ranke1-1/+1
2020-12-10Tried to find a fast test for deSolve in saemixJohannes Ranke1-0/+6
But could not find one.
2020-12-10Add a test for saemix with deSolveJohannes Ranke1-5/+12
But skip the test as it takes too long to always run
2020-12-09Some test fixesJohannes Ranke1-1/+1
2020-12-09Add more tests and fix HS in saemJohannes Ranke1-8/+47
2020-12-09Any yet more testsJohannes Ranke1-1/+3
2020-12-09Update test output and reduce precision for travisJohannes Ranke1-2/+2
2020-12-09More testsJohannes Ranke1-33/+95
2020-12-08mixed.mmkin and test coverageJohannes Ranke1-0/+35

Contact - Imprint