Closed ramiromagno closed 5 years ago
> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Arch Linux
Matrix products: default
BLAS: /usr/lib/libopenblasp-r0.3.6.so
LAPACK: /usr/lib/liblapack.so.3.8.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_DK.utf8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] httptest_3.2.2 gwasrapidd_0.99.1 testthat_2.1.1
loaded via a namespace (and not attached):
[1] Rcpp_1.0.1 plyr_1.8.4 pillar_1.4.0 compiler_3.6.0 prettyunits_1.0.2 remotes_2.0.4
[7] tools_3.6.0 digest_0.6.18 packrat_0.5.0 pkgbuild_1.0.3 pkgload_1.0.2 lubridate_1.7.4
[13] jsonlite_1.6 concatenate_1.0.0 memoise_1.1.0 tibble_2.1.1 pkgconfig_2.0.2 rlang_0.3.4
[19] cli_1.1.0 rstudioapi_0.10 curl_3.3 stringr_1.4.0 withr_2.1.2 dplyr_0.8.1
[25] httr_1.4.0 desc_1.2.0 fs_1.3.1 devtools_2.0.2 triebeard_0.3.0 rprojroot_1.3-2
[31] tidyselect_0.2.5 glue_1.3.1 R6_2.4.0 processx_3.3.1 sessioninfo_1.1.1 tidyr_0.8.3
[37] pingr_1.1.2 callr_3.2.0 purrr_0.3.2 magrittr_1.5 backports_1.1.4 urltools_1.7.3
[43] ps_1.3.0 usethis_1.5.0 assertthat_0.2.1 stringi_1.4.3 crayon_1.3.4
I just installed httptest
github's version and now this problem is gone.
Apparently I had this problem before too. But with my recent update to R 3.6.0, I forgot I had installed CRAN's version httptest
again.
hi
I do not know why but all my tests using
with_mock_api()
fail when I rundevtools::test()
.If I run
devtools::check()
instead all tests run fine.Could this be an issue with
httptest
or withdevtools
?devtools::check()
devtools::test(filter = 'get_metadata')