search for: testinstalledpackages

Displaying 16 results from an estimated 16 matches for "testinstalledpackages".

Did you mean: testinstalledpackage
2014 Jan 22
1
Behavior of --install-tests and testInstalledPackage
Hello, I'm writing a script that automates the testing of reverse dependencies of a package. I found the function testInstalledPackage in the tools package, which seems to do what I want. However, when I use it for a source package that was installed with --install-tests, I've noticed that only the actual test files (e.g. located in inst/tests) are available and run. In other words the
2018 Nov 26
1
issue with testInstalledPackage
Background: I run tools::testInstalledPackage on all packages that dependend on survival (605 as of today) before sending a new release to CRAN. It has a few false positives which I then follow up on.? (Mostly packages with as-yet-incomplete tests in their inst directory). ?Issue: testInstalledPackage("mets")? generates an? "Error in checkVignettes(pkg, lib.loc, latex = FALSE,
2013 Feb 20
4
Error in setwd(outDir) : cannot change working directory
...am Files\R\R-2.15.2 and am able to open RGUI (640bit), see packages and run commands. However, when I test the installation and run the basic tests and all the tests on the standard and recommended packages i.e.: library("tools") testInstalledBasic("both") testInstalledPackages("base", errorsAreFatal = FALSE) testInstalledPackages("recommended", errorsAreFatal = FALSE) I am getting errors such as: > testInstalledPackages("base",errorsAreFatal=FALSE) Error in setwd(outDir) : cannot change working directory my working driect...
2011 Jun 27
3
testInstalledPackages
Dear group, ? When running the installation test: ? testInstalledPackages("both",outDir='c:/Test') ? I got the following message: Running ?testci.R? comparing ?testci.Rout? to ?testci.Rout.save? ... files differ in number of lines: Please note the test does not result in 'OK' as do the other tests.? Is this a concern? Regards, ???-Cody Hamilt...
2012 May 29
3
Windows 7 installation issues
I installed R version 2.15.0 under C:/ on a PC running Windows 7.  When I load library("tools") to test the installation and then run the command testInstalledPackages("base"), I get the following error: Error in setwd(outDir): cannot change working directory. I have set up the R shortcut to run it as administrator. [[alternative HTML version deleted]]
2009 May 07
0
Building 2.9.0 on Solaris 10 U6 x86
..._STDC__ -D__EXTENSIONS__ " in config.site. There's a bit of weirdness about what the starting directory is if one follows the instructions at the bottom of page 8. It *really* cared what PWD was when I invoked R. Starting R in the wrong place caused setwd(outDir) to fail when I invoked testInstalledPackages("base"). Apparently because R.home() was not prepended to the package name when forming outDir. However, I'm not entirely sure of that even though I sort of got things to run by doing a "find . -name base" and moving around before starting R. Once I got testInstalledPack...
2016 May 03
2
vignette/knitr help
On 5/3/16 11:29 AM, Thierry Onkelinx wrote: > Dear Mick, > > Note that both knitr and rmarkdown are listed under Suggests: both are > required to compile the vignette. Installing rmarkdown should solve > the problem. If not, please provide more information. OS, R version, > digest version, ... > > This is occurring in the context of an automated testing environment that
2016 May 03
0
vignette/knitr help
Dear Mick, knitr doesn't depends on rmarkdown. It's the vignette that depends on both knitr (for handle the R chunks) and rmarkdown (for the output format rmarkdown::html_vignette). https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Package-Dependencies states: "The ?Suggests? field ...snip... lists packages that are not necessarily needed. This includes packages used
2012 Nov 27
0
Puzzling behavior while testing
I'm testing a new release of survival, executing the following piece of code: .... for (testpkg in survdep) { z <- testInstalledPackage(testpkg, outDir="tests") cat(testpkg, c("Ok", "Failed")[z+1], "\n", file="progress", append=T) } The vector survdep contains the names of all 156 packages listed as reverse depends on the CRAN
2016 May 03
2
vignette/knitr help
I need some help understanding a problem running the tests on the 'digest' package. Initially, I got the message that the 'knitr' package was needed to run vignettes: Running vignettes for package ?digest? Error in loadVignetteBuilder(vigns$pkgdir) : vignette builder 'knitr' not found So I installed the knitr package and all its dependents (?mime?, ?stringi?,
2009 Apr 17
0
R 2.9.0 is released
...rites "[1:n(1d)]" instead of the previous less clear "[, 1:n]". o New function testInstalledPackage() in package 'tools' allows the examples (and if they were installed) any package-specific tests to be run on an installed package. testInstalledPackages() can run all the examples and tests in the standard and/or recommended packages. Also testInstalledBasic() can run the basic tests (if installed). o file.copy() now has a 'recursive' argument. o Errors in setOldClass() will cause a previous definition to be r...
2009 Apr 17
0
R 2.9.0 is released
...rites "[1:n(1d)]" instead of the previous less clear "[, 1:n]". o New function testInstalledPackage() in package 'tools' allows the examples (and if they were installed) any package-specific tests to be run on an installed package. testInstalledPackages() can run all the examples and tests in the standard and/or recommended packages. Also testInstalledBasic() can run the basic tests (if installed). o file.copy() now has a 'recursive' argument. o Errors in setOldClass() will cause a previous definition to be r...
2015 Oct 19
1
R 3.2.2 - make check and install package hang
Below is the output. Thanks for the help. > Sys.getenv() BASH_FUNC_module() () { eval `/cm/local/apps/environment-modules/3.2.10/Modules/$MODULE_VERSION/bin/modulecmd bash $*` } COLUMNS 152 CPATH /cm/shared/apps/uge/8.2.1/include CVS_RSH ssh DISPLAY localhost:10.0 EDITOR
2013 Apr 16
1
testInstalledBasic / testInstalledPackages
...1 When I compare the isas-tests.Rout to isas-tests.Rout.save, as well as the two diff files listed above, it seems that there is one extra empty line in isas-tests.Rout.save. Is there any way to fix this error without modifying the isas-tests.Rout.save file? Next I submitted the following code, testInstalledPackages(scope="base") and got the message below in my R console: > testInstalledPackages(scope="base") Testing examples for package ?base? Testing examples for package ?tools? comparing ?tools-Ex.Rout? to ?tools-Ex.Rout.save? ... 621c621 < [1] "0cce1e42ef3fb133940946534fcf...
2024 Apr 24
0
[Rd] R 4.4.0 is released
The build system rolled up R-4.4.0.tar.gz and R-4.4.0.tar.xz (codename "Puppy Cup") this morning. This is a major update, containing many new features and bug fixes. The list below details the changes in this release. You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.4.0.tar.gz https://cran.r-project.org/src/base/R-4/R-4.4.0.tar.xz or wait for it to be
2024 Apr 24
0
[Rd] R 4.4.0 is released
The build system rolled up R-4.4.0.tar.gz and R-4.4.0.tar.xz (codename "Puppy Cup") this morning. This is a major update, containing many new features and bug fixes. The list below details the changes in this release. You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.4.0.tar.gz https://cran.r-project.org/src/base/R-4/R-4.4.0.tar.xz or wait for it to be