Displaying 20 results from an estimated 400 matches similar to: "Compressing data for package builds"
2012 Jul 24
1
Encoding errors in Rd files
Well, I'm working on project trying to bring back an old package last
published on R 1.9 back to life.
I'm almost there but I am getting killed by an encoding error in the Rd
files
After reading the manual, I decided to try UTF-8. Mostly because I could
spell it. ha.
That got me a bit closer but I still have these warnings
* checking data for non-ASCII characters ... WARNING
Warning:
2018 Jun 18
1
Automatic Compression by Save Causes Check Warning
Good day,
Save sometimes chooses a compression method which causes a warning during package checking. An example of this is:
measurements <- matrix(round(rnorm(2000*190), 2), nrow = 2000, ncol = 190)
classes <- factor(sample(LETTERS[1:2], 190, replace = TRUE))
save(measurements, classes, file = "data/experiment.RData")
then, when the package is checked,
* checking data for
2011 Apr 11
1
R CMD build --resave-data
Hi,
More about the new --resave-data option
As mentioned previously here
https://stat.ethz.ch/pipermail/r-devel/2011-April/060511.html
'R CMD build' and 'R CMD INSTALL' handle this new option
inconsistently. The former does --resave-data="gzip" by default.
The latter doesn't seem to support the --resave-data= syntax:
the --resave-data flag must either be
2012 Mar 29
3
r-forge build failure bafflement
I am attempting to build a package on r-forge and running into a
weird error. I have been in correspondence with the R-forge admins
and am turning to r-devel on the remote chance that someone might have
a guess as to what is going wrong or a suggestion about further
diagnostics/experiments I could try ...
The package seems to build fine on my system(s) with
R CMD build --compact-vignettes
2016 May 01
2
Storage of byte code-compiled functions in sysdata.rda
Thanks, Luke, for having a look to it.
Sure, I can give you some reproducible example -- even in two degrees of
completeness ;-): see below.
Thanks again, Peter
%-----------------------------------
(I) first example
%-----------------------------------
Just to reproduce the error, on r-devel, try:
install.packages("RobAStRDA")
require(RobAStRDA)
getFromNamespace(".RMXE", ns
2017 Aug 17
3
really dumb question with building/creating a new package.
Hello.
I am creating a new RcmdrPlugin package. However, I am getting some very
odd messages.
R CMD build RcmdrPlugin.gstats_1.0.0
ERROR
cannot change to directory ?RcmdrPlugin.gstats_1.0.0?
es-macbook-air:~ emhodgess$ R CMD check RcmdrPlugin.gstats_1.0.0
Warning: ?RcmdrPlugin.gstats_1.0.0? is neither a file nor directory,
skipping
es-macbook-air:~ emhodgess$ cd RcmdrPlugin.gstats/
2009 Feb 24
2
receiving 1st digit from a variable
Hi people!
I want to save the 1st letter from the ${EXTEN} variable. I don't want
to trim it, I want to RESAVE it into a new variable.
Let us assume the ${EXTEN} contains: 0698332977 then I'd love to get the 0
I would thank you for all advises.
Tamer
2008 Aug 20
3
Dovecot & (Al)pine - resaving messages to Inbox
I have a x86 Linux box running Fedora 4. Up until 2008 I was using pine 4.64 and Dovecot 0.99.x. In early 2008 I transitioned to Alpine 1.10, and didn't notice any major changes.
I upgraded to Dovecot 1.0.15 this past weekend. My dovecot -n settings are at the bottom of the email.
I've noticed a change since Dovecot was upgraded. I used to reorder items within my INBOX in al/pine by
2011 Dec 06
1
warning for inefficiently compressed datasets
Hi,
Recently added to doc/NEWS.Rd:
'R CMD check' now gives a warning rather than a note if it finds
inefficiently compressed datasets. With 'bzip2' and 'xz' compression
having been available since R 2.10.0, there is no excuse for not
using them.
Why isn't a note enough for this?
Generally speaking, warnings are for things that are dangerous,
or unsafe,
2010 Feb 16
7
YAML, UTF-8, TextMate, Notepad
This is not a question but a report on the difficulties I had and the
solution I found with respect to UTF-8, YAML::load, and Ruby/Rails.
Comments are appreciated.
- - -
I had been struggling for two days to get UTF-8 working in my Rails app.
I had/have a localization file, lib\locale\de.yml, that had iso-8859-1
encoding. I could not get that to display properly.
Marnen, quite correctly,
2016 Jul 12
3
Forking and adapting an R package
Hello.
I'm trying to adapt the package ?hexbin? to suit my needs. This is the first
time I do this. I've read a bit through Hadley's ?R packages?, but now I'm
pretty lost (from a workflow point of view). I am using RStudio and Hadley's
devtools.
So I forked the repo I want to adapt: https://github.com/grssnbchr/hexbin and
cloned it using RStudio (I created a new project).
2016 Jul 12
3
Forking and adapting an R package
Hello.
I'm trying to adapt the package ?hexbin? to suit my needs. This is the first
time I do this. I've read a bit through Hadley's ?R packages?, but now I'm
pretty lost (from a workflow point of view). I am using RStudio and Hadley's
devtools.
So I forked the repo I want to adapt: https://github.com/grssnbchr/hexbin and
cloned it using RStudio (I created a new project).
2008 Jun 04
8
Not running correct specs under autotest:
I know this isn''t autotest-users but I''m not sure where else to bring this up:
[["app/controllers/contents_controller.rb", Wed Jun 04 14:11:03 +0100 2008]]
[["app/controllers/contents_controller.rb", Wed Jun 04 14:11:03 +0100 2008]]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S
script/spec -O spec/spec.opts spec/models/user_spec.rb
2013 Apr 12
2
"Failed to locate the 'texi2pdf' output file"
Hi,
Every day a few Bioconductor packages (different ones each day) fail
to build, on Windows only, with an error like this:
D:\biocbld\bbs-2.13-bioc\meat>D:\biocbld\bbs-2.13-bioc\R\bin\R.exe CMD
build --keep-empty-dirs --no-resave-data OrganismDbi
[...]
Error in find_vignette_product(name, by = "texi2pdf", engine = engine) :
Failed to locate the 'texi2pdf' output file (by
2013 Dec 21
2
error con install_github() del paquete devtools
Gracias Jorge. Pero tiene que ser otra cosa. El Renviron está bien y unzip
está en ese path. Y al hacerlo como indica Oscar no hay problema con el
unzip
Miraré como está en otro Linux que si funciona a ver que puede ser.
Pero será después de Navidad.
Saludos
[[alternative HTML version deleted]]
2014 Dec 09
2
UTF8 markdown vignette
Dear all,
I'm trying to use a Markdown vignette with UTF-8 encoding. It compiles well when knitting the vignette in RStudio, but it fails to recognize the UTF-8 settings when building the source package. Can someone point out what I'm doing wrong? I tried to put the relevant information below.
Best regards,
Thierry
Details:
Using 64-bit R 3.1.2 with encoding = "native.enc"
2019 Sep 27
1
passing extra arguments to devtools::build
This question was posed on SO :
https://stackoverflow.com/questions/58118495/passing-extra-argumenets-to-devtoolsbuild
but there has been no useful reply.
Something seems to have changed in the |devtools|package, so that the
following commands, that used to run now give an error I can't decipher:
|>Sys.setenv(R_GSCMD="C:/Program
2005 Dec 31
4
saving a collection
Reading the Agile book, I can''t find a single command to save a collection.
The save command seems to operate on only individual objects.
Lets say I have a collection that I have received from a find_all command.
I want to go through and change some attributes in various objects in the
collection. Then I want to resave the whole collection back to the
database. I don''t think
2010 Feb 23
5
export tables to Excel files
Dear R users,
I've just posted a similar question about Illustrator.
This time I would like to export the results of my statistic tables and
my dataframes into Excel files.
Up to now I've used write.csv(), but I have to resave every file in .xls
in Excel.
I would like to know if there is a function or package to export
directly into *.xls.
I have found xlsReadWrite which would be
2012 Jan 24
1
Failure to get compactPDF to compact a pdf file
I am failing to get compactPDF to make any change to a pdf file
that, a/c to the message from the CRAN upload site, can be very
substantially compacted. Any ideas what may be wrong?
I have also tried recreating the pdf file. I also tried
R CMD build --resave-data --compact-vignettes DAAG
The data files compact alright (but I get the 'significantly better compression'
warning message