-
-
Notifications
You must be signed in to change notification settings - Fork 37
Install from local not working #368
Comments
Here is where it breaks: ` Transfer icons if present -----------------------------------------------electron_build_resources <- system.file("extdata", Because I'm happy to help make this thing a reality, but, the code in install_user_app is really confusing. Like, are all of the environment variables just being used to prevent you from having to pass variables between functions? |
I am probably encountering the same issue when executing this on a fresh R 4.0.3 x64 install. install.packages("remotes")
remotes::install_github("chasemc/electricShine")
buildPath <- paste(getwd(), "build", sep="/")
electricShine::electrify(
app_name = "My_App",
short_description = "My demo application",
semantic_version = "1.0.0",
build_path = buildPath,
mran_date = NULL,
cran_like_url = "https://cran.r-project.org",
function_name = "run_app",
git_host = NULL,
git_repo = NULL,
local_package_path = getwd(),
package_install_opts = list(type = "binary"),
run_build = TRUE
) in the cloned https://github.com/chasemc/demoApp folder.
Installing the package |
I am having the very same issue as described by @BenWiseman |
I solved this issue for me with properly installing After also specifying a custom electricShine/R/meta_function.R Line 44 in 6f53a08
With that, the demo app starts but loads indefinitely (see #343 (comment) and following) and this error message appears:
|
any solution? the problem persists and does not allow the application to be carried out normally |
I'm planning to work on the package in the next couple weeks. My assumption is that @marecabo is correct. Using electricShine from renv is likely to cause issues |
Finshed: Installing your Shiny package into electricShine framework Error in system.file("extdata", "icon", package = my_package_name, lib.loc = library_path) : 'package' must be of length 1
I could just be not understanding the documentation, but it seems like local install isn't passing through the package path from
local_package_path
or something.The text was updated successfully, but these errors were encountered: