<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>R on Offshore wind turbine technology</title>
    <link>http://folk.ntnu.no/muskulus/tags/r/</link>
    <description>Recent content in R on Offshore wind turbine technology</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 17 Apr 2019 00:00:00 +0000</lastBuildDate><atom:link href="http://folk.ntnu.no/muskulus/tags/r/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Rcpp with testthat and catch unit testing</title>
      <link>http://folk.ntnu.no/muskulus/blog/drafts/rcpp-with-testthat-and-catch/</link>
      <pubDate>Wed, 17 Apr 2019 00:00:00 +0000</pubDate>
      
      <guid>http://folk.ntnu.no/muskulus/blog/drafts/rcpp-with-testthat-and-catch/</guid>
      <description>The issue System This has been tested with R version 3.5.3 in RStudio 1.2.1335, using the following packages:
 usethis: 1.5.0 testthat: 2.0.1 Rcpp: 1.0.1 devtools: 2.0.2  Apparantly, in R version 3.2.x this approach would not work, with a reference to
RcppExport SEXP run_testthat_tests(); not being created in RcppExports.cpp
Setting up &amp;gt; library(usethis) &amp;gt; create_package(&amp;#34;~/test/mypackage&amp;#34;) ... &amp;gt; roxygen2::roxygenize() &amp;gt; library(usethis) &amp;gt; use_rcpp() &amp;gt; use_mit_license(&amp;#34;my name&amp;#34;) Create a mypackage-package.R file with the following contents:</description>
    </item>
    
  </channel>
</rss>
