daynefiler / tcpl

Former repository for the tcpl R package project. New repo:
https://github.com/USEPA/CompTox-ToxCast-tcpl
4 stars 5 forks source link

issue-2: changed plotFit to reflect new nchar #8

Closed daynefiler closed 8 years ago

daynefiler commented 8 years ago

Closes #2

In R >3.3 nchar(NA) returns NA rather than 2 in previous versions of R. Changed plotFit to assign hsds and gsds to "NA" and "NaN" to accommodate the new behavior. Changing NaN was not required, but will hopefully prevent any similar problems in the future.