-
Notifications
You must be signed in to change notification settings - Fork 8
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
Problem with installation #4
Comments
Try the following:
|
Hello Michael, I appreciate your answer. I tried as you suggested. I still got the error in the R console:
Downloading GitHub repo michael-franke/bayes_mixed_regression_tutorial@HEAD checking for file 'C:\Users\danie\AppData\Local\Temp\RtmpeKoWTS\remotesc842b83366c\michael-franke-bayes_mixed_regression_tutorial-74178c3\faintr/DESCRIPTION' ... checking for file 'C:\Users\danie\AppData\Local\Temp\RtmpeKoWTS\remotesc842b83366c\michael-franke-bayes_mixed_regression_tutorial-74178c3\faintr/DESCRIPTION' ... √ checking for file 'C:\Users\danie\AppData\Local\Temp\RtmpeKoWTS\remotesc842b83366c\michael-franke-bayes_mixed_regression_tutorial-74178c3\faintr/DESCRIPTION'
checking DESCRIPTION meta-information ... √ checking DESCRIPTION meta-information
Installing package into ‘C:/Users/danie/Documents/R/win-library/4.1’
Rd warning: C:/Users/danie/AppData/Local/Temp/RtmpSCZita/R.INSTALL50f060d11476/faintr/man/faintr-package.Rd:18: missing link 'post_cells'
|
Hm, can start in a fresh R session and try again by setting explicitly:
- dependencies = TRUE
- build_vignettes = FALSE
… On 4 Feb 2022, at 13:35, Daniel Manrique-Castaño ***@***.***> wrote:
Hello Michael,
I appreciate your answer. I tried as you suggested. I still got the error in the R console:
install_github(repo = "michael-franke/bayes_mixed_regression_tutorial", subdir = "faintr")
Downloading GitHub repo ***@***.***
checking for file 'C:\Users\danie\AppData\Local\Temp\RtmpeKoWTS\remotesc842b83366c\michael-franke-bayes_mixed_regression_tutorial-74178c3\faintr/DESCRIPTION' ...
checking for file 'C:\Users\danie\AppData\Local\Temp\RtmpeKoWTS\remotesc842b83366c\michael-franke-bayes_mixed_regression_tutorial-74178c3\faintr/DESCRIPTION' ...
√ checking for file 'C:\Users\danie\AppData\Local\Temp\RtmpeKoWTS\remotesc842b83366c\michael-franke-bayes_mixed_regression_tutorial-74178c3\faintr/DESCRIPTION'
• preparing 'faintr':
checking DESCRIPTION meta-information ...
checking DESCRIPTION meta-information ...
√ checking DESCRIPTION meta-information
• checking for LF line-endings in source and make files and shell scripts
• checking for empty or unneeded directories
WARNING: Removing directory 'faintr/Meta' which should only occur in an
installed package
Omitted 'LazyData' from DESCRIPTION
• building 'faintr_0.0.8.tar.gz'
Installing package into ‘C:/Users/danie/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
• installing source package 'faintr' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'faintr'
finding HTML links ... done
compare_groups html
faintr-package html
finding level-2 HTML links ... done
Rd warning: C:/Users/danie/AppData/Local/Temp/RtmpSCZita/R.INSTALL50f060d11476/faintr/man/faintr-package.Rd:18: missing link 'post_cells'
get_factor_information html
print.faintCompare html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'faintr' in library.dynam(lib, package, package.lib):
DLL 'cli' not found: maybe not installed for this architecture?
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
• removing 'C:/Users/danie/Documents/R/win-library/4.1/faintr'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/danie/AppData/Local/Temp/RtmpeKoWTS/filec8445174fac/faintr_0.0.8.tar.gz’ had non-zero exit status
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.
|
Dear @michael-franke, I opened the R console – not RStudio – as administrator and run the code below, setting the arguments explicitly:
Unfortunately, this does not work and I get the non-zero exit status error.
Running the code in RStudio produces the same error. I would love to go through your tutorial, but I am stuck here. Is there anything else I could do to fix this? Best wishes, P.S.: I am attaching the output of the console, which I captured with the |
Dear Valerio,
I’m sorry that this doesn’t work for you. I should look into this, but currently I have no time. If you just want to try the tutorial functions, you might resort to just copy-pasting the few functions in these two files:
https://github.com/michael-franke/bayes_mixed_regression_tutorial/tree/master/faintr/R
and work with them locally, outside of a package.
Sorry again, and best wishes
Michael
… On 25 Feb 2022, at 20:18, Valerio Villani ***@***.***> wrote:
Dear @michael-franke,
I have similar issues when I try to install your package.
I opened the R console – not RStudio – as administrator and run the code below, setting the arguments explicitly:
library(devtools)
devtools::install_github(
repo = "michael-franke/bayes_mixed_regression_tutorial/faintr",
build_vignettes = FALSE,
dependencies = TRUE)
Unfortunately, this does not work and I get the non-zero exit status error.
Installing package into ‘C:/Users/Valerio/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
* installing *source* package 'faintr' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error in completeSubclasses(classDef2, class1, obj, where) :
trying to get slot "subclasses" from an object of a basic class ("NULL") with no slots
Error: .onLoad failed in loadNamespace() for 'dbplyr', details:
call: setClass(cl, contains = c(prevClass, "VIRTUAL"), where = where)
error: error in contained classes ("character") for class "ident"; class definition removed from 'dbplyr'
Execution halted
ERROR: lazy loading failed for package 'faintr'
* removing 'C:/Users/Valerio/Documents/R/win-library/4.1/faintr'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/Valerio/AppData/Local/Temp/RtmpgPSRfl/file3f3c40bb192d/faintr_0.0.8.tar.gz’ had non-zero exit status
Running the code in RStudio produces the same error.
I would love to go through your tutorial, but I am stuck here. Is there anything else I could do to fix this?
Thanks for your time and help.
Best wishes,
Valerio
P.S.: I am attaching the output of the console, which I captured with the sink() function. For some reason, the non-zero exit status error (cf. above) could not be written, so I had to copy/paste it from the terminal. The file also contains some additional information, such as the R version I use.
This is the file: install-faintr.txt.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
Hi Michael, However, I had not thought about this:
Thanks for the suggestion, I will try that! Best wishes, |
Hello,
I am eager to use the package. I am getting this error when installing. Tried many things. I would appreciate it if you can provide some insight. Regards
Downloading GitHub repo michael-franke/bayes_mixed_regression_tutorial@HEAD
√ checking for file 'C:\Users\danie\AppData\Local\Temp\RtmpS8Dfvr\remotes27b0ad44117\michael-franke-bayes_mixed_regression_tutorial-74178c3\faintr/DESCRIPTION'
√ checking DESCRIPTION meta-information ...
√ creating vignettes (49.8s)
WARNING: Removing directory 'faintr/Meta' which should only occur in an
installed package
Omitted 'LazyData' from DESCRIPTION
Installing package into ‘C:/Users/danie/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'faintr'
finding HTML links ... done
compare_groups html
faintr-package html
finding level-2 HTML links ... done
Rd warning: C:/Users/danie/AppData/Local/Temp/RtmpW61zKl/R.INSTALL5b681234443/faintr/man/faintr-package.Rd:18: missing link 'post_cells'
get_factor_information html
print.faintCompare html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'faintr' in library.dynam(lib, package, package.lib):
DLL 'cli' not found: maybe not installed for this architecture?
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
Warning in i.p(...) :
installation of package ‘C:/Users/danie/AppData/Local/Temp/RtmpS8Dfvr/file27b020724791/faintr_0.0.8.tar.gz’ had non-zero exit status
The text was updated successfully, but these errors were encountered: