Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble Installing package from GitHub #52

Closed
alapo opened this issue Oct 1, 2019 · 4 comments
Closed

Trouble Installing package from GitHub #52

alapo opened this issue Oct 1, 2019 · 4 comments

Comments

@alapo
Copy link

alapo commented Oct 1, 2019

Read the documentation for your package but I am having a hard time installing it due to an error related to Rcpp

Curious if anyone else is having these same issues.

img

@strengejacke
Copy link
Member

The package is called Rcpp, no Rccp. Can you first try to install it by install.packages("Rcpp", dependencies = TRUE), and the try to re-install report from GitHub?

Probably you can even install "easystats" via devtools::install_github("easystats/easystats"), and then run easystats::install_easystats_latest()? This will install all latest GitHub versions from our packages.

@alapo
Copy link
Author

alapo commented Oct 1, 2019

@strengejacke thanks for the response. Definitely messed up on my part. Still when I fix my typo, easystats is not installing

What I did?

  1. Restarted my R session.
  2. Tried this on another computer (which gave me the same error)
  3. Updated RStudio (some post indicated this might have been an issue)
  4. Updated other packages using update.packages()

I am now getting a non-zero exit status. Some posts have suggested this might be to conflicting packages and the order of installation.

img

Any insights?

sessionInfo()
R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=English_Canada.1252  LC_CTYPE=English_Canada.1252    LC_MONETARY=English_Canada.1252 LC_NUMERIC=C                    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.2             rstudioapi_0.10.0-9002 magrittr_1.5           usethis_1.5.1          devtools_2.2.1         pkgload_1.0.2          R6_2.4.0              
 [8] rlang_0.4.0            tools_3.5.3            pkgbuild_1.0.5         sessioninfo_1.1.1      cli_1.1.0              withr_2.1.2            ellipsis_0.3.0        
[15] remotes_2.1.0          assertthat_0.2.1       digest_0.6.21          rprojroot_1.3-2        crayon_1.3.4           processx_3.4.1         callr_3.3.2           
[22] fs_1.3.1               ps_1.3.0               curl_4.2               testthat_2.2.1         memoise_1.1.0          glue_1.3.1             compiler_3.5.3        
[29] desc_1.2.0             backports_1.1.4        prettyunits_1.0.2   

@DominiqueMakowski
Copy link
Member

DominiqueMakowski commented Oct 2, 2019

Hey @alapo sorry for the installation issues, hopefully the remaining easystats packages will be on CRAN soon so it will be easier to install them.

Could you try the following:

  1. restart R
  2. Run install.packages(c("insight", "bayestestR", "see", "performance", "parameters")). This will install the packages that are on CRAN from CRAN.
  3. restart R (not sure if needed but you never know)
  4. Run devtools::install_github(c("easystats/correlation", "easystats/estimate", "easystats/report", "easystats/easystats"))
  5. Check that everything works by running library(easystats)
  6. If not working, do let us know the error message

Thanks!

@alapo
Copy link
Author

alapo commented Oct 13, 2019

Thanks for the response @DominiqueMakowski

I ran your code and badabing badaboom it works now. Thank you very much for your insight.

@alapo alapo closed this as completed Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants