biopalette requires R 4.1 or later. It works on Windows, macOS, and Linux and does not contain compiled code.
The package uses four runtime dependencies:
R installs these dependencies automatically when biopalette is installed.
The development version is available from GitHub. Install it when you need a feature or fix that has not yet reached CRAN. We recommend pak because it resolves dependencies and reports installation problems clearly.
Alternatively, install with remotes:
You only need to install pak or remotes
once.
Load the package, inspect its version, and list a few bundled palettes:
library(biopalette)
packageVersion("biopalette")
#> [1] '0.2.2'
head(list_palettes()[c("name", "type", "n_color")])
#> name type n_color
#> 1 bcell_atlas2 diverging 5
#> 2 clone_age diverging 5
#> 3 clone_memory diverging 5
#> 4 ppi_transient diverging 5
#> 5 walter_white diverging 5
#> 6 walter_white3 diverging 5For a visual check, open the palette gallery in an interactive R session:
Run the same GitHub installation command to update to the latest development version:
Restart R after updating if biopalette was loaded in the current session. This ensures that R uses the newly installed namespace and package files.
Start a fresh R session and retry the installation. If the error identifies a specific dependency, install that package directly to expose its complete error message:
biopalette itself does not require compilation. On Windows, Rtools is needed only when R must install a dependency from source and that dependency contains compiled code. Install the version of Rtools that matches your R version if the error explicitly says that build tools are required.
Confirm that the repository is accessible in a web browser and that R can connect to GitHub. On managed institutional networks, use the proxy or certificate settings supplied by your system administrator; do not place credentials in scripts committed to version control.
Check the installed version and library location:
Multiple R libraries can contain different copies of the package.
Remove the older copy from the library reported by
find.package() or install the update into that library.
If more than one library contains biopalette, pass the relevant
library path through the lib argument of
remove.packages().
After installation:
vignette("get-started", package = "biopalette")
for the core R workflow;vignette("palette", package = "biopalette") to
browse the palettes included with the package;vignette("tessera", package = "biopalette") to
continue from palette discovery to example data and complete R figure
recipes.When reporting an installation problem, include the complete error
message and the output of sessionInfo(). Remove tokens,
passwords, user names, and other sensitive paths before posting the
output publicly.