Last active
August 29, 2015 13:59
-
-
Save romainfrancois/10721547 to your computer and use it in GitHub Desktop.
test Rcpp11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library("devtools") | |
library("testthat") | |
install_github( "Rcpp11/Rcpp11") | |
install_github( "Rcpp11/Rcpp-test") | |
library( "RcppTest" ) | |
test_package( "RcppTest" ) |
Author
romainfrancois
commented
Apr 15, 2014
Works OK on 32-bit Windows 7, but produces three warnings: In getPackageName(where) : Created a package name, ‘2014-04-16 00:02:48’, when none found
-- etc.
> sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=Hungarian_Hungary.1250 LC_CTYPE=Hungarian_Hungary.1250
[3] LC_MONETARY=Hungarian_Hungary.1250 LC_NUMERIC=C
[5] LC_TIME=Hungarian_Hungary.1250
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RcppTest_3.1.0.0.999 testthat_0.8.1.0.99
loaded via a namespace (and not attached):
[1] codetools_0.2-8 digest_0.6.4
Thanks. I know about these warnings, I think they come from testthat or methods. Or perhaps I don't use testthat correctly.
And now I've taken care of the warnings too. Just needed to suppressWarnings
around setClass
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment