Skip to content

Commit

Permalink
Unloading Namespace seems to help
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerssam committed May 31, 2024
1 parent dce85fa commit abd8da6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
- Changed `install_asreml()` to check if there is a later version before downloading.
- Enabled non-standard evaluation input of column names in `autoplot.design()`.

## Bug fixes


# biometryassist 1.1.3

Expand Down
1 change: 1 addition & 0 deletions R/install_asreml.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ install_asreml <- function(library = .libPaths()[1], quiet = FALSE, force = FALS

# If forcing installation, remove existing version to avoid errors on installation
if(force && rlang::is_installed("asreml") && os_ver$os != "linux") {
unloadNamespace("asreml")
if("asreml" %in% .packages()) {
detach("package:asreml", unload = TRUE, force = TRUE)
}
Expand Down

0 comments on commit abd8da6

Please sign in to comment.