<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Usethis on rostrum.blog</title>
    <link>https://www.rostrum.blog/tags/usethis/</link>
    <description>Recent content in Usethis on rostrum.blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-gb</language>
    <lastBuildDate>Sun, 18 Apr 2021 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://www.rostrum.blog/tags/usethis/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Make the simplest R package with {pico}</title>
      <link>https://www.rostrum.blog/2021/04/18/pico-pkg/</link>
      <pubDate>Sun, 18 Apr 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2021/04/18/pico-pkg/</guid>
      <description>tl;dr I made {pico}, an R package for creating tiny R packages with the absolute minimum structure and content. The goal: to demystify package making.
 Function in a haystack I saw a @WeAreRLadies tweet from last week’s curator, @ShreyaLouis. The gist was ‘how can you be more organised when recalling and reusing your own R code?’
See the thread for ideas, but I had the same thought as Fabio: create a personal package of your frequently-used functions so you can invoke them whenever you want.</description>
    </item>
    
    <item>
      <title>R-Package GitHub Actions via {usethis} and r-lib</title>
      <link>https://www.rostrum.blog/2020/08/09/ghactions-pkgs/</link>
      <pubDate>Sun, 09 Aug 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2020/08/09/ghactions-pkgs/</guid>
      <description>A GitHub Action in action on GitHub.  tl;dr You can trigger GitHub Actions to build and test your R package after a push or pull request. Create .github/workflows/ in your repo and add pre-prepared actions by the r-lib team with usethis::use_github_action().
 Shortcut I refer back to this post a lot, so here’s some jump-links to the sections with the code I need:
Build check Test coverage Build {pkgdown} site  Otherwise read on for a more thorough explanation of GitHub Actions in the context of R packages.</description>
    </item>
    
    <item>
      <title>Packages that Sparked Joy in 2019</title>
      <link>https://www.rostrum.blog/2019/12/27/pkgs-2019/</link>
      <pubDate>Fri, 27 Dec 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2019/12/27/pkgs-2019/</guid>
      <description>Marie Kondo (Netflix via Giphy)  Thank you package-makers I’ve used a lot of packages in 2019 and many have brought great joy to my R experience. Thank you to everyone who has created, maintained or contributed to a package this year.
Some particular packages of note for me have been:
 🤖 {usethis} by Hadley Wickham and Jenny Bryan 🦆 {drake} by Will Landau 🐈 {purrr} by Lionel Henry and Hadley Wickham  And some honourable mentions are:</description>
    </item>
    
    <item>
      <title>Build an R package with {usethis}</title>
      <link>https://www.rostrum.blog/2019/11/01/usethis/</link>
      <pubDate>Fri, 01 Nov 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2019/11/01/usethis/</guid>
      <description>Ossie, a Cabinet Office cat (via @cabinetofficeuk)  tl;dr  I gave a talk about creating an R package with helper functions from the {usethis} package In the session I created a new package from scratch called {cabinet} for identifying the cats that live in the UK Government’s Cabinet Office See the slides in a dedicated window or view their source See the {cabinet} package source and its website Jump to a list of other materials   Coffee packaging I gave a talk at a Cabinet Office Coffee &amp;amp; Coding session about building R packages from scratch.</description>
    </item>
    
    <item>
      <title>Motivate yourself with an .Rprofile</title>
      <link>https://www.rostrum.blog/2019/01/04/rprofile-motivate/</link>
      <pubDate>Fri, 04 Jan 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2019/01/04/rprofile-motivate/</guid>
      <description>My dream is to pet this kitty (via Giphy)  What’s an R profile? It’s a file that contains R code that runs when you start or restart R. You can use it to customise your environment. For example, you could set options, create functions or load packages.
There’s lots of information in the R startup chapter of Colin Gillespie’s’s Efficient R Programming book.
But beware: use of an R profile may not be particularly reproducible if the .</description>
    </item>
    
  </channel>
</rss>