geco-bern / ingestr

Data ingest for points (given longitude, latitude, and required dates) from large global files or remote data servers and create time series at user-specified temporal resolution.
https://geco-bern.github.io/ingestr
42 stars 21 forks source link

Document failure #19

Closed stineb closed 2 years ago

stineb commented 2 years ago

Throws an error when trying to document:

devtools::document(roclets = c('rd', 'collate', 'namespace'))

Gives this error:

ℹ Updating ingestr documentation
ℹ Loading ingestr
Error in parse(text = lines, n = -1, srcfile = srcfile) : 
  /Users/bestocke/ingestr/R/ingest_modis_bysite.R:946:0: unexpected end of input
944: 
945: na.omit.list <- function(y) { return(y[!sapply(y, function(x) all(is.na(x)))]) }
    ^
Calls: suppressPackageStartupMessages ... withr_with_dir -> force -> source_many -> source_one -> parse
Execution halted

Exited with status 1.

I can't see what's wrong with that line.