package-development Questions

2

Solved

I have written an NPM package which has its own CLI commands. Let's name that package as xyz and imagine it's now avaialable on npmjs.com So, let's say a user installs this package in his project b...
Flannery asked 24/5, 2021 at 20:18

2

I tried to build the R package hyperSpec using Windows Vista. When I do so, I get the following error message: warning in file.copy(pkgname, Tdir, recursive = TRUE) Problem copying .\hyperSpec\dat...
Novel asked 17/7, 2015 at 8:48

2

Solved

I like to keep my R packages up to date, and in developing my own package, I want to stick to @Hadley's advice: Generally, it’s always better to specify the version and to be conservative about ...
Tatty asked 3/8, 2016 at 8:26

2

Solved

I have an R package called ggstatsplot (https://indrajeetpatil.github.io/ggstatsplot/) which relies on a collection of packages that share a few S3 methods between each other. Therefore, every time...
Fuliginous asked 12/5, 2020 at 10:47

0

I would like to hear how folks do their reverse dependency checks on Windows these days. When using the "official", yet experimental function tools::check_packages_in_dir() as suggested by CRAN Re...
Lezlielg asked 20/4, 2020 at 10:52

4

How to extend Laravel 5.5/5.6 MySQL Blueprint with custom method $table->myMethod() like pre-built method $table->timestamps();? I have tried an example with SQLlite: Extending Blueprint for SQLi...
Dolerite asked 5/3, 2018 at 15:5

2

Solved

One of the functions in a package that I am developing uses a data set from the acs:: package (the fips.state object). I can load this data into my working environment via data(fips.state, package...
Phelloderm asked 9/2, 2018 at 22:38

2

Solved

I have an R package that I've been building in RStudio, let's called it my_pkg. When I run devtools::load_all(".") within RStudio (specifically using the Ctrl + Shift + L shortcut), I get the follo...
Fuzz asked 29/9, 2014 at 16:18

1

Solved

I am using pkgdown package to generate the elegant and static manual page for R package (called RTCGA). When I run the code to produce the static documentation as website I use following commands ...
Rhatany asked 26/4, 2016 at 20:19

1

Solved

What is a good way of keeping track of the state of development and/or visualizing how all your R packages are linked to each other (and its "third-party" dependencies)? I usually try to apply a "...
Lacedaemon asked 26/5, 2016 at 13:54

1

Solved

I'm writing a package of functions I use all the time, one of which is basically a short wrapper for setdiff: "%\\%" <- function(A, B) setdiff(A, B) so 1:6 %\% 4:6 == 1:3. Documenting this s...
Panaggio asked 23/9, 2015 at 20:29

2

Solved

I am eager to save two 460 x 5000 numeric matrices into my R-package. Following the instructions in: How to effectively deal with uncompressed saves during package check? I saved the objects as: ...
Paisley asked 22/4, 2014 at 7:32

2

Solved

From the Writing R Extensions Manual, I read that As from R 2.14.0 the preferred location for the Sweave sources is the subdirectory vignettes of the source packages, but for compatibility wit...
Perkoff asked 7/9, 2012 at 20:51

1

In recent efforts to develop a package, I'm including datasets in the data/ folder of my package. In my specific case I have 5 datasets all of which are in data.table format (although the issues I ...
Guildhall asked 19/4, 2012 at 17:35
1

© 2022 - 2025 — McMap. All rights reserved.