Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings in skeleton #86

Closed
mmahmoudian opened this issue May 20, 2020 · 6 comments
Closed

Warnings in skeleton #86

mmahmoudian opened this issue May 20, 2020 · 6 comments

Comments

@mmahmoudian
Copy link
Contributor

mmahmoudian commented May 20, 2020

I followed the instructions to create the "index" folder and then immediately without changing anything I hit "knit" in Rstudio and then at the end of the gitbook generation I got this:

Output created: _book/thesis.pdf
Warning message:
Package Fancyhdr Warning: \headheight is too small (12.0pt): 
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however. 

and then I switched to thesisdown::thesis_gitbook by commenting line 15 and uncommenting line 16 and I got this (not adding any character to the yml file and just moving # from line 15 to line 16):

[WARNING] Could not parse YAML metadata at line 44 column 1: :23:0: leading empty lines contain more spaces than the first non-empty line in scalar
pandoc-citeproc: reference Molina1994 not found
pandoc-citeproc: reference reedweb2007 not found
pandoc-citeproc: reference noble2002 not found
[WARNING] This document format requires a nonempty <title> element.
  Please specify either 'title' or 'pagetitle' in the metadata.
  Falling back to 'thesis.utf8'

The following is the output of sessionInfo():

R version 3.6.0 (2019-04-26)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.4 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=fi_FI.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=fi_FI.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=fi_FI.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=fi_FI.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.4.6      rstudioapi_0.11   knitr_1.28       
 [4] R6_2.4.1          rlang_0.4.6       fansi_0.4.1      
 [7] tools_3.6.0       pkgbuild_1.0.8    packrat_0.5.0    
[10] xfun_0.14         cli_2.0.2         withr_2.2.0      
[13] htmltools_0.4.0   remotes_2.1.1     rprojroot_1.3-2  
[16] yaml_2.2.1        digest_0.6.25     assertthat_0.2.1 
[19] crayon_1.3.4      bookdown_0.19.1   processx_3.4.2   
[22] callr_3.4.3       ps_1.3.3          curl_4.3         
[25] glue_1.4.1        evaluate_0.14     rmarkdown_2.1    
[28] compiler_3.6.0    backports_1.1.7   prettyunits_1.1.1
[31] thesisdown_0.0.3 
@ismayc
Copy link
Owner

ismayc commented May 20, 2020

Hmm, I think this might be due to trying to include some of the preliminary content in the YAML instead of their own Rmd files, but I'm not sure. This will likely require an update to the package to fix this, though I'm not exactly sure if that's what is causing this.

@mmahmoudian
Copy link
Contributor Author

Let me know what you want to test and I'll do it and will report back. The question I have is that can you reproduce this using the same environment?

@ismayc
Copy link
Owner

ismayc commented May 20, 2020

There have been some weird things happening with the HTML build for awhile now so I don’t think it is anything specific to what versions you are using. I have some time blocked off this week to try to investigate further.

@ismayc
Copy link
Owner

ismayc commented May 25, 2020

Can you try out remotes::install_github("ismayc/thesisdown", ref = "develop"). I believe all the warnings you brought forth should be cleared up now there.

@mmahmoudian
Copy link
Contributor Author

Confirmed. Warnings in both thesis_pdf and thesis_gitbook are now gone.

@github-actions
Copy link

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org whenever possible) and link to this issue. If a reprex is not applicable, recording a short Loom video showing what you are seeing can go a long way in helping to diagnose problems.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants