I am developing a package using the RStudio IDE. I have used the Build tab to assist the pkg dev process for years, but I am running into an odd issue recently. When I use the IDE buttons to Check or Test the package, I get a note that two package are not installed when they are indeed installed.
Here's the note I get when trying to check the package.
Below you can see that I have two library paths available and both packages are installed into both libraries. I have no idea how these packages are not being found??? ¯\_(ツ)_/¯
Any ideas?! Thank you!
.libPaths() #>  "C:/Users/SjobergD/R-dev" "C:/Program Files/R/R-4.2.2/library" installed.packages() |> dplyr::as_tibble() |> dplyr::filter(Package %in% c("gtsummary", "tidyr")) |> dplyr::select(Package, LibPath, Version) #> # A tibble: 4 × 3 #> Package LibPath Version #> <chr> <chr> <chr> #> 1 gtsummary C:/Users/SjobergD/R-dev 1.7.0 #> 2 tidyr C:/Users/SjobergD/R-dev 1.3.0 #> 3 gtsummary C:/Program Files/R/R-4.2.2/library 1.7.0 #> 4 tidyr C:/Program Files/R/R-4.2.2/library 1.3.0
Created on 2023-01-28 with reprex v2.0.2