gRAN icon indicating copy to clipboard operation
gRAN copied to clipboard

GRANonGRAN() tries to copy non-existent files

Open andrie opened this issue 10 years ago • 1 comments

In the function GRANonGRAN() the following lines fail:

    res = file.copy(system.file("GRAN", package="GRANBase"),
              normalizePath2(repobase(repo)), recursive=TRUE,
              overwrite=TRUE)
    if(any(!res))
        stop("copy failed")

The reason is that the file "GRAN" doesn't seem to exist in GRANbase

system.file("GRAN", package="GRANBase")
[1] ""

Should this line refer to a different folder?

andrie avatar Jun 13 '14 08:06 andrie

@andrie This is because that directory is created by the configure script, which I strongly suspect doesn't currently work under windows. I will look at created a config.win script so that this will work.

Thanks

gmbecker avatar Jun 13 '14 13:06 gmbecker