It is generally assumed that Donald Trump will be the republican nominee for U.S. President in the November 2020 election. However, from my understanding, he still has to actually win the primary; he is not just automatically the nominee. What makes him the assumed nominee is the fact that the vast majority of republicans voting in the primary are going to automatically vote for the incumbent if he is running again.
However, I have read that some states are not holding republican primaries. In these states, do the delegates just automatically go to Trump? Is that legal to simply skip a primary like this? Or, if not a matter of legality, is it within the rules that the republican party has set? Can the republican party simply say "we aren't having primaries; Trump will be the nominee and that's that"?
Finally, if there are many states where primaries will not be held, but delegates will automatically go to Trump; why would other states bother having primaries; when even if every single one of those states voted for Bill Weld it wouldn't make a difference?