iNZightVIT / iNZightPlots

Plot functions for use by iNZight.
2 stars 1 forks source link

Change gridSVG, knitr and jsonlite to dependencies from suggests #257

Closed jcai849 closed 2 years ago

jcai849 commented 3 years ago

The exportHTML method for inzplotoutput stops if the gridSVG, knitr and jsonlite packages are not installed, leading to interactive plots not functioning in iNZight by default -- recommend upgrading these from suggest to dependencies (import)

tmelliott commented 3 years ago

Thanks @jcai849, seems logical, I just need to try and remember if there was a reason for moving them to Suggests in the first place ... (there may have been issues with gridSVG availability on all OSs at some stage..).

tmelliott commented 2 years ago

Ah. It's preferred to leave in Suggests to reduce the number of Import dependencies. Should install iNZightPlots (and all other iNZight* packages) with install.pacakges(..., dependencies = TRUE) to install Suggested packages also.