@@ -21,25 +21,6 @@ libraries <- function(){
21
21
if (! require(openxlsx , quietly = TRUE )){install.packages(" openxlsx" ); require(openxlsx , quietly = TRUE )}
22
22
if (! require(shinyWidgets , quietly = TRUE )){install.packages(" shinyWidgets" ); require(shinyWidgets , quietly = TRUE )}
23
23
24
- # ## Currently "webshot2" 0.1.1 generates empty screenshots on windows 10 for graphics created with visnetwork.
25
- # ## This workaround installs the previous version 0.1.0 to temporarily fix the problem.
26
- # if (!require(webshot2,quietly=TRUE)){
27
- # install.packages("webshot2")
28
- # library(webshot2)
29
- # detach("package:webshot2", unload = TRUE, force=TRUE)
30
- # install.packages("https://cran.r-project.org/src/contrib/Archive/webshot2/webshot2_0.1.0.tar.gz",
31
- # repos = NULL, type = "source", dependencies=c("Depends", "Imports"))
32
- # }else{
33
- # pkgs <- installed.packages()[, "Version"]
34
- # vers <- pkgs["webshot2"]
35
- # if (vers!="0.1.0"){
36
- # detach("package:webshot2", unload = TRUE, force=TRUE)
37
- # install.packages("https://cran.r-project.org/src/contrib/Archive/webshot2/webshot2_0.1.0.tar.gz",
38
- # repos = NULL, type = "source", dependencies=c("Depends", "Imports"))
39
- # }
40
- # }
41
- # #
42
-
43
24
if (! (require(chromote , quietly = TRUE ))){install.packages(" chromote" ); require(chromote , quietly = TRUE )}
44
25
45
26
# ## workaround for webshot2 on shinyapps.io
0 commit comments