Skip to content

Commit

Permalink
added startup message.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhollist committed Sep 15, 2023
1 parent cdbeb84 commit 6ca7944
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions R/zzz.r
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
op <- options()

.onLoad <- function(libname, pkgname){
options("rgdal_show_exportToProj4_warnings"="thin")
invisible()
.onAttach <- function(libname, pkgname) {
packageStartupMessage(
"lakemorpho v01.3.0 NOTE: Version 1.3.0 of 'lakemorpho' uses 'sf' for all vector
processing. The 'rgdal' and 'rgeos' pacakges have been removed. 'raster' is
still used for raster data handling. The output lakeMorpho class no longer
contains `sp` objects. In subsequent releases, 'lakemorpho' will use only 'sf'
and 'terra', so please plan accordingly.")
}

.onUnload <- function(libname, pkgname){
Expand Down

0 comments on commit 6ca7944

Please sign in to comment.