harphub / harpIO

IO functions for HARP
https://harphub.github.io/harpIO/
Other
6 stars 16 forks source link

fix list specification for R < 4 #62

Closed andrew-MET closed 3 years ago

andrew-MET commented 3 years ago

This PR fixes #61, whereby in R >= 4 conversion of NULL to a named list is automatic with [[name]], but not in older versions of R. The list is now explicitly declared to ensure compatibility with R < 4.