Don’t let <programming language> get you down: a step-by-step guide to troubleshooting your code
There are of course many ways to troubleshoot coding errors, but pretty much every time I do this or help anyone else I follow the same workflow, so I've distilled my process into discrete steps to make it easy to follow. This should be broadly applicable to all coding languages, but the helpful functions I give are for R.
GitHub tools
I write tools to improve bioinformatics command line pipelines:
fastp_summarize: summarize multiple json reports from fastp, a NGS read qc program
flagstat_summarize: concatenate and take the mean of each category for the output from multiple samtools flagstat reports