- using R version 4.4.2 (2024-10-31 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'teal.modules.general/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'teal.modules.general' version '0.3.0'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'teal.modules.general' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [2s] OK
- checking whether startup messages can be suppressed ... [2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [14s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [6s] ERROR
Running examples in 'teal.modules.general-Ex.R' failed
The error most likely occurred in:
> ### Name: tm_a_pca
> ### Title: 'teal' module: Principal component analysis
> ### Aliases: tm_a_pca
>
> ### ** Examples
>
> library(teal.widgets)
>
> # general data example
> data <- teal_data()
> data <- within(data, {
+ require(nestcolor)
+ USArrests <- USArrests
+ })
>
> datanames(data) <- "USArrests"
Warning: `datanames<-()` was deprecated in teal.data 0.7.0.
ℹ invalid to use `datanames()<-` or `names()<-` on an object of class
`teal_data`. See ?names.teal_data
>
> app <- init(
+ data = data,
+ modules = modules(
+ tm_a_pca(
+ "PCA",
+ dat = data_extract_spec(
+ dataname = "USArrests",
+ select = select_spec(
+ choices = variable_choices(
+ data = data[["USArrests"]], c("Murder", "Assault", "UrbanPop", "Rape")
+ ),
+ selected = c("Murder", "Assault"),
+ multiple = TRUE
+ ),
+ filter = NULL
+ ),
+ ggplot2_args = ggplot2_args(
+ labs = list(subtitle = "Plot generated by PCA Module")
+ )
+ )
+ )
+ )
[INFO] 2025-01-30 07:24:23.3227 pid:115932 token:[] teal.modules.general Initializing tm_a_pca
Error in as.list(data@env) :
no slot of name "env" for this object of class "teal_data"
Calls: init -> create_app_id -> as.list
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [4s] OK
Running 'testthat.R' [3s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [39s] ERROR
Error(s) in re-building vignettes:
--- re-building 'teal-modules-general.Rmd' using rmarkdown
Quitting from lines 43-70 [unnamed-chunk-1] (teal-modules-general.Rmd)
Error: processing vignette 'teal-modules-general.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'teal-modules-general.Rmd'
--- re-building 'using-association-plot.Rmd' using rmarkdown
Quitting from lines 61-294 [unnamed-chunk-3] (using-association-plot.Rmd)
Error: processing vignette 'using-association-plot.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'using-association-plot.Rmd'
--- re-building 'using-bivariate-plot.Rmd' using rmarkdown
Quitting from lines 66-618 [unnamed-chunk-3] (using-bivariate-plot.Rmd)
Error: processing vignette 'using-bivariate-plot.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'using-bivariate-plot.Rmd'
--- re-building 'using-cross-table.Rmd' using rmarkdown
Quitting from lines 60-135 [unnamed-chunk-3] (using-cross-table.Rmd)
Error: processing vignette 'using-cross-table.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'using-cross-table.Rmd'
--- re-building 'using-data-table.Rmd' using rmarkdown
Quitting from lines 56-106 [unnamed-chunk-3] (using-data-table.Rmd)
Error: processing vignette 'using-data-table.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'using-data-table.Rmd'
--- re-building 'using-outliers-module.Rmd' using rmarkdown
Quitting from lines 57-188 [unnamed-chunk-3] (using-outliers-module.Rmd)
Error: processing vignette 'using-outliers-module.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'using-outliers-module.Rmd'
--- re-building 'using-regression-plots.Rmd' using rmarkdown
Quitting from lines 66-266 [unnamed-chunk-3] (using-regression-plots.Rmd)
Error: processing vignette 'using-regression-plots.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'using-regression-plots.Rmd'
--- re-building 'using-response-plot.Rmd' using rmarkdown
Quitting from lines 65-375 [unnamed-chunk-3] (using-response-plot.Rmd)
Error: processing vignette 'using-response-plot.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'using-response-plot.Rmd'
--- re-building 'using-scatterplot-matrix.Rmd' using rmarkdown
Quitting from lines 66-153 [unnamed-chunk-3] (using-scatterplot-matrix.Rmd)
Error: processing vignette 'using-scatterplot-matrix.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'using-scatterplot-matrix.Rmd'
--- re-building 'using-scatterplot.Rmd' using rmarkdown
Quitting from lines 72-373 [unnamed-chunk-4] (using-scatterplot.Rmd)
Error: processing vignette 'using-scatterplot.Rmd' failed with diagnostics:
no slot of name "env" for this object of class "teal_data"
--- failed re-building 'using-scatterplot.Rmd'
SUMMARY: processing the following files failed:
'teal-modules-general.Rmd' 'using-association-plot.Rmd'
'using-bivariate-plot.Rmd' 'using-cross-table.Rmd'
'using-data-table.Rmd' 'using-outliers-module.Rmd'
'using-regression-plots.Rmd' 'using-response-plot.Rmd'
'using-scatterplot-matrix.Rmd' 'using-scatterplot.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [23s] OK
- checking HTML version of manual ... [9s] OK
- DONE
Status: 2 ERRORs