Closed chlebowa closed 2 months ago
This could belong in teal.slice
, actually.
I wonder how is this possible, since teal.slice
has dplyr
in the Imports?
https://github.com/insightsengineering/teal.slice/blob/main/DESCRIPTION#L39
What commands did you use to install both teal
and teal.slice
?
Would you share package versions/session info, at least partially?
It would be the best to reproduce if we could get a reprex in a Docker image, but it's not mandatory.
I simply ran install.packages("teal")
as the first command on a fresh R installation.
sessionInfo
is invalid now because I installed dplyr
to make sure this goes away.
I think we can reproduce by setting .libPaths()
to a new folder so that we can reproduce in a clean fresh R installation. Will try in a second
I think there are 2 typos in your Details
code, it should be
app <- init(
data = within(teal_data(), i <- iris),
modules = example_module()
)
runApp(app, launch.browser = TRUE)
I tried with renv
to get a clean/empty R library but dplyr
gets installed
R version 4.3.0 (2023-04-21 ucrt) -- "Already Tomorrow"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
- Project 'C:/Rprojects/teal_installation' loaded. [renv 1.0.0]
> .libPaths()
[1] "C:/Rprojects/teal_installation/renv/library/R-4.3/x86_64-w64-mingw32"
[2] "C:/Users/m7pr/AppData/Local/R/cache/R/renv/sandbox/R-4.3/x86_64-w64-mingw32/c8642867"
> install.packages('teal')
# Downloading packages -------------------------------------------------------
- Downloading teal from CRAN ... OK [2.1 Mb in 2.4s]
- Downloading digest from CRAN ... OK [210.2 Kb in 7.5s]
- Downloading shiny from CRAN ... OK [4.6 Mb in 0.9s]
- Downloading httpuv from CRAN ... OK [964.6 Kb in 0.67s]
- Downloading promises from CRAN ... OK [1.9 Mb in 0.77s]
- Downloading htmltools from CRAN ... OK [352.3 Kb in 0.87s]
- Downloading bslib from CRAN ... OK [5.3 Mb in 1.3s]
- Downloading sass from CRAN ... OK [2.5 Mb in 0.78s]
- Downloading teal.logger from CRAN ... OK [52.3 Kb in 1.3s]
- Downloading teal.reporter from CRAN ... OK [635.3 Kb in 1.7s]
- Downloading flextable from CRAN ... OK [1.3 Mb in 0.88s]
- Downloading knitr from CRAN ... OK [1 Mb in 0.9s]
- Downloading xfun from CRAN ... OK [480.2 Kb in 0.89s]
- Downloading tinytex from CRAN ... OK [138 Kb in 0.88s]
- Downloading ragg from CRAN ... OK [1.8 Mb in 1.0s]
- Downloading systemfonts from CRAN ... OK [1.5 Mb in 0.89s]
- Downloading crul from CRAN ... OK [646.2 Kb in 1.9s]
- Downloading data.table from CRAN ... OK [2.3 Mb in 1.2s]
- Downloading shinybusy from CRAN ... OK [607 Kb in 1.3s]
- Downloading shinyWidgets from CRAN ... OK [1.4 Mb in 1.9s]
- Downloading munsell from CRAN ... OK [241 Kb in 0.99s]
- Downloading rtables from CRAN ... OK [3.6 Mb in 4.9s]
- Downloading formatters from CRAN ... OK [4.4 Mb in 2.2s]
- Downloading styler from CRAN ... OK [830.3 Kb in 0.78s]
- Downloading tidyselect from CRAN ... OK [221.5 Kb in 0.58s]
The following package(s) will be installed:
- anytime [0.3.9]
- askpass [1.2.0]
- backports [1.4.1]
- base64enc [0.1-3]
- BH [1.84.0-0]
- bslib [0.7.0]
- cachem [1.0.8]
- checkmate [2.3.1]
- cli [3.6.2]
- colorspace [2.1-0]
- commonmark [1.9.1]
- cpp11 [0.4.7]
- crayon [1.5.2]
- crosstalk [1.2.1]
- crul [1.4.2]
- curl [5.2.1]
- data.table [1.15.4]
- digest [0.6.35]
- dplyr [1.1.4]
- evaluate [0.23]
- fansi [1.0.6]
- farver [2.1.1]
- fastmap [1.1.1]
- flextable [0.9.5]
- fontawesome [0.5.2]
- fontBitstreamVera [0.1.1]
- fontLiberation [0.1.0]
- fontquiver [0.2.1]
- formatters [0.5.6]
- fs [1.6.3]
- gdtools [0.3.7]
- generics [0.1.3]
- gfonts [0.2.0]
- ggplot2 [3.5.0]
- glue [1.7.0]
- gtable [0.3.4]
- highr [0.10]
- htmltools [0.5.8.1]
- htmlwidgets [1.6.4]
- httpcode [0.3.0]
- httpuv [1.6.15]
- httr [1.4.7]
- isoband [0.2.7]
- jquerylib [0.1.4]
- jsonlite [1.8.8]
- knitr [1.46]
- labeling [0.4.3]
- later [1.3.2]
- lazyeval [0.2.2]
- lifecycle [1.0.4]
- logger [0.3.0]
- magrittr [2.0.3]
- memoise [2.0.1]
- mime [0.12]
- munsell [0.5.1]
- officer [0.6.5]
- openssl [2.1.1]
- pillar [1.9.0]
- pkgconfig [2.0.3]
- plotly [4.10.4]
- promises [1.3.0]
- purrr [1.0.2]
- R.cache [0.16.0]
- R.methodsS3 [1.8.2]
- R.oo [1.26.0]
- R.utils [2.12.3]
- R6 [2.5.1]
- ragg [1.3.0]
- rappdirs [0.3.3]
- RColorBrewer [1.1-3]
- Rcpp [1.0.12]
- rlang [1.1.3]
- rmarkdown [2.26]
- rprojroot [2.0.4]
- rtables [0.6.7]
- sass [0.4.9]
- scales [1.3.0]
- shiny [1.8.1.1]
- shinybusy [0.3.3]
- shinycssloaders [1.0.0]
- shinyjs [2.1.0]
- shinyWidgets [0.8.4]
- sourcetools [0.1.7-1]
- stringi [1.8.3]
- stringr [1.5.1]
- styler [1.10.3]
- sys [3.4.2]
- systemfonts [1.0.6]
- teal [0.15.2]
- teal.code [0.5.0]
- teal.data [0.5.0]
- teal.logger [0.2.0]
- teal.reporter [0.3.1]
- teal.slice [0.5.0]
- teal.widgets [0.4.2]
- textshaping [0.3.7]
- tibble [3.2.1]
- tidyr [1.3.1]
- tidyselect [1.2.1]
- tinytex [0.50]
- triebeard [0.4.1]
- urltools [1.7.3]
- utf8 [1.2.4]
- uuid [1.2-0]
- vctrs [0.6.5]
- viridisLite [0.4.2]
- withr [3.0.0]
- xfun [0.43]
- xml2 [1.3.6]
- xtable [1.8-4]
- yaml [2.3.8]
- zip [2.3.1]
These packages will be installed into "C:/Rprojects/teal_installation/renv/library/R-4.3/x86_64-w64-mingw32".
Do you want to proceed? [Y/n]: Y
# Installing packages --------------------------------------------------------
- Installing backports ... OK [linked from cache in 0.0032s]
- Installing checkmate ... OK [linked from cache in 0.014s]
- Installing jsonlite ... OK [linked from cache in 0.0029s]
- Installing cli ... OK [linked from cache in 0.0051s]
- Installing glue ... OK [linked from cache in 0.013s]
- Installing rlang ... OK [linked from cache in 0.0027s]
- Installing lifecycle ... OK [linked from cache in 0.0038s]
- Installing logger ... OK [linked from cache in 0.0033s]
- Installing magrittr ... OK [linked from cache in 0.0031s]
- Installing digest ... OK [installed binary and cached in 0.59s]
- Installing Rcpp ... OK [linked from cache in 0.0034s]
- Installing later ... OK [linked from cache in 0.0042s]
- Installing fastmap ... OK [linked from cache in 0.0031s]
- Installing R6 ... OK [linked from cache in 0.0039s]
- Installing promises ... OK [installed binary and cached in 0.6s]
- Installing httpuv ... OK [installed binary and cached in 0.49s]
- Installing mime ... OK [linked from cache in 0.002s]
- Installing xtable ... OK [linked from cache in 0.0033s]
- Installing base64enc ... OK [linked from cache in 0.0058s]
- Installing htmltools ... OK [installed binary and cached in 0.35s]
- Installing fontawesome ... OK [linked from cache in 0.002s]
- Installing sourcetools ... OK [linked from cache in 0.0017s]
- Installing crayon ... OK [linked from cache in 0.0024s]
- Installing withr ... OK [linked from cache in 0.0019s]
- Installing commonmark ... OK [linked from cache in 0.0021s]
- Installing cachem ... OK [linked from cache in 0.0031s]
- Installing jquerylib ... OK [linked from cache in 0.0023s]
- Installing memoise ... OK [linked from cache in 0.0018s]
- Installing fs ... OK [linked from cache in 0.0026s]
- Installing rappdirs ... OK [linked from cache in 0.0022s]
- Installing sass ... OK [installed binary and cached in 0.47s]
- Installing bslib ... OK [installed binary and cached in 2.9s]
- Installing shiny ... OK [installed binary and cached in 0.69s]
- Installing shinyjs ... OK [linked from cache in 0.0024s]
- Installing teal.code ... OK [linked from cache in 0.0015s]
- Installing teal.logger ... OK [installed binary and cached in 0.35s]
- Installing evaluate ... OK [linked from cache in 0.0012s]
- Installing xfun ... OK [installed binary and cached in 0.45s]
- Installing highr ... OK [linked from cache in 0.0012s]
- Installing yaml ... OK [linked from cache in 0.0017s]
- Installing knitr ... OK [installed binary and cached in 0.46s]
- Installing tinytex ... OK [installed binary and cached in 0.34s]
- Installing rmarkdown ... OK [linked from cache in 0.0028s]
- Installing cpp11 ... OK [linked from cache in 0.0019s]
- Installing systemfonts ... OK [installed binary and cached in 0.35s]
- Installing textshaping ... OK [linked from cache in 0.0019s]
- Installing ragg ... OK [installed binary and cached in 0.46s]
- Installing zip ... OK [linked from cache in 0.0013s]
- Installing xml2 ... OK [linked from cache in 0.0024s]
- Installing sys ... OK [linked from cache in 0.0014s]
- Installing askpass ... OK [linked from cache in 0.0021s]
- Installing openssl ... OK [linked from cache in 0.0034s]
- Installing uuid ... OK [linked from cache in 0.0026s]
- Installing officer ... OK [linked from cache in 0.0024s]
- Installing curl ... OK [linked from cache in 0.0015s]
- Installing triebeard ... OK [linked from cache in 0.0038s]
- Installing urltools ... OK [linked from cache in 0.0021s]
- Installing httpcode ... OK [linked from cache in 0.0017s]
- Installing crul ... OK [installed binary and cached in 0.46s]
- Installing gfonts ... OK [linked from cache in 0.0021s]
- Installing fontBitstreamVera ... OK [linked from cache in 0.0013s]
- Installing fontLiberation ... OK [linked from cache in 0.0017s]
- Installing fontquiver ... OK [linked from cache in 0.0022s]
- Installing gdtools ... OK [linked from cache in 0.0019s]
- Installing data.table ... OK [installed binary and cached in 0.45s]
- Installing flextable ... OK [installed binary and cached in 0.46s]
- Installing htmlwidgets ... OK [linked from cache in 0.0032s]
- Installing shinybusy ... OK [installed binary and cached in 0.45s]
- Installing BH ... OK [linked from cache in 0.0025s]
- Installing anytime ... OK [linked from cache in 0.0015s]
- Installing shinyWidgets ... OK [installed binary and cached in 0.7s]
- Installing teal.reporter ... OK [installed binary and cached in 0.46s]
- Installing gtable ... OK [linked from cache in 0.0015s]
- Installing isoband ... OK [linked from cache in 0.0021s]
- Installing farver ... OK [linked from cache in 0.0018s]
- Installing labeling ... OK [linked from cache in 0.0033s]
- Installing colorspace ... OK [linked from cache in 0.0018s]
- Installing munsell ... OK [installed binary and cached in 1.0s]
- Installing RColorBrewer ... OK [linked from cache in 0.0016s]
- Installing viridisLite ... OK [linked from cache in 0.0015s]
- Installing scales ... OK [linked from cache in 0.0026s]
- Installing fansi ... OK [linked from cache in 0.0015s]
- Installing utf8 ... OK [linked from cache in 0.0019s]
- Installing vctrs ... OK [linked from cache in 0.0036s]
- Installing pillar ... OK [linked from cache in 0.0017s]
- Installing pkgconfig ... OK [linked from cache in 0.0017s]
- Installing tibble ... OK [linked from cache in 0.0015s]
- Installing ggplot2 ... OK [linked from cache in 0.0025s]
- Installing formatters ... OK [installed binary and cached in 0.45s]
- Installing stringi ... OK [linked from cache in 0.0023s]
- Installing rtables ... OK [installed binary and cached in 0.35s]
- Installing purrr ... OK [linked from cache in 0.0022s]
- Installing R.methodsS3 ... OK [linked from cache in 0.003s]
- Installing R.oo ... OK [linked from cache in 0.0021s]
- Installing R.utils ... OK [linked from cache in 0.0017s]
- Installing R.cache ... OK [linked from cache in 0.0024s]
- Installing rprojroot ... OK [linked from cache in 0.0031s]
- Installing styler ... OK [installed binary and cached in 0.35s]
- Installing teal.widgets ... OK [linked from cache in 0.0022s]
- Installing teal.data ... OK [linked from cache in 0.0023s]
- Installing generics ... OK [linked from cache in 0.0017s]
- Installing tidyselect ... OK [installed binary and cached in 0.46s]
- Installing dplyr ... OK [linked from cache in 0.0021s]
- Installing httr ... OK [linked from cache in 0.0015s]
- Installing stringr ... OK [linked from cache in 0.0033s]
- Installing tidyr ... OK [linked from cache in 0.0033s]
- Installing lazyeval ... OK [linked from cache in 0.0064s]
- Installing crosstalk ... OK [linked from cache in 0.0028s]
- Installing plotly ... OK [linked from cache in 0.0022s]
- Installing shinycssloaders ... OK [linked from cache in 0.0016s]
- Installing teal.slice ... OK [linked from cache in 0.0029s]
- Installing teal ... OK [installed binary and cached in 0.46s]
Successfully installed 112 packages in 17 seconds.
> library(teal)
Loading required package: shiny
Loading required package: teal.data
Loading required package: teal.code
Loading required package: teal.slice
Registered S3 method overwritten by 'teal':
method from
c.teal_slices teal.slice
You are using teal version 0.15.2
Attaching package: ‘teal’
The following objects are masked from ‘package:teal.slice’:
as.teal_slices, teal_slices
Warning messages:
1: package ‘teal.data’ was built under R version 4.3.3
2: package ‘teal.slice’ was built under R version 4.3.3
> app <- init(
+ data = within(teal_data(), i <- iris),
+ modules = example_module()
+ )
> runApp(app, launch.browser = TRUE)
I think there are 2 typos in your
Details
code, it should be
You're right, sorry about that.
Just tried to install teal
on a fresh new R 4.4.0
version with zero libraries pre-installed and I do not experience the issue you mentioned. I would say it could be a temporary issue on your machine (maybe lack of the priviledges while installing dependencies, or inability to connect to CRAN mirror while looking for some dependencies during a small period of time).
I do not see issues with the installation of teal
in a clean R setup.
Fair enough 👌 I'll let you know if it comes up again.
What happened?
A red error appears if an app is run on a fresh installation:
sessionInfo()
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy