4/1/2023 0 Comments Rstudio build package![]() ![]() I know that the client that got me thinking about this in the first place doesn’t have PuTTY or WinSCP. These are all fairly standard things that people working with Linux servers every day do all the time.īut a lot of people don’t work with Linux every day and having transfer software and an SSH client in a Windows environment is the exception, rather than the norm. None of this is an issue in and of itself. Run the command to add the newly transferred source package.Open your SSH software (PuTTY is a de facto standard on Windows, other platform have SSH built in).Use the RSPM cli to add the package to your repo.Open your transfer software (WinSCP (Windows) and Filezilla (x-platform) are popular options).Transfer the source package to your RSPM server.The basic steps to publish a package manually are as follows: When publishing a package manually though, it can be a little problematic, depending on your existing knowledge of Linux and how locked down your local IT environment is. This is a fantastic way to manage your repos and packages and works really well when implementing CI/CD solutions for package build and publication. The rspm utility let’s you create your initial repo config as well as add and remove packages from your configurations once they’re in use. ![]() RSPM is controlled by a nifty command line tool called, unsurprisingly, ‘rspm’. ![]() I’ve been working on a large corporate install of RStudio Connect and Package Manager recently, but I ran into a problem when writing the documentation that I just couldn’t think my way around, until now. ![]() It’s a great tool for enterprise users of R to take control of the way they distribute R packages within their organisation. If you’ve read any of my previous posts you’ll know I’m a big fan of RStudio Package Manager (RSPM). This is a brilliant solution for continuous deployment type scenarios. Update (): I completely forgot to point out in the original post that RSPM can be used to publish rpackages directly from a git repo. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |