R Under development (unstable) (2024-05-27 r86634 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 6 | SKIP 3 | PASS 884 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • (1): 'test-aggregateResult.R:5:1' • Functions use warnings -- tests skipped for now (1): 'test-digest.R:5:1' • readAntares empty when mcYears is NULL (1): 'test-ponderate.R:3:1' [ FAIL 0 | WARN 6 | SKIP 3 | PASS 884 ] > > # } > > proc.time() user system elapsed 70.48 4.37 77.20