Skip to content

jeroen/backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of mirroring from r-universe

Example github action workflow to mirror the cranlike-repository from https://jeroen.r-universe.dev to GitHub pages using the r-universe snapshot api.

To copy this workflow follow these 3 steps:

  • Copy the workflow file from .github/workflows/mirror.yml
  • In your GitHub repository settings, enable GitHub pages on the main branch
  • In your GitHub repository settings, under "actions > general" set "Workflow permissions" to "read and write" such that the action can push back to this repository.

Now you can manually trigger the workflow under your actions tab.

Once the action has completed, R can install directly from the backup, for example:

install.packages("curl", repos = 'https://jeroen.github.io/backup')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published