logan-berner / LandsatTS

LandsatTS is an R package to facilitate retrieval, cleaning, cross-calibration, and phenological modeling of Landsat time-series data.
Other
26 stars 3 forks source link

Bug in lsat_general_prep()? #5

Closed jakobjassmann closed 3 years ago

jakobjassmann commented 3 years ago

I was trying your test workflow in lsatTS_test_run.R and ran into this issue below.

Looks like a typo when calling the function "data.table"?

lsat.dt <- lsat_general_prep(lsat.dt)
Loading required package: dplyr

Attaching package: ‘dplyr’

The following objects are masked from ‘package:data.table’:

    between, first, last

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

Error in dat.table(dt) : could not find function "dat.table"
logan-berner commented 3 years ago

Yep, a typo! That was fixed in my local copy of the script, but hadn't been pushed to Git. Problem solved.