Are you talking Jefferson Repubican party or Lincolns??
Are you remotely familiar with history? There was no Whig party to collapse in the 1790s.
nobody said there was a whig party to collapse in the 1790's. You are trying to ignore Jefferson's Republican party which held the same philosophy as the modern Republican Party.
Welcome to your first lesson in American history!
Since all this went beyond your limited comprehension, lets do this at the crayon and big chief tablet level so you (hopefully) can figure it out.
In the 1790's it was the Republicans (nee Democratic Republicans) led by Jefferson and Madison vs the Federalists led by Hamilton and Adams. The Republicans were advocates of decentralized power. The federalists were more inclined toward strong activist national power, and British style merchantilism.
Following so far?
Over the next few years, after some internal disagreements the Republicans evolved into the Democrat party, still advocates of limited central government.
The Federalists faded and rebranded as the Whigs. As Whigs they still pushed for debt, government growth, and mercantilism, now styled as the "American System".
If these big words and concepts confuse we can go back and simplify for you.
By the 1850's the Whigs were a spent force. The Democrats (remember if you can, these folks were rooted in the original Republican Party) still opposed handing the treasury over to corporate looters, government debt, or expanding the powers of the national government.
Still with us?
So from the remains of the Whig Party, and cobbling together some smaller organized groups (Know Nothings), the modern Republican Party was founded. Philosophically nothing changed, strong central government and corporate subsidy their primary goals. One of their primary leaders was an Illinois Senator who had enriched himself as a corporate lobbyist for railroads.
A direct line can be drawn from the modern Democrat party back to Jefferson, though the philosophy of government has changed. The modern Republican owes his roots to Hamilton, Adams, and Clay, and their core philosophy is much as it was in 1856 and 1820.
So far you haven't displayed the knowledge in the subject matter to be offering lessons to amybody.