[R-pkg-devel] nparACT package: "working directory was changed to...resetting"

Iñaki Úcar i.ucar86 at gmail.com
Tue Dec 19 17:40:58 CET 2017


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



More information about the R-package-devel mailing list