R Under development (unstable) (2024-07-11 r86890 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 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. > #Copyright © 2016 RTE Réseau de transport d’électricité > > require(testthat) Loading required package: testthat > require(antaresRead) Loading required package: antaresRead > require(plyr) Loading required package: plyr > > > #Maybe include this in some test-file.R > #is.solaris<-function(){ > # grepl('SunOS',Sys.info()['sysname']) > #} > > #if(!is.solaris()){ > > test_check("antaresRead") Importing areas | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% Importing binding constraints Importing mingen | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% [ FAIL 0 | WARN 12 | SKIP 2 | PASS 898 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • Functions use warnings -- tests skipped for now (1): 'test-digest.R:5:1' • empty test (1): 'test-readInputClusters.R:61:1' [ FAIL 0 | WARN 12 | SKIP 2 | PASS 898 ] > > # } > > proc.time() user system elapsed 48.93 2.78 54.07