search for: lazyeval

Displaying 18 results from an estimated 18 matches for "lazyeval".

2017 Jul 20
2
dynamically create columns using a function
...ot;_") col_mean_gg <- paste("YLD_BE", blup_datacut[i], sep = "_") dat2 <- calc_gg(dataset = dat, col = col_mean_gg, col_name = col_name_gg) } dat2 } # function calc_gg Calc_gg<- function (dataset, col, col_name) { mutate_call = lazyeval::interp(~round(((a - mean(a[IS_GG == "YES"], na.rm = TRUE))/mean(a[IS_GG == "YES"], na.rm = TRUE)) * 100, 1), a = as.name(col)) dataset %>% group_by(TEST_SET_NAME) %>% mutate_(.dots = setNames(list(mutate_call), col_name)) %>% ungroup()...
2017 Jul 21
0
dynamically create columns using a function
Hi, I don't know about the lazyeval package or what you are trying to do but to answer the main question "How to create columns dynamically using a function?" I would do something like that: # dataset dem <- structure(list(id = c("L1", "L2", "L3", "M1", "M2", "M3&qu...
2017 Sep 06
3
withr::set_makevars
...2017-08-20 CRAN (R 3.4.1) igraph 1.1.2 2017-07-21 CRAN (R 3.4.1) jsonlite 1.5 2017-06-01 CRAN (R 3.4.0) knitr 1.17 2017-08-10 CRAN (R 3.4.1) lazyeval 0.2.0 2016-06-12 CRAN (R 3.4.0) lintr 1.0.1 2017-08-10 CRAN (R 3.4.1) magrittr 1.5 2014-11-22 CRAN (R 3.4.0) memoise 1.1.0 2017-04-21 CRAN (R 3.4.0)...
2017 Sep 07
0
withr::set_makevars
...017-09-02 Github (MangoTheCat/goodpractice@ > 9969799) > httr 1.3.1 2017-08-20 CRAN (R 3.4.1) > igraph 1.1.2 2017-07-21 CRAN (R 3.4.1) > jsonlite 1.5 2017-06-01 CRAN (R 3.4.0) > knitr 1.17 2017-08-10 CRAN (R 3.4.1) > lazyeval 0.2.0 2016-06-12 CRAN (R 3.4.0) > lintr 1.0.1 2017-08-10 CRAN (R 3.4.1) > magrittr 1.5 2014-11-22 CRAN (R 3.4.0) > memoise 1.1.0 2017-04-21 CRAN (R 3.4.0) > pkgbuild 0.0.0.9000 2017-08-31 Github (r-lib/pkgbuild at 6574561)...
2019 Jul 31
1
3.6 on debian stretch
...ng to be installed Depends: r-cran-reshape2 but it is not going to be installed Depends: r-cran-scales (>= 0.4.1) but it is not going to be installed Depends: r-cran-tibble but it is not going to be installed Depends: r-cran-lazyeval but it is not going to be installed E: Unable to correct problems, you have held broken packages. Is there a way to get these 2 packages for my environment? Thanks!
2019 Jul 31
1
3.6 on debian stretch
...ng to be installed Depends: r-cran-reshape2 but it is not going to be installed Depends: r-cran-scales (>= 0.4.1) but it is not going to be installed Depends: r-cran-tibble but it is not going to be installed Depends: r-cran-lazyeval but it is not going to be installed E: Unable to correct problems, you have held broken packages. Is there a way to get these 2 packages for my environment? Thanks!
2017 Mar 19
3
RFC: (in-principle) native unquoting for standard evaluation
Would this return a quosure? (i.e. a single sided formula that captures both expression and environment). That's the data structure we've adopted in tidyeval as it already has some built in support. Hadley On Friday, March 17, 2017, Michael Lawrence <lawrence.michael at gene.com> wrote: > Interesting idea. Lazy and non-standard evaluation is going to happen; the > language
2016 Feb 11
2
inconsistency in treatment of USE.NAMES argument
.../dplR/R/common.interval.R:8 /dplR/R/fill.internal.NA.R:47 /dplR/R/helpers.R:3 /dplyr/R/dataframe.R:49 /dplyr/R/glimpse.R:38 /dplyr/R/id.r:36 /dplyr/R/tbl-cube.r:98 /dplyr/R/utils.r:15 /fulltext/R/chunks.R:352 /fulltext/R/chunks.R:356 /ggvis/R/transform.R:56 /httr/R/oauth-token-utils.R:23 /igraph/R/lazyeval.R:219 /jsonlite/R/asJSON.data.frame.R:74 /jsonlite/R/deparse_vector.R:26 /jsonlite/R/simplifyDataFrame.R:14 /jsonlite/R/unescape_unicode.R:10 /knitr/R/utils.R:207 /knitrBootstrap/R/knit_bootstrap.R:303 /lazyeval/R/names.R:27 /learningr/R/buggy_count.R:67 /lintr/R/absolute_paths_linter.R:35 /lintr/R...
2017 Nov 14
0
Possible bug(s) causing ggplot2 and XLConnect to crash recent builds of r-devel
...ckage ggplot2 and its dependencies from CRAN using RStudio. As a result the following 20 packages were the only packages installed in the previously empty library tree: "colorspace","dichromat","digest","ggplot2","gtable","labeling","lazyeval", "magrittr","munsell","plyr","R6","RColorBrewer","Rcpp","reshape2","rlang","scales", "stringi","stringr","tibble","viridisLite" I then executed the above code...
2016 Feb 08
2
inconsistency in treatment of USE.NAMES argument
Hi, Both vapply() and sapply() support the 'USE.NAMES' argument. According to the man page: USE.NAMES: logical; if ?TRUE? and if ?X? is character, use ?X? as ?names? for the result unless it had names already. But if 'X' has names already and 'USE.NAMES' is FALSE, it's not clear what will happen to the names. Are they going to propagate to the result
2014 Nov 26
3
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
Hi I'm still exploring the R programming universe, so if this is being asked in the wrong place, or in the wrong way (e.g. too verbose or lacking in crucial detail or in the wrong format) please let me know I am trying to understand when the version constraints for packages which appear in the Imports field of a DESCRIPTION file are checked. Along the way I've hit a snag
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
2017 Jul 31
0
force promises inside lapply
...ryr" "stats" >> "graphics" >> [7] "grDevices" "utils" "datasets" "methods" "base" >> >> "Non-standard" evaluation (using substitute(), formulas, promises, the >> rlang or lazyeval packages, etc.) has it uses but I wouldn't use it for >> such a function as your loader(). >> >> >> Bill Dunlap >> TIBCO Software >> wdunlap tibco.com <http://tibco.com> >> >> >> On Fri, Jul 28, 2017 at 8:20 PM, Benjamin Tyner <btyn...
2017 Jul 31
3
reproducible segmentation fault installing packages on FreeBSD 11.1
...--- Selection: 1 [New LWP 100265 of process 56011] [LWP 100265 of process 56011 exited] also installing the dependencies ?stringi?, ?magrittr?, ?colorspace?, ?Rcpp?, ?stringr?, ?RColorBrewer?, ?dichromat?, ?munsell?, ?labeling?, ?rlang?, ?digest?, ?gtable?, ?plyr?, ?reshape2?, ?scales?, ?tibble?, ?lazyeval? trying URL 'https://cloud.r-project.org/src/contrib/stringi_1.1.5.tar.gz' [New LWP 100267 of process 56011] [LWP 100267 of process 56011 exited] Content type 'application/x-gzip' length 3645872 bytes (3.5 MB) ================================================== downloaded 3.5 MB tr...
2020 Jun 04
2
mclust package installation is preparing for lazy loading and never finishes
...rent packages with no problems. Here a complete list of packages already installed at my library directory: marc at hera:~/R/x86_64-pc-linux-gnu-library/4.0$ ls askpass DEoptimR generics later pkgbuild readxl tibble assertthat desc ggplot2 lazyeval pkgconfig rematch tictoc backports deSolve glue lifecycle pkgload remotes tidyr base64enc digest gridExtra lspline plotly reprex tidyselect BH diptest gtable lubridate plyr reshap...
2019 Jul 04
2
Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
...v2probe * R-highlight * R-highr * R-hms * R-htmltools * R-htmlwidgets * R-httpuv * R-httr * R-hunspell * R-igraph * R-import * R-ini * R-inline * R-IRanges * R-IRdisplay * R-IRkernel * R-iterators * R-itertools * R-jose * R-jpeg * R-jqr * R-jsonlite * R-knitr * R-labeling * R-lambda.r * R-later * R-lazyeval * R-lintr * R-listenv * R-littler * R-lmodel2 * R-lmtest * R-lokern * R-lubridate * R-maanova * R-magrittr * R-mapproj * R-maps * R-mAr * R-markdown * R-matrixStats * R-measurements * R-memoise * R-microbenchmark * R-mime * R-miniUI * R-mlbench * R-mnormt * R-mockery * R-mockr * R-msm * R-multcomp...
2016 Apr 19
3
installation of dplyr
...installed package can be loaded * DONE (testthat) Making 'packages.html' ... done Using GitHub PAT from envvar GITHUB_PAT Skipping install for github remote, the SHA1 (cb38672f) has not changed since last install. Use `force = TRUE` to force installation Skipping 2 packages ahead of CRAN: lazyeval, tibble '/usr/lib64/R/bin/R' --no-site-file --no-environ --no-save --no-restore \ --quiet CMD INSTALL \ '/tmp/RtmpkdCODF/devtools45c2fff716f/hadley-dplyr-afb9ac7' \ --library='/usr/lib64/R/library' --install-tests * installing *source* package ?dplyr? ... ** libs...
2016 Apr 19
0
installation of dplyr
...d > * DONE (testthat) > Making 'packages.html' ... done > Using GitHub PAT from envvar GITHUB_PAT > Skipping install for github remote, the SHA1 (cb38672f) has not changed since last install. > Use `force = TRUE` to force installation > Skipping 2 packages ahead of CRAN: lazyeval, tibble > '/usr/lib64/R/bin/R' --no-site-file --no-environ --no-save --no-restore \ > --quiet CMD INSTALL \ > '/tmp/RtmpkdCODF/devtools45c2fff716f/hadley-dplyr-afb9ac7' \ > --library='/usr/lib64/R/library' --install-tests > > * installing *source*...