Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
69 views

I'm trying to reuse a function from one of my packages that installs the latest version of my package in another package. The original package is {pkgA} and the function is update(). The function uses ...
Dan's user avatar
  • 2,685
1 vote
2 answers
129 views

In creating unit tests for an r package that provides a custom ggplot2 theme, I've noticed that the snapshots created by vdiffr::expect_doppelganger() aren't reflecting font family changes that work ...
mac's user avatar
  • 3,794
2 votes
0 answers
110 views

I am maintaining an R package (dynConfiR) and, since the recent ggplot2 update, I get an error, which I cannot resolve (https://cran.r-project.org/web/checks/check_results_dynConfiR.html). My data ...
Sebastian H's user avatar
0 votes
0 answers
92 views

What would be the minimum set of include.only directives in a call to library() in loading data.table for basal functioning? Without the library statement I can make calls to data.table functions by ...
mpag's user avatar
  • 571
1 vote
1 answer
72 views

The "update" method that lubridate provides isn't exported (related: Why is there no lubridate:::update function?) I guess the simple update() API seems to call one of the appropriate ...
mac's user avatar
  • 3,794
4 votes
0 answers
92 views

I have a package that has existed quietly and happily on CRAN for some years but in the last few months have received this NOTE accompanied by email warnings that the package will be withdrawn if I ...
Peter Ellis's user avatar
  • 5,983
3 votes
2 answers
194 views

How can I count the lines of code in an R package? I have two possible types of input: The raw package code (my own package); I could point the function to the R folder that contains source code. The ...
Tripartio's user avatar
  • 2,383
2 votes
1 answer
82 views

I'm creating an R package that automatically creates trained models. One of the goals is to allow the user to save the trained models for use with future data. The trained models were originally saved ...
Russ Conte's user avatar
3 votes
1 answer
155 views

I am currently developing a Golem Shiny app. Since it relies on a massive amount of raw data that needs transformation before use, I have separated this part of the workflow into a dedicated package ...
Grasshopper_NZ's user avatar
0 votes
1 answer
271 views

I am in the process of creating a new R package and when I try to clean and install button on RStudio it, I get the following error message in the console: > library(MY_R_PACKAGE) Error in if (...
NM_'s user avatar
  • 2,039
1 vote
1 answer
22 views

Assume that I have two functions f and g and in my roxygen2 documentation I want that the @examples of g extend the examples of f. If I write them by hand, it would look like this: #' Adds One to Its ...
thothal's user avatar
  • 20.6k
1 vote
1 answer
225 views

I have a package I created a while ago using the RStudio package option. I am linked in via 2 factor authentication. I have successfully pushed, pulled, and committed to my repo. I have now reached ...
Michelle's user avatar
  • 1,393
0 votes
1 answer
478 views

I have a problem with RStudio. When I start the program, it shows this warning message: During startup - Warning message: package ‘stats’ in options("defaultPackages") was not found. ...
Francesco's user avatar
2 votes
1 answer
69 views

I want to use a std::stack in a C++ function inside an R package. Consider the following example C++ file: // [[Rcpp::plugins(cpp20)]] #include <Rcpp.h> #include <stack> // [[Rcpp::export]...
user's user avatar
  • 1,150
4 votes
1 answer
374 views

I am writing a latex file in Rstudio, and need to present an R example for an R package developed by myself. I noticed the published paper often has a format for the example as shown below, but I am ...
Phoebe's user avatar
  • 511
3 votes
1 answer
85 views

I am using devtools::check() in R to check a package and cannot overcome this warning: The argument of a replacement function which corresponds to the right hand side must be named 'value'. You can ...
Eden's user avatar
  • 528
2 votes
1 answer
1k views

I'm trying to load he package epiR but I'm getting the message: Error: object 'match_fonts' is not exported by 'namespace:systemfonts' Execution halted ERROR: lazy loading failed for package 'epiR' ...
K Maciejewski's user avatar
0 votes
0 answers
106 views

I am currently trying to install the xml2 package on R/RStudio. There are firewall restrictions on the device which I am working on which does not allow R/RStudio to connect fetch the packages ...
user860374's user avatar
0 votes
1 answer
44 views

I’m developing a function within an R package that is designed to run a targets workflow. The package is currently hosted on GitHub. Here’s a simplified version of the _targets.R script that works ...
Derek Corcoran's user avatar
1 vote
0 answers
224 views

I need to use a discontinued R package called hsdar. It seems to be impossble to install, I have tried installing an older version of R to run it, but no version seems to accept the package. I've also ...
user25079777's user avatar
0 votes
1 answer
197 views

I am building a package and an associated website (via Github Pages). Let's say I have a function funX. In R, when I do ?funXI have some equations (using \eqn{} or \deqn{}) in the description files, ...
G. Ander's user avatar
  • 306
0 votes
1 answer
618 views

When checking my R package with devtools::check(), I run into this error. ══ Checking ═══════════════════════════════════════════════════════════ Setting env vars: • _R_CHECK_CRAN_INCOMING_REMOTE_ ...
Hauke L.'s user avatar
  • 293
1 vote
0 answers
59 views

We are building a R package for the CRAN that only contains R functions. However, one of these R functions directly calls stats:::C_Cdqrls, which is a built-in C functions of the stats library of R. ...
Grasshoper's user avatar
0 votes
0 answers
104 views

Im trying to install an R packages of the following GitHub Repo: https://github.com/MACKattenberg/cffe/tree/main When I execute the build_package file, I get the following Error > roxygen2::...
user21581187's user avatar
1 vote
2 answers
148 views

I am writing an R package pkgA that is extending another package, pkgB. In particular, I implemented a new class gas_planet that extends the functionality of a class planet written in pkgB. When I use ...
Lukas D. Sauer's user avatar

1
2 3 4 5
27