Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Suggests:
rnaturalearthhires,
rredlist,
testthat (>= 3.0.0),
viridis,
wdpar
VignetteBuilder: knitr
Depends:
Expand All @@ -65,7 +64,8 @@ Imports:
tidyr,
tidyselect,
units,
vctrs
vctrs,
viridis
Remotes:
github::emlab-ucsb/oceandatr,
github::emlab-ucsb/spatialgridr,
Expand Down
6 changes: 0 additions & 6 deletions R/splnr_featureRep.R
Original file line number Diff line number Diff line change
Expand Up @@ -499,12 +499,6 @@ splnr_plot_featureRep <- function(df,
}


# Check if 'viridis' package is installed. If not, stop with an informative error.
if (requireNamespace("viridis", quietly = TRUE) == FALSE){
stop("To run splnr_plot_featureRep you will need to install the 'viridis' package: install.packages('viridis').")
}


if (renameFeatures == TRUE) {
# No assertthat::assert_that(is.data.frame(namesToReplace)) needed here,
# as it's covered by the initial assertthat block.
Expand Down
Loading