R version 4.4.0 RC (2024-04-16 r86444 ucrt) -- "Puppy Cup" 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 Importing binding constraints | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |========== | 14% | |==================== | 29% | |============================== | 43% | |======================================== | 57% | |================================================== | 71% | |============================================================ | 86% | |======================================================================| 100% [ FAIL 0 | WARN 4 | SKIP 3 | PASS 865 ] ══ 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 4 | SKIP 3 | PASS 865 ] > > # } > > proc.time() user system elapsed 67.95 4.70 74.82