R package FHtest: Tests for Right and Interval-Censored Survival Data Based on the Fleming-Harrington Class. Functions to compare two or more survival curves with: a) The Fleming-Harrington test for right-censored data based on permutations and on counting processes. b) An extension of the Fleming-Harrington test for interval-censored data based on a permutation distribution and on a score vector distribution.