Skip to content

Commit 52a1258

Browse files
committed
Update installation instructions for land4health
Revised R code snippets to include l4h_install and l4h_use_python steps, and updated Earth Engine initialization to use rgee::ee_Initialize. This provides clearer guidance for package setup and environment configuration.
1 parent d0001fd commit 52a1258

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

app/installation/components/Land4HealthCoder.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ pak::pak("harmonize-tools/land4health")`}</code></pre>
5656
<p className="mt-2 text-gray-700">After installation, load the package and initialize Earth Engine:</p>
5757
<pre className="mt-2 bg-gray-50 border rounded p-3 overflow-x-auto"><code className="language-r">{`library(land4health)
5858
59-
ee_Initialize(quiet = TRUE)`}</code></pre>
59+
l4h_install()
60+
#> Using virtual environment "r-land4health" ...`}</code></pre>
61+
62+
<pre className="mt-2 bg-gray-50 border rounded p-3 overflow-x-auto"><code className="language-r">{`l4h_use_python()
63+
64+
rgee::ee_Initialize(quiet = TRUE)`}</code></pre>
6065

6166
<p className="mt-2 text-gray-700">You&apos;ll see a brief welcome message similar to:</p>
6267
<pre className="mt-2 bg-gray-50 border rounded p-3 overflow-x-auto"><code>{`── Welcome to land4health ────────────────────────────────────────────────────

0 commit comments

Comments
 (0)