- using R version 4.4.3 (2025-02-28 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 'sfc/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'sfc' version '0.1.0'
- 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 'sfc' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] 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 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 ... [5s] 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 LazyData ... NOTE
'LazyData' is specified without a 'data' directory
- checking examples ... [2s] ERROR
Running examples in 'sfc-Ex.R' failed
The error most likely occurred in:
> ### Name: sfc
> ### Title: Substance Flow Computation
> ### Aliases: sfc
>
> ### ** Examples
>
> library(sfc)
>
> ## model as txt
> data <- system.file("extdata", "data_utf8.csv", package = "sfc")
> model <- system.file("extdata", "model_utf8.txt", package = "sfc")
> sfc(data, model, sample.size = 100, fileEncoding = "UTF-8")
Read 12 items
Error:
! `mutate_each()` was deprecated in dplyr 0.7.0 and is now defunct.
ℹ Please use `across()` instead.
Backtrace:
▆
1. ├─sfc::sfc(data, model, sample.size = 100, fileEncoding = "UTF-8")
2. │ └─sfc:::impute_data(data)
3. │ └─... %>% mutate_each(funs(as.character(.)))
4. └─dplyr::mutate_each(., funs(as.character(.)))
5. └─dplyr:::each_defunct("mutate_each()")
6. └─lifecycle::deprecate_stop(when = "0.7.0", what = fun, with = "across()")
7. └─lifecycle:::deprecate_stop0(msg)
8. └─rlang::cnd_signal(...)
Execution halted
- checking PDF version of manual ... [17s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 1 ERROR, 1 NOTE