aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat
AgeCommit message (Collapse)AuthorFilesLines
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
2019-05-02Improve testsJohannes Ranke3-12/+23
- Improve control of the number of cores - Reduce the precision of the correlation matrix in the test summary output, as the exact results are platform dependent
2019-05-02Better initials for error model parametersJohannes Ranke3-7/+7
- Also make it possible to specify initial values for error model parameters. - Run tests - Rebuild docs
2019-04-24Improve output and update testsJohannes Ranke5-78/+49
Remove skipped tests as I do not intend to reactivate them
2019-04-10Address failure on travisJohannes Ranke3-2/+3
Also reduce the digits in the representative half-live given by nafta()
2019-04-10Adapt tests, vignettes and examplesJohannes Ranke13-239/+381
- Write the NEWS - Static documentation rebuilt by pkgdown - Adapt mkinerrmin - Fix (hopefully all) remaining problems in mkinfit
2019-04-04Direct error model fitting worksJohannes Ranke1-35/+71
- No IRLS required - Removed optimization algorithms other than Port - Removed the dependency on FME - Fitting the error model 'obs' is much faster for the FOCUS_2006_D dataset and the FOMC_SFO model (1 second versus 3.4 seconds) - Vignettes build slower. Compiled models needs 3 minutes instead of 1.5 - For other vignettes, the trend is less clear. Some fits are faster, even for error_model = "const". FOCUS_Z is faster (34.9 s versus 44.1 s) - Standard errors and confidence intervals are slightly smaller - Removed code for plotting during the fit, as I hardly ever used it - Merged the two cost functions (using transformed and untransformed parameters) into one log-likelihood function
2019-03-04Winbuilder also needs cores = 1v0.9.48.1Johannes Ranke1-1/+1
2019-03-04signif for DTx when printing nafta resultsJohannes Ranke2-4/+4
In order to be able to test cross-platform
2019-03-04Review tests and examples based on winbuilder resultsJohannes Ranke7-36/+39
Static documentation rebuilt by pkgdown
2019-02-27Fix test for mkinds printingJohannes Ranke2-1/+7
2019-02-27Further increase test coverageJohannes Ranke6-5/+118
2019-02-27Increase test coverageJohannes Ranke6-17/+380
2019-02-27Fix CAKE export test to actually workJohannes Ranke6-6/+17
Also test the model specification via the link argument
2019-02-26NAFTA SOP Attachment vignetteJohannes Ranke3-14/+14
Also: - Change rounding in print.nafta - Add dots argument to nafta() - Use cores=1 in examples - Restrict N in IORE model to values > 0
2019-02-26Add another NAFTA dataset + testJohannes Ranke5-27/+62
2019-02-25Fixes for last commitJohannes Ranke2-1/+3
2019-02-25Test AIC calculationJohannes Ranke2-1/+2
2019-02-25Test CAKE exportJohannes Ranke6-64/+106
2019-02-25Basic test for two-component reweightingJohannes Ranke1-0/+4
2019-02-25Test fitting without internal transformationsJohannes Ranke1-14/+34
2019-02-25Shorten path to test plotJohannes Ranke1-2/+2
2019-02-25Fix tests and add plot and print for naftaJohannes Ranke4-5/+43
2019-02-25Test printing the summary of an mkinfit objectJohannes Ranke2-0/+155
2019-02-25Another test case for plottingJohannes Ranke1-1/+1
2019-02-25Static documentation rebuilt by current pkgdownJohannes Ranke1-0/+2
2019-02-25Add plotting tests, add nafta to pkgdownJohannes Ranke1-7/+19
2019-02-22Implement the NAFTA evaluation schemeJohannes Ranke1-0/+41
2019-02-22Adapt test to the extended endpoints functionJohannes Ranke1-2/+2
2019-02-21Remove unused codeJohannes Ranke1-1/+0
2019-02-21Add the logistic modelJohannes Ranke1-0/+47
2019-01-31Skipping with skip() needs a messageJohannes Ranke1-1/+1
2019-01-31Skip tests for irls methd tc because it is not robust enoughJohannes Ranke1-1/+3
2019-01-31Relax yet another testJohannes Ranke1-1/+1
2019-01-31Relax another test for TravisJohannes Ranke1-1/+1
2018-11-26See last commit logJohannes Ranke1-3/+3
2018-11-26Another test relaxationJohannes Ranke1-1/+1
This feels stupid by now, but I am not sure how to do this in a smarter way
2018-11-26Maybe I should not used random data in tests...Johannes Ranke1-1/+1
2018-11-26Relax testing strictness again for travisJohannes Ranke1-1/+1
2018-11-23Relax yet another test...Johannes Ranke1-1/+1
2018-11-23More tolerance for a testJohannes Ranke1-1/+1
2018-11-23Add logLik method to enable AIC() on mkinfit modelsJohannes Ranke1-2/+2
Further relax two tests to pass build on Travis
2018-09-21Relax another test precision for travisJohannes Ranke1-1/+1
2018-09-21Reduce testing time, relax precision for travisJohannes Ranke1-15/+15
2018-09-21Skip long running test on travis to avoid timeoutJohannes Ranke1-5/+12
2018-09-21Improve fitting the two-component error modelJohannes Ranke2-40/+60
with respect to accuracy and robustness.
2018-09-20Test for convergence of error model to correct valuesJohannes Ranke1-0/+50
2018-09-20Fix testsJohannes Ranke2-2/+7

Contact - Imprint