This PR implements a new version of the quality control output which is tailored to the new piccr output structure. It improves the appearance of the quality control output file and provides a new function to display the main quality control information when using piccr in interactive mode.
It closes #15 and closes #36.
Detailed changes:
new function printQualityControl(), which can be used to print quality control information during piccr interactive usage;
new function printRunInfo() to print a string of the piccr run and version information;
function outputSummaryFile() now uses printQualityControl() and printRunInfo() to fill the contents of the output summary file;
the functions buildFirstSection(), buildSecondSection() and buildThirdSection() are obsolete and have been removed;
new function gatherQualityControlInfo() to summarise the relevant quality control information across a bunch of processed measurement files;
the tibble with the output deviations of the quality control standard now includes a column with its name;
the config list structure now includes an element with the name of the used config file;
the function calculateRMSD() is updated to include the possibility of calculating the RMSD of one vector against zero;
the example config file provided in /inst/extdata/ now lists the correct true values of the quality control standard for the example measurement files in /tests/testthat/test_data/;
respective tests are added or updated to test the new or updated functionality;
This PR implements a new version of the quality control output which is tailored to the new piccr output structure. It improves the appearance of the quality control output file and provides a new function to display the main quality control information when using piccr in interactive mode.
It closes #15 and closes #36.
Detailed changes:
printQualityControl()
, which can be used to print quality control information during piccr interactive usage;printRunInfo()
to print a string of the piccr run and version information;outputSummaryFile()
now usesprintQualityControl()
andprintRunInfo()
to fill the contents of the output summary file;buildFirstSection()
,buildSecondSection()
andbuildThirdSection()
are obsolete and have been removed;gatherQualityControlInfo()
to summarise the relevant quality control information across a bunch of processed measurement files;calculateRMSD()
is updated to include the possibility of calculating the RMSD of one vector against zero;/inst/extdata/
now lists the correct true values of the quality control standard for the example measurement files in/tests/testthat/test_data/
;