marinebon / obisindicators

R package for generating indicators from OBIS
https://marinebon.github.io/obisindicators/
Other
6 stars 4 forks source link

run_tests action failure "unexpected EoF" #34

Closed 7yl4r closed 2 years ago

7yl4r commented 2 years ago

I am not sure what is the cause of this error:

Run testthat::test_local()
  testthat::test_local()
  shell: /usr/bin/bash -e {0}
  env:
    R_LIBS_USER: /home/runner/work/_temp/Library
    TZ: UTC
    _R_CHECK_SYSTEM_CLOCK_: FALSE
    NOT_CRAN: true
    RSPM: https://packagemanager.rstudio.com/all/__linux__/focal/latest
/home/runner/work/_temp/6fc54c9e-0357-4a53-8b41-69b626e4ee34.sh: line 2: syntax error: unexpected end of file
Error: Process completed with exit code 2.

The next step on this is to run testthat:test_local() from a working local environment to find out if the issue is with the testthat or gh-actions config. I can't do that right now because RStudio stopped working on my laptop a few weeks back and I haven't been able to fix it.

7yl4r commented 2 years ago

problem is not w/ testhat. running locally works fine:

> testthat::test_local()
v | F W S  OK | Context
v |         3 | analyze_calc_es50 [0.2s]                               

== Results ==================================================================================================
Duration: 0.2 s

[ FAIL 0 | WARN 0 | SKIP 0 | PASS 3 ]