-
-
Notifications
You must be signed in to change notification settings - Fork 878
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
Unbalanced chunk delimiters in package vignettes #2057
Comments
If anyone is running into this error ("attempt to use zero-length variable name"), you can install the development version of knitr and recompile your document: remotes::install_github('yihui/knitr') The new error message should be much clearer. Please feel free to let me know if you still don't know how to fix it. Thanks for your patience! |
Switch to a pure code fence and remove extraneous space at the closing backticks. Addresses yihui/knitr#2057
…eck when not running on CRAN, which means an error will be thrown if you run R CMD check locally or in Github action (in either case, you may be developing the package; if that's the case, you should fix the unbalanced chunk delimiters) this will make the affected R packages found in #2057 stay safely on CRAN for a while (I've notified them)
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
Currently the following CRAN packages have vignettes that contain unbalanced code chunk delimiters (e.g., a chunk opened by five backticks but closed by four, or opened by three but closed by four, or the chunk header is indented but the footer is not, etc.). I haven't decided what to do with them yet (chances are I'll still support them but gradually make unbalanced delimiters defunct in the future).
The fixes should be simple enough to most package authors (e.g., davidski/evaluator#57), but I don't want to push them at the moment (this breaking change may happen in a year from now).
Without balancing the delimiters, users may see an obscure error message like this:
The error message will be clearer if you install the dev version of knitr and rebuild the vignette:
Then you should see a message like this:
ACSNMineR
Maintainer:
Paul Deveau <paul.deveau@...>
vignettes/ACSN-vignette.Rmd
(Lines 69-73)CoordinateCleaner
Maintainer:
Alexander Zizka <alexander.zizka@...>
vignettes/Cleaning_PBDB_fossils_with_CoordinateCleaner.Rmd
(Lines 70-86)FateID
Maintainer:
Dominic Grün <dominic.gruen@...>
vignettes/FateID.Rmd
(Lines 193-204)GEVACO
Maintainer:
Sydney Manning <sydneymanning@...>
vignettes/GEVACO_Intro.Rmd
(Lines 23-39)GeoLight
Maintainer:
Simeon Lisovski <simeon.lisovski@...>
vignettes/GeoLight2.0.Rmd
(Lines 107-115)IceCast
Maintainer:
Hannah M. Director <direch@...>
vignettes/FitAndGenerateContours.Rmd
(Lines 373-410)IntCal
Maintainer:
Maarten Blaauw <maarten.blaauw@...>
vignettes/plots.Rmd
(Lines 28-35)LBSPR
Maintainer:
Adrian Hordyk <ar.hordyk@...>
vignettes/LBSPR.Rmd
(Lines 196-215)LexisNexisTools
Maintainer:
Johannes Gruber <j.gruber.1@...>
vignettes/demo.Rmd
(Lines 12-22)MHTcop
Maintainer:
Jonathan von Schroeder <jvs@...>
vignettes/fdr-test.Rmd
(Lines 205-227)MPBoost
Maintainer:
Ignacio López-de-Ullibarri <ignacio.lopezdeullibarri@...>
vignettes/mpboost.Rmd
(Lines 20-41)MetaboLouise
Maintainer:
Charlie Beirnaert <charlie_beirnaert@...>
vignettes/MetaboLouise_Intro.Rmd
(Lines 42-57)PPforest
Maintainer:
Natalia da Silva <natalia@...>
vignettes/PPforest-vignette.Rmd
(Lines 363-394)QuantumClone
Maintainer:
Paul Deveau <quantumclone.package@...>
vignettes/Use_case.Rmd
(Lines 141-148)RDFTensor
Maintainer:
Abdelmoneim Amer Desouki <desouki@...>
vignettes/RDFTensor-Demo.Rmd
(Lines 61-90)SEMsens
Maintainer:
Walter Leite <walter.leite@...>
vignettes/Smith19_6phantom3.Rmd
(Lines 33-43)TriDimRegression
Maintainer:
Alexander (Sasha) Pastukhov <pastukhov.alexander@...>
vignettes/transformation_matrices.Rmd
(Lines 12-189)UncertainInterval
Maintainer:
Hans Landsheer <j.a.landsheer@...>
vignettes/UI-vignette.Rmd
(Lines 202-216)VFP
Maintainer:
Andre Schuetzenmeister <andre.schuetzenmeister@...>
vignettes/VFP_package_vignette.rmd
(Lines 187-202)Maintainer:
Andre Schuetzenmeister <andre.schuetzenmeister@...>
vignettes/VFP_package_vignette.rmd
(Lines 87-97)boostr
Maintainer:
Steven Pollack <steven@...>
vignettes/boostr_user_inputs.Rmd
(Lines 121-136)cjbart
Maintainer:
Thomas Robinson <ts.robinson1994@...>
vignettes/cjbart-demo.Rmd
(Lines 77-83)coRanking
Maintainer:
Guido Kraemer <gkraemer@...>
vignettes/coranking.Rmd
(Lines 37-44)fivethirtyeight
Maintainer:
Albert Y. Kim <albert.ys.kim@...>
vignettes/tame.Rmd
(Lines 448-458)geeCRT
Maintainer:
Hengshi Yu <hengshi@...>
vignettes/geeCRT.Rmd
(Lines 79-134)gen3sis
Maintainer:
Oskar Hagen <oskar@...>
vignettes/create_config.Rmd
(Lines 249-257)gfmR
Maintainer:
Brad Price <brad.price@...>
vignettes/gfmr.Rmd
(Lines 117-123)logger
Maintainer:
Gergely Daróczi <daroczig@...>
vignettes/customize_logger.Rmd
(Lines 225-231)meshed
Maintainer:
Michele Peruzzi <michele.peruzzi@...>
vignettes/univariate_gridded.Rmd
(Lines 87-106)Maintainer:
Michele Peruzzi <michele.peruzzi@...>
vignettes/univariate_irregular_poisson.Rmd
(Lines 86-106)Maintainer:
Michele Peruzzi <michele.peruzzi@...>
vignettes/univariate_gridded.Rmd
(Lines 87-102)mitml
Maintainer:
Simon Grund <grund@...>
vignettes/Analysis.Rmd
(Lines 108-126)rSPDE
Maintainer:
David Bolin <davidbolin@...>
vignettes/rspde.Rmd
(Lines 295-302)rnetcarto
Maintainer:
Guilhem Doulcier <guilhem.doulcier@...>
vignettes/getting-started.Rmd
(Lines 145-168)sitree
Maintainer:
Clara Anton Fernandez <caf@...>
vignettes/TestEquations.Rmd
(Lines 78-168)superb
Maintainer:
Denis Cousineau <denis.cousineau@...>
vignettes/TheMakingOf.Rmd
(Lines 154-169)Maintainer:
Denis Cousineau <denis.cousineau@...>
vignettes/VignetteA.Rmd
(Lines 208-220)targeted
Maintainer:
Klaus K. Holst <klaus@...>
vignettes/riskregression.Rmd
(Lines 308-316)valueEQ5D
Maintainer:
Sheeja Manchira Krishnan <sheejamk@...>
vignettes/User_Guide.Rmd
(Lines 187-196)ztpln
Maintainer:
Masatoshi Katabuchi <mattocci27@...>
vignettes/ztpln.rmd
(Lines 101-114)abbyyR
Maintainer: Gaurav Sood
<gsood07@...>
vignettes/overview.Rmd
(lines 81-83):aGE
Maintainer: Tianzhong Yang
<tianzhong.yang@...>
vignettes/About.Rmd
(lines 39-41):ANOVAreplication
Maintainer: M.A.J. Zondervan-Zwijnenburg
<m.a.j.zwijnenburg@...>
vignettes/vignette_ANOVAreplication.Rmd
(lines 19-21):bytescircle
Maintainer: Roberto S. Galende
<roberto.s.galende@...>
vignettes/bytescircle.Rmd
(lines 189-191):CNAIM
Maintainer: Emil Larsen
<mohsin@...>
vignettes/cnaim.Rmd
(lines 38-40):coffee
Maintainer: Maarten Blaauw
<maarten.blaauw@...>
vignettes/intro.Rmd
(lines 52-55):CTP
Maintainer: Paul Jordan
<paul.jordan@...>
vignettes/closed_testing_procedure.Rmd
(lines 244-249):ecmwfr
Maintainer: Koen Hufkens
<koen.hufkens@...>
vignettes/advanced_vignette.Rmd
(lines 54-69):EGRET
Maintainer: Laura DeCicco
<ldecicco@...>
vignettes/EGRET.Rmd
(lines 801-803):ensembleR
Maintainer: Saurav Kaushik
<sauravkaushik8@...>
vignettes/Introduction_to_ensembleR.Rmd
(lines 18-20):FSinR
Maintainer: Alfonso Jiménez-Vílchez
<i52jivia@...>
vignettes/methods.Rmd
(lines 12-17):gargle
Maintainer: Jennifer Bryan
<jenny@...>
vignettes/gargle-auth-in-client-package.Rmd
(lines 246-256):junctions
Maintainer: Thijs Janzen
<thijsjanzen@...>
vignettes/junctions_vignette.Rmd
(lines 13-16):junctions
Maintainer: Thijs Janzen
<thijsjanzen@...>
vignettes/phased_and_unphased_data.Rmd
(lines 13-17):leiden
Maintainer: S. Thomas Kelly
<tomkellygenetics@...>
vignettes/benchmarking.Rmd
(lines 151-155):liger
Maintainer: Jean Fan
<jeanfan@...>
vignettes/gsea.Rmd
(lines 85-87):liger
Maintainer: Jean Fan
<jeanfan@...>
vignettes/permpvals.Rmd
(lines 67-69):liger
Maintainer: Jean Fan
<jeanfan@...>
vignettes/simulation.Rmd
(lines 91-93):link2GI
Maintainer: Chris Reudenbach
<reudenbach@...>
vignettes/link2GI2.Rmd
(lines 122-135):microsamplingDesign
Maintainer: Adriaan Blommaert
<adriaan.blommaert@...>
vignettes/microsamplingDesign.Rmd
(lines 163-165):mmpf
Maintainer: Zachary Jones
<zmj@...>
vignettes/mmpf.Rmd
(lines 44-49):msde
Maintainer: Martin Lysy
<mlysy@...>
vignettes/msde-quicktut.Rmd
(lines 81-87):mully
Maintainer: Zaynab Hammoud
<zaynabhassanhammoud@...>
vignettes/mully-pdf.Rmd
(lines 176-179):mully
Maintainer: Zaynab Hammoud
<zaynabhassanhammoud@...>
vignettes/mully-vignette.Rmd
(lines 176-179):nsrr
Maintainer: John Muschelli
<muschellij2@...>
vignettes/dictionary.Rmd
(lines 10-15):ph2rand
Maintainer: Michael Grayling
<michael.grayling@...>
vignettes/ph2rand.Rmd
(lines 804-806):pomdp
Maintainer: Michael Hahsler
<mhahsler@...>
vignettes/POMDP.Rmd
(lines 236-246):quantregGrowth
Maintainer: Vito M. R. Muggeo
<vito.muggeo@...>
vignettes/quantregGrowth.Rmd
(lines 51-53):radsafer
Maintainer: Mark Hogue
<mark.hogue.chp@...>
vignettes/Introduction_to_radsafer.Rmd
(lines 126-128):rbacon
Maintainer: Maarten Blaauw
<maarten.blaauw@...>
vignettes/priorssettings.Rmd
(lines 27-29):rcdk
Maintainer: Zachary Charlop-Powers
<zach.charlop.powers@...>
vignettes/using-rcdk.Rmd
(lines 141-146):rSEA
Maintainer: Mitra Ebrahimpoor
<mitra.ebrahimpoor@...>
vignettes/rSEA_vignette.Rmd
(lines 266-276):sitmo
Maintainer: James Balamuta
<balamut2@...>
vignettes/big_crush_test.Rmd
(lines 26-3806):sortable
Maintainer: Andrie de Vries
<apdevries@...>
vignettes/novel_solutions.Rmd
(lines 10-15):SPOT
Maintainer: Thomas Bartz-Beielstein
<tbb@...>
vignettes/SPOTVignetteNutshell.Rmd
(lines 332-359):ssdtools
Maintainer: Joe Thorley
<joe@...>
vignettes/faqs.Rmd
(lines 12-17):stationery
Maintainer: Paul Johnson
<pauljohn@...>
vignettes/code_chunks.Rmd
(lines 753-762):StructFDR
Maintainer: Jun Chen
<chen.jun2@...>
vignettes/StructFDR.Rmd
(lines 25-30):textTinyR
Maintainer: Lampros Mouselimis
<mouselimislampros@...>
vignettes/functionality_of_textTinyR_package.Rmd
(lines 732-746):triebeard
Maintainer: Oliver Keyes
<ironholds@...>
vignettes/r_radix.Rmd
(lines 27-36):TRMF
Maintainer: Chad Hammerquist
<chammerquist@...>
vignettes/TRMF-package.Rmd
(lines 43-45):tvem
Maintainer: John J. Dziak
<dziakj1@...>
vignettes/vignette-tvem.Rmd
(lines 34-36):vtree
Maintainer: Nick Barrowman
<nbarrowman@...>
vignettes/vtree.Rmd
(lines 589-591):wdnr.gis
Maintainer: Paul Frater
<paul.frater@...>
vignettes/wdnr.gis-intro.Rmd
(lines 121-123):zonator
Maintainer: Joona Lehtomaki
<joona.lehtomaki@...>
vignettes/zonator-project.Rmd
(lines 303-305):The text was updated successfully, but these errors were encountered: