Should I not be worried about cancer then, if the HPV was not transmitted that way?
HPV infections are generally localized. You can have oral HPV infection without genital HPV or vice versa. Presumably anal HPV follows this pattern. However, genital HPV may reach the anus during showering or via contact with clothing, hands etc. It is important to distinguish between anal cancer (which is linked to HPV) and rectal cancer (which is not):
https://onlinelibrary.wiley.com/doi/full/10.1002/cncr.20365
"Among men who were not exclusively heterosexual and women, receptive anal intercourse was related strongly to the risk of anal cancer (OR, 6.8 [95% CI, 1.4?33.8] and OR, 2.2 [95% CI, 1.4?3.3], respectively)"
The lifetime risk of being diagnosed with anal cancer is about 0.2%:
https://www.cancer.org/cancer/anal-cancer/about/what-is-key-statistics.html
By contrast, the lifetime risk of being diagnosed with (colo)rectal cancer is 5%:
https://en.wikipedia.org/wiki/Colorectal_cancer#Epidemiology
So even if your risk of anal cancer septupled (i.e., you were fucked with a penis) it's still smaller than your risk of colorectal cancer, which is unaffected (and mostly caused by diet). A similar odds ratio for rectal cancer would be much more threatening (35%!), and that's probably why you were so worried, right?
Studies seem to indicate that HPV is the primary mediator of the link between anal intercourse and anal cancer, with HPV being detected in over 90% of anal cancers, so pegging is probably not a risk factor unless HPV is introduced to the anal region via e.g. saliva.
In any case, HPV is also detected in about half of penile cancers, and promiscuity is a major risk factor for all HPV-associated cancers, but I don't see anyone regretting
that.
As for the whole "anal fissure" incident -- I don't know what exactly you did, but combining pain-reducing substances and pain-causing activities is usually hazardous.
(Man, this got boring fast. I was hoping for more buttsex jokes and less cancer.)