Displaying 1 result from an estimated 1 matches for "gpstime".
Did you mean:
cputime
2023 Jun 21
1
New behavior when running script in package directory?
...ns 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
> 1: secsToRDateTime <- function(secs) {
> ^
>
> As I said, there are no problems when the script is run from my
> home directory. This suggests that test scripts can no longer be
> tested in a package's R directory?
>
> Is...