aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat
AgeCommit message (Collapse)AuthorFilesLines
2020-04-09Improve test coverage and fix nlme testJohannes Ranke4-5/+25
No idea why I had to do more assignments all of a sudden in test_nlme.R
2020-04-09Try mkinerrplot for obs and tc on Travis againJohannes Ranke2-1/+59
2020-04-08Use two assignments to avoid skipping another testJohannes Ranke1-1/+5
2020-04-08Make the nlme test file work with testthatJohannes Ranke2-3/+6
2020-04-07Add some tests for the nlme convenience functionsJohannes Ranke2-1/+64
2020-04-03Compiled models article, reduce distractionsJohannes Ranke1-1/+1
- Added a section with platform specific notes on getting compiled models to work to the compiled models article - Don't return empty SFORB parameter list from endpoints() if there is no SFORB model - Avoid warnings when using standardized = TRUE in plot.mmkin()
2020-03-31Static documentation rebuilt by pkgdownJohannes Ranke2-3/+3
2019-11-13Calculate Akaike weightsJohannes Ranke2-1/+13
2019-11-13Improve citationJohannes Ranke1-1/+2
2019-11-13Remove leftover lineJohannes Ranke1-2/+0
2019-11-09Add a lack-of-fit testJohannes Ranke4-11/+30
- 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-11-05Fix standardized residual plots in 'plot_res'Johannes Ranke1-1/+1
2019-11-04Scaled residual plotsJohannes Ranke1-1/+1
2019-11-01Update link, increase tolerance of a test for Travisv0.9.49.7Johannes Ranke1-1/+1
2019-11-01Fix bug in yesterdays release, add methods for BICJohannes Ranke3-2/+11
2019-10-31Increase tolerance of a test for winbuilderv0.9.49.6Johannes Ranke1-1/+1
- Update DESCRIPTION for release
2019-10-31Reorganize tests to reduce time on winbuilderJohannes Ranke8-52/+43
2019-10-31More plots that are not reproducible on TravisJohannes Ranke1-1/+1
2019-10-31Increase numeric tolerance of three tests for TravisJohannes Ranke2-3/+3
2019-10-31Add likelihood ratio test and other methods, fixesJohannes Ranke5-40/+82
The likelihood ratio test method is lrtest, in addition, methods for update and residuals were added.
2019-10-28Fix the cutoff for likelihood based intervalsJohannes Ranke2-60/+45
The cutoff now matches what is given by Venzon and Moolgavkar (1988). Also, confidence intervals closely match intervals obtained with stats4::confint in the test case where an stats4::mle object is created from the likelihood function in one test case. Static documentation rebuilt by pkgdown
2019-10-26Fix checks and testsJohannes Ranke1-1/+1
Static documentation rebuilt by pkgdown
2019-10-26Address some check and test failuresJohannes Ranke2-5/+5
2019-10-26parms and confint methodsJohannes Ranke2-53/+129
The confint method can do profile likelihood based confidence intervals!
2019-10-25Use roxygen for functions and methodsJohannes Ranke1-1/+1
2019-10-22Two more plotting testsJohannes Ranke1-0/+4
2019-10-22Skip the visual test that still fails on travisJohannes Ranke1-1/+2
2019-10-22Improved visual testingJohannes Ranke4-7/+7
2019-10-21Adress errors and notes on winbuilderJohannes Ranke2-13/+3
2019-10-21Fix platform dependence of the correlation matrixJohannes Ranke3-20/+5
Especially on winbuilder (i386 and amd64)
2019-10-21Explicit solution_type for FOCUS D in testsJohannes Ranke4-6/+147
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-21Skip an offensive test on TravisJohannes Ranke1-0/+1
2019-10-21Improve some plotting routines, more testsJohannes Ranke2-2/+9
Static documentation rebuilt by pkgdown
2019-10-21Improve tests, remove geometric_meanJohannes Ranke9-72/+292
2019-10-21Refactor mkinfit, infrastructure workJohannes Ranke7-137/+209
mkinfit objects now include an ll() function to calculate the log-likelihood. Part of the code was refactored, hopefully making it easier to read and maintain. IRLS is currently the default algorithm for the error model "obs", for no particular reason. This may be subject to change when I get around to investigate. Slow tests are now in a separate subdirectory and will probably only be run by my own Makefile target. Formatting of test logs is improved. Roundtripping error model parameters works with a precision of 10% when we use lots of replicates in the synthetic data (see slow tests). This is not new in this commit, but as I think it is reasonable this closes #7.
2019-07-08Support summarizing older fitsJohannes Ranke2-1/+30
generated with mkin < 0.9.49.5
2019-07-05Static documentation rebuilt by pkgdownJohannes Ranke2-2/+2
2019-07-04Address failures of CRAN checks, improve NEWSv0.9.49.5Johannes Ranke2-7/+14
Static documentation rebuilt by pkgdown
2019-07-03Skip a test on CRAN/winbuilderJohannes Ranke1-0/+1
The test uses multiple cores in order to complete within a reasonable time
2019-07-03Add check and test logsJohannes Ranke1-1/+1
2019-06-05Adapt tests to new algorithms and outputJohannes Ranke3-4/+5
One of the tests exceeded the number of iterations when using the d_3 error model algorithm, so only use "direct" in this case.
2019-06-04Fix a bug introduced in the last commitJohannes Ranke1-1/+1
2019-06-04Additional algorithm "d_c", more tests, docsJohannes Ranke3-76/+41
The new algorithm tries direct optimization of the likelihood, as well as a three step procedure. In this way, we consistently get the model with the highest likelihood for SFO, DFOP and HS for all 12 new test datasets.
2019-06-04Algorithms direct, two-, three-, fourstep, IRLSJohannes Ranke1-5/+45
All of them are working now and allow for comparison Based on SFO, DFOP and HS fits to twelve test datasets, only the combination of direct and threestep is needed to find the lowest AIC
2019-06-03Status von Samstag morgen - untestedJohannes Ranke1-0/+42
2019-05-23Fix a bug that could lead to wrong chi2 error levelsJohannes Ranke1-18/+27
2019-05-08Add functionality to plot the error modelJohannes Ranke1-1/+1
by plotting squared residuals against predicted values, and showing the variance function used in the fitted error model. Rebuild docs
2019-05-07Fix hessian calculationsJohannes Ranke2-246/+1
Static documentation rebuilt by pkgdown
2019-05-03Improve error model fittingJohannes Ranke1-1/+1
Now we have a three stage fitting process for nonconstant error models: - Unweighted least squares - Only optimize the error model - Optimize both Static documentation rebuilt by pkgdown
2019-05-02Prepare for CRAN releaseJohannes Ranke1-0/+1
- Skip long running tests on CRAN as well to avoid timeout on winbuilder - Don't install benchmark results in the package, they are only needed in the git repository - Don't run example in man/add_err.Rd as it takes > 10 s on winbuilder - Rebuild docs

Contact - Imprint