search for: test_check

Displaying 14 results from an estimated 14 matches for "test_check".

Did you mean: _test_checks
2020 Jan 14
1
CRAN check fails if website is unavailable on Fedora platforms
...;) > req$status_code > }, > error = function(e){ > -1 > } > ) > } > ## test package separated with filter due to limited Travis-CI build time > ## HTTP status 200 indicates ?OK? > if(curl::has_internet() & check_qrng() == 200){ > test_check('qrandom', filter = "qrandom") > test_check('qrandom', filter = "qrandomunif") > test_check('qrandom', filter = "qrandomnorm") > test_check('qrandom', filter = "qUUID") > test_check('qrandom', fi...
2023 Jan 10
1
rhub vs. CRAN fedora-*-devel, using armadillo & slapack
..., and you'd also have to prepare >>> another CRAN submission just to have those tests run. It's also against >>> CRAN policy to knowingly submit a package with unfixed ERRORs. >>> >>> (Currently, R can only tell you that the tests hung in the >>> test_check('rlibkriging') call in the tests/testthat.R, which isn't >>> precise enough.) >> >> You can specify a different "reporter" in the test_check() call, and it >> will print more useful information.? I don't think there's a perfect >> one,...
2023 Jan 10
1
rhub vs. CRAN fedora-*-devel, using armadillo & slapack
...the testthat harness, and you'd also have to prepare >> another CRAN submission just to have those tests run. It's also against >> CRAN policy to knowingly submit a package with unfixed ERRORs. >> >> (Currently, R can only tell you that the tests hung in the >> test_check('rlibkriging') call in the tests/testthat.R, which isn't >> precise enough.) > > You can specify a different "reporter" in the test_check() call, and it > will print more useful information.? I don't think there's a perfect > one, but > > ?...
2023 Jan 10
1
rhub vs. CRAN fedora-*-devel, using armadillo & slapack
...> work outside the testthat harness, and you'd also have to prepare > another CRAN submission just to have those tests run. It's also against > CRAN policy to knowingly submit a package with unfixed ERRORs. > > (Currently, R can only tell you that the tests hung in the > test_check('rlibkriging') call in the tests/testthat.R, which isn't > precise enough.) You can specify a different "reporter" in the test_check() call, and it will print more useful information. I don't think there's a perfect one, but test_check('rlibkriging',...
2023 Jan 11
2
rhub vs. CRAN fedora-*-devel, using armadillo & slapack
...and you'd >>> also have to prepare another CRAN submission just to have those >>> tests run. It's also against CRAN policy to knowingly submit a package with unfixed ERRORs. >>> >>> (Currently, R can only tell you that the tests hung in the >>> test_check('rlibkriging') call in the tests/testthat.R, which isn't >>> precise enough.) >> >> You can specify a different "reporter" in the test_check() call, and >> it will print more useful information.? I don't think there's a >> perfect on...
2006 Dec 19
9
Stubbing ActiveRecord Models gets very difficult with instance methods
I have seen some basic examples of using Mocha and Stubba with ActiveRecord Models; However, the ones I read were somewhat simplistic. That is they stubbed the find class method of the model, or the execute method of the connection object. While stubbing the find method had the desired effect for the author it did not help with a situation I was hacking away on. Which was writing a test case
2023 Jan 11
2
rhub vs. CRAN fedora-*-devel, using armadillo & slapack
...>>> also have to prepare another CRAN submission just to have those >>>> tests run. It's also against CRAN policy to knowingly submit a package with unfixed ERRORs. >>>> >>>> (Currently, R can only tell you that the tests hung in the >>>> test_check('rlibkriging') call in the tests/testthat.R, which isn't >>>> precise enough.) >>> >>> You can specify a different "reporter" in the test_check() call, and >>> it will print more useful information.? I don't think there's a >&g...
2023 Jan 10
1
rhub vs. CRAN fedora-*-devel, using armadillo & slapack
...y have to rewrite the tests to work outside the testthat harness, and you'd also have to prepare another CRAN submission just to have those tests run. It's also against CRAN policy to knowingly submit a package with unfixed ERRORs. (Currently, R can only tell you that the tests hung in the test_check('rlibkriging') call in the tests/testthat.R, which isn't precise enough.) These lines look a bit scary: tests/testthat/bench-KrigingFit.R: pack=list.files(file.path("bindings","R"),pattern = ".tar.gz",full.names = T) install.packages(pack,repos=NULL) te...
2018 May 30
1
CRAN checks give errors when no tests are included
...mo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) Warning message: package 'testthat' was built under R version 3.3.3 > library(bwt) > > test_check("bwt") Error: No tests found for bwt Execution halted * DONE I checked the package and it had no tests subfolder. Yet -as far as I can judge- CRAN tried to run tests anyway and error'd when there were none to be found. This would make sense of adding tests was obligatory, but I c...
2019 Jul 19
1
difficulty with sanitizer using bigmemory
...ocessed. The auto-check found additional issues for the *last* version released on CRAN: clang-UBSAN < https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-UBSAN/bigKRLS> gcc-UBSAN <https://www.stats.ox.ac.uk/pub/bdr/memtests/gcc-UBSAN/bigKRLS> Clicking through, you find that > test_check("bigKRLS") gauss_kernel.cpp:38:40: runtime error: member call on address 0x6120001f2c40 which does not point to an object of type 'BigMatrix' 0x6120001f2c40: note: object is of type 'FileBackedBigMatrix' [details omitted] SUMMARY: UndefinedBehaviorSanitizer: undefined-...
2016 Jul 29
12
[3.9 Release] Release Candidate 1 has been tagged
Dear testers, 3.9.0-rc1 was just tagged from the 3.9 branch at r277207. This took a little longer than I'd hoped, but I think the branch is in a decent state now. There are still open merge requests and bugs, but I'd like to get the real testing started to see where we're at. Please build, test, and upload binaries to the sftp. Let me know how it goes. I'll upload source, docs,
2017 Sep 17
0
FW: CRAN check errors: drake 4.1.0 on r-devel-linux-x86_64-debian-clang
...w result: ERROR >???? Running ?testthat.R? [55s/138s] >?? Running the tests in ?tests/testthat.R? failed. >?? Complete output: >???? > Sys.setenv("R_TESTS" = "") >???? > >???? > library(testthat) >???? > library(drake) >???? > >???? > test_check("drake") >???? 1. Failure: function_dependencies() works on :: and ::: > (@test-namespaced.R#19) >???? sort(find_namespaced_functions(crazy)) not equal to `ns`. >???? Lengths differ: 0 vs 7 > > >???? 2. Failure: function_dependencies() works on :: and ::: > (@test-...
2023 Jan 10
2
rhub vs. CRAN fedora-*-devel, using armadillo & slapack
Thank you for your answer. In facts, 10 threads are asked by armadillo for some LinAlg, which backs to two threads as warned. But I cannot imagine this costs so much time just for that... A deeper analysis of time spent seems to point that a large time was mainly spent on testthat and Rcpp dependencies compilation... But other recent packages depending on these also are not spending so much time.
2015 Mar 03
2
openssh-SNAP-20150304 issues
...t;assert.h> #include <unistd.h> #include <signal.h> #include <openssl/bn.h> #if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H) && !defined(BROKEN_STRNVIS) # include <vis.h> #endif #include "test_helper.h" #include "atomicio.h" #define TEST_CHECK_INT(r, pred) do { \ switch (pred) { \ case TEST_EQ: \ if (r == 0) \ return; \ break; \ ca...