Closed stemangiola closed 6 years ago
"Please install the 'usethis' package to use this function."
On Wed, May 23, 2018 at 8:43 PM, stemangiola notifications@github.com wrote:
Hello,
I have this error when following the instructions (which I solved installing such package):
library("rstantools") This is rstantools version 1.5.0 rstan_package_skeleton(path = 'TABI') Error in rstan_package_skeleton(path = "TABI") : Please install the 'usethis' package to use this function.
sessionInfo() R version 3.4.3 (2017-11-30) Platform: x86_64-pc-linux-gnu (64-bit) Running under: CentOS release 6.4 (Final)
Matrix products: default BLAS: /wehisan/general/system/bioinf-software/bioinfsoftware/R/R-3.4.3/ lib64/R/lib/libRblas.so LAPACK: /wehisan/general/system/bioinf-software/bioinfsoftware/R/R-3.4.3/ lib64/R/lib/libRlapack.so
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] rstantools_1.5.0 bindrcpp_0.2.2 tidybayes_0.12.0.000002 rstan_2.17.3 [5] StanHeaders_2.17.2 forcats_0.3.0 stringr_1.3.1 dplyr_0.7.5 [9] purrr_0.2.4 readr_1.1.1 tidyr_0.8.1 tibble_1.4.2 [13] ggplot2_2.2.1 tidyverse_1.2.1 foreach_1.4.4
loaded via a namespace (and not attached): [1] Rcpp_0.12.17 lubridate_1.7.1 lattice_0.20-35 listenv_0.7.0 [5] assertthat_0.2.0 digest_0.6.15 psych_1.8.3.3 R6_2.2.2 [9] cellranger_1.1.0 plyr_1.8.4 ggridges_0.5.0 stats4_3.4.3 [13] ggstance_0.3 coda_0.19-1 httr_1.3.1 pillar_1.1.0 [17] rlang_0.2.0 lazyeval_0.2.1 readxl_1.0.0 rstudioapi_0.7 [21] simplexRegression_0.1.0 labeling_0.3 foreign_0.8-69 munsell_0.4.3 [25] ARMET_1.0 broom_0.4.3 compiler_3.4.3 modelr_0.1.1 [29] pkgconfig_2.0.1 mnormt_1.5-5 globals_0.11.0 tidyselect_0.2.4 [33] gridExtra_2.3 arrayhelpers_1.0-20160527 codetools_0.2-15 doFuture_0.6.0 [37] future_1.8.0 crayon_1.3.4 MASS_7.3-49 grid_3.4.3 [41] nlme_3.1-137 jsonlite_1.5 gtable_0.2.0 magrittr_1.5 [45] scales_0.5.0 KernSmooth_2.23-15 cli_1.0.0 stringi_1.2.2 [49] LaplacesDemon_16.1.0 reshape2_1.4.3 xml2_1.2.0 iterators_1.0.9 [53] tools_3.4.3 svUnit_0.7-12 glue_1.2.0 hms_0.4.2 [57] parallel_3.4.3 yaml_2.1.19 inline_0.3.14 colorspace_1.3-2 [61] rvest_0.3.2 knitr_1.20 bindr_0.1.1 haven_1.1.1
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stan-dev/rstantools/issues/37, or mute the thread https://github.com/notifications/unsubscribe-auth/ADOrqjwHQf0NefoSNyu2yQM86YJCOQF7ks5t1gIxgaJpZM4ULZHj .
Sure, that was clear.
I'm not sure why this was not done automatically. (It happens for some of my packages as well and still I don't understand why this installations are not taken care automatically.)
It is in Suggests rather than Imports, because it is not needed for any other function in rstantools.
On Wed, May 23, 2018 at 9:33 PM, stemangiola notifications@github.com wrote:
Sure, that was clear.
I'm not sure why this was not done automatically. (It happens for some of my packages as well and still I don't understand why this installations are not taken care automatically.)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stan-dev/rstantools/issues/37#issuecomment-391559074, or mute the thread https://github.com/notifications/unsubscribe-auth/ADOrqnN2OE1iWFKJ-zB-wX_S7A8gC8Buks5t1g32gaJpZM4ULZHj .
OK, thanks.
Hello,
I have this error when following the instructions (which I solved installing such package):
Matrix products: default BLAS: /wehisan/general/system/bioinf-software/bioinfsoftware/R/R-3.4.3/lib64/R/lib/libRblas.so LAPACK: /wehisan/general/system/bioinf-software/bioinfsoftware/R/R-3.4.3/lib64/R/lib/libRlapack.so
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] rstantools_1.5.0 bindrcpp_0.2.2 tidybayes_0.12.0.000002 rstan_2.17.3
[5] StanHeaders_2.17.2 forcats_0.3.0 stringr_1.3.1 dplyr_0.7.5
[9] purrr_0.2.4 readr_1.1.1 tidyr_0.8.1 tibble_1.4.2
[13] ggplot2_2.2.1 tidyverse_1.2.1 foreach_1.4.4
loaded via a namespace (and not attached): [1] Rcpp_0.12.17 lubridate_1.7.1 lattice_0.20-35 listenv_0.7.0
[5] assertthat_0.2.0 digest_0.6.15 psych_1.8.3.3 R6_2.2.2
[9] cellranger_1.1.0 plyr_1.8.4 ggridges_0.5.0 stats4_3.4.3
[13] ggstance_0.3 coda_0.19-1 httr_1.3.1 pillar_1.1.0
[17] rlang_0.2.0 lazyeval_0.2.1 readxl_1.0.0 rstudioapi_0.7
[21] simplexRegression_0.1.0 labeling_0.3 foreign_0.8-69 munsell_0.4.3
[25] ARMET_1.0 broom_0.4.3 compiler_3.4.3 modelr_0.1.1
[29] pkgconfig_2.0.1 mnormt_1.5-5 globals_0.11.0 tidyselect_0.2.4
[33] gridExtra_2.3 arrayhelpers_1.0-20160527 codetools_0.2-15 doFuture_0.6.0
[37] future_1.8.0 crayon_1.3.4 MASS_7.3-49 grid_3.4.3
[41] nlme_3.1-137 jsonlite_1.5 gtable_0.2.0 magrittr_1.5
[45] scales_0.5.0 KernSmooth_2.23-15 cli_1.0.0 stringi_1.2.2
[49] LaplacesDemon_16.1.0 reshape2_1.4.3 xml2_1.2.0 iterators_1.0.9
[53] tools_3.4.3 svUnit_0.7-12 glue_1.2.0 hms_0.4.2
[57] parallel_3.4.3 yaml_2.1.19 inline_0.3.14 colorspace_1.3-2
[61] rvest_0.3.2 knitr_1.20 bindr_0.1.1 haven_1.1.1