Comments (4)
Hi Pete,
Thanks for your comment.
It's strange that R throws that error. Could you post a screenshot of the R console here?
On unix the readLines error you mention is a warning, and the file is still loaded. Is this also the case on Windows, or did you have to set your credentials manually?
You can resolve the error by adding an empty line to the end of the file (that's how readLines knows that it has reached the end of the file).
It's also possible to pass these parameters to the registerOptions()
function. You don't need to set the environments and options manually.
I've thought about creating that file for the user and I might implement that in the next version. Thanks for the suggestion.
Best,
Jasper.
from qualtrics.
hey jasper,
The Windows machine with the problem is not my computer and unfortunately not sure when I'll next have access to it. Yesterday, I did try a couple versions of the yaml
file (with and without an extra line break, with and without an extra line with ---) without luck. The error forced registerOptions
to exit before it got to the settings. I had no option but to set the credentials manually with the above (which worked fine but may be a bit daunting for the typical survey analyst....).
I just installed qualtRics 2.0 on my mac and registerOptions
works fine. I created the yaml
file using RStudio and didn't hit the incomplete final line
issue (which I think is just a warning on a Mac as well...).
Overall, the Windows machine wasn't mine and I didn't have any real time to troubleshoot so others may have better luck. But unless there's some reason not just to have registerOptions
or qualtRicsConfigFile
take care of the settings file, that might be the way to go...
HTH,
from qualtrics.
I'll have a look at the CRAN policies to see whether altering files on a user's machine is allowed. Thanks for notifying me of this!
from qualtrics.
I tried to reproduce this error on Windows 10 but everything went fine.
from qualtrics.
Related Issues (20)
- exporting csv as numeric values HOT 2
- Automatic coercion from logical to character was deprecated in purrr 1.0.0. HOT 1
- fetch_survey and save_dir HOT 4
- fetch_survey doesn't seem to pull a retaken response HOT 2
- Support for OAuth (vs. API Token)? HOT 2
- Issue with fetching surveys HOT 3
- fetch distribution summary information? HOT 2
- error on fetching distribution history (i.e., full list of survey invitees along with distribution status) HOT 3
- `dplyr::case_when()` within `dplyr::mutate()` loses `qualtRics` variable labels HOT 7
- lag / incomplete pull of list_distribution_links() HOT 1
- feature discussion: custom temporary directory HOT 4
- Future look: Funding support from Qualtrics? HOT 2
- fetch_survey error; filename issue? HOT 18
- results from all_surveys() and list_surveys is different HOT 5
- fetch_survey produces "Error: Qualtrics API raised a bad request (400) error" HOT 5
- Overhaul of credentialling system
- Error parsing file: The file does not appear to be a valid survey. Save as qsf - am I doing it wrong? import doesn't work HOT 5
- write_qsf() currently enables only encoding UTF-8 that doesn't handle Hebrew and Arabic HOT 16
- Release qualtRics 3.2.0 HOT 1
- Qualtrics API reported a bad request error (400) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qualtrics.