You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<inputtype="text" id="search-box" placeholder="Search..."><buttonid="theme-toggle" title="Toggle dark mode" aria-label="Toggle dark mode">💡</button>
@@ -76,16 +75,16 @@ <h1>cpp4r Documentation</h1>
76
75
<divclass="content-main">
77
76
<h1></h1>
78
77
<h2>Arguments</h2>
79
-
<tableclass="ref-arguments"><tr><td><strong>path</strong></td><td><p>Path to the new project</p></td></tr><tr><td><strong>pkgname</strong></td><td><p>Name of the new package</p></td></tr></table><h2>Examples</h2>
78
+
<tableclass="ref-arguments"><tbody><tr><td><strong>path</strong></td><td>Path to the new project</td></tr><tr><td><strong>pkgname</strong></td><td>Name of the new package</td></tr></tbody></table><h2>Examples</h2>
80
79
<divclass="sourceCode"><pre><code># create a new directory
<inputtype="text" id="search-box" placeholder="Search..."><buttonid="theme-toggle" title="Toggle dark mode" aria-label="Toggle dark mode">💡</button>
@@ -76,7 +75,7 @@ <h1>cpp4r Documentation</h1>
76
75
<divclass="content-main">
77
76
<h1></h1>
78
77
<h2>Arguments</h2>
79
-
<tableclass="ref-arguments"><tr><td><strong>path</strong></td><td><p>The path to the package root directory. The default is \code{NULL},</p></td></tr><tr><td><strong>quiet</strong></td><td><p>If <code>TRUE</code> suppresses output from this function</p></td></tr><tr><td><strong>extension</strong></td><td><p>The file extension to use for the generated src/cpp4r file.</p></td></tr></table><h2>Examples</h2>
78
+
<tableclass="ref-arguments"><tbody><tr><td><strong>path</strong></td><td>The path to the package root directory. The default is \code{NULL},</td></tr><tr><td><strong>quiet</strong></td><td>If <code>TRUE</code> suppresses output from this function</td></tr><tr><td><strong>extension</strong></td><td>The file extension to use for the generated src/cpp4r file.</td></tr></tbody></table><h2>Examples</h2>
80
79
<divclass="sourceCode"><pre><code># create a minimal package
81
80
dir <- tempfile()
82
81
dir.create(dir)</code></pre></div>
@@ -88,16 +87,17 @@ <h2>Arguments</h2>
88
87
writeLines("[[cpp4r::register]] int one() { return 1; }", file.path(dir, "src", "one.cpp"))</code></pre></div>
89
88
<divclass="sourceCode"><pre><code># register the functions in the package
90
89
register(dir)</code></pre></div>
91
-
<divclass="error"><pre><code>## Error: could not find function "register"</code></pre></div>
0 commit comments