Set custom library to your project
use_library.Rd
This function will create the .Rprofile file in a project path to use a custom library path for future session
Examples
path <- withr::local_tempdir()
use_library(.libPaths(), path)
#> ℹ Using this project path: /tmp/RtmpLFWpvc/file1f9c5d1f9d42
#> Warning: cannot open file '/tmp/RtmpLFWpvc/file1f9c5d1f9d42/.Rprofile': No such file or directory
#> Error in file(con, "w"): cannot open the connection