Message-ID: <CALEXWq0Zo0t+F5drcJUz_YykN95DcKnVx-QdP=SJDutVbtD5LQ@mail.gmail.com>
Date: 2017-12-19T16:40:58Z
From: IƱaki Ucar
Subject: [R-pkg-devel] nparACT package: "working directory was changed to...resetting"
In-Reply-To: <E20FE863CD1C294AA55E415F4C446424F24EBAA8@xchmbx2.is.sbg.ac.at>
2017-12-19 17:17 GMT+01:00 Blume Christine <christine.blume at sbg.ac.at>:
> Actually, the report I received refers to the old 0.7 version?for whatever
> reason? The version I had submitted was 0.8 in which I had corrected this.
> Well, let?s see?
>
>
>
> Another issue seems to be that the text file the example is supposed to read
> in is not read (properly) using Debian:
>
>
>
> Warning in is.na(data$activity) :
>
> is.na() applied to non-(list or vector) of type 'NULL'
>
> Error in 1:a : argument of length 0
>
>
>
> I am reading in a text file with a numeric column (data$activity) and date
> or datetime (which is then converted using as.POSIXct. Subsequently, I check
> if there are NAs?
It seems that data$activity is NULL (the column does not exist). That
would explain both the warning (is.na applied to non-(list or vector)
of type NULL) and the error (argument of length 0).
I?aki