Skip to content
Prev 2219 / 12125 Next

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

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?



Any ideas what might be happening here?



Best,

Christine





-----Urspr?ngliche Nachricht-----
Von: I?aki ?car [mailto:i.ucar86 at gmail.com]
Gesendet: Dienstag, 19. Dezember 2017 16:48
An: Blume Christine
Cc: r-package-devel at r-project.org
Betreff: Re: [R-pkg-devel] nparACT package: "working directory was changed to...resetting"



2017-12-19 16:27 GMT+01:00 Blume Christine <christine.blume at sbg.ac.at<mailto:christine.blume at sbg.ac.at>>:
I see:



$ wget https://cran.r-project.org/src/contrib/nparACT_0.7.tar.gz

$ tar xf nparACT_0.7.tar.gz

$ grep -r setwd nparACT

nparACT/man/nparACT_flex_loop.Rd:setwd(newdir)

nparACT/man/nparACT_base_loop.Rd:setwd(newdir)



so two examples don't restore the wd as Duncan was pointing out.



I?aki