when running app

I've deployed an app to, but, I get this error when I run the app from

An error has occurred

The application failed to start (exited with code 1).

Warning in install.packages(setdiff(packages, rownames(installed.packages()))) : 'lib = "/opt/R/3.4.0/lib/R/library"' is not writable Error in value[[3L]](cond) : unable to install packages Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous> Execution halted

anyone have any idea how I can fix this? Thanks in advance.

You likely deployed code that contains install.packages. You should only have library calls.

Hi Josh,
This worked. I used "require" instead of "library".

Also, I've deployed older versions of this app which included install.packages and they worked well. Curious.

Regardless, thank you for the help. That worked.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.