cran / teal

:exclamation: This is a read-only mirror of the CRAN R package repository. teal — Exploratory Web Apps for Analyzing Clinical Trials Data. Homepage: https://insightsengineering.github.io/teal/, https://github.com/insightsengineering/teal/ Report bugs for this package: https://github.com/insightsengineering/teal/issue ...
0 stars 0 forks source link

teal app fails to initialize reporter_previewer_module on startup #1

Open psymicha opened 4 months ago

psymicha commented 4 months ago

Hi,

I built an app with teal using some modules from teal.modules.clinical and teal.modules.general with CDISC-like data. After updating the teal packages to the latest release versions I encounter the following error:

[INFO] 2024-02-13 17:17:59.3195 pid:18444 token:[6abb0c30] teal Initializing reporter_previewer_module Warnung: Error in <Anonymous>: Assertion on 'data' failed: Must inherit from class 'tdata', but has classes 'reactive.event','reactiveExpr','reactive','function'. 3: runApp 2: print.shiny.appobj 1: <Anonymous>

I checked the data argument of the teal::init() function. It is created with the teal_data() function and is of class teal_data.

Since I am not aware of a method to prevent adding the reporter_previewer_module I cannot get my app running anymore. I have no idea where the error may come from. That's why I'd appreciate any help very much.

Thank you in advance!

Kind regards, Michael

Here is my session info:


Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.utf8  LC_CTYPE=German_Germany.utf8    LC_MONETARY=German_Germany.utf8 LC_NUMERIC=C                    LC_TIME=German_Germany.utf8    

time zone: Europe/Berlin
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base     

other attached packages:
 [1] arsenal_3.6.3                lubridate_1.9.3              forcats_1.0.0                stringr_1.5.1                dplyr_1.1.4                 
 [6] purrr_1.0.2                  readr_2.1.5                  tidyr_1.3.1                  tibble_3.2.1                 tidyverse_2.0.0             
[11] teal.modules.clinical_0.8.16 tern_0.9.3                   rtables_0.6.6                formatters_0.5.5             teal.modules.general_0.2.16 
[16] shinyTree_0.3.1              ggmosaic_0.3.3               ggplot2_3.4.4                teal.transform_0.4.0         magrittr_2.0.3              
[21] teal_0.15.0                  teal.slice_0.5.0             teal.data_0.4.0              teal.code_0.5.0              shiny_1.8.0                 
[26] remotes_2.4.2.1             

loaded via a namespace (and not attached):
 [1] Rdpack_2.6            tern.gee_0.1.3        logger_0.2.2          rlang_1.1.3           compiler_4.3.2        callr_3.7.3           vctrs_0.6.5          
 [8] crayon_1.5.2          pkgconfig_2.0.3       fastmap_1.1.1         backports_1.4.1       ellipsis_0.3.2        fontawesome_0.5.2     utf8_1.2.4           
[15] promises_1.2.1        rmarkdown_2.25        tzdb_0.4.0            ps_1.7.6              bit_4.0.5             xfun_0.42             cachem_1.0.8         
[22] teal.reporter_0.2.1   jsonlite_1.8.8        later_1.3.2           broom_1.0.5           R6_2.5.1              bslib_0.6.1           stringi_1.8.3        
[29] pkgload_1.3.4         jquerylib_0.1.4       estimability_1.4.1    knitr_1.45            Rcpp_1.0.12           assertthat_0.2.1      teal.logger_0.1.3    
[36] httpuv_1.6.13         Matrix_1.6-1.1        splines_4.3.2         timechange_0.3.0      tidyselect_1.2.0      rstudioapi_0.15.0     yaml_2.3.8           
[43] curl_5.2.0            processx_3.8.3        teal.widgets_0.4.2    pkgbuild_1.4.3        lattice_0.21-9        withr_3.0.0           evaluate_0.23        
[50] desc_1.4.3            survival_3.5-7        shinycssloaders_1.0.0 pillar_1.9.0          BiocManager_1.30.22   DT_0.31               checkmate_2.3.1      
[57] renv_1.0.3            shinyjs_2.1.0         plotly_4.10.4         generics_0.1.3        hms_1.1.3             munsell_0.5.0         scales_1.3.0         
[64] xtable_1.8-4          glue_1.7.0            emmeans_1.10.0        lazyeval_0.2.2        tools_4.3.2           data.table_1.15.0     mvtnorm_1.2-4        
[71] grid_4.3.2            crosstalk_1.2.1       rbibutils_2.2.16      colorspace_2.1-0      nlme_3.1-163          cli_3.6.2             fansi_1.0.6          
[78] viridisLite_0.4.2     geepack_1.3.10        arrow_14.0.0.2        gtable_0.3.4          sass_0.4.8            digest_0.6.34         ggrepel_0.9.5        
[85] htmlwidgets_1.6.4     memoise_2.0.1         htmltools_0.5.7       lifecycle_1.0.4       shinyWidgets_0.8.1    httr_1.4.7            mime_0.12            
[92] bit64_4.0.5           MASS_7.3-60
gaborcsardi commented 4 months ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!

psymicha commented 4 months ago

Apologies about that!