hafen / trelliscopejs

TrelliscopeJS R Package
https://hafen.github.io/trelliscopejs
Other
263 stars 37 forks source link

Need to install "prettyunits" package before #14

Open julomoppet opened 7 years ago

julomoppet commented 7 years ago

Hi,

Just to tell you I could not install your package as long as "prettyunits" was not installed beforehand.

See below part of the log that helped me understand the issue:


* installing *source* package 'trelliscopejs' ...
** R
** data
*** moving datasets to lazyload DB
** inst
** tests
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called 'prettyunits'
ERROR: lazy loading failed for package 'trelliscopejs'
hafen commented 7 years ago

Interesting. "prettyunits" is a dependency of "progress", which trelliscopejs uses for progress bars, but it should get installed automatically along with everything else.

geneorama commented 7 years ago

I also had this issue. I also had to update some packages, like scales (I think?) I ended up updating and then reinstalling several packages.

hafen commented 7 years ago

That's interesting. I'll have to play around with installation in a clean environment to see what's going on.

geneorama commented 7 years ago

Actually, my computer is old, weird, and locked down in strange ways with corporate security / monitoring software, so I wouldn't automatically generalize my experience to all Windows users.

I actually think the scales thing is a quirk, because I remember today that I had to install it awhile back before ggplot2 would install, which is really unusual. Also weird that it wasn't available yesterday, so who knows.