search for: testthat

Displaying 13 results from an estimated 13 matches for "testthat".

2010 Sep 01
0
testthat: version 0.3
# testthat Testing your code is normally painful and boring. `testthat` tries to make testing as fun as possible, so that you get a visceral satisfaction from writing tests. Testing should be fun, not a drag, so you do it all the time. To make that happen, `testthat`: * Provides functions that make it easy...
2010 Sep 01
0
testthat: version 0.3
# testthat Testing your code is normally painful and boring. `testthat` tries to make testing as fun as possible, so that you get a visceral satisfaction from writing tests. Testing should be fun, not a drag, so you do it all the time. To make that happen, `testthat`: * Provides functions that make it easy...
2016 Apr 19
2
installation of dplyr
...ing GitHub PAT from envvar GITHUB_PAT > Downloading GitHub repo hadley/dplyr at master > from URL https://api.github.com/repos/hadley/dplyr/zipball/master > Installing dplyr > Using GitHub PAT from envvar GITHUB_PAT > Downloading GitHub repo hadley/testthat at master > from URL https://api.github.com/repos/hadley/testthat/zipball/master > Installing testthat > '/usr/lib64/R/bin/R' --no-site-file --no-environ --no-save --no-restore \ > --quiet CMD INSTALL \ > '/tmp/...
2016 Apr 19
1
installation of dplyr
...47;R/library') Using GitHub PAT from envvar GITHUB_PAT Downloading GitHub repo hadley/dplyr at master from URL https://api.github.com/repos/hadley/dplyr/zipball/master Installing dplyr Using GitHub PAT from envvar GITHUB_PAT Downloading GitHub repo hadley/testthat at master from URL https://api.github.com/repos/hadley/testthat/zipball/master Installing testthat '/usr/lib64/R/bin/R' --no-site-file --no-environ --no-save --no-restore \ --quiet CMD INSTALL \ '/tmp/RtmpkdCODF/devtools4...
2012 May 17
7
test suites for packages
Can anyone share some opinions on test suites for R packages? I''m looking at testthat and RUnit. Does anyone have strong opinions on either of those. Any additional packages I should consider? Thanks, Whit
2017 Aug 11
1
package building problem Centos 7 & R 3.4.1
...ndDensityCurveOnHistogram > ### Aliases: boxplotAndDensityCurveOnHistogram > > ### ** Examples > > library(ggplot2) Error in library(ggplot2) : there is no package called ?ggplot2? Execution halted * checking for unstated dependencies in ?tests? ... OK * checking tests ... Running ?testthat.R? ERROR Running the tests in ?tests/testthat.R? failed. Complete output: > library(testthat) Error: package or namespace load failed for 'testthat' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called 'R6' E...
2011 Jun 28
2
A masked function is a masked function by any other name
...ckage code): git clone http://jcborras at github.com/jcborras/rseedpkg.git rseedpkg builds and installs with the usual sequence: R CMD build rseedpkg R CMD INSTALL rseedpkg_0.01-1.tar.gz Last but not least one can test it from the command line: Rscript --verbose --default-packages=testthat,log4r -e "test_package(''rseedpkg'')" The thing is that if one changes the call log4r:::debug() to plain debug() in R/f1.r and R/f2.r then one ends up calling base:::debug() and not log4r:::debug() even though the former should be masked by the later as log4r is a...
2018 Mar 26
1
Using R and the Tidyverse for an economic model
...of small demos of the Tidyverse scattered around the web, but fewer of big projects which use lots of different features from it. So my examples here might be useful. Reliability and accuracy are vital, which is why I have more slides about testing than about anything else, with examples of "testthat". Near the end, I show a web interface, built using Vis.js , which displays dataflow in the model. The aim is to make it completely scrutable, so that none of its economic assumptions are a mystery. We're looking for funding to go beyond this prototype. There are places where we'll p...
2016 Apr 21
0
[R-pkgs] rPref 1.0 - Computing Pareto Optima and Database Preferences
...equal. See http://p-roocks.de/rpref/index.php?section=examples for more examples. The changes of this version include: - A new function get_btg_dot to generate Better-Than-Graphs induced by the preference using Graphviz. - Fixed compatibility issues with new versions of dplyr and testthat. Comments and contributions are very welcome via github: https://github.com/patrickroocks/rpref Best regards, Patrick _______________________________________________ R-packages mailing list R-packages at r-project.org https://stat.ethz.ch/mailman/listinfo/r-p...
2012 Mar 02
0
devtools 0.6
# devtools The aim of `devtools` is to make your life as a package developer easier by providing R functions that simplify many common tasks. Devtools is opinionated about how to do package development, and requires that you use `roxygen2` for documentation and `testthat` for testing. Future version will relax these opinions - patches are welcome! You can track (and contribute to) development of `devtools` at https://github.com/hadley/devtools. For discussion related to package development with devtools see the [rdevtools](http://groups.goo...
2012 Mar 02
0
devtools 0.6
# devtools The aim of `devtools` is to make your life as a package developer easier by providing R functions that simplify many common tasks. Devtools is opinionated about how to do package development, and requires that you use `roxygen2` for documentation and `testthat` for testing. Future version will relax these opinions - patches are welcome! You can track (and contribute to) development of `devtools` at https://github.com/hadley/devtools. For discussion related to package development with devtools see the [rdevtools](http://groups.goo...
2018 Mar 27
1
Using R and the Tidyverse for an economic model
...idyverse scattered around the web, but fewer of big projects > which use lots of different features from it. So my examples here might be > useful. > > Reliability and accuracy are vital, which is why I have more slides about > testing than about anything else, with examples of "testthat". > > Near the end, I show a web interface, built using Vis.js , which displays > dataflow in the model. The aim is to make it completely scrutable, so that > none of its economic assumptions are a mystery. > > We're looking for funding to go beyond this prototype. There...
2011 Aug 22
2
Wiki/revision control to management of CRAN package repository
I propose the following humbly, with little know how as to how to implement, and realize it may have been proposed many times. It is just something I had on my mind. Would it be possible/desirable to have the whole CRAN package repository accessible through a public wiki, forge or version control interface (ideally a fusion of the wiki and forge approach)? It appears it would be a first