diff --git a/content/cicdworkflows-enhanced/index.html b/content/cicdworkflows-enhanced/index.html index c5fec57..0a90704 100644 --- a/content/cicdworkflows-enhanced/index.html +++ b/content/cicdworkflows-enhanced/index.html @@ -241,7 +241,7 @@

Enhanced CICD workflows

-
+
-
+ -
+ -
+
@@ -291,9 +294,27 @@

The deets

Advanced use

-

TODO: Add here how to also run against pharmaverse’s r-universe latest & the latest release of PPM packages.

+
+

Using other CRAN-like repositories

+

To use other CRAN-like repositories in your workflow, you can specify them using the extra-repositories option in the workflow file. This is particularly useful if your package depends on packages not available on CRAN or if you want to use the latest versions of packages from a specific repository.

+

In the example below, we add two additional repositories: https://pharmaverse.r-universe.dev/ and https://insightsengineering.r-universe.dev/. These repositories are added in a whitespace-separated list to the extra-repositories option. This allows R CMD Check to access packages from these repositories as well as CRAN.

+
name: Run R-CMD-check
+
+# Specify the event types here
+
+jobs:
+  check:
+    name: Check
+    uses: phuse-org/devops-toolkit/.github/workflows/R-CMD-check.yml@main
+    # Use the option to add extra repositories.
+    # One or more repositories can be added in a whitespace-separated list.
+    # In the example below, we add https://pharmaverse.r-universe.dev/ and
+    # https://insightsengineering.r-universe.dev/ as additional repositories.
+    with:
+      extra-repositories: "https://pharmaverse.r-universe.dev/ https://insightsengineering.r-universe.dev/"
+
diff --git a/content/cicdworkflows-recommend/index.html b/content/cicdworkflows-recommend/index.html index e901100..37b624d 100644 --- a/content/cicdworkflows-recommend/index.html +++ b/content/cicdworkflows-recommend/index.html @@ -245,7 +245,7 @@

Minimum CICD workflows

-
+

diff --git a/index.html b/index.html index 3ee8ca4..9184d61 100644 --- a/index.html +++ b/index.html @@ -275,7 +275,7 @@

Minimum CICD

-
+ -
+ -
+

@@ -386,7 +386,7 @@

-
+

@@ -434,7 +434,7 @@

Enhanced CICD

-
+

diff --git a/meetings/index.html b/meetings/index.html index f0623fb..3fc1e91 100644 --- a/meetings/index.html +++ b/meetings/index.html @@ -188,7 +188,7 @@

Meetings

-
+
@@ -213,7 +213,7 @@

-
+
diff --git a/post/index.html b/post/index.html index bed3a21..cd26b57 100644 --- a/post/index.html +++ b/post/index.html @@ -187,7 +187,7 @@

Posts

-
+
@@ -212,7 +212,7 @@

-
+
diff --git a/search.json b/search.json index 61d23a6..3f26c77 100644 --- a/search.json +++ b/search.json @@ -60,7 +60,7 @@ "href": "content/cicdworkflows-minimum/posts/r-cmd-check/r-cmd-check.html#advanced-use", "title": "R CMD Check", "section": "Advanced use", - "text": "Advanced use\nTODO: Add here how to also run against pharmaverse’s r-universe latest & the latest release of PPM packages." + "text": "Advanced use\n\nUsing other CRAN-like repositories\nTo use other CRAN-like repositories in your workflow, you can specify them using the extra-repositories option in the workflow file. This is particularly useful if your package depends on packages not available on CRAN or if you want to use the latest versions of packages from a specific repository.\nIn the example below, we add two additional repositories: https://pharmaverse.r-universe.dev/ and https://insightsengineering.r-universe.dev/. These repositories are added in a whitespace-separated list to the extra-repositories option. This allows R CMD Check to access packages from these repositories as well as CRAN.\nname: Run R-CMD-check\n\n# Specify the event types here\n\njobs:\n check:\n name: Check\n uses: phuse-org/devops-toolkit/.github/workflows/R-CMD-check.yml@main\n # Use the option to add extra repositories.\n # One or more repositories can be added in a whitespace-separated list.\n # In the example below, we add https://pharmaverse.r-universe.dev/ and\n # https://insightsengineering.r-universe.dev/ as additional repositories.\n with:\n extra-repositories: \"https://pharmaverse.r-universe.dev/ https://insightsengineering.r-universe.dev/\"" }, { "objectID": "about.html", diff --git a/sitemap.xml b/sitemap.xml index fa917d9..bf06679 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,70 +2,70 @@ https://phuse-org.github.io/devops/meetings/minutes/2023-06-23.html - 2024-02-22T15:53:04.720Z + 2024-02-22T15:53:56.534Z https://phuse-org.github.io/devops/meetings/index.html - 2024-02-22T15:53:04.196Z + 2024-02-22T15:53:56.006Z https://phuse-org.github.io/devops/post/posts/gh-actions.html - 2024-02-22T15:53:03.640Z + 2024-02-22T15:53:55.406Z https://phuse-org.github.io/devops/contact.html - 2024-02-22T15:53:03.060Z + 2024-02-22T15:53:54.806Z https://phuse-org.github.io/devops/content/cicdworkflows-minimum/posts/r-cmd-check/r-cmd-check.html - 2024-02-22T15:53:02.380Z + 2024-02-22T15:53:54.102Z https://phuse-org.github.io/devops/content/cicdworkflows-minimum/index.html - 2024-02-22T15:53:01.500Z + 2024-02-22T15:53:52.954Z https://phuse-org.github.io/devops/content/cicdworkflows-recommend/index.html - 2024-02-22T15:53:00.572Z + 2024-02-22T15:53:52.002Z https://phuse-org.github.io/devops/content/cicdworkflows-enhanced/index.html - 2024-02-22T15:52:59.656Z + 2024-02-22T15:53:50.962Z https://phuse-org.github.io/devops/about.html - 2024-02-22T15:52:58.152Z + 2024-02-22T15:53:49.434Z https://phuse-org.github.io/devops/index.html - 2024-02-22T15:52:59.296Z + 2024-02-22T15:53:50.590Z https://phuse-org.github.io/devops/content/cicdworkflows-enhanced/posts/validate/validate.html - 2024-02-22T15:53:00.248Z + 2024-02-22T15:53:51.670Z https://phuse-org.github.io/devops/content/cicdworkflows-recommend/posts/check-links/check-links.html - 2024-02-22T15:53:01.020Z + 2024-02-22T15:53:52.474Z https://phuse-org.github.io/devops/content/cicdworkflows-minimum/posts/pkgdown.html - 2024-02-22T15:53:01.928Z + 2024-02-22T15:53:53.586Z https://phuse-org.github.io/devops/content/cicdworkflows-minimum/posts/code-coverage.html - 2024-02-22T15:53:02.824Z + 2024-02-22T15:53:54.570Z https://phuse-org.github.io/devops/post/index.html - 2024-02-22T15:53:03.392Z + 2024-02-22T15:53:55.146Z https://phuse-org.github.io/devops/post/posts/external-resources.html - 2024-02-22T15:53:03.876Z + 2024-02-22T15:53:55.658Z https://phuse-org.github.io/devops/meetings/minutes/2023-08-11.html - 2024-02-22T15:53:04.432Z + 2024-02-22T15:53:56.254Z