Hi Bernardo, Seems like GRASS GIS isn`t installed on the CI VM.
Please see: https://github.com/NINAnor/oneimpact/pulls You may add UbuntuGIS PPAs if you want other versions than shipped by plain Ubuntu. Cheers Stefan From: grass-user <grass-user-boun...@lists.osgeo.org> On Behalf Of Bernardo Santos via grass-user Sent: fredag 26. august 2022 12:56 To: grass-st...@lists.osgeo.org; GRASS User List <grass-user@lists.osgeo.org> Subject: [GRASS-user] Running r-grass examples when building a R package Dear all, I am building a R package and some of the functions use rgrass to connect to a GRASS project and run thingfs within GRASS. I have now set up a webpage for the package using pkgdown in integrated to Github actions. This means when I push new commits all the examples of R functions are run again and the webpage is updated with the results of the examples. Here is the webpage: https://ninanor.github.io/oneimpact/<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fninanor.github.io%2Foneimpact%2F&data=05%7C01%7CStefan.Blumentrath%40nina.no%7C4ec863c6b2d14350bafa08da8751a786%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637971082028512352%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tLKgU9W3QU2M9Jyr4lWtCa3qDuvvH%2B4d41sewIzdYPU%3D&reserved=0> All works fine, except the functions calling GRASS. When I run the examples form my local computer everything works, but in the Github actions it does not run, apparently because the command system<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Frdrr.io%2Fr%2Fbase%2Fsystem.html&data=05%7C01%7CStefan.Blumentrath%40nina.no%7C4ec863c6b2d14350bafa08da8751a786%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637971082028512352%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Xlu8yfS8TnTLHdkRc91AGeQI8fUCDpRdCbySjheiaNY%3D&reserved=0>("grass78 --config path", intern = T) to find the GRASS folder and use within rgrass::initGRASS does not work, so the connection between R and GRASS do not exist. Does someone in the group has experience with that and could help with hints to solve it? Is there a recommended way to make sure Github actions know where GRASS is and use it? Best Bernardo
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user