mike guggis
2018-10-12 18:59:28 UTC
I am running into an error when building the default package with Rcpp
armadillo in Rstudio.
In rstudio if I go to New Project > New directory> R Package using
RcppArmadillo. Then create a project with a random nam,e âghâ. If I click
âcheckâ under the build tab to check the package I get an error when
rstudio gets to the âchecking examplesâ part. It gives me the error
- checking examples ... (434ms)
** running examples for arch 'i386' ... ERROR
Running examples in 'gh-Ex.R' failed
Execution halted
** running examples for arch 'x64' ... ERROR
Running examples in 'gh-Ex.R' failed
loaded is
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RcppArmadillo_0.9.100.5.0 Rcpp_0.12.19
loaded via a namespace (and not attached):
[1] compiler_3.5.1 rsconnect_0.8.8 tools_3.5.1 yaml_2.2.0
Any help you can provide would be appreciated.
armadillo in Rstudio.
In rstudio if I go to New Project > New directory> R Package using
RcppArmadillo. Then create a project with a random nam,e âghâ. If I click
âcheckâ under the build tab to check the package I get an error when
rstudio gets to the âchecking examplesâ part. It gives me the error
- checking examples ... (434ms)
** running examples for arch 'i386' ... ERROR
Running examples in 'gh-Ex.R' failed
base::assign(".ptime", proc.time(), pos = "CheckExEnv")
### Name: gh-package
### Title: What the package does (short line)
### Aliases: gh-package gh
### Keywords: package
### ** Examples
~~ simple examples of the most important functions ~~
Error: unexpected symbol in "~~ simple examples"### Name: gh-package
### Title: What the package does (short line)
### Aliases: gh-package gh
### Keywords: package
### ** Examples
~~ simple examples of the most important functions ~~
Execution halted
** running examples for arch 'x64' ... ERROR
Running examples in 'gh-Ex.R' failed
base::assign(".ptime", proc.time(), pos = "CheckExEnv")
### Name: gh-package
### Title: What the package does (short line)
### Aliases: gh-package gh
### Keywords: package
### ** Examples
~~ simple examples of the most important functions ~~
My Rstudio version is 1.1.456. My session info with RCpp and RCppArmadillo### Name: gh-package
### Title: What the package does (short line)
### Aliases: gh-package gh
### Keywords: package
### ** Examples
~~ simple examples of the most important functions ~~
loaded is
sessionInfo()
R version 3.5.1 (2018-07-02)Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RcppArmadillo_0.9.100.5.0 Rcpp_0.12.19
loaded via a namespace (and not attached):
[1] compiler_3.5.1 rsconnect_0.8.8 tools_3.5.1 yaml_2.2.0
Any help you can provide would be appreciated.