Most voted "packages" questions
A package is a set of related classes and interfaces.
Learn more…67 questions
Sort by count of
-
10
votes3
answers115
viewsIs there any way to generalize library imports into Java?
I created inside the same package called Banco, two classes in Java: ContaSalario and ContaPoupanca. When I’m going to import these two classes into my main class, I do: import Banco.ContaSalario;…
-
9
votes2
answers3718
viewsHow do I create my own package/project for "Composer" on github?
I never distribute a library using a repository with commiserate, I have no experience with this, what I tried to do was to create a folder structure like this: ./ |-- composer.json |-- src/ |--…
-
8
votes2
answers650
viewsHow to use Packages in Laravel 4?
I am new to the Laravel 4 framework. In Laravel 3 it was simple to use Bundles. In version 4 the use of the Bundles was removed and started to use Packages, but I didn’t understand how it is used,…
-
8
votes2
answers941
viewsImport multiple classes from the same package
I wonder if there’s any significant difference in making import java.util.* instead of import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.List; import…
-
6
votes2
answers1395
viewsWhat is the difference between ~0.0.1 and 0.0.1 in package.json version control?
This code is an example: { "dependencies": { "gulp": "~0.0.1", "browser-sync": "^0.0.1" } }
-
5
votes2
answers220
viewsHow does Nodejs manage package.json in sub-folders?
How Nodejs manages Packages.json in sub-folders? You have your normal application but you have sub-modules that you want to have your own dependencies, how does Node manage it? It creates another…
-
4
votes1
answer435
viewsUsing BASE64 in Java
Problem: I can’t import the classes BASE64Decoder and BASE64Encoder, there are N code that use them and when I use them everything that is related does not work precisely because they are not found.…
-
4
votes2
answers2111
viewsI can’t install Ibgepesq in R to read the Pnads
I just downloaded the 2013 PNAD of IBGE -- and I tried to open it with the package for R that IBGE itself elaborated, the Ibgepesq. It is available as . zip archive at this address:…
-
4
votes1
answer2598
viewsWhat is a. lock file?
I’m using git to convert a project and noticed when checking for modifications, that some files . json have a file with the same name, but with different extension and content. Example:…
-
3
votes1
answer1283
viewsAfter adding a package as a dependency on another project, reference problems persist
Having created a package and soon after referencing it as a dependency on a project, which is in the same group of projects, I have problems trying to use the references of unit contained in the…
-
3
votes1
answer790
viewsPackage Management in R, how to export and import packages?
I use my scripts on several computers and then come across errors regarding the lack of packages and often such computers do not have internet access, which makes it difficult to access the…
-
2
votes1
answer3372
viewsHow to read a JSON file that is inside a package?
I need to file a case file *.JSON. I understand that there is a library for this in case I use the json-simple-1.1.1. How it is necessary to read the file first and then work with it. My question is…
-
2
votes1
answer95
viewsHow to install the plotKML package?
I want to install the following package in R http://cran.at.r-project.org/web/packages/plotKML/index.html the following message appears: Error in loadNamespace(j <- i[[1L]], c(lib.Loc,…
-
2
votes2
answers66
viewsHow can I find out which packages/libraries belong to the functions of a routine written in R?
I have stopped using several routines because programmers do not tell what packages/libraries the functions that are in these routines use. I know that many of these functions are authored by the…
-
2
votes0
answers78
viewshow to run an EOF on R? Spacetime package (or Clim.Pact)
I am currently working with foraminiferous fauna data for mixing layer reconstruction over the past 20ka. We did the reconstruction from the abundance of some species, which represent deeper or…
-
2
votes0
answers300
viewsR - How to remove all installed packages?
I ran a script in R a while ago and ended up installing all the packages related to statistics. With this, every time I go to make an update, it ends up taking longer than necessary. Since I do not…
-
2
votes1
answer21
viewsWhy do some npm packages have a '@' precedent in the account name and others not in the package-json deps list?
An example would be the package @brazilian-utils/brazilian-utils and luxon, I’ve suspected some of them to be private and others to be public, but Brazilian-utils kills that suspicion. What…
-
2
votes1
answer577
viewsError in package installation
I started work using the R, and during the installation of some packages such as Devtools, appears the following message specifying the error: * installing *source* package 'devtools' ... ** package…
-
2
votes0
answers177
viewsdifficulty installing pathtrackr in r on github
I am trying to install the pathtrackr package, I expected when running the code install_github("aharmer/pathtrackr", build_vignettes = TRUE) the package was installed, however when executing the…
-
1
votes1
answer48
viewsCreate a package that depends on other packages
Staff I am creating a package with some functions one of them depends on another package, as "gives the signal" for R understand and install this package? The package I depend on is raster. a =…
-
1
votes1
answer38
viewsTransform class within package
Guys I have a matrix and I want to turn it into another specific class of a package, rgeos, place the @import in the package, give library in it too, but when I check it gives error that mistake. a…
-
1
votes1
answer404
viewsShow user-installed apps only
Good friends, I’m developing an app for the user to share, back up .. from third-party apps. Be able to create a list where shows all the app’s. It turns out that I do not want to appear system…
-
1
votes1
answer61
viewsWhat is the difference between these two means of obtaining the Packagename?
I have these two code snippets, the two of them display the same result, so I’d like to know, what’s the difference between them. 1 jclass cls = (*env)->FindClass(env,…
-
1
votes1
answer679
viewsHow to get the Package Name from an Android app in a C library?
I would like to know how I can get the Package Name of my Android APP through a library written in C. What I want to get is this com/meu_app/mainframe/MainActivity or…
-
1
votes2
answers1052
viewsUnity installation is giving error
I went to install Unity for DI and the Nuget is giving an error, I did not understand, it seems to me that it points to the Newtonsoft, see the error below: Install-Package : An error occurred while…
-
1
votes0
answers267
viewsGenerate random numbers in R with Skew-Normal Bivariate distribution
I did the script below, but I doubt if it is correct, I need to generate a bivariate vector with medium skew-normal distribution mu=(mu1,mu2), matrix of variance and covariance…
-
1
votes1
answer739
viewsElectron: Electron-packager: command not found
I’m not able to create the application using the electron. I install the package and when I will execute the command: electron-packager d/dev/puxa Puxa I get the following error message: "Bash:…
-
1
votes1
answer73
viewsWhat is a "multi-target" Nuget package?
My question is about generating a "multi-target" Nuget package, what would that be? I know that the package is compiled in one version target, .Net Framework 4.5, Core 2.0, etc. I even researched…
-
1
votes1
answer400
viewsI’m having trouble compiling a java code using Packages on linux
I don’t know exactly the command to compile a java file on linux that shares the same package. I tried to follow this tutorial:https://www.webucator.com/how-to/how-compile-packages-java.cfm but the…
-
1
votes0
answers36
viewsPeolple API - Error 429 RESOURCE_EXHAUSTED
I’m wearing the following package to store contacts in the service provided by Google, that is to say, Google Contacts. Requests of the type GET They work perfectly and I can extract the contacts…
-
1
votes0
answers87
viewsI can’t find my function in the R package
I did a function on R and included it in my package I made. I clicked on clean and rebuild and soon after, I checked. Also, my function has been exported, and it appears listed in the NAMESPACE doc…
-
1
votes1
answer223
viewsImport problem when compiling classes in different packages
I have a problem with import of a package that I created in Java, the project directory tree is this: . ├── CsvFiles │ ├── 01 │ ├── 01.zip │ ├── ALPOO_GRADUACAO_2018.csv │ ├──…
-
1
votes1
answer318
viewsError running build_runner 'Infinite loop at build time
I added the following packages and versions build_runner: ^1.10.2 and mobx_codegen: ^1.1.0+1 in the archive pubspec.yaml of my project Flutter and at the time of automatic code generation I got the…
-
1
votes0
answers17
viewsIs it possible to make small changes to my package without having to change the version in Pypi?
I made a package in python and added it to Pypi. Now, I’d like to update just one error message. When I make more complex updates, I create a new release on Github and update the version in my file…
-
0
votes1
answer223
viewsWeb service does not access my classes
I am building a web service, previously it was already working normally but the scripts were all in one package, so I decided to organize in different packages my scripts however now my web service…
-
0
votes1
answer201
views"No module named pygame.base" - pygame and pypy
After several attempts and errors, I was able to install pygame 1.9.2a0 in pypy3, downloading the current version via Mercurial and installing via /path/pypy3 setup.py But when giving import, I get…
-
0
votes1
answer105
viewsError when using activities in a child package
I have a problem in my Android project on Eclipse. After implementing the functionalities, I reached a total of 10 activities and 8 other classes. From there I realized the need to structure the…
android eclipse android-activity packagesasked 8 years, 10 months ago Gustavo Almeida Cavalcante 189 -
0
votes1
answer185
viewsWhen I pass date filter for the same day, query comes back empty and there is data
In my table/base there is data for the day 05/08/2015, happens that when I pass a date filter for the same day, it doesn’t work, it returns empty. If I pass like this: 04/08/2015 and 05/08/2015…
-
0
votes1
answer425
viewsHow to uninstall nuget packages at once, including dependencies
There is a way to uninstall nuget packets at once, without having to look around or hoping to give the error to know which is the dependency to uninstall and then go uninstalled one by one. If I…
-
0
votes0
answers42
viewsTO_TIMESTAMP in Oracle Packages
I was doing some maintenance on object database oracle 11g, but in the middle of this adventure I ended up compiling and recompiling versions that gave error. I wonder if there is any way to perform…
-
0
votes0
answers170
viewsProblems in the installation of the BETS and rbcb package
Good afternoon! I’m having trouble installing the BETS package ( Brazilian Economic Time Series: Basic Usage) and rbcb (Central Bank of Brazil data by Wilson Freitas). In the first, the R says that…
-
0
votes0
answers38
views.NET Standard 1.2 - Fileversioninfo does not exist
Follows code: public static string GetVersion() { return FileVersionInfo .GetVersionInfo(Assembly.GetExecutingAssembly().Location) .ProductVersion; } I get error: CS0103 The name "Fileversioninfo"…
-
0
votes1
answer231
viewsHow to install Ebimage package for version 3.3.0 and 3.3.1 of R?
First, I make it clear that I have already downloaded the version of both 3.3.0 and 3.3.1 of CRAN, normally, and uninstalled all previous versions, I have also used the commands:…
-
0
votes0
answers43
viewsImprove interaction between files
I am creating a programming language in C++, and I intend to make some system to work with multiple files. In the simple build process, the interpreter creates files .cpp and .h and then compiles…
-
0
votes1
answer119
viewsAngular - npm: how to give up the webpack?
I am trying problems with the webpack, I would like to know how to remove it, tried the ways below which are indicated as examples on the NPM website, but without success.…
-
0
votes1
answer124
viewsCopy js from "Dependencies" from node_modules to a folder of my Gulp project
I have some doubts regarding this "new" tool of node/npm. As far as I know/learned, I have great benefits of managing scripts js for npm. But I don’t think it’s very healthy to go through the…
-
0
votes1
answer721
viewsProcedure in Package receiving an array (coming from a cursor/function) as input parameter - Oracle
Good afternoon, I already have some experience with PL/SQL but now I started working with oracle and Packages. I have a problem from which my package process is receiving two parameters and from it…
-
0
votes0
answers343
viewsProblem installing "@material-ui/core" package in my "create-React-app" application
I’m getting an error when I try to install the package @material-ui/core 3.9.0 in my application. When I execute yarn add @material-ui/core get the following return yarn add v1.12.3 [1/4] Resolving…
-
0
votes0
answers13
viewshow to install an internal package of requeriment.txt in python?
For example, I have a python code that uses the library import geocoder. In my machine I’ve used the pip install geocoder, but when a colleague made a git-clone it didn’t run for lack of this…
-
0
votes0
answers17
viewsaspnet-codegenerator does not find the Generator 'controller'
when I try to turn the command: dotnet aspnet-codegenerator controller -h I have the following return: Selected Code Generator: controller No code generator found with the name 'controller'. No code…