<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">Dear all,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I am building a R package and some of the functions use rgrass to connect to a GRASS project and run thingfs within GRASS.</div><div dir="ltr" data-setdir="false">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: <a href="https://ninanor.github.io/oneimpact/" rel="nofollow" target="_blank">https://ninanor.github.io/oneimpact/</a></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">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</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span><pre class="ydpa6a6511esourceCode ydpa6a6511er" style="font-size: 0.875em; direction: ltr; unicode-bidi: bidi-override; margin-top: 0px; color: rgb(0, 0, 0); background-color: rgb(241, 243, 245); border: 1px solid rgb(222, 226, 230);"><code style="font-size: inherit; direction: ltr; unicode-bidi: bidi-override; color: rgb(0, 59, 79); background: transparent; padding: 0px;"><span class="ydpa6a6511er-in"><span><span class="ydpa6a6511efu" style="color: rgb(71, 88, 171);"><a href="https://rdrr.io/r/base/system.html" class="ydpa6a6511eexternal-link" style="color: inherit; text-decoration-line: underline; text-decoration-color: rgb(108, 117, 125);" rel="nofollow" target="_blank">system</a></span><span class="ydpa6a6511eop" style="color: rgb(94, 94, 94);">(</span><span class="ydpa6a6511est" style="color: rgb(32, 121, 77);">"grass78 --config path"</span>, intern <span class="ydpa6a6511eop" style="color: rgb(94, 94, 94);">=</span> <span class="ydpa6a6511ecn" style="color: rgb(143, 89, 2);">T</span><span class="ydpa6a6511eop" style="color: rgb(94, 94, 94);">)</span></span></span></code></pre></span>to find the GRASS folder and use within rgrass::initGRASS does not work, so the connection between R and GRASS do not exist.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Does someone in the group has experience with that and could help with hints to solve it?</div><div dir="ltr" data-setdir="false">Is there a recommended way to make sure Github actions know where GRASS is and use it?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Best</div><div dir="ltr" data-setdir="false">Bernardo</div></div></body></html>