Skip to content

Commit

Permalink
Pkg startup: improve advised code to update n2khab
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvdh committed Nov 24, 2023
1 parent d300e4a commit 793e303
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/n2khab.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ utils::globalVariables(c("."))
rep("=", getOption("width")),
"\nIt is advised to upgrade n2khab to its current version ",
release,
". Run:\n",
". Run:\n\n",
'detach("package:n2khab", unload = TRUE)\n',
'install.packages("n2khab", repos = c(inbo = "https://inbo.r-universe.dev",
CRAN = "https://cloud.r-project.org"))',
"\n",
"library(n2khab)\n",
rep("=", getOption("width"))
)
}
Expand Down

0 comments on commit 793e303

Please sign in to comment.