Closed bpbond closed 2 years ago
That makes sense. This was my attempt to force the script to run an old version of that package. Let's discuss better strategies tomorrow.
if(packageVersion("MuMIn") > "1.43.15") {
stop("This analysis won't work with newer versions of MuMIn; please install 1.43.15")
}
This
isn't great practice. First, it's going to re-install the package every time the Rmarkdown is knit, which isn't needed. And second, it's bad form (imho) to install a package on someone's system like this; let them do it themselves.