Closed ashtonmj closed 4 years ago
The input data (MBSS.PHI) and output from the calculation (PHI) match for the NA values.
The input data comes from an Excel file and matches for number of blank cells (20/60 so 40 non-blank). The Excel file is in the "inst" folder, PHI Worksheet_from MP (Erik20170329).xls and is on the "R_Data" worksheet.
Added "testthat" for PHI calc.
Final result is fine for all 60 example samples.
Describe the bug Ran example code from PHIcalc? on 10/18/2018 in R 3.4.0 and see many NA in raw values for PHI data table. Referenced a handful of sites in database and see they should have data.
To Reproduce Steps to reproduce the behavior:
Expected behavior Function ran as expected, but View(PHI) returns table of suspect data
Screenshots![image](https://user-images.githubusercontent.com/39165657/47180602-eae92f00-d2ee-11e8-93e1-453d6b7ce08f.png)
Desktop (please complete the following information):