[R-pkg-devel] Fwd: Passing CRAN check when an examples must save a file

2019-09-27 Thread Tiago Olivoto
ary(stat_ge, export = TRUE)```* Please, note that 'eval = FALSE'. Could this be the problem? The suggestion is to write to a tempdir() but even looking at the Duncan Murdoch's answer I cannot see how to do that in my case. Looking for any suggestion. Best regards, Tiago Olivoto -- F

[R-pkg-devel] Time for CRAN response

2019-12-15 Thread Tiago Olivoto
site. Since it is my first experience, I would like to have an idea about how long the CRAN team usually decides about a package submission. Best, Tiago Olivoto [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing

[R-pkg-devel] RES: Time for CRAN response

2019-12-15 Thread Tiago Olivoto
ould I try to re-submit it again? Best, Tiago Olivoto -Mensagem original- De: Duncan Murdoch Enviada em: domingo, 15 de dezembro de 2019 17:35 Para: tiagooliv...@gmail.com; r-package-devel@r-project.org Assunto: Re: [R-pkg-devel] Time for CRAN response On 15/12/2019 1:29 p.m., Tiago O

[R-pkg-devel] RES: RES: Time for CRAN response

2019-12-15 Thread Tiago Olivoto
Thanks, Duncan and Uwe, for the answers! I'll resubmit it as soon as possible. Best regards, Tiago Olivoto -- M.Sc. Tiago Olivoto Doutorando em Agronomia Departamento de Fitotecnia Universidade Federal de Santa Maria Av. Roraima, 1000, Camobi Santa Maria, RS, 97105-340 E-mail: tiagooliv

[R-pkg-devel] Error after package update

2020-01-29 Thread Tiago Olivoto
/tidyselect/index.html If I put back 'tidyselect' to v0.2.5 the error doesn't occur. Any idea about why I am getting this error? Best regards, -- M.Sc. Tiago Olivoto Ph.D student in Agronomy Department of Plant Science Federal University of Santa Maria 1000 Roraima Ave. Santa Maria, RS

[R-pkg-devel] RES: Error after package update

2020-01-29 Thread Tiago Olivoto
blem after restarting R, please open an issue in the > tidyselect issue tracker: > https://github.com/r-lib/tidyselect/issues > > Gabor > > On Wed, Jan 29, 2020 at 4:53 AM Tiago Olivoto > wrote: > > > > Hi everyone, > > > > After updating my R packa

[R-pkg-devel] RES: RES: Possible unknown color in r

2020-01-10 Thread Tiago Olivoto
) is black on my machine. The last two values are alpha (I think) and should be 00 for transparency. Instead of writing an extra function, you could also use col=NA. Berry _ From: R-package-devel mailto:r-package-devel-boun...@r-project.org> > on behalf of Tiago Olivoto

[R-pkg-devel] Possible unknown color in r

2020-01-10 Thread Tiago Olivoto
Dear all, In the last submission of my package the CRAN team has suggested including some references in the description field of the DESCRIPTION file. When I submitted it to CRAN it did not pass the incoming checks automatically and I got the following WARNING. Quitting from lines 108-117

[R-pkg-devel] RES: Possible unknown color in r

2020-01-10 Thread Tiago Olivoto
--- Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php From: R-package-devel on behalf of Tiago Olivoto Sent: Friday, January 10, 2020 12:43 PM To: r-package-devel@r-project.org Subject: [R-pkg-devel] Possible unknown color in r Dear all, In the last su

[R-pkg-devel] Error in \donttest{} not observed with --run-donttest option

2020-04-22 Thread Tiago Olivoto
Dear all, I've submitted the v1.5.0 of my R package metan a few days ago to fix some errors related to a recent upgrade of package 'tibble' to version 3.0.0, with breaking changes described at . When checking

[R-pkg-devel] MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
Dear all, I'm not sure if this is the correct place to make this question, but here I am. I'm trying to use MathJax for html help files in my package metan (https://cran.r-project.org/package=metan) I have success with the following approach: Including the following call

[R-pkg-devel] RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
Thanks, Wolfgang and Helmut for the explanations. When I was trying to use #'\if{html}{\out{'https://cdn.jsdelivr.net/npm/mathjax@3.0.5/es5/tex-chtml-full.js #' }} #' #'And then typing #' \ifelse{html}{\out{\[\sqrt{a^2}\]}}{\deqn{\sqrt{a^2}}} My mgidi.Rd file was produced with

[R-pkg-devel] RES: RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
3 May, 2020 19:30 >To: tiagooliv...@gmail.com; Viechtbauer, Wolfgang (SP); 'Helmut >Schütz'; r- package-de...@r-project.org >Subject: Re: [R-pkg-devel] RES: MathJax for Rd files > >On 13/05/2020 12:35 p.m., Tiago Olivoto wrote: >> Thanks, Wolfgang and Helmut for the explanations. >

[R-pkg-devel] RES: RES: RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
, Wolfgang (SP)' ; r-package-devel@r-project.org Assunto: Re: RES: [R-pkg-devel] RES: MathJax for Rd files On 13/05/2020 2:30 p.m., Tiago Olivoto wrote: > Thank you so much! It works! > In my example, I've created a simple helper function, preview_rd() > > preview_rd <- function(rdf

[R-pkg-devel] RES: RES: RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
I can tell, it will not be possible to load MathJax from the mathjaxr package when using preview_rd(). So, it will be loaded via the CDN, which means that you need an internet connection for equations to render. Best, Wolfgang >-Original Message- >From: Tiago Olivoto [mailto:tiagooliv...@

[R-pkg-devel] RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
://github.com/wviechtb/mathjaxr Best, Wolfgang >-Original Message- >From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On >Behalf Of Tiago Olivoto >Sent: Wednesday, 13 May, 2020 8:55 >To: r-package-devel@r-project.org >Subject: [R-pkg-devel] MathJax for Rd

[R-pkg-devel] RES: Additional issues for the last version released on CRAN

2020-06-07 Thread Tiago Olivoto
Right, so "reply-all and and explain: Have these been fixed?" Best, Uwe Ligges On 04.06.2020 15:16, Tiago Olivoto wrote: > Dear all, > > I have submitted a patch release (1.6.0) of my package metan > (https://cran.r-project.org/web/packages/metan/) to fix an additional >

[R-pkg-devel] Additional issues for the last version released on CRAN

2020-06-04 Thread Tiago Olivoto
Dear all, I have submitted a patch release (1.6.0) of my package metan (https://cran.r-project.org/web/packages/metan/) to fix an additional issue and implement some improvements. All local checks had no errors or warnings, but after the submission process, I received the following message.

[R-pkg-devel] Assigning a variable to global environment

2020-12-11 Thread Tiago Olivoto
Hi everyone, This can be a very simple question, but I really have the following doubt. CRAN Policies says that 'Packages should not modify the global environment (user’s workspace)'. So, may I or may I not create a function that will call internally the following code? (a simple example)

Re: [R-pkg-devel] Assigning a variable to global environment

2020-12-11 Thread Tiago Olivoto
ame, "_vct", sep = ""), var_name) and then assign(var_name, 1, envir = .GlobalEnv) Cheers, Tiago Em sex., 11 de dez. de 2020 às 15:20, Matt Denwood escreveu: > > > On 11 Dec 2020, at 18:32, Tiago Olivoto wrote: > > > > Hi every

Re: [R-pkg-devel] Assigning a variable to global environment

2020-12-11 Thread Tiago Olivoto
> It would be best to find a way to solve your problem without > assigning to the global workspace. Can you assign to an environment > that is contained within your package, which all of the functions in > your package will also have access to? > >cheers > Ben Bolker > &

Re: [R-pkg-devel] R package submission fails due to mathjaxr package

2021-06-18 Thread Tiago Olivoto
Hi Mark, I'm the maintainer of the 'metan' R package that uses mathjaxr. Please, be sure you are declaring mathjaxr on 'Imports', not 'Suggest' field. In my case, some time ago, I received an email from the CRAN team suggesting this change. Please, let us know if this works! Best, Tiago Em sex.,

[R-pkg-devel] Installed image not found in Debian

2021-05-11 Thread Tiago Olivoto
Dear all, I just submitted a new package 'pliman' ( https://github.com/TiagoOlivoto/pliman) and it does not pass the incoming checks automatically. I have some images that are under '/inst/tmp_images' to be installed with the package. In some examples and Vignettes, I use the helper function

Re: [R-pkg-devel] [Error] data length differs from size of matrix

2021-06-04 Thread Tiago Olivoto
tion halted >> >> In the current R-devel the matrix command matrix(value, nrow, ncol) >> complains if length(value)>nrow*ncol, so you need to truncate 'value'. >> (Previously matrix() would silently truncate value.) >> >> >> -Bill >> >> &g

Re: [R-pkg-devel] [Error] data length differs from size of matrix

2021-06-04 Thread Tiago Olivoto
alls: path_coeff -> [<- -> [<-.data.frame -> matrix >>> Execution halted >>> >>> In the current R-devel the matrix command matrix(value, nrow, ncol) >>> complains if length(value)>nrow*ncol, so you need to truncate 'value'. >>> (Previou

[R-pkg-devel] [Error] data length differs from size of matrix

2021-06-03 Thread Tiago Olivoto
Dear all, I have received an email from the CRAN team to fix a problem with my R package metan > to safely retain it on CRAN. The error is given at and seems

Re: [R-pkg-devel] Using ggplot2 within another package

2021-04-23 Thread Tiago Olivoto
Hi everyone, One suggestion would be import ggplot2 and using tidy eval operators to create a function. One simple reproducible example would be library(ggplot2) my_hist <- function(df, var){ ggplot(df, aes({{var}})) + geom_histogram() } df <- data.frame(my_var = rnorm(400, 10, 2))

[R-pkg-devel] Checking package dependencies before loading namespace

2021-08-31 Thread Tiago Olivoto
Dear all, I have a package called pliman which depends on the Bioconductor package EBImage. When running install.packages("pliman") I get the following warning Warning in install.packages : dependency ‘EBImage’ is not available and thus when loading

Re: [R-pkg-devel] Checking package dependencies before loading namespace

2021-09-01 Thread Tiago Olivoto
gt; People shouldn't be able to install your package unless the "hard" > > dependencies are available. > > > > If EBImage isn't essential to your package, you should make it a "soft" > > dependency by listing it in Suggests and checking for it every time you &g

Re: [R-pkg-devel] Checking package dependencies before loading namespace

2021-09-03 Thread Tiago Olivoto
nction so not recommended for CRAN packages...) > > Martin Morgan > > On 9/1/21, 8:13 AM, "R-package-devel on behalf of Tiago Olivoto" < > r-package-devel-boun...@r-project.org on behalf of tiagooliv...@gmail.com> > wrote: > > Thank you,

Re: [R-pkg-devel] Checking package dependencies before loading namespace

2021-09-06 Thread Tiago Olivoto
ckages/EBImage') instead of doing it for them. > > Martin > > From: Tiago Olivoto > Date: Friday, September 3, 2021 at 2:14 PM > To: Martin Morgan > Cc: Uwe Ligges , R Package Devel < > r-package-devel@r-project.org> > Subject: Re: [R-pkg-devel] Checking package d

Re: [R-pkg-devel] R CMD check --as-cran Warning in read.dcf(con, c(.get_standard_repository_db_fields(), "Path")) : URL 'https://CRAN.R-project.org/src/contrib/PACKAGES.gz': Timeout of 60 seconds was

2023-09-09 Thread Tiago Olivoto
Hi, I had a similar issue while submitting a bug fix of my package {pliman} using devtools::release() Have you checked on win-builder (with `check_win_devel()`)? 1: Absolutely 2: I forget 3: Not yet Seleção: 1 Error in utils::download.file("

Re: [R-pkg-devel] How to declare Bioconductor Dependencies in the Description File of my R Package

2023-03-16 Thread Tiago Olivoto
ds, > > Sergej > -- > *Von:* Tiago Olivoto > *Gesendet:* Donnerstag, 16. März 2023 17:36:47 > *An:* Ruff, Sergej > *Cc:* r-package-devel@r-project.org > *Betreff:* Re: [R-pkg-devel] How to declare Bioconductor Dependencies in > the Desc

Re: [R-pkg-devel] How to declare Bioconductor Dependencies in the Description File of my R Package

2023-03-16 Thread Tiago Olivoto
, Duncan Murdoch < murdoch.dun...@gmail.com> escreveu: > On 16/03/2023 12:36 p.m., Tiago Olivoto wrote: > > Hi, > > My package pliman depends on EBImage which is in Bioconductor. I have > > created a function check_ebi() < > > > http

Re: [R-pkg-devel] How to declare Bioconductor Dependencies in the Description File of my R Package

2023-03-16 Thread Tiago Olivoto
Hi, My package pliman depends on EBImage which is in Bioconductor. I have created a function check_ebi() < https://github.com/TiagoOlivoto/pliman/blob/e6efc4b6a2396600939e308c235aeb9ab47af375/R/utilities.R#L534> that is called in .onAttach() <

Re: [R-pkg-devel] Assigning an object to the global environment (shiny package)

2024-01-04 Thread Tiago Olivoto
they haven't been granted permission to do so. You should ask the > user whether they want the object assigned in the global environment before > doing so, and the default should be no so that it will not be assigned in > non interactive sessions. > > On Thu, Jan 4, 2024, 15:54 Ti

[R-pkg-devel] Assigning an object to the global environment (shiny package)

2024-01-04 Thread Tiago Olivoto
Hi everyone! I which a happy new year! I'm coding a shiny app and I would like to include an option so that the users can assign the results to the global environment for further analysis. I have written the following code, which checks if 'globalvarname' (the name of object to be created in