a R package that provides a c++ interruptible progress bar with OpenMP support for c++ code in R packages:
install.packages("RcppProgress")
remotes::install_github('kforner/rcpp_progress')
see a detailed example on Rcpp Gallery: http://gallery.rcpp.org/articles/using-rcppprogress/
Prerequisites:
Just install it the usual way.
If you want more control, unarchive it, cd to the source directory, then type R CMD INSTALL . in the console.
Please use github issues to provide feedback, report bugs and propose new features.
Contributions are welcome! The proposed process is:
New code must be tested and documented, and also come with an example.
If you have all the RcppProgress dependencies (and suggests) installed:
type:
- make tests
: to run the tests
- make check
: to check the package
A Dockerfile () is provided to help building the dev environment (built on rocker/r-devel) in which to develop and test RcppProgress.
type:
make docker/build
: to build the dockermake docker/run
: to run a shell in the docker with the current dir mounted
insidemake docker/check
: to check the package inside the dockermake docker/tests
: to run test tests of the package inside the dockermake docker/run
make check_rhub_windows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.