search for: package_coverage

Displaying 5 results from an estimated 5 matches for "package_coverage".

2016 Dec 06
0
system2 fails with quiet=TRUE, but runs through with quiet=FALSE
Hi, I have recently tried to check the test coverage using library("covr") and, interestingly, the command > covr::package_coverage() fails, while > covr::package_coverage(quiet = FALSE) runs through without problem. I traced the problem to a call to utils::install.packages(), where the option quiet is passed on. In utils::install.packages(), the problem seems to lie in the following call of system2(): output <- i...
2017 Jan 27
2
cross-platform portable code in CRAN Repository Policy
On 27 January 2017 at 21:54, G?bor Cs?rdi wrote: | On Fri, Jan 27, 2017 at 9:28 PM, Da Zheng <zhengda1936 at gmail.com> wrote: | > What major R platforms does this policy refer to? | > | | Linux, macOS, Windows. | | | > Currently, my package runs in Ubuntu. If it works on both Ubuntu and | > Redhat, does it count as two platforms? | > | | I think that Linux is just one. Is
2017 Sep 06
3
withr::set_makevars
...p, and I tested goodpractice on that. I get the error: > Error in set_makevars(new, path, makevars_file, assignment = assignment) : > Multiple results for CXXFLAGS found, something is wrong.FALSE > So after some playing around that is from the very first test, which uses the covr:package_coverage(), and sure enough running that produces the same error. Looking at the code, that error is being thrown by the function withr::set_makevars(). We are now too many layers deep into packages for me to follow what is going on, but the kicker is Scott Chamberlain can run it without any errors on t...
2017 Sep 07
0
withr::set_makevars
...I get the error: > > > Error in set_makevars(new, path, makevars_file, assignment = assignment) > : > > Multiple results for CXXFLAGS found, something is wrong.FALSE > > > > > So after some playing around that is from the very first test, which uses > the covr:package_coverage(), and sure enough running that produces the same > error. Looking at the code, that error is being thrown by the function > withr::set_makevars(). We are now too many layers deep into packages for > me to follow what is going on, but the kicker is Scott Chamberlain can run > it wit...
2017 Jan 27
0
cross-platform portable code in CRAN Repository Policy
...us integration (CI) services provided for free by Travis (Linux and macOS) and AppVeyor (Windows) in combination with GitHub (or GitLab, ...). By adding simple .travis.yml and appveyor.yml to your Git repos (e.g. https://github.com/HenrikBengtsson/globals), they run R CMD check --as-cran and covr::package_coverage() etc for you more or less on the fly, e.g. * https://travis-ci.org/HenrikBengtsson/globals * https://ci.appveyor.com/project/HenrikBengtsson/globals /Henrik PS. Thanks to everyone who made all of the above possible. On Fri, Jan 27, 2017 at 2:17 PM, Dirk Eddelbuettel <edd at debian.org> w...