-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from afsc-gap-products/dev2
Fix GOA 2025 station names
- Loading branch information
Showing
12 changed files
with
476 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Package: akgfmaps | ||
Type: Package | ||
Title: Alaska Groundfish and Ecosystem Survey Area Mapping | ||
Version: 4.0.0 | ||
Date: 2025-01-03 | ||
Version: 4.0.1 | ||
Date: 2025-01-07 | ||
Authors@R: c(person("Sean", "Rohan", email = "[email protected]", role = c("aut", "cre")), | ||
person("Emily", "Markowitz", email = "[email protected]", role = "ctb"), | ||
person("Zack", "Oyafuso", email = "[email protected]", role = "ctb"), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
assets/demo/akgfmaps_SCRUG_20250122/ex1_installing_akgfmaps.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 1. Install akgfmaps using the devtools package --------------------------------------------------- | ||
|
||
install.packages("devtools", "dplyr") | ||
devtools::install_github(repo = "afsc-gap-products/akgfmaps") | ||
|
||
# 2. Load akgfmaps/verify that you have version 4 installed ------------------------------------ | ||
library(akgfmaps) | ||
|
||
# Verify that you have akgfmaps version >= 4.0.0 | ||
(session <- sessionInfo()) | ||
|
||
session$loadedOnly$akgfmaps$Version > 4 | ||
|
||
# Troubleshooting ---------------------------------------------------------------------------------- | ||
|
||
# Problem: API Rate Limit error | ||
# Solution: Setup a GitHub Personal Access Token in R Studio | ||
# Instructions: https://carpentries.github.io/sandpaper-docs/github-pat.html | ||
|
||
# Workaround without API access | ||
# | ||
# 1. Install these packages from CRAN: | ||
# ggplot2, sf, stars, terra, gstat (>= 2.0-1), stats, utils, methods, colorspace, RColorBrewer, | ||
# here, ggspatial, rmapshaper, shadowtext, ggthemes, classInt (>= 0.4-1), units | ||
# | ||
# 2. Download the akgfmaps tarball from: | ||
# | ||
# | ||
# 3. Install the akgmaps tarball using install.packages() |
Oops, something went wrong.