Closed tystan closed 3 years ago
Functionality fixed.
Found all kinds of things that had slipped through - hadn't been religious about R CMD check as the refactor was happening. Thanks for flagging this - found some functionality issues and documentation issues that would have been missed otherwise. R CMD check passes with no warnings or errors now.
I think the fixes for you are done!
Hi @wesleyburr . Thanks for this. Have replied on the main review comment chain: https://github.com/openjournals/joss-reviews/issues/2694#issuecomment-916103675
Just trying to create a checklist like @Jspaezp did. Please bear with me, I will delete this if it doesn't go to plan!
Issue #2694
Review checklist for @tystan
Conflict of interest
Code of Conduct
General checks
Functionality
min_mz = 0
inplotSpectra()
to be changed tomin_mz = min(dat[spectra_cols])
to avoid the warning message, pasted below, whenever plotting is performed on spectra with m/z values greater than 0. (or alternatively, remove the warning message formin_mz = 0
. Either way, it is not ideal getting warnings for default usage)Warning message: In plotSpectra(norm_spec, mass_dat = "full_mz", spectra_cols = c("Before1", : Specified value of 'min_mz' is beyond the mass range in 'dat'. Defaulting to the minimum mass.
2: Removed 116926 row(s) containing missing values (geom_path).
from ggplot2. Either no warning should be produced (trim the dataset before plotting?) or produce a more helpful warning from subMALDItestthat
unit tests exist for confirming the functional claimsDocumentation
testthat/
directory. However the filestest-plotSpectra.R
andtest-readcsvDir.R
are empty. If they are methods that don't need/can't be unit tested, commented out notes explaining why seems sensible. Additionally,test-baselineCorr.R
seems incomplete but I think the unit testing has been done in the othertest_base_*.R
tests.R CMD check subMALDI_1.0-1.tar.gz
on the package produced warnings/errors such as: (1)Packages in Depends field not imported from: 'RColorBrewer' 'reshape2' These packages need to be imported from (in the NAMESPACE file for when this namespace is loaded but not attached.
(2)Undocumented code objects: 'norm_RMS' 'norm_TIC' 'norm_custimp' 'norm_custom' 'norm_max' 'norm_max_set' 'norm_median' 'norm_quantile' 'norm_rel_TIC' 'norm_stdev'
(3)* checking for code/documentation mismatches ... WARNING Functions or methods with usage in documentation object '.normMethod_RMS' but not in code: '.normMethod_RMS'
(4)* checking examples ... ERROR Running examples in 'subMALDI-Ex.R' failed[...] + cleanEx() Error: unexpected symbol in:"cleanEx" Execution halted
etc1)
yes, link in last line of README.md2)
I assume github issues is enough3)
The help files contain the authors and emailsSoftware paper