Liver cancer is a formidable health challenge, often diagnosed at advanced stages due to its subtle early symptoms. In R