Replies: 5 comments
-
Hi @asjohans It seems like you're downloading the teal.gallery repository as a zip file and trying to install it from there. However, can I suggest that you install it directly from GitHub by running:
You should have no issue if you have installed the other teal packages. Once the package is installed, you can load the package like so: library(teal.gallery) |
Beta Was this translation helpful? Give feedback.
-
Hey Dony
Thanks for the reply! We do have teal and all of the teal packages below installed, but gallery will not work for some reason. I had tried originally to install the way you described in your email. I tried again with your code and it failed. I am also including the error messages from this try. Thank you for your help!!
I will try to figure out R CMD build/INSTALL.
remotes::install_github(insightsengineering/teal.gallery@*release<mailto:insightsengineering/teal.gallery@*release>)
Error in github_resolve_ref.github_release(meta$ref %||% ref, meta, host = host, :
No releases found for repo insightsengineering/teal.gallery.
Sys.setenv(GITHUB_PAT = "token")
if (!require("remotes")) install.packages("remotes")
Loading required package: remotes
remotes::install_github(insightsengineering/teal.gallery@*release<mailto:insightsengineering/teal.gallery@*release>)
Using github PAT from envvar GITHUB_PAT
Error in github_resolve_ref.github_release(meta$ref %||% ref, meta, host = host, :
No releases found for repo insightsengineering/teal.gallery.
|
Beta Was this translation helpful? Give feedback.
-
Dony Thanks again for you help. |
Beta Was this translation helpful? Give feedback.
-
Happy to hear that! |
Beta Was this translation helpful? Give feedback.
-
Dony Thanks again for you help. |
Beta Was this translation helpful? Give feedback.
-
Does anyone know why the teal.gallery package will not install in R studio? I have the teal package installed and it seems to go through the motions of installing gallery but it does not show in the packages or when queried. Thanks in advance.
Here's an error from the console.
library(teal.gallery-main)
Error in library(teal.gallery - main) : 'package' must be of length 1
Beta Was this translation helpful? Give feedback.
All reactions