This sound is often analyzed (and therefore transcribed) by native English speakers as an 'R-sound' in many foreign languages. For example, the 'Japanese R' in hara, akira, tora, etc. is actually an alveolar tap. In languages where this segment is present but is not a true phoneme, an alveolar tap is often an allophone of either an alveolar stop (/t/ or /d/) or an 'R-sound' i.e. an alveolar trill or alveolar approximant.
Moze wiec masz racje z tym tapping t...ktore brzmi jednak bardziej jak R niz D...
Flapping/tapping does not occur in most dialects when the /t/ or /d/ immediately precedes a stressed vowel, as in retail, but can flap/tap in this environment when it spans a word boundary, as in "got it" → [ɡɑɾɪt], and when a word boundary is embedded within a word, as in "buttinsky". Australian English also flaps/taps word-internally before a stressed vowel in words like "fourteen"