--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/fe0e1834-ddbf-40f8-9719-cb95bb9620cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1. After step 1, rsconnect::appDependencies() still shows source for openxlsx as CRAN.
2. After step 2, on reinstall of openxlsx from GitHub, I get:
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘openxlsx’
However the directory exists in my library
(I did note that using remove.packages(“openxlsx”) did not remove everything—there was openxlsx.dll file still in the libs folder).
This may be related to the information seen on loading:
> devtools::install_github("awalker89/openxlsx")
Downloading GitHub repo awalker89/openxlsx@masterfrom URL https://api.github.com/repos/awalker89/openxlsx/zipball/masterInstalling openxlsx"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL \ "C:/Users/Kevin/AppData/Local/Temp/RtmpMRWH8P/devtools36a85c647e70/awalker89-openxlsx-7ecbcfa" \ --library="C:/Users/Kevin/Documents/R/win-library/3.2" --install-tests * installing *source* package 'openxlsx' ...** libsg++ -m64 -I"C:/PROGRA~1/R/R-32~1.3/include" -DNDEBUG -I"C:/Users/Kevin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.og++ -m64 -I"C:/PROGRA~1/R/R-32~1.3/include" -DNDEBUG -I"C:/Users/Kevin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c cppFunctions.cpp -o cppFunctions.ocppFunctions.cpp: In function 'SEXPREC* loadworksheets(Rcpp::Reference, Rcpp::List, std::vector<std::basic_string<char> >, Rcpp::LogicalVector)':cppFunctions.cpp:3335:41: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]g++ -m64 -shared -s -static-libgcc -o openxlsx.dll tmp.def RcppExports.o cppFunctions.o -Ld:/RCompile/r-compiling/local/local323/lib/x64 -Ld:/RCompile/r-compiling/local/local323/lib -LC:/PROGRA~1/R/R-32~1.3/bin/x64 -lRinstalling to C:/Users/Kevin/Documents/R/win-library/3.2/openxlsx/libs/x64** R** inst** tests** preparing package for lazy loading** help*** installing help indices** building package indices** installing vignettes** testing if installed package can be loaded* DONE (openxlsx)
In any case, the openxlsx package is still listed by appDependencies as sourced on CRAN.
36 rsconnect 0.4.2.2 github37 rstudioapi 0.5 CRAN38 shiny 0.13.2 CRAN39 shinyapps 0.3.63 github40 shinyjs 0.5.2 CRAN41 stringi 1.0-1 CRAN42 stringr 1.0.0 CRAN43 tidyr 0.4.1 CRAN44 whisker 0.3-2 CRAN45 withr 1.0.1 CRAN46 xml2 0.1.2 CRAN47 xtable 1.8-2 CRAN48 yaml 2.1.13 CRAN
Step 3. Trying to install devtools, also the system cannot automatically remove the devtools.dll in folder devtools/libs/x64 Removed the .dll file manually. Reran the install.packages for devtools.
> devtools::install_github("rstudio/rsconnect")
Downloading GitHub repo rstudio/rsconnect@masterfrom URL https://api.github.com/repos/rstudio/rsconnect/zipball/masterInstalling rsconnect"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL \ "C:/Users/Kevin/AppData/Local/Temp/RtmpgX36tV/devtools3cc064525c0d/rstudio-rsconnect-aac8077" \ --library="C:/Users/Kevin/Documents/R/win-library/3.2" --install-tests ERROR: failed to lock directory 'C:/Users/Kevin/Documents/R/win-library/3.2' for modifyingTry removing 'C:/Users/Kevin/Documents/R/win-library/3.2/00LOCK-rstudio-rsconnect-aac8077'Error: Command failed (3)
Removed the file as suggested. Reran the install command. Successfully installed.
Had to manually remove the openxlsx.dll from libs/x64 folder.
Same messages on installing openxlsx:
> devtools::install_github("awalker89/openxlsx")
Downloading GitHub repo awalker89/openxlsx@masterfrom URL https://api.github.com/repos/awalker89/openxlsx/zipball/masterInstalling openxlsx"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL \ "C:/Users/Kevin/AppData/Local/Temp/Rtmp8AVkxH/devtools444477e5bc4/awalker89-openxlsx-7ecbcfa" \ --library="C:/Users/Kevin/Documents/R/win-library/3.2" --install-tests * installing *source* package 'openxlsx' ...** libsg++ -m64 -I"C:/PROGRA~1/R/R-32~1.3/include" -DNDEBUG -I"C:/Users/Kevin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.og++ -m64 -I"C:/PROGRA~1/R/R-32~1.3/include" -DNDEBUG -I"C:/Users/Kevin/Documents/R/win-library/3.2/Rcpp/include" -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c cppFunctions.cpp -o cppFunctions.ocppFunctions.cpp: In function 'SEXPREC* loadworksheets(Rcpp::Reference, Rcpp::List, std::vector<std::basic_string<char> >, Rcpp::LogicalVector)':cppFunctions.cpp:3335:41: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]g++ -m64 -shared -s -static-libgcc -o openxlsx.dll tmp.def RcppExports.o cppFunctions.o -Ld:/RCompile/r-compiling/local/local323/lib/x64 -Ld:/RCompile/r-compiling/local/local323/lib -LC:/PROGRA~1/R/R-32~1.3/bin/x64 -lRinstalling to C:/Users/Kevin/Documents/R/win-library/3.2/openxlsx/libs/x64** R** inst** tests** preparing package for lazy loading** help*** installing help indices** building package indices** installing vignettes** testing if installed package can be loaded* DONE (openxlsx)Warning message:In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :there is no package called ‘openxlsx’
on running rsconnect::appDependencies(), shows that openxlsx was sourced from CRAN and is version 3.1.9.
For now, I am going to use the CRAN version of openxlsx and also post an issue to awalker's github account for openxlsx, just in case there is something in the package build.
rsconnect still believes that openxlsx was sourced from CRAN.