Skip to content

cderv/r-bucket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Scoop bucket for an R user

This repos contains some manifests I use to quickly install and update some applications useful for an R user that I don't find in any other bucket.

Apps in this bucket

Below is a list of the app available through this bucket. This can also be found in scoop.sh Apps listing.

RStudio IDE

Daily versions

Preview versions

Released versions

Branched versions

Only available in this bucket on the Open Source version. Synced from https://dailies.rstudio.com/rstudio/

  • rstudio-1.2: RStudio 1.2 (installer-less) - Freezed to last available 1.2 version
  • rstudio-1.3: RStudio 1.3 (installer-less) - Freezed to last available 1.3 version
  • rstudio-1.4: RStudio 1.3 (installer-less) - Freezed to last available 1.4 version (Ghost Orchid)
  • rstudio-2022.02: RStudio 2022.02 (installer-less) - Last available version for Prairie Trillium branch
  • rstudio-2022.06: RStudio 2022.06 (installer-less) - Last available version for Spotted Wakerobin branch

TinyTeX - Tex Live distribution

Experimental - this could still change

3 binaries are available from tinytex-releases but only one can be installed at the same time. That is because a shim for tlmgr command is added to scoop and available to PATH, and that would be overriden. (And honestly, you only need one).

  • tinytex contains several tex packages already installed that are the main one used by Rmarkdown. If you are an R user we recommand this one.
  • tinytex-min is infra-only and contains only Tex Live with no package installed. Use this one if you want only Tex Live for Windows using TinyTeX distribution without the selected packages, for CI workflow for example.
  • tinytex-extra contains some extra packages installed compare to tinytex.

See full documentation at https://yihui.org/tinytex/ and about the releases at https://github.com/yihui/tinytex-releases#scoop-package

The binaries are synced from https://github.com/yihui/tinytex-releases/releases

R

R devel

You can install R devel for Windows using this bucket containing the r-devel app. The version will be synced to https://cran.r-project.org/bin/windows/base/rdevel.html and you will always have the last available r-devel version, tracked by the version notation like r79818 for the current development snapshot of R. As any other app, a new version will be checked for daily.

This scoop installed app will behave like with the apps in the Versions bucket (https://github.com/ScoopInstaller/Versions): You can have several versions of R installed with scoop but only one in use. You will have to use scoop reset to switch between installed versions.

# from this bucket
scoop install r-devel
rterm --version # r-devel

# from the main bucket
scoop install r-release
rterm --version # r current release

# switching back to use r-devel
scoop reset r-devel
rterm --version # r-devel

rig - R Installation Manager

rig, the R Installation Manager, (https://github.com/r-lib/rig) is a tool to install, remove, configure R versions.

This bucket contains the manifest to install and update easily the rig CLI for Windows.

# install
scoop install rig

# update
scoop update rig

Using rig, you can then install and manage any R versions. See rig help for details.

R release and old releases

If you prefer installing R versions with scoop, you can can

  • install R current release.
scoop install r-release
  • or install a previous release
scoop install r-release@3.5.2

You can then switch between R versions (including r-devel - see below) using

scoop reset r-release
scoop reset r-release@3.5.2

R Installation Manager (RIM), installable from this bucket too, is a better tool for installing R versions.

Quarto CLI

Quarto (https://quarto.org/) is an open-source scientific and technical publishing system built on Pandoc. Quarto documents are authored using markdown, an easy to write plain text format.

This bucket contains the manifests to install and update easily the quarto CLI for Windows for stable versions and pre-release versions.

Stable version

# install
scoop install quarto

# update
scoop update quarto

You can also install and manage Quarto using Quarto Versions Manager - qvm

Pre-release version

scoop install quarto-prerelease

scoop update quarto-prerelease

Switching between stable and pre-release

quarto and quarto-prerelease will both make quarto binary available in PATH. Only one version can be used at the same time. To switch between version use the following:

scoop install quarto
quarto --version # e.g 1.0.35

# installing second
scoop install quarto-prerelease
quarto --version # e.g 1.1.3

# Switching back to stable
scoop reset quarto
quarto --version # e.g 1.0.35

# Switching again to pre-release
scoop reset quarto-prerelease
quarto --version # e.g 1.1.3

Quarto Versions Manager - QVM

Quarto Version Manager is a CLI tools that allows to manage and switch between versions of Quarto easily.

This bucket contains the manifest to install and update easily the qvm releases for Windows.

Should I install quarto using qvm or install quarto with scoop directly ?

QVM is aimed toward developers using Quarto that quickly needs to switch between versions. For only installing quarto and staying up to date, install quarto directly from this bucket will be enough. It is not recommended to have both installed.

# install
scoop install qvm

# update
scoop update qvm

Sass migrator

Sass Migrator is a CLI tool to help migrate old to new syntax.

The Sass migrator automatically updates stylesheets that use deprecated behavior to the latest and greatest Sass features.

See documentation on main website: https://sass-lang.com/documentation/cli/migrator/

# install
scoop install sass-migrator

# update
scoop install sass-migrator

To install scoop

See https://github.com/lukesampson/scoop

Add this scoop bucket

scoop bucket add r-bucket https://github.com/cderv/r-bucket.git

Install an app

scoop install rstudio-daily
scoop install TinyTeX

List installed apps

scoop list

Update an app

# fetch update info
scoop update
# see outdated apps
scoop status
# update one app
scoop update rstudio-daily
# update all 
scoop update *

Uninstall an app

scoop uninstall rstudio-daily

check if a tools is found in PATH

scoop which tlmgr

About

Personal scoop bucket I use as an R user and software engineer

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •