To the best of what I have read . PR
is considered part of the US .
US Virgin Island is also considered part of the US.
When we sailed from Port Canaveral (2008) we didn't have to go thru customs in San Juan PR
. After cruising the other Island and landing
in the US Virgin Island . Non America' passengers had to pass thru US Customs.