Closed panxiaoguang closed 5 years ago
ill second this
Can you post more details about the issues that you are facing? I have just tested on a fresh install and did not face any issues.
R version 3.5.2 (2018-12-20)
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] ggthemr_1.1.0 ggplot2_3.1.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 rstudioapi_0.9.0 bindr_0.1.1 magrittr_1.5 tidyselect_0.2.5
[6] munsell_0.5.0 colorspace_1.4-0 R6_2.3.0 rlang_0.3.1 plyr_1.8.4
[11] dplyr_0.7.8 tools_3.5.2 grid_3.5.2 gtable_0.2.0 withr_2.1.2
[16] digest_0.6.18 yaml_2.2.0 lazyeval_0.2.1 assertthat_0.2.0 tibble_2.0.1
[21] crayon_1.3.4 bindrcpp_0.2.2 purrr_0.3.0 glue_1.3.0 labeling_0.3
[26] compiler_3.5.2 pillar_1.3.1 scales_1.0.0 pkgconfig_2.0.2 ```
This is the error i get - > devtools::install_github('cttobin/ggthemr') Downloading GitHub repo cttobin/ggthemr@master √ checking for file 'C:\Users\Cam Johnston\AppData\Local\Temp\Rtmpgj403i\remotes21241816d22\cttobin-ggthemr-0a31bb5/DESCRIPTION' ...
Installing package into ‘C:/Users/Cam Johnston/Documents/R/win-library/3.4’ (as ‘lib’ is unspecified)
Error: unexpected input in "OSGEO4W_ROOT=C:\" Execution halted *** arch - x64 ARGUMENT 'Johnston\AppData\Local\Temp\RtmpwPZjbo\Rin3b183ab46dce' ignored
Error: unexpected input in "OSGEO4W_ROOT=C:\" Execution halted ERROR: loading failed for 'i386', 'x64'
can you post the output of sessionInfo()
R version 3.4.4 (2018-03-15) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 LC_MONETARY=English_Canada.1252 LC_NUMERIC=C
[5] LC_TIME=English_Canada.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 ps_1.3.0 prettyunits_1.0.2 rprojroot_1.3-2 withr_2.1.2 digest_0.6.18 crayon_1.3.4 assertthat_0.2.0
[9] R6_2.3.0 backports_1.1.3 magrittr_1.5 rlang_0.3.1 cli_1.0.1 curl_3.3 fs_1.2.6 remotes_2.0.2
[17] rstudioapi_0.9.0 callr_3.1.1 desc_1.2.0 devtools_2.0.1 tools_3.4.4 glue_1.3.0 pkgload_1.0.2 compiler_3.4.4
[25] processx_3.2.1 pkgbuild_1.0.2 sessioninfo_1.1.1 memoise_1.1.0 usethis_1.4.0
https://community.rstudio.com/t/package-socviz-does-not-load-in-r-microsoft-open-3-5-1/23498 It seems like the issue is that your username has spaces in it. Can you check with a username that has no spaces in it? I wonder why you haven't faced this issue with other packages.
I'm closing the issue for now. Feel free to re-open/comment if you feel the issue isn't resolved by changing your username.
the ggthemr can not be installed in R-3.5.1,can you update it?