A man has been arrested on suspicion of murder after police were called to an address in Yorkshire.