Skip to content

Commit

Permalink
small change to .onAttach...
Browse files Browse the repository at this point in the history
... such that ThorsonUtilities and TMBhelper are re-installed every time
(e.g., so that `ThorsonUtilities::list_parameters` is installed)
  • Loading branch information
James-Thorson committed Jul 17, 2017
1 parent 3a08618 commit e4df36f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@
packageStartupMessage("Installing package: SpatialDFA...")
devtools::install_github("james-thorson/spatial_DFA")
}
if( !"ThorsonUtilities" %in% utils::installed.packages()[,1] ){
packageStartupMessage("Installing package: ThorsonUtilities...")
devtools::install_github("james-thorson/utilities")
}
if( !"TMBhelper" %in% utils::installed.packages()[,1] ){
packageStartupMessage("Installing package: TMBhelper...")
devtools::install_github("kaskr/TMB_contrib_R/TMBhelper")
}
packageStartupMessage("Installing package: ThorsonUtilities...")
devtools::install_github("james-thorson/utilities")
packageStartupMessage("Installing package: TMBhelper...")
devtools::install_github("kaskr/TMB_contrib_R/TMBhelper")
}

0 comments on commit e4df36f

Please sign in to comment.