jasonratcliff / thesis

Source code and data for MSc thesis
https://scholarworks.uni.edu/etd/1108
Other
0 stars 0 forks source link

Refactor specimen distribution map functions #61

Closed jasonratcliff closed 2 years ago

jasonratcliff commented 2 years ago

To limit the number of exported functions, define a new subclass inheriting the Specimens R6 superclass (#62). Relevant for the following public functions:

Refactoring presents an opportunity for encapsulation of specimen records into an S4 object (#42).

See also: #45

jasonratcliff commented 2 years ago

Updating from R version 4.0.2 to ~4.1.2 introduced some breaking changes for figure generation. Generally, consolidation of mapping functions and review of related scripts (inst/scripts/ for introduction, results, and discussion chapters) is needed. After refactoring, implementing CI/CD with a stable version image should be pursued for reproducibility best practices.

Short Term

jasonratcliff commented 2 years ago

Encountered the following error when updated renv.lock:

configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘rgdal’
* removing ‘/Users/jasonratcliff/Thesis/renv/staging/2/rgdal’

Error: install of package 'rgdal' failed ["~/Thesis/renv/staging/2/rgdal" does not exist]
Show stack trace

Possible fix (4/10/22):