Editor's note: The conclusion of the questioner in the title above is clearly not correct. There was a package available at the repository, but it wasn't getting installed correctly. (the reason was specified in an error message that wasn't included in the original question.) #-------------------------
I am just trying to work on R using shiny, but get this error when I try running the app and have tried install.packages("bslib") but doesn't help
Session Info: R version 4.0.5 (2021-03-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shiny_1.6.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.6 crayon_1.4.1 withr_2.4.2 digest_0.6.27 later_1.2.0
[6] mime_0.10 R6_2.5.0 lifecycle_1.0.0 xtable_1.8-4 magrittr_2.0.1
[11] rlang_0.4.10 cachem_1.0.4 promises_1.2.0.1 ellipsis_0.3.2 tools_4.0.5
[16] httpuv_1.6.0 fastmap_1.1.0 compiler_4.0.5 htmltools_0.5.1.1
Did bslib
install correctly? Any errors or messages?
The error I get when doing install.packages("bslib")
is
Warning in install.packages : installation of package ‘bslib’ had non-zero exit status
OP: That's the same error I get and am not sure how to go about it!
Edit note: This was an attempted edit to my answer which was rejected by Community, but since it confirmed my suspicion that Rtools might be needed, I'm attaching it to the question body to clarify where the process stands at the moment:
* installing *source* package 'bslib' ...
** package 'bslib' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'sass' 0.3.1 is being loaded, but >= 0.4.0 is required
Calls: <Anonymous> ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'bslib'
* removing 'C:/Users/loras/OneDrive/Documents/R/win-library/4.0/bslib'
Warning in install.packages :
installation of package ‘bslib’ had non-zero exit status
This is what I get. I'll look into installing Rtools if you deem that necessary!