spectral-cockpit / opusreader2

Read OPUS binary files from Fourier-Transform Infrared (FT-IR) spectrometers of the company Bruker Optics GmbH & Co. in base R
https://spectral-cockpit.github.io/opusreader2/
MIT License
18 stars 2 forks source link

if dsn has more elements than 1: warning "condition has length > 1 ..." #40

Closed philipp-baumann closed 2 years ago

philipp-baumann commented 2 years ago

Warning message: In if (dir.exists(dsn)) { : the condition has length > 1 and only the first element will be used

-> to fix in read_opus()