Displaying 4 results from an estimated 4 matches for "pkgsrcpath".
2011 May 19
1
r-2.13 fails make check
...kage:myTst"))
> stopifnot(names(sm at names) == "foo")
> unlink("myTst_*")
>
> ## More building & installing packages
> ## NB: tests were added here for 2.11.0.
> ## NB^2: do not do this in the R sources!
> ## and this testdir is not installed.
> pkgSrcPath <- file.path(Sys.getenv("SRCDIR"), "Pkgs")
> if(file_test("-d", pkgSrcPath)) {
+ ## could use file.copy(recursive = TRUE)
+ system(paste('cp -r', shQuote(pkgSrcPath), shQuote(tempdir())))
+ pkgPath <- file.path(tempdir(), "Pkgs")...
2012 Oct 13
0
installation of R (2.14.1 and 2.15.1) fails due to [reg-packages.Rout] Error
...age:myTst"))
> stopifnot(names(sm at names) == "foo")
> unlink("myTst_*")
>
> ## More building & installing packages
> ## NB: tests were added here for 2.11.0.
> ## NB^2: do not do this in the R sources!
> ## and this testdir is not installed.
> pkgSrcPath <- file.path(Sys.getenv("SRCDIR"), "Pkgs")
> if(file_test("-d", pkgSrcPath)) {
+ ## could use file.copy(recursive = TRUE)
+ system(paste('cp -r', shQuote(pkgSrcPath), shQuote(tempdir())))
+ pkgPath <- file.path(tempdir(), "Pkgs")...
2020 Feb 14
3
R-3.6.2 make check fails
....11.0.
> ## NB^2: do not do this in the R sources (but in a build != src directory!)
> ## and this testdir is not installed.
> if(interactive() && Sys.getenv("USER") == "maechler")
+ Sys.setenv(SRCDIR = normalizePath("~/R/D/r-devel/R/tests"))
> (pkgSrcPath <- file.path(Sys.getenv("SRCDIR"), "Pkgs"))# e.g., -> "../../R/tests/Pkgs"
[1] "../../tests/Pkgs"
> if(!file_test("-d", pkgSrcPath) && !interactive()) {
+ unlink("myTst", recursive=TRUE)
+ print(proc.time())
+...
2015 Sep 16
2
R-devel_2015-09-14 throws an error in reg-packages test
...ake[3]: *** [reg-packages.Rout] Error 1
make[2]: *** [test-Reg] Error 2
make[1]: *** [test-all-basics] Error 1
make: *** [check] Error 2
Looking at reg-packages.Rout.fail shows:
>
> ## else w/o clause:
> ## could use file.copy(recursive = TRUE)
> system(paste('cp -R', shQuote(pkgSrcPath), shQuote(tempdir())))
> pkgPath <- file.path(tempdir(), "Pkgs")
> ## pkgB tests an empty R directory
> dir.create(file.path(pkgPath, "pkgB", "R"), recursive = TRUE,
+ showWarnings = FALSE)
> p.lis <- if("Matrix" %in% row.names(instal...