Closed BekyP closed 2 years ago
after some detective work I found out the problem with RPostgres
package wasn't in his unavailability, but in missing linux libraries for postgres -> you should update error messages that are printed, don't print generic message about dependency not available, but rather print the underlying issue that is logged via the library itself (RPostres
in this case)
You likely need to look upstream in the log to figure out why RPostgres wasn't installed.
Hi,
I am testing my R package on github actions with devtools::test() but for some reason devtools can`t load packages for tests. Packages are installed in global library directory - same directory where devtools is installed. R code:
Error after running tests (related to RPostgres package):
session info:
I can see that RPostgres is installed. RPostgres is also in package
DESCRIPTION
file under Imports. I tried to useload_package = "source"
andload_package = "installed"
- but I`ve got same error. I also tried newer and older devtools versions, again same error. Any suggestions or tips that I could try?