search for: srmservic

Displaying 9 results from an estimated 9 matches for "srmservic".

Did you mean: srmservice
2018 Jul 09
2
Parametrized Vignettest in R packages
...orresponding .R files is being placed into the inst/doc directory. However, when I did want to check the package by running devtools::check(build_args="--no-build-vignettes") The following warning is shown: Warning: parse error in file 'C:/Users/wolski/AppData/Local/Temp/Rtmp4QanHv/SRMService.Rcheck/SRMService/doc/tr_srm_summary.R': /Users/wolski/AppData/Local/Temp/Rtmp4QanHv/SRMService.Rcheck/SRMService/doc/tr_srm_summary.R:2:22: unexpected '<' 1: params <- 2: list(configuration = < This is how the start of the .R file produced from the vignette looks like. para...
2018 Jul 09
3
Parametrized Vignettest in R packages
...t;> However, when I did want to check the package by running >> devtools::check(build_args="--no-build-vignettes") >> >> The following warning is shown: >> >> Warning: parse error in file >> >> 'C:/Users/wolski/AppData/Local/Temp/Rtmp4QanHv/SRMService.Rcheck/SRMService/doc/tr_srm_summary.R': >> >> /Users/wolski/AppData/Local/Temp/Rtmp4QanHv/SRMService.Rcheck/SRMService/doc/tr_srm_summary.R:2:22: >> unexpected '<' >> 1: params <- >> 2: list(configuration = < >> >> This is how the sta...
2018 Sep 14
1
Problem building rmarkdown vignettes with child
...der by: ```{r referencingChildDocument} child_docs <- "Grp2Analysis_MissingInOneCondtion.Rmd" if(!sum(NAinfo$nrProteins > 0) > 0){ child_docs <- "Grp2Analysis_Empty.Rmd" } child_docs <- system.file("ParametrizedReportsChild",child_docs,package = "SRMService") ``` ```{r includeMissingInOne, child = child_docs} ``` When running devtools::clean_vignettes() devtools::build_vingettes() devtools::build() # or R CMD build PACKAGE all works fine. However, devtools::clean_vignettes() devtools::build() # or R CMD build PACKAGE Fails with the diagnost...
2018 Jul 09
0
Parametrized Vignettest in R packages
...to the inst/doc directory. > > However, when I did want to check the package by running > devtools::check(build_args="--no-build-vignettes") > > The following warning is shown: > > Warning: parse error in file > 'C:/Users/wolski/AppData/Local/Temp/Rtmp4QanHv/SRMService.Rcheck/SRMService/doc/tr_srm_summary.R': > /Users/wolski/AppData/Local/Temp/Rtmp4QanHv/SRMService.Rcheck/SRMService/doc/tr_srm_summary.R:2:22: > unexpected '<' > 1: params <- > 2: list(configuration = < > > This is how the start of the .R file produced from...
2018 Jul 09
0
Parametrized Vignettest in R packages
...ant to check the package by running >>> devtools::check(build_args="--no-build-vignettes") >>> >>> The following warning is shown: >>> >>> Warning: parse error in file >>> >>> 'C:/Users/wolski/AppData/Local/Temp/Rtmp4QanHv/SRMService.Rcheck/SRMService/doc/tr_srm_summary.R': >>> >>> /Users/wolski/AppData/Local/Temp/Rtmp4QanHv/SRMService.Rcheck/SRMService/doc/tr_srm_summary.R:2:22: >>> unexpected '<' >>> 1: params <- >>> 2: list(configuration = < >>> >...
2018 Jul 02
2
Parametrized Vignettest in R packages
Hello, Thank you for the questions as well as remaining me of the default parameters in the yaml session. Indeed this seems to be the solution. But how would I assign package data as a default parameter? So originally I thought to render the markdown with : <code> data(sample_analysis) data(skylineconfig) x <- rmarkdown::render("report.Rmd", output_format =
2018 Jul 10
2
RMarkdown Vignettest in R packages with child is failing in package build
...not open file './child_docs': No such file or directory Quitting from lines 351-351 (./child_docs) Error in readLines(if (is.character(input2)) { : cannot open the connection ERROR: installing vignettes failed * removing 'C:/Users/wolski/AppData/Local/Temp/RtmpIti891/Rinst2cec49ca2170/SRMService' In R CMD INSTALL Have a great evening, Best regards Witek -- Witold Eryk Wolski
2018 Jul 13
1
RMarkdown Vignettest in R packages with child is failing in package build
...which I include them: child_docs <- "Grp2Analysis_MissingInOneCondtion.Rmd_t" if(!sum(NAinfo$nrProteins > 0) > 0){ child_docs <- "Grp2Analysis_Empty.Rmd_t" } child_docs <- system.file(file.path("ParametrizedReportsChild",child_docs),package = "SRMService") However, according to writing package vignettes [https://cran.r-project.org/doc/manuals/R-exts.html#Writing-package-vignettes] : "All other files needed to re-make the vignettes (such as LaTeX style files, BibTeX input files and files for any figures not created by running the code i...
2018 Jul 10
0
RMarkdown Vignettest in R packages with child is failing in package build
..._docs': No such file or directory > Quitting from lines 351-351 (./child_docs) > Error in readLines(if (is.character(input2)) { : > cannot open the connection > ERROR: installing vignettes failed > * removing 'C:/Users/wolski/AppData/Local/Temp/RtmpIti891/Rinst2cec49ca2170/SRMService' > In R CMD INSTALL > Since you didn't give a path to that file, it will use the current working directory, which might be a temporary directory used during the package installation. Since you want this to work as a vignette, you need to include the child docs in your package....