Issues Updating


I'm trying to install lawstat and it says that:

Warning in install.packages :
dependency ‘VGAM’ is not available

There is a binary version available but the source version is later:
binary source needs_compilation
lawstat 3.0 3.2 FALSE

I'm super confused on what to do. When I try to update other packages it says similar things as well. I've uninstalled and reinstalled RStudio to no avail. Any assistance would be greatly appreciated. Thanks.

Is your version of R (not RStudio) up to date-ish?

For disambiguation/a good explanation of the relationship between R and RStudio (an IDE that exists on top of R), check out this chapter of Modern Dive:

Perhaps try installing VGAM on its own first, and then lawstat after.

You might probably need RTools to build packages from source