-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[I got error message: Error in error_if_stageddeps_inexistent(project) : file staged_dependencies.yaml does not exist in project folder: not restoring anything ]: <title> #24
Comments
Hi @czqiu When you run this code: # Install deps and this project
staged.dependencies::install_deps(
staged.dependencies::dependency_table()
) Can you make sure that you're in the teal.gallery project session? |
I cannot clone this repository locally. Can I just download all files and put it under my local computer? Thanks |
I download all files and put it to my local folder. I also clicked teal.gallery.Rproj to open it in Rstudio. Then, I run the installation code again. I got this error:
Any further suggestions? Thanks |
If you're downloading as zip file, the first thing you need to do is to do Once you open the Once you do this, you should be able to run the: staged.dependencies::install_deps(
staged.dependencies::dependency_table()
) Please keep in mind that you'd need to setup your access token first as mentioned here: |
That is uncommon. Do you mean you run |
Hi
Thanks for the suggestions. It is a computer computer. I cannot download git to install. So, I can not git it to the github. So, is there any other way to do it locally instead of git clone ?
Thanks
Eric
…________________________________
From: Aleksander Chlebowski ***@***.***>
Sent: Tuesday, May 23, 2023 1:10 AM
To: insightsengineering/teal.gallery ***@***.***>
Cc: Zunqiu Chen ***@***.***>; Mention ***@***.***>
Subject: Re: [insightsengineering/teal.gallery] [I got error message: Error in error_if_stageddeps_inexistent(project) : file staged_dependencies.yaml does not exist in project folder: not restoring anything ]: <title> (Issue #24)
I cannot clone this repository locally. Can I just download all files and put it under my local computer? Thanks
That is uncommon. Do you mean you run git clone and get an error message or that you cannot make the attempt?
—
Reply to this email directly, view it on GitHub<#24 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACBNDL7V6RZ5RHDYUHGBOR3XHRWHBANCNFSM6AAAAAAYILCMXQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
The purpose of staged.dependencies is to install all the dependencies needed to run You should not have any issue with installing/building teal.gallery into your R session. Lines 19 to 22 in 0054787
(If you don't have some of these packages, RStudio will flag this to you and require you to install before continue with building/installing teal.gallery.) However, you may run into error when you tried to run the example apps. For example, if you don't have Warning: Error in loadNamespace: there is no package called ‘teal.code’
2: shiny::runApp
1: launch_app [/Users/unardid/Downloads/teal.gallery-main/R/utils.R#85] This will be a hint for you to install |
Hi Dony,
thanks for the information. I will give it a try.
Best
Eric
…________________________________
From: Dony Unardi ***@***.***>
Sent: Tuesday, May 23, 2023 11:22 AM
To: insightsengineering/teal.gallery ***@***.***>
Cc: Zunqiu Chen ***@***.***>; Mention ***@***.***>
Subject: Re: [insightsengineering/teal.gallery] [I got error message: Error in error_if_stageddeps_inexistent(project) : file staged_dependencies.yaml does not exist in project folder: not restoring anything ]: <title> (Issue #24)
The purpose of staged.dependencies is to install all the dependencies needed to run teal.gallery example apps.
If you don't have git installed and can't run staged.dependencies, then the last resort is to install the dependencies yourself. This could be more challenging but not impossible.
You should not have any issue with installing/building teal.gallery into your R session. teal.gallery as a package only requires 4 R packages:
https://github.com/insightsengineering/teal.gallery/blob/00547871a0a0131857dc6938ea153edad3df2c5c/DESCRIPTION#L19-L22
(If you don't have some of these packages, RStudio will flag this to you and require you to install before continue with building/installing teal.gallery.)
However, you may run into error when you tried to run the example apps.
For example, if you don't have teal.code installed when you run the early-dev example app (teal.gallery::launch_app("early-dev")), you will see error message like so:
Warning: Error in loadNamespace: there is no package called ‘teal.code’
2: shiny::runApp
1: launch_app [/Users/unardid/Downloads/teal.gallery-main/R/utils.R#85]
This will be a hint for you to install teal.code R package from the repo<https://github.com/insightsengineering/teal.code>.
—
Reply to this email directly, view it on GitHub<#24 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACBNDLZ7M773AJ7VGNAXKO3XHT6ABANCNFSM6AAAAAAYILCMXQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
hi Dony, cute head portrait. I have the same error message when installing the teal.gallery in Rstudio, could you fix it? another question, I saw the video of Introducing teal, could you send me the Posit Cloud Link? The link shared on PPT doesn't work. Thanks. https://posit.cloud/spaces/340990/join?access_code=M52ibtFP2ASLLL1MltA-dThXpPzJvRqnxdNOgeJA) |
Hi all. We are working on some major refactor of |
I just wanted to inform you that we have updated our teal.gallery repository to make it easier for users to run the example app. Would you be so kind as to review the README instructions again? |
Hi,
After I tried the way in readme. I still cannot successfully use it:
source("https://raw.github.com/insightsengineering/teal.gallery/main/_internal/utils/sourceme.R")
restore_and_run("basic-teal")
Warning: failed to resolve remote 'insightsengineering/teal.logger@*release'; skippingWarning: failed to resolve remote 'insightsengineering/teal.slice@*release'; skippingWarning: failed to resolve remote 'insightsengineering/teal.widgets@*release'; skipping- Downloading teal.code from GitHub ... OK [54.3 Kb in 0.73s]
Warning: failed to resolve remote 'insightsengineering/teal.widgets@*release'; skippingSuccessfully downloaded 100 packages in 81 seconds.
# Installing packages --------------------------------------------------------
- Installing MASS ... OK [installed binary and cached in 0.74s]
- Installing Matrix ... FAILED
Error: Error installing package 'Matrix':
==================================
Warning in strptime(xx, f, tz = tz) :
unable to identify current timezone 'C':
please set environment variable 'TZ'
* installing *source* package 'Matrix' ...
** package 'Matrix' successfully unpacked and MD5 sums checked
** using staged installation
** libs
Warning in system(paste(cmd, "shlib-clean")) : 'make' not found
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'Matrix'
* removing 'C:/Users/echen/AppData/Local/Temp/3/RtmpiSLOqC/shinyapp2c845ece3b0e/teal.gallery-6e3e42420aec2090bb469b5403c33830632c35d8/basic-teal/renv/staging/1/Matrix'
install of package 'Matrix' failed [error code 1]
Thanks
Eric
…________________________________
From: Dony Unardi ***@***.***>
Sent: Wednesday, September 6, 2023 8:39 PM
To: insightsengineering/teal.gallery ***@***.***>
Cc: Zunqiu Chen ***@***.***>; Mention ***@***.***>
Subject: Re: [insightsengineering/teal.gallery] [I got error message: Error in error_if_stageddeps_inexistent(project) : file staged_dependencies.yaml does not exist in project folder: not restoring anything ]: <title> (Issue #24)
Hi @islander23<https://github.com/islander23> @czqiu<https://github.com/czqiu>
I just wanted to inform you that we have updated our teal.gallery repository to make it easier for users to run the example app. Would you be so kind as to review the README instructions again?
—
Reply to this email directly, view it on GitHub<#24 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACBNDL5NDZCASBG7IAW7ABTXZE6VRANCNFSM6AAAAAAYILCMXQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hey @czqiu. This error message indicates that there were some problems with installing
Because it's specific to your machine, there is little we can do to be honest and you would have to figure this out on yourself. I would recommend to try to install |
Thanks, I will try again
Best
Eric
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Pawel Rucki ***@***.***>
Sent: Wednesday, October 11, 2023 12:55:24 AM
To: insightsengineering/teal.gallery ***@***.***>
Cc: Zunqiu Chen ***@***.***>; Mention ***@***.***>
Subject: Re: [insightsengineering/teal.gallery] [I got error message: Error in error_if_stageddeps_inexistent(project) : file staged_dependencies.yaml does not exist in project folder: not restoring anything ]: <title> (Issue #24)
Hey @czqiu<https://github.com/czqiu>. This error message indicates that there were some problems with installing Matrix package (that is needed for teal.logger) on your machine:
Error: Error installing package 'Matrix':
(...)
Warning in system(paste(cmd, "shlib-clean")) : 'make' not found
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'Matrix'
Because it's specific to your machine, there is little we can do to be honest and you would have to figure this out on yourself. I would recommend to try to install Matrix individually (i.e. renv::install("Matrix")) and then rely on the renv caching mechanism so it won't try to re-install it again and use the one you have installed.
—
Reply to this email directly, view it on GitHub<#24 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACBNDLYIMOMZW5TCNNZFDN3X6Y7FZAVCNFSM6AAAAAAYILCMXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWHE3DKNBTHA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Closing this stale issue |
What is your question?
I got error:
Error in error_if_stageddeps_inexistent(project) :
file staged_dependencies.yaml does not exist in project folder: not restoring anything
when I # Install deps and this project
staged.dependencies::install_deps(
staged.dependencies::dependency_table()
)
Could you please help for any suggestions?
Thanks
Eric
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: