aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/setup_script.R
AgeCommit message (Collapse)AuthorFilesLines
2022-11-18Move two saem fits from setup script to skipped testsJohannes Ranke1-3/+0
Save winbuilder/CRAN check time...
2022-11-18Use cluster with two cores to reduce windows check timeJohannes Ranke1-7/+15
2022-11-18Make mixed model test data permanent to ensure reproducibilityJohannes Ranke1-92/+7
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-18Avoid ill-determined fit, it is platform dependentJohannes Ranke1-1/+1
The previous test lead to an error on the Fedora test systems (gcc and clang) on CRAN: ... Results have changed from known value recorded in 'print_dfop_saemix_1.txt'. old[13:24] vs new[13:24] "" "Fitted parameters:" " estimate lower upper" - "parent_0 100.09 98.94 101.25" + "parent_0 100.17 99.01 101.33" - "log_k1 -2.68 -2.91 -2.45" + "log_k1 -2.66 -2.89 -2.43" "log_k2 -4.12 -4.24 -4.00" - "g_qlogis -0.41 -0.63 -0.20" + "g_qlogis -0.43 -0.65 -0.21" - "a.1 0.91 0.67 1.15" + "a.1 0.91 0.67 1.16" "b.1 0.05 0.04 0.06" - "SD.log_k1 0.36 0.21 0.50" + "SD.log_k1 0.35 0.21 0.50" and 2 more ...
2022-10-26Reduced sfo model for multistart.saem.mkin testsJohannes Ranke1-0/+1
2022-10-25Change DFOP mixed model data in tests, updatesJohannes Ranke1-23/+10
2022-08-10Batch processing for hierarchical fitsJohannes Ranke1-2/+2
- 'R/mhmkin.R': New method for performing multiple hierarchical mkin fits in one function call, optionally in parallel. - 'R/saem.R': 'logLik' and 'update' methods for 'saem.mmkin' objects. - 'R/illparms.R': Add methods for 'saem.mmkin' and 'mhmkin' objects. tests: Use 2 cores on travis, should work according to docs
2022-07-12Tests before releasev1.1.1Johannes Ranke1-1/+1
2022-03-14Reduce check time for CRAN, releasev1.1.0Johannes Ranke1-14/+0
2022-03-07Remove nlmixr interface for release of mkin 1.1.0Johannes Ranke1-10/+4
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/+0
2022-03-02Make tests more platform independent, update docsJohannes Ranke1-4/+1
2022-03-01Add some more testsJohannes Ranke1-4/+4
2022-03-01Some more tests for nlmixr.mmkinJohannes Ranke1-0/+4
2022-02-28Add test for summary.nlmixr.mmkinJohannes Ranke1-0/+7
2022-02-28With saemix 3.0 on CRAN there's no need to check for it in testsJohannes Ranke1-15/+10
2022-02-09Adapt saemix interface to saemix 3.0 on CRANJohannes Ranke1-12/+2
2021-11-17Update required saemix version, update testsJohannes Ranke1-1/+1
2021-03-09Some improvements for borderline casesJohannes Ranke1-2/+17
- fit_with_errors for saem() - test_log_parms for mean_degparms() and saem()
2021-02-06Reintroduce interface to saemixJohannes Ranke1-0/+18
Also after the upgrade from buster to bullseye of my local system, some test results for saemix have changed.
2021-02-03Prepare for v1.0.0v1.0.0Johannes Ranke1-18/+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-14/+25
Address release critical check and test issues
2020-12-10Tried to find a fast test for deSolve in saemixJohannes Ranke1-2/+1
But could not find one.
2020-12-10Add a test for saemix with deSolveJohannes Ranke1-3/+4
But skip the test as it takes too long to always run
2020-12-09Add more tests and fix HS in saemJohannes Ranke1-2/+28
2020-12-09Any yet more testsJohannes Ranke1-1/+1
2020-12-09More testsJohannes Ranke1-3/+9
2020-12-09Try other mixed fits for vdiffr on travisJohannes Ranke1-0/+14
2020-12-09Test print method for mixed.mmkinJohannes Ranke1-0/+1
2020-12-09Some more tests that may work on travis nowJohannes Ranke1-10/+3
2020-12-08mixed.mmkin and test coverageJohannes Ranke1-0/+64
2020-05-29Warn if standardized residuals are unlikely normalJohannes Ranke1-4/+12
This revealed a bug in the data returned in mkinfit$data in the case of the d_3 algorithm, which also affected the residual plot - the data from the direct fitting was not returned even if this was the better method.
2020-05-11Add analytical solution for DFOP-SFOJohannes Ranke1-4/+7
This is about twice as fast as deSolve compiled in the case of FOCUS D
2020-05-11Analytical solutions for all SFO variantsJohannes Ranke1-10/+12
2020-05-08Roxygenize, adapt testsJohannes Ranke1-1/+2
2019-11-09Add a lack-of-fit testJohannes Ranke1-5/+5
- Switch an example dataset in the test setup to a dataset with replicates, adapt tests - Skip the test for lrtest with an update specification as it does not only fail when pkgdown generates static help pages, but also in testthat
2019-10-31Reorganize tests to reduce time on winbuilderJohannes Ranke1-18/+3
2019-10-31Add likelihood ratio test and other methods, fixesJohannes Ranke1-4/+34
The likelihood ratio test method is lrtest, in addition, methods for update and residuals were added.
2019-10-26Address some check and test failuresJohannes Ranke1-2/+2
2019-10-26parms and confint methodsJohannes Ranke1-20/+13
The confint method can do profile likelihood based confidence intervals!
2019-10-22Improved visual testingJohannes Ranke1-0/+2
2019-10-21Explicit solution_type for FOCUS D in testsJohannes Ranke1-2/+5
Because on winbuilder obviously gcc was not found, so the Eigenvalue based solution method was used, leading to a test failure when comparing the summary, as the solution method is listed
2019-10-21Improve tests, remove geometric_meanJohannes Ranke1-0/+75

Contact - Imprint