search for: secstordatetim

Displaying 1 result from an estimated 1 matches for "secstordatetim".

Did you mean: secstordatetime
2023 Jun 21
1
New behavior when running script in package directory?
...pt > in its new location, R starts, and setwd() is called to set > the working directory, but then one or more libraries that the > package depends on are loaded, even though I am using no > libraries in foo.R. > > Now consider foo.R that contains the following trivial code: > secsToRDateTime <- function(secs) { > day2sec <- 60*60*24 > days <- secs/day2sec > } > > When I try to run this from package/R I get... > > Error in ss(file, echo = visibly, local = local, print.eval = output, : > /tmp/gpstime.R!CuSewT:2:0: unexpected end of input >...