Skip to content

Latest commit

 

History

History
317 lines (219 loc) · 11.2 KB

README.md

File metadata and controls

317 lines (219 loc) · 11.2 KB

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.07: RStudio 2022.06 (installer-less) - Last available version for Spotted Wakerobin branch
  • rstudio-2022.12: RStudio 2022.12 (installer-less) - Last available version for Elsbeth Geranium branch
  • rstudio-2023.03: RStudio 2023.03 (installer-less) - Last available version for Cherry Blossom branch
  • rstudio-2023.06: RStudio 2023.06 (installer-less) - Last available version for Mountain Hydrangea branch
  • rstudio-2023.09: RStudio 2023.09 (installer-less) - Last available version for Desert Sunflower branch
  • rstudio-2023.12: RStudio 2023.12 (installer-less) - Last available version for Ocean Storm branch
  • rstudio-2024.04: RStudio 2024.04 (installer-less) - Last available version for Desert Chocolate Cosmos branch

Positron

Positron (https://github.com/posit-dev/positron) is :

  • a next-generation data science IDE built by Posit PBC
  • An extensible, polyglot tool for writing code and exploring data
  • A familiar environment for reproducible authoring and publishing

Important

Positron is an early stage project under active development and may not yet be a good fit for you !

Positron is only available as pre-release build and this buckets contains a manifest for

# using r-bucket as in `scoop bucket add r-bucket https://github.com/cderv/r-bucket.git` when installing bucket
scoop install r-bucket/positron

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

air

air is an R formatter and language server, written in Rust.
air is currently in alpha. Expect breaking changes both in the API and in formatting results.

As air is also a tool available in other scoop bucket, it needs to be namespaced to be installed

# install 
# using r-bucket as in `scoop bucket add r-bucket https://github.com/cderv/r-bucket.git` when installing bucket
scoop install r-bucket/air

# update
scoop install air

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

You can also namespace app in this bucket if there is a conflict

# using r-bucket as in `scoop bucket add r-bucket https://github.com/cderv/r-bucket.git` when installing bucket
scoop install r-bucket/air

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