rsquaredacademy / olsrr

Tools for developing OLS regression models
https://olsrr.rsquaredacademy.com/
Other
102 stars 22 forks source link

error no package "rio" #182

Closed hkincaid closed 3 years ago

hkincaid commented 3 years ago

No doubt some stupidity on my part but after installing the package I get error message that there is . Thanks for your help no package called "rio" when I invoke the package with the library command

library(olsrr) Error: package or namespace load failed for ‘olsrr’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘rio’

Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on https://stackoverflow.com/.

Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.


Brief description of the problem

# insert reprex here
aravindhebbali commented 3 years ago

Hi @hkincaid,

Install the rio package, restart your R session and try to load the olsrr package.

# install rio from CRAN
install.packages("rio")

# restart R session
# load olsrr
library(olsrr)

Let me know if the error persists.

hkincaid commented 3 years ago

Hi Many thanks for the speedy response. I should have known that but did not see "rio" listed as a dependency during installing olsrr. I then got a similar error message about "abind" but after installing "rio", but with abind installed it works fine. Nice package. Regards, Harold

On Sat, Jul 24, 2021 at 1:58 PM Aravind Hebbali @.***> wrote:

Hi @hkincaid https://github.com/hkincaid,

Install the rio https://cran.r-project.org/package=rio package, restart your R session and try to load the olsrr package.

install rio from CRAN

install.packages("rio")

restart R session

load olsrr

library(olsrr)

Let me know if the error persists.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rsquaredacademy/olsrr/issues/182#issuecomment-886043152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS3BE4WPVMG3KZWJJQ5G75TTZKTGZANCNFSM5A5M77UQ .

-- Harold Kincaid

Professor School of Economics University of Cape Town @.***