Questions tagged [package-development]
73 questions
0
votes
1 answer
How to Write R Package Documentation for a Function with Parallel Backend
I want to write this function as an R package
Edit
#' create suns package
#''
#' More detailed Description
#'
#' @describeIn This sums helps to
#'
#' @importFrom foreach foreach
#'
#' @importFrom doParallel registerDoParallel
#'
#' @param x Numeric…

Daniel James
- 1,381
- 1
- 10
- 28
0
votes
1 answer
Hide credentials in package development in R
I'm developing a package for my company, and I want to need to hide the credentials of the connections to redshift databases.
Is there an easy way to set it up?

Gabriel Gajardo
- 65
- 7
0
votes
0 answers
How to publish and register an extra Service Provider in Laravel Package
I would like to publish an extra service provider into App/Providers/ and then register it. The problem is I'm supposed to register it in register() function while I should publish it in boot() function. How should I accomplish that?
Here is what…

Agil
- 376
- 5
- 26
0
votes
1 answer
Composer Require then Inject service into Laravel App without leaving laravel command line
So I am making a Laravel artisan command. In that command I run 'composer require' for a package. I am trying to find a way to use that package I required without leaving the current command I am in.
I thought of temporarily adding The Namespace to…

Zach C.
- 187
- 2
- 14
0
votes
1 answer
In R, how to install packages used my own package automatically?
This question is near to the following site:
R - Importing 'xlsx' package to my own package doesn't work
I made some package, named aa, in some computer in which installations go well.
When I try to install my own package in another computer, then…

Jean Billie
- 189
- 10
0
votes
0 answers
Loading required namespace: pbkrtest Failed with error: 'there is no package called 'pbkrtest''
After using emmeans R package in my package I started getting the following error:
Loading required namespace: pbkrtest
Failed with error: 'there is no package called 'pbkrtest''
during devtools::check_win_devel(). Wonder what is the remedy here.

MYaseen208
- 22,666
- 37
- 165
- 309
0
votes
1 answer
Provide localization from custom Laravel packages
I struggle on how to use localizations correctly with custom packages for laravel?
$this->loadTranslationsFrom(__DIR__ . '/../../resources/lang', 'package_lang'); does not provide me access to my nested translation-files in my views (Blade…

MrMAG
- 1,194
- 1
- 11
- 34
0
votes
0 answers
Use one environment to run examples using roxygen2
I am writing a package in R that essentially carries out a pipeline. This pipeline has several stages that the user can adapt depending on what they would like to achieve.
One of the earliest stages requires running a function that is time…

B.C
- 577
- 3
- 18
0
votes
2 answers
Can't register my custom package's dependency in Laravel5.3
I am developing a blog as a custom package for Laravel 5.3.
So far I have got the routes, controller, models and migrations working.
I am now working on the CRUD. For the forms I thought I could use…

Reval Govender
- 9
- 2
0
votes
0 answers
Build R package on Mac for Windows
I develop a package under Mac and want to distribute it to my colleagues. I can build the package under Mac and can install it under Mac and 'most' of my colleagues Windows PCs. Some of these are Windows 7 and some are Windows 8. All of them use…

drmariod
- 11,106
- 16
- 64
- 110
0
votes
1 answer
How to develop a dependent composer package without the need to commit or publish changes?
I have an application A which has a composer.json file defining a dependency on package P, which is my own new shiny package. My package P has a composer.json file, which defines dependencies on library L and framework F. My package P has no remote…

thasmo
- 9,159
- 6
- 27
- 32
0
votes
1 answer
how to capture screen shot of packaged app in chrome browser?
we are developing some packaged app on chromium os... and the requirement is to capture the screen shot of my packaged app gui...
there is no chrome api in chrome apps to capture it from app itself...
but there is an api chrome.tab.captureVisibleTab…

user1083212
- 85
- 6
0
votes
0 answers
Exporting a Data Set (package development)
I have a package (qdap) and an accompanying data only package (qdapDictionaries) that will be used by some of the functions in qdap as seen here in line 41 I use the syn.env from line 454 here.
I have already asked a related question on the R-help…

Tyler Rinker
- 108,132
- 65
- 322
- 519