search for: load_all

Displaying 20 results from an estimated 27 matches for "load_all".

2009 Jul 01
1
Facter infinite looping on custom facts
...' from /apps/puppet/facter/lib/facter/interfaces.rb:20 from /apps/puppet/facter/lib/facter/util/loader.rb:72:in `load'' from /apps/puppet/facter/lib/facter/util/loader.rb:72:in `load_file'' from /apps/puppet/facter/lib/facter/util/loader.rb:38:in `load_all'' from /apps/puppet/facter/lib/facter/util/loader.rb:33:in `each'' from /apps/puppet/facter/lib/facter/util/loader.rb:33:in `load_all'' from /apps/puppet/facter/lib/facter/util/loader.rb:30:in `each'' from /apps/puppet/facter/lib/facte...
2009 Apr 24
4
uninitialized constant Facter::IPAddress (NameError)
.../1.8/facter/ipmess.rb:19: uninitialized constant Facter::IPAddress (NameError) from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:72:in `load'' from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:72:in `load_file'' from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:38:in `load_all'' from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:33:in `each'' from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:33:in `load_all'' from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:30:in `each'' from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb...
2012 May 11
0
Announce: Facter 1.6.9rc1 Available
...es ====================== (#11511) Split lsb facts into multiple files If a fact is stored in a file that does not follow the convention $factname.rb we may encounter ordering and recursion issues as seen in bugreport #11511. The concrete example was - flush clears all facts - load_all is triggered to reload facts - inside an .rb file we query the operatingsystem fact directly (say outside a Facter.add block) - the operatingsystem fact has a suitable resolver for linux which wants to query the lsbdistid fact, which is (apperently) not yet loaded (this mi...
2012 Nov 06
19
puppet failing to run
I am getting this error after installing puppet with gem $ gem install puppet Fetching: facter-1.6.14.gem (100%) Fetching: puppet-3.0.1.gem (100%) Successfully installed facter-1.6.14 Successfully installed puppet-3.0.1 2 gems installed Installing ri documentation for facter-1.6.14... Installing ri documentation for puppet-3.0.1... Installing RDoc documentation for facter-1.6.14... Installing
2010 Apr 08
3
Puppet commands giving nothing but a stack trace
...r/util/fact.rb:75:in `value'' from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:73:in `inject'' from /usr/lib/ruby/site_ruby/1.8/facter/util/fact.rb:71:in `each'' ... 16 levels... from /usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:30:in `load_all'' from /usr/lib/ruby/site_ruby/1.8/facter/util/collection.rb:90:in `load_all'' from /usr/lib/ruby/site_ruby/1.8/facter.rb:91:in `to_hash'' from /usr/bin/facter:138 Ruby itself seems to run: # ruby --version ruby 1.8.5 (2006-08-25) [x86_64-linux...
2020 Mar 10
4
R CMD INSTALL cannot recognize full path on Windows
..... > ** using staged installation > ** libs > test1 is [1] 0.2091070 0.5411138 0.1051517 > The filename, directory name, or volume label syntax is incorrect. > test2 is > The filename, directory name, or volume label syntax is incorrect. > test3 is > > 3. R3.6: devtools::load_all(".") > devtools::load_all(".") > Loading testPackage > Re-compiling testPackage > - installing *source* package 'testPackage' ... (364ms) > ** using staged installation > ** libs > test1 is [1] 0.93251741 0.03975758 0.57824150 > test2...
2013 Mar 13
1
removing union class
...LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base Is this normal? Am I doing something wrong? Hadley, this is problematic for devtools, because load_all tries to cleanup S4 classes when an error occurs when loading a development package and crashes with no hint on the original error. Thank you. Bests, Renaud [[alternative HTML version deleted]]
2012 Mar 02
0
devtools 0.6
...39;s active (Thanks to Kohske Takahashi) * new `source_url` function for sourcing script on a remote server via protocols other than http (e.g. https or ftp). (Thanks to Kohske Takahashi) * new `source_gist` function to source R code stored in a github gist. (Thanks to Kohske Takahashi) * `load_all` now also loads all package dependencies (including suggestions) - this works around some bugs in the way that devtools attaches the development environment into the search path in a way that fails to recreate what happens normally during package loading. INSTALLATION * remote installation...
2012 Mar 02
0
devtools 0.6
...39;s active (Thanks to Kohske Takahashi) * new `source_url` function for sourcing script on a remote server via protocols other than http (e.g. https or ftp). (Thanks to Kohske Takahashi) * new `source_gist` function to source R code stored in a github gist. (Thanks to Kohske Takahashi) * `load_all` now also loads all package dependencies (including suggestions) - this works around some bugs in the way that devtools attaches the development environment into the search path in a way that fails to recreate what happens normally during package loading. INSTALLATION * remote installation...
2020 Mar 11
0
R CMD INSTALL cannot recognize full path on Windows
...allation > ** libs > test1 is [1] 0.2091070 0.5411138 0.1051517 > The filename, directory name, or volume label syntax is incorrect. > test2 is > The filename, directory name, or volume label syntax is incorrect. > test3 is > > 3. R3.6:? devtools::load_all(".") > devtools::load_all(".") > Loading testPackage > Re-compiling testPackage > - ?installing *source* package 'testPackage' ... (364ms) > ? ?** using staged installation > ? ?** libs > ? ?test1 is [1] 0.93251741 0.03975...
2005 Dec 16
3
Using :include "recursively" (including the children of the child)?
Hi, Let''s say I have the following hierarchy of tables: Group <- parent Location <- child of Group School <- child of Location Phone <- child of School Then, if I want to do this: Location.find(...someparms..., :include => [:schools, :group, :phones]) I get an association error (Association was not found). I guess it happens because AR is looking in the Location model
2013 Oct 18
1
Possible problem with namespaceImportFrom() and methods for generic primitive functions
...imitiveImport gives me: Error in namespaceImportFrom(self, asNamespace(ns)) : trying to get slot "package" from an object of a basic class ("function") with no slots I get the same message if I check the package (with R CMD check), or even if I try to load it using devtools::load_all() I tried to investigate the problem, and I found that the error arises in the base::namespaceImportFrom() function, and more precisely in this block: for (n in impnames) if (exists(n, envir = impenv, inherits = FALSE)) { if (.isMethodsDispatchOn() && methods:::isGeneric(n, n...
2015 Dec 16
2
Mystifying SEGFAULT on 3.2.3 but not 3.2.2
...r-recommended=3.2.2-1trusty0 sudo apt-get install r-cran-rjags R -e "install.packages(c('devtools','igraph','meta','truncnorm','rcdd'))" The code that produces a SEGFAULT (usually after 5-15 iterations) under 3.2.3, but not 3.2.2: library(devtools) load_all('gemtc') for (i in 1:100) { print(i); mtc.model(thrombolytic) } (note that the SEGFAULT also happens without devtools) The sessionInfo() in 3.2.2: R version 3.2.2 (2015-08-14) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 14.04.3 LTS locale: [1] LC_CTYPE=en_US.UTF-8...
2020 Mar 11
1
R CMD INSTALL cannot recognize full path on Windows
...1070 0.5411138 0.1051517 >>>> The filename, directory name, or volume label syntax is incorrect. >>>> test2 is >>>> The filename, directory name, or volume label syntax is incorrect. >>>> test3 is >>>> >>>> 3. R3.6: devtools::load_all(".") >>>> devtools::load_all(".") >>>> Loading testPackage >>>> Re-compiling testPackage >>>> - installing *source* package 'testPackage' ... (364ms) >>>> ** using staged installation >>>> ** li...
2012 Jul 16
10
Cómo hacer un source de manera "elegante"
Hola de nuevo: Veamos... Tengo mi aplicación organizada en varios módulos .r, de tal modo que una vez que los tengo cargados (mediante source("Load.R")) el usuario puede disfrutar de las funcionalidades llamando directamente a una serie de funciones que realizan análisis y generan resultados (numéricos y gráficos). El caso es que me gustaría "elegantizar" esa carga inicial
2015 Mar 12
2
Understanding why "no metadata object found ... not exported?" warnings from the methods package exist, and what they mean
...` class "SpatialLinesNULL" is defined (with package slot 'rgeos') but no metadata object found to revise subclass information---not exported? Making a copy in package 'minweSpatialNULL ` when I try to `R cmd build .` and then R cmd check *.gz` (or alternatively `devtools::load_all()`) the package I am building. What I don't really follow is why I am being warned when evidently the methods package *can* actually find the metadata object in order to make a copy of it (or does it just copy a name which binds to the original metadata object - I'm not clear on that)....
2020 Mar 11
0
R CMD INSTALL cannot recognize full path on Windows
...t;> test1 is [1] 0.2091070 0.5411138 0.1051517 >>> The filename, directory name, or volume label syntax is incorrect. >>> test2 is >>> The filename, directory name, or volume label syntax is incorrect. >>> test3 is >>> >>> 3. R3.6: devtools::load_all(".") >>> devtools::load_all(".") >>> Loading testPackage >>> Re-compiling testPackage >>> - installing *source* package 'testPackage' ... (364ms) >>> ** using staged installation >>> ** libs >>> tes...
2011 Jul 06
7
Issue with puppet file serving api not parsing yaml content correctly
...ar/puppet/lib/facter/load_truth_tags.rb:37 /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/facter/util/loader.rb: 73:in `load'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/facter/util/loader.rb: 73:in `load_file'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/facter/util/loader.rb: 38:in `load_all'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/facter/util/loader.rb: 33:in `each'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/facter/util/loader.rb: 33:in `load_all'' /opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/facter/util/loader.rb: 30:in `each'' /opt/ruby-1.8.6-p2...
2013 Sep 13
27
[windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers
Hi, i recently updated our windows 2008 r2 servers to puppet 3.3.0 . Im getting the following error* (only on our exchange 2010 db servers)*ever since: LevelMessageSourceFileLineTimeerrCould not retrieve local facts: undefined method `gsub'' for nil:NilClassPuppet13.09.2013 15:12 CESTerrFailed to apply catalog: Could not retrieve local facts: undefined method `gsub'' for
2024 Mar 20
1
Building Packages.
...?????????????????????????????????????????????????????????????????? jhBase conflicts ?? ? `andNotNA` masks `jhBase::andNotNA()`. ? `array.named` masks `jhBase::array.named()`. ? `arrayInd.inv` masks `jhBase::arrayInd.inv()`. ? and more. ? Did you accidentally source a file rather than using `load_all()`? Run `rm(list = c("andNotNA", "array.named", "arrayInd.inv", "as.POSIXct_orig", "build.package", "colon", "file.info", "file.path", "files.removeDup", "fprintf", "grepi", "grepiv...