Closed walleo860 closed 3 years ago
A couple of versions back, I added functionality to attempt to guess the table type (site-date, site-all, lab-all, etc) when table type was unknown, and it looks like that had the side effect that now it's attempting to stack the per sample files in the microbe community composition data products (also affects DP1.30012.001, Field spectra), and failing. This will take some time to fix, but I'll make sure to include it in the next version.
In the meantime, you can get around this either by using the basic package, which only includes URLs to the per sample files, instead of the files themselves, or by downloading with zipsByProduct(), moving the per sample files to another directory, and then stacking using stackByTable().
Stacking of per sample files is enabled, expecting to send to CRAN next week.
Stacking of per sample files is included in neonUtilities 2.1.0, now on CRAN.
Function loadByProduct()
Describe the bug The function downloads the data but then fails durring stacking
To Reproduce
portaldata <- loadByProduct( dpID = 'DP1.10081.001',
site = site,
)
produces the error: Error in if ((datafl.splitName[[1]][4] == "DP4") && (datafl.splitName[[1]][5] == : missing value where TRUE/FALSE needed
Expected behavior It should stack the tables so I can use the data however it just fails durring stacking. This seems to work OK when doing the basic package.
System (please complete the following information):