R Under development (unstable) (2024-06-26 r86840 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 4 | PASS 897 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • (1): 'test-aggregateResult.R:5:1' • Functions use warnings -- tests skipped for now (1): 'test-digest.R:5:1' • empty test (1): 'test-readInputClusters.R:61:1' • readAntares empty when mcYears is NULL (1): 'test-ponderate.R:3:1' [ FAIL 0 | WARN 12 | SKIP 4 | PASS 897 ] > > # } > > proc.time() user system elapsed 62.76 7.23 72.46