search for: withr

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

Did you mean: with
2017 Sep 07
0
withr::set_makevars
withr:::set_makevars() can give that error if the makefile named by the 'old_path' argument (default "~/.R/Makevars) contains more than one definition of a variable of the form 'name=value'. You can see what file it is reading and its contents by using the trace() function: trace(w...
2017 Sep 06
3
withr::set_makevars
...gt; 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 the same package. Session_info for both of us follows. If any one has any suggestions both as to what is causing this and a poss...
2019 Mar 19
2
Possibly broken system2 env-option
On Tue, Mar 19, 2019 at 9:59 AM peter dalgaard <pdalgd at gmail.com> wrote: [...] > What you need is something like (NB: single quotes!) > > system2("sh", env = c("VAR='Hello World'"), args = c("-c 'echo $VAR'")) > Hello World Just out of curiosity, do you think it is possible to make this portable, assuming sh is available? On
2019 Oct 30
2
set.seed() in a package
...> gives you the same random uniforms both times. (Of course it isn't that much of an issue, since you would rarely be running examples before any serious simulations.) > > I think it's pretty common in example code, and that's justifiable. But > it could be avoided by using withr::with_seed() or something equivalent. > > Duncan Murdoch > > > > > You can fairly easily work around that by saving and restoring .Random.seed. I wonder if that isn't also true of the cases using set.seed() for other reasons? > > > > -pd > > > > >...
2017 Sep 17
0
FW: CRAN check errors: drake 4.1.0 on r-devel-linux-x86_64-debian-clang
...Package Information: >> Package: crayon >> Version: 1.3.4 >> Title: Colored Terminal Output >> Author(s): G?bor Cs?rdi [aut, cre], Brodie Gaslam [ctb] >> Maintainer: G?bor Cs?rdi <mailto:csardi.gabor at gmail.com> >> Suggests: mockery, rstudioapi, testthat, withr >> Description: Colored terminal output on terminals that support 'ANSI' >>??? color and highlight codes. It also works in 'Emacs' 'ESS'. >>??? 'ANSI' color support is automatically detected. Colors and >>??? highlighting can be combined and n...
2019 Oct 30
2
set.seed() in a package
We commit a similar sin in the help pages, e.g. example(set.seed) ; runif(2) example(set.seed) ; runif(2) gives you the same random uniforms both times. (Of course it isn't that much of an issue, since you would rarely be running examples before any serious simulations.) You can fairly easily work around that by saving and restoring .Random.seed. I wonder if that isn't also true of the
2019 Oct 30
0
set.seed() in a package
...nif(2) > > gives you the same random uniforms both times. (Of course it isn't that much of an issue, since you would rarely be running examples before any serious simulations.) I think it's pretty common in example code, and that's justifiable. But it could be avoided by using withr::with_seed() or something equivalent. Duncan Murdoch > > You can fairly easily work around that by saving and restoring .Random.seed. I wonder if that isn't also true of the cases using set.seed() for other reasons? > > -pd > > >> On 30 Oct 2019, at 13:46 , Duncan...
2019 Oct 30
0
set.seed() in a package
...the same random uniforms both times. (Of course it isn't that much of an issue, since you would rarely be running examples before any serious simulations.) > > > > I think it's pretty common in example code, and that's justifiable. But > > it could be avoided by using withr::with_seed() or something equivalent. > > > > Duncan Murdoch > > > > > > > > You can fairly easily work around that by saving and restoring .Random.seed. I wonder if that isn't also true of the cases using set.seed() for other reasons? > > > > &gt...
2020 Jun 26
2
R 4.0.0 rebuild status
On Friday, 26 June 2020 10.47.13 WEST I?aki Ucar wrote: > I used bcond locally and wrongly assumed that fedpkg build would > support --with BCOND and --without BCOND. Instead, the way to activate > it is to change to "%bcond_with check" and then revert to > "%bcond_without check". The only difference with bootstrap is that > "bootstrap" is recognized
2016 Apr 12
0
Dispatch issue in package check?
...CRAN (R 3.2.3) magrittr 1.5 2014-11-22 CRAN (R 3.2.0) memoise 1.0.0 2016-01-29 CRAN (R 3.2.3) Rcpp 0.12.4 2016-03-26 CRAN (R 3.2.4) roxygen2 * 5.0.1 2015-11-11 CRAN (R 3.2.2) stringi 1.0-1 2015-10-22 CRAN (R 3.2.2) stringr 1.0.0 2015-04-30 CRAN (R 3.2.0) withr 1.0.1 2016-02-04 CRAN (R 3.2.3) John Szumiloski, Ph.D. Senior Principal Scientist, Statistician Analytical and Bioanalytical Operations<http://teams.bms.com/sites/ARD/> NBR105-1-1411 Bristol-Myers Squibb P.O. Box 191 1 Squibb Drive New Brunswick, NJ 08903-0191 USA (732) 227-7167 ___...
2017 Nov 08
1
Ggplot error
I get the same result as Eric? withR version 3.4.2 (2017-09-28) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 17.04 It looks like you have "tidyverse" loaded so I tried it with just ggplot2 loaded and with tidyverse loaded.? On Wednesday, November 8, 2017, 4:16:14 AM EST, Eric Berger <ericjberger at g...
2017 Nov 08
2
Ggplot error
...ddalpha_1.3.1 gower_0.1.2 stringr_1.2.0 [26] foreign_0.8-69 munsell_0.4.3 broom_0.4.2 compiler_3.4.2 modelr_0.1.1 [31] pkgconfig_2.0.1 mnormt_1.5-5 dimRed_0.1.0 nnet_7.3-12 prodlim_1.6.1 [36] DRR_0.0.2 codetools_0.2-15 RcppRoll_0.2.2 withr_2.1.0 MASS_7.3-47 [41] recipes_0.1.0 ModelMetrics_1.1.0 grid_3.4.2 nlme_3.1-131 jsonlite_1.5 [46] gtable_0.2.0 magrittr_1.5 scales_0.5.0 stringi_1.1.5 reshape2_1.4.2 [51] bindrcpp_0.2 timeDate_3012.100 robustbase_0.92-8 xml2_1.1.1 lava_1.5.1 [5...
2020 Jun 04
2
mclust package installation is preparing for lazy loading and never finishes
...mises rstudioapi viridisLite clipr farver htmltools mstate ps rvest webshot coda.base flexmix htmlwidgets muhaz purrr scales whisker colorspace flexsurv httr munsell qpdf selectr withr crayon flextable isoband mvtnorm quadprog spatial xfun crosstalk forcats jsonlite nlme R6 stringi xml2 curl foreign kableExtra officer RColorBrewer stringr yaml data.table fs kernlab...
2017 Nov 08
0
Ggplot error
..._0.1.2 > stringr_1.2.0 > [26] foreign_0.8-69 munsell_0.4.3 broom_0.4.2 > compiler_3.4.2 modelr_0.1.1 > [31] pkgconfig_2.0.1 mnormt_1.5-5 dimRed_0.1.0 nnet_7.3-12 > prodlim_1.6.1 > [36] DRR_0.0.2 codetools_0.2-15 RcppRoll_0.2.2 withr_2.1.0 > MASS_7.3-47 > [41] recipes_0.1.0 ModelMetrics_1.1.0 grid_3.4.2 nlme_3.1-131 > jsonlite_1.5 > [46] gtable_0.2.0 magrittr_1.5 scales_0.5.0 > stringi_1.1.5 reshape2_1.4.2 > [51] bindrcpp_0.2 timeDate_3012.100 robustbase_0.92-8...
2019 Jul 04
2
Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
...R-timeDate * R-timeSeries * R-tinytest * R-tinytex * R-tkrplot * R-tkWidgets * R-tufte * R-tweenr * R-udunits2 * R-unitizer * R-units * R-unix * R-usethis * R-utf8 * R-uuid * R-V8 * R-vctrs * R-viridisLite * R-waveslim * R-wavethresh * R-webp * R-webutils * R-whisker * R-whoami * R-widgetTools * R-withr * R-xfun * R-XML * R-xml2 * R-xopen * R-xtable * R-XVector * R-yaml * R-zeallot * R-zoo * libsbml * libsedml * libnuml * shogun == Contingency Plan == * Contingency mechanism: The side tag will not be merged, or if a side tag is deemed unnecessary, the generator will not be installed, and any bu...
2018 May 30
2
Filtering using multiple rows in dplyr
Hi Folks, I have just started using dplyr and could use some help getting unstuck. It could well be that dplyr is not the package to be using, but let me just pose the question and seek your advice. Here is my basic data frame. head(h) subject ageGrp ear hearingGrp sex freq L2 Ldp Phidp NF SNR 1 HALAF032 A L A F 2 0 -23.54459 55.56005 -43.08282